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

Light up migrations and entities for: #680

Merged
merged 5 commits into from
Aug 15, 2024

Conversation

bobmcwhirter
Copy link
Contributor

  • licenses, in general.
  • sbom-centric license assertions
  • add license info into purl DTOs.

#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}

impl ActiveModelBehavior for ActiveModel {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on first look. The only thing I noticed that relations for cpe assertion are missing. But that might be coming later

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yah, currently I haven't tried any fetching for CPEs, which is where Relations come into play.

Do we have endpoints for CPEs currently? Directly or via Products?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I'm aware of. I hope to have something via products soon

* licenses, in general.
* sbom-centric license assertions to purls and CPEs.
* add license info into purl DTOs.
Fix cascading deletes.
Ensure each SPDX license is also a root/regular license.
Connect endpoints.
Allow querying (paginatedly) for pURLs under a given license.
Update the openapi YAML.
@bobmcwhirter bobmcwhirter marked this pull request as ready for review August 14, 2024 19:18
@bobmcwhirter bobmcwhirter added this pull request to the merge queue Aug 15, 2024
Merged via the queue into trustification:main with commit fa3960d Aug 15, 2024
1 check passed
@bobmcwhirter bobmcwhirter deleted the license branch August 15, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants