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

import godotenv as a subpackage #215

Merged
merged 2 commits into from
Jan 12, 2022
Merged

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Jan 3, 2022

This makes https://github.com/compose-spec/godotenv a subpackage in compose-go, as we diverged from original forked joho/godotenv to match compose requirements. This will also makes test and release process simpler

note: MIT license uses by godotenv allows relicensing into Apache. Another option would be to relicense compose-go as MIT.

see https://cloud-native.slack.com/archives/C01162AJ23C/p1639033869024300 for context

@ndeloof ndeloof force-pushed the godotenv branch 2 times, most recently from 8d98486 to d435b5b Compare January 3, 2022 08:05
@mat007
Copy link
Contributor

mat007 commented Jan 3, 2022

I don’t think we can or should do it quite like that, we probably want at least to retain the original license file and copyright, adding that file to the folder should be enough: https://github.com/joho/godotenv/blob/master/LICENCE
Also we can’t re-license godotenv because we’re not the copyright holders.

@ndeloof
Copy link
Collaborator Author

ndeloof commented Jan 3, 2022

we can’t re-license godotenv

we can, this is allowed by MIT license

Permission is hereby granted to deal in the Software .. without limitation the rights to ... sublicense

but I'm fine to include the original LICENSE file in this subdirectory if you feel this is required

@mat007
Copy link
Contributor

mat007 commented Jan 3, 2022

we can’t re-license godotenv

we can, this is allowed by MIT license

It allows anyone to sublicense, which is a little different 😬

Signed-off-by: Nicolas De Loof <[email protected]>
@ndeloof
Copy link
Collaborator Author

ndeloof commented Jan 3, 2022

added original LICENSE as suggested

Signed-off-by: Nicolas De Loof <[email protected]>
@ndeloof ndeloof requested review from mat007 and ulyssessouza and removed request for mat007 January 3, 2022 12:44
Copy link
Contributor

@mat007 mat007 left a comment

Choose a reason for hiding this comment

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

That looks OK, this means we think we have diverged so much we’ll never be able to use upstream godotenv anyway, right?

@ndeloof
Copy link
Collaborator Author

ndeloof commented Jan 4, 2022

yes indeed. Also upstream project isn't very active, and initial PR joho/godotenv#149 from @ulyssessouza (6 months old) still has no comment regarding possible approval

Copy link
Contributor

@mat007 mat007 left a comment

Choose a reason for hiding this comment

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

All right!

It’s a bit of a shame, given how little code there is in dotenv maybe we should have written this from scratch from the beginning… 😁

@ndeloof
Copy link
Collaborator Author

ndeloof commented Jan 4, 2022

Agree.
Still an option if you have some spare time

Copy link
Contributor

@ulyssessouza ulyssessouza left a comment

Choose a reason for hiding this comment

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

LGTM

@ndeloof
Copy link
Collaborator Author

ndeloof commented Jan 12, 2022

I've archived compose-spec/godotenv repository so we avoid mistakes merging stuff on the wrong side

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.

3 participants