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

Replace hashicorp/go-uuid import with gofrs/uuid #211

Merged
merged 1 commit into from
May 29, 2024

Conversation

awels
Copy link
Contributor

@awels awels commented May 29, 2024

Replace import of hashicorp/go-uuid as its license MPL 2.0 is not incompatible with the license of the project Apache 2.0. Instead use gofrs/uuid which is compatible. It uses an MIT license.

@awels awels changed the title Remove go-uuid import Replace hashicorp/go-uuid import with google/uuid May 29, 2024
@pierreprinetti
Copy link
Contributor

I am not sure why MPL would be incompatible with this project, but I like the idea of switching to a compliant UUIDv4 generator. What do you think of https://github.com/gofrs/uuid which is also MIT?

@awels
Copy link
Contributor Author

awels commented May 29, 2024

MPL 2.0 is not compatible with Apache 2.0. The project I work on has a license scanner and it flagged the go-uuid dependency as incompatible. I traced it coming from gophercloud as we don't import it ourselves.

I am fine with gofrs. I picked the google one, but if you prefer gofrs that works for me.

Replace import of hashicorp/go-uuid as its license
is not incompatible with the license of the project.
Instead use gofrs/uuid which is compatible. It uses
an MIT license.

Signed-off-by: Alexander Wels <[email protected]>
@awels awels changed the title Replace hashicorp/go-uuid import with google/uuid Replace hashicorp/go-uuid import with gofrs/uuid May 29, 2024
@pierreprinetti
Copy link
Contributor

Well, thank you then!

@awels
Copy link
Contributor Author

awels commented May 29, 2024

Updated the PR to replace it with gofrs/uuid instead.

@pierreprinetti pierreprinetti merged commit bdd9ea7 into gophercloud:master May 29, 2024
1 check passed
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