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

Get metadata for and scan debian packages from Purls #300

Merged
merged 15 commits into from
Mar 15, 2024

Commits on Feb 22, 2024

  1. Implement initial debian purl2meta implementation

    Reference: #245
    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4eebf46 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Update debian purl2meta to scan only archives

    Refactor code to not save package metadata scan results
    as archives, instead scan metadata to be used as base package data
    and then scan and store package records for binary/source archives.
    
    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    bf7450b View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Support ubuntu packages and debian copyrights

    * Supports purl2meta from ubuntu package URLs
    * Supports getting package information from debian copyrights
    
    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    2089fd8 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Support ubuntu copyright file edge cases

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c4a9abf View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Support debian purls in package indexing

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    43d6e46 View commit details
    Browse the repository at this point in the history
  2. Update SCTK to latest develop with debian updates

    Updates SCTK to latest develop with aboutcode-org/scancode-toolkit#3682
    to have debian package releated improvements and also regen
    related test fixtures.
    
    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    cf5ee4d View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Fix bugs and improve error handling

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    3cd3aa8 View commit details
    Browse the repository at this point in the history
  2. Regen tests in purlcli

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    aa40e36 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Fix debian purl2meta bugs

    * Add source_purl to the index_packages serializer
    * Use correct purl qualifier for debian package arch
    
    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    d2990bc View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Address feedback and improve error handling

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    721b270 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3146f4 View commit details
    Browse the repository at this point in the history
  3. Fix docstring test from Go PURL

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    126bdd8 View commit details
    Browse the repository at this point in the history
  4. Restore package sha1 retrieval

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    cc4ebc0 View commit details
    Browse the repository at this point in the history
  5. Regen test expectations

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    4abacd8 View commit details
    Browse the repository at this point in the history
  6. Pin SCTK version

    Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
    AyanSinhaMahapatra committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    39bc370 View commit details
    Browse the repository at this point in the history