Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render: add alpha support for filtering #1231

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 3, 2024

  1. render: add alpha support for filtering

    This commit adds two alpha flags to `opm render` and updates
    FBC library code to support efficient filtering of FBC:
    - `--alpha-filter-config=./path/to/config`
    - `--alpha-keep-packages=pkg1,pkg2`
    
    To support the filter config option, this commits defines a new
    configuration file format that supports:
    - filtering by package
    - within a package, filtering by channel
    - within a package, selecting a new default channel (required if the original default
      channel is filtered out)
    - within each channel, filtering by a version range
    
    In order to support correct version range filtering, some bundles
    that fall outside the version range may remain in the channel to
    ensure that the filtered channel is still valid and includes all
    bundles that did fall in the range
    
    Included in this commit is an update to declcfg.WalkMetasFS to
    enable concurrency, similar to recent changes in declcfg.LoadFS.
    declcfg.LoadFS is also refactored internally to use the new
    declcfg.WalkMetasFS implementation.
    
    Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
    joelanford committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    1063da0 View commit details
    Browse the repository at this point in the history
  2. refactor config file filter impl and add (some) tests

    Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
    joelanford committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    b498760 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    eab0be1 View commit details
    Browse the repository at this point in the history