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

fix: dagger develop generate license only if --sdk is set #7719

Merged
merged 7 commits into from
Jun 25, 2024

Conversation

TomChv
Copy link
Member

@TomChv TomChv commented Jun 21, 2024

A LICENSE will only be generated now if --sdk is set on dagger develop, like in dagger init. It's also possible to explictly disable creating a license by providing an empty --license=.

Fixes #7703

It will be followed up by #7715 after discussion

@TomChv TomChv requested a review from helderco June 21, 2024 16:33
@TomChv TomChv self-assigned this Jun 21, 2024
@TomChv TomChv changed the title fix: dagger develop generate license if --sdk is set fix: dagger develop generate license only if --sdk is set Jun 21, 2024
@TomChv TomChv force-pushed the fix/license-generation-on-develop branch from 29bfb66 to 84786ca Compare June 24, 2024 22:28
@TomChv TomChv requested a review from a team as a code owner June 24, 2024 22:39
Tom Chauveau and others added 7 commits June 25, 2024 11:53
Fixes 7703

It will be followed up by dagger#7715 after discussion

Signed-off-by: Tom Chauveau <tom@epitech.eu>
Signed-off-by: Tom Chauveau <tom@epitech.eu>
Signed-off-by: Tom Chauveau <tom@epitech.eu>
Signed-off-by: Tom Chauveau <tom@epitech.eu>
Signed-off-by: Tom Chauveau <tom@epitech.eu>
Signed-off-by: Tom Chauveau <tom@epitech.eu>
So it'll get created even if provided license ID is the same as the default.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
@helderco helderco force-pushed the fix/license-generation-on-develop branch from 81dc673 to c52c84c Compare June 25, 2024 11:59
Copy link
Contributor

@helderco helderco left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@jedevc jedevc added the needs/changelog Pull requests that require a changelog entry label Jun 25, 2024
@helderco
Copy link
Contributor

Test fail fluke. Re-ran the action in GH, which turned green, but corresponding dagger cloud trace stayed the same. Good to merge.

@helderco helderco merged commit 180cc9d into dagger:main Jun 25, 2024
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/changelog Pull requests that require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐞 dagger develop creates a LICENSE file
3 participants