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

[REQ] validate licenses are copied if a licence is specified in the source #547

Open
1 task
sozercan opened this issue Feb 26, 2025 · 1 comment
Open
1 task
Assignees
Labels
enhancement New feature or request

Comments

@sozercan
Copy link
Member

sozercan commented Feb 26, 2025

What kind of request is this?

Improvement of existing experience

What is your request or suggestion?

Dalec should create licence files in /usr/share/licenses for known licenses from specs (not dependencies)

warning that says:
"source has LICENSE file but is not included in artifacts"

example:
https://oci.dag.dev/layers/mcr.microsoft.com/azurelinux/base/nginx@sha256:f203d7e49ce778f8464f403d2558c5d7162b1b9189657c6b32d4f70a99e0fe83/usr/share/licenses/

Are you willing to submit PRs to contribute to this feature request?

  • Yes, I am willing to implement it.
@sozercan sozercan added the enhancement New feature or request label Feb 26, 2025
@cpuguy83
Copy link
Member

We already support licenses https://azure.github.io/dalec/artifacts#licenses

@sozercan sozercan changed the title [REQ] create license files for packages in /usr/share/licenses [REQ] validate licenses are copied if a licence is specified in the source Feb 26, 2025
@bchuo bchuo self-assigned this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants