Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Enable --filter-rh-naming by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubFrejlach committed Jan 18, 2024
1 parent e231a81 commit 62ae7cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Changed
* --filter-rh-naming enabled by default (GRIF-121)

### Added
* --filter-rh-naming default value can be set via .griffonrc
in default section(GRIG-121)


## [0.5.0] - 2024-01-18

Expand Down
7 changes: 3 additions & 4 deletions griffon/commands/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,9 @@ def retrieve_component_summary(ctx, component_name, strict_name_search, operatio
help=f"Search related url {Style.BOLD}(enabled by default){Style.RESET}.",
)
@click.option(
"--filter-rh-naming",
is_flag=True,
default=False,
help="Filter rh naming.",
"--filter-rh-naming/--no-filter-rh-naming",
default=get_config_option("default", "filter_rh_naming", True),
help="Do not filter RH naming.",
)
@click.option(
"--search-all",
Expand Down
1 change: 1 addition & 0 deletions griffon/static/default_griffonrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ exclude_components = -container-source
-repolib
include_container_roots = False
exclude_unreleased = False
filter_rh_naming = True

# profile sections (use with --profile {profile} flag)
[cloud]
Expand Down

0 comments on commit 62ae7cc

Please sign in to comment.