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

High level api #14

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

High level api #14

wants to merge 8 commits into from

Commits on Oct 8, 2024

  1. feat: basic abstraction for Release and Component

    Start a high level API with classes for Release and Component.
    gernot-h committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e5a645b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3db4b4 View commit details
    Browse the repository at this point in the history
  3. feat(sw360_objects): add Project class plus refactoring

    Refactor the from_json() methods to one common version.
    gernot-h committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    57329b8 View commit details
    Browse the repository at this point in the history
  4. feat(sw360_objects): add SW360 get methods

    This allows to directly get data from SW360 using the high-level API -
    and especially to retrieve complete data from embedded objects like
    releases in a component or downloading an attachment.
    gernot-h committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    445d113 View commit details
    Browse the repository at this point in the history
  5. fix(sw360_objects): correct component ids in embedded releases

    We can only set component_id if releases are embedded in components, but
    not for releases in projects.
    
    As this was a somehow tricky bug, let's add first testcases for it.
    gernot-h committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0262b48 View commit details
    Browse the repository at this point in the history
  6. feat(sw360_objects): better __repr__ and __str__

    This allows for easy copy'n'pasting of an object in interactive
    sessions plus nicer print output.
    gernot-h committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    49a9d71 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    233316f View commit details
    Browse the repository at this point in the history
  8. feat(sw360_objects): re-license to MIT

    Completely overlooked that this is still licensed as Inner Source. This
    is completely my own work, so let's adapt to CaPyCli main license.
    gernot-h committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    2bb8394 View commit details
    Browse the repository at this point in the history