-
Notifications
You must be signed in to change notification settings - Fork 11
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
Switch to Google's uuid module #34
Conversation
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.
We compared uuid libraries from google and gofrs at one point and decided to go ahead with gofrs/uuid at that point. I'd try comparing the two libraries, and if not much difference then for the sake of consistency it'd be better to use gofrs here as well.
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.
Thanks!
`satori/uuid` repo is dead and has different problems as shown in satori/go.uuid#84 Although a fork exists to continue `satori/uuid`, Google's module is simpler and already used as indirect dependency. Signed-off-by: Mikel Olasagasti Uranga <[email protected]>
be8b002
to
dd822e1
Compare
My goal was to reduce the amount of dependencies. gofrs or google's module perform similar, so one or another is not a big change, but Google's is used by 4x more projects than gofrs' module. I can change the PR if required. What should change is also github.com/codeready-toolchain/toolchain-common to import either a newer gofrs (v3 vs v5) or move to Google's. |
Yep, here is the PR for upgrading the uuid to v5 - codeready-toolchain/toolchain-common#388 |
Could you please resolve the conflict so we can get it merged? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #34 +/- ##
=======================================
Coverage 65.57% 65.57%
=======================================
Files 41 41
Lines 2100 2100
=======================================
Hits 1377 1377
Misses 560 560
Partials 163 163 |
satori/uuid
repo is dead and has different problems as shown in satori/go.uuid#84Although a fork exists to continue
satori/uuid
, Google's module is simpler and already used as indirect dependency.