-
Notifications
You must be signed in to change notification settings - Fork 114
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
Conversation
8d98486
to
d435b5b
Compare
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 |
we can, this is allowed by MIT license
but I'm fine to include the original LICENSE file in this subdirectory if you feel this is required |
It allows anyone to sublicense, which is a little different 😬 |
Signed-off-by: Nicolas De Loof <[email protected]>
added original LICENSE as suggested |
Signed-off-by: Nicolas De Loof <[email protected]>
There was a problem hiding this 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?
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 |
There was a problem hiding this 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… 😁
Agree. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've archived compose-spec/godotenv repository so we avoid mistakes merging stuff on the wrong side |
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