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

GRIF-121 Filter RH naming by default #283

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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