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

Split the sbom.Format interface by encode and decode use cases #2186

Merged
merged 24 commits into from
Oct 25, 2023

Commits on Sep 28, 2023

  1. split up sbom.Format into encode and decode ops

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    7a2a3f0 View commit details
    Browse the repository at this point in the history
  2. update cmd pkg to inject format configs

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    4eca8e3 View commit details
    Browse the repository at this point in the history
  3. bump cyclonedx schema to 1.5

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    e92c3a1 View commit details
    Browse the repository at this point in the history
  4. redact image metadata from github encoder tests

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    ec12e8b View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. add more testing around format decoder identify

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    2154ed5 View commit details
    Browse the repository at this point in the history
  2. add test case for format version options

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1950242 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. fix cli tests

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    3cde20b View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. fix CLI test

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    071eaac View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. [wip] - review comments

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    47ef118 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. keep encoder creation out of post load function

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    bee01ff View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Merge remote-tracking branch 'origin/main' into split-format-interface

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    cf451a4 View commit details
    Browse the repository at this point in the history
  2. keep decider and identify functions

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e6b738f View commit details
    Browse the repository at this point in the history
  3. add a few more doc comments

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    d97a1f4 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. remove format encoder default function helpers

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    dd27c19 View commit details
    Browse the repository at this point in the history
  2. address PR feedback

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    f0afbe8 View commit details
    Browse the repository at this point in the history
  3. move back to streaming based decode functions

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    206fb89 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. with common convention for encoder constructors

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    538495a View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/main' into split-format-interface

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3a9955c View commit details
    Browse the repository at this point in the history
  3. fix tests and allow for encoders to be created from cli options

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    7bcb956 View commit details
    Browse the repository at this point in the history
  4. fix cli tests

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    f3da7ec View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. fix linting

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    efcc59b View commit details
    Browse the repository at this point in the history
  2. buffer reads from stdin to support seeking

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    f748f61 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Merge remote-tracking branch 'origin/main' into split-format-interface

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    407c8e7 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/main' into split-format-interface

    Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
    wagoodman committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    49ed96a View commit details
    Browse the repository at this point in the history