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

Adds new catalogmetadata package #393

Merged
merged 5 commits into from
Sep 12, 2023

Commits on Sep 11, 2023

  1. Adds new catalogmetadata package

    At the moment it contains:
    * Types which embed `declcfg.Package`, `declcfg.Channel` and `declcfg.Bundle`.
      Later we will be adding more methods to them (for unmarshalling properties, for example)
    * A function to fetch metadata by scheme & catalog name
    * `Filter` function which can filter all these 3 types using a given predicate
    * `And`, `Or` and `Not` composite predicates to be used with `Filter`
    
    Later we might expand/change this package to be more convinient in use with variable sources.
    
    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    m1kola committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    0928dba View commit details
    Browse the repository at this point in the history
  2. Adds predicates and tests for them

    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    Signed-off-by: dtfranz <dfranz@redhat.com>
    m1kola committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    5bf40f1 View commit details
    Browse the repository at this point in the history
  3. Moves filter and predicates into a sub package

    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    m1kola committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    ea60241 View commit details
    Browse the repository at this point in the history
  4. Adds client to fetch bundles

    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    m1kola committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    41914ce View commit details
    Browse the repository at this point in the history
  5. Adds sort subpackage to catalogmetadata

    Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
    m1kola committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    d555222 View commit details
    Browse the repository at this point in the history