-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
refactor: consistently use one uuid library #40161
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
a88bcb4
refactor: consistently use one uuid library
kruskall e8c21b5
lint: fix linting issues
kruskall aa7304f
Merge branch 'main' into feat/standard-uuid-lib
kruskall 0fee800
refactor: move to gofrs/uuid
kruskall fb77a5a
lint: add gomodguard setting
kruskall 74beaf9
lint: fix more linter issues
kruskall 3e40b83
lint: more linting errors
kruskall 7772b15
lint: completely remove gofrs/uuid v4
kruskall f500379
lint: more linting errors
kruskall ec7de41
lint: more linting errors
kruskall 29af9f1
Merge branch 'main' into feat/standard-uuid-lib
kruskall 9eaa809
lint: fix more linting errors
kruskall f3ecc1f
fix: replace uuid.MustParse with uuid.Must(uuid.FromString())
kruskall 9e33175
refactor: update uuid.Parse to uuid.FromString
kruskall 9096808
lint: fix linting errors
kruskall 1c17360
lint: fix linting errors
kruskall d6d7ee3
docs: fix nolint comments
kruskall bd1db14
lint: fix linting errors
kruskall 4ed1ee3
docs: update nolint comments
kruskall 8acb07e
Merge branch 'main' into feat/standard-uuid-lib
kruskall 25cf98a
test: update uuid parsing err
kruskall 1b9e4c3
Merge branch 'main' into feat/standard-uuid-lib
kruskall 46615a1
Merge branch 'main' into feat/standard-uuid-lib
kruskall b16de08
Merge branch 'main' into feat/standard-uuid-lib
kruskall bc7f278
lint: fix linter issues
kruskall 9436142
lint: fix linter issues
kruskall ce1af44
Merge branch 'main' into feat/standard-uuid-lib
kruskall 736b471
Merge branch 'main' into feat/standard-uuid-lib
kruskall 6f0ebeb
Merge branch 'main' into feat/standard-uuid-lib
kruskall ce59b70
Merge branch 'main' into feat/standard-uuid-lib
kruskall 055c223
lint: run go mod tidy
kruskall 56b0e58
lint: regenerate notice
kruskall 66555cb
Merge branch 'main' into feat/standard-uuid-lib
kruskall b523946
Merge branch 'main' into feat/standard-uuid-lib
kruskall 1b62afd
Merge branch 'main' into feat/standard-uuid-lib
kruskall cafe665
Merge branch 'main' into feat/standard-uuid-lib
kruskall 2d7a8c1
Merge remote-tracking branch 'upstream/main' into feat/standard-uuid-lib
kruskall cd282a6
build: regenerate notice
kruskall bade374
Merge branch 'main' into feat/standard-uuid-lib
kruskall cbe3070
Merge branch 'main' into feat/standard-uuid-lib
kruskall 9047bf0
Merge branch 'main' into feat/standard-uuid-lib
kruskall 8454631
Merge remote-tracking branch 'upstream/main' into feat/standard-uuid-lib
kruskall 2302448
build: regenerate notice
kruskall aa74525
refactor: cleanup double uuid conversion
kruskall 4602e5d
Merge branch 'main' into feat/standard-uuid-lib
kruskall 05cbada
Merge branch 'main' into feat/standard-uuid-lib
kruskall 46694a3
Merge branch 'main' into feat/standard-uuid-lib
kruskall e4cdd74
Merge branch 'main' into feat/standard-uuid-lib
kruskall e7566f1
Merge branch 'main' into feat/standard-uuid-lib
kruskall 4c5cf4c
test: gracefully log the error
kruskall cad2258
Merge branch 'main' into feat/standard-uuid-lib
kruskall 285779f
Merge branch 'main' into feat/standard-uuid-lib
kruskall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17435,12 +17435,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/gofrs/uuid | ||
Version: v4.4.0+incompatible | ||
Dependency : github.com/gofrs/uuid/v5 | ||
Version: v5.2.0 | ||
Licence type (autodetected): MIT | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/gofrs/uuid@v4.4.0+incompatible/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/gofrs/uuid/[email protected]/LICENSE: | ||
|
||
Copyright (C) 2013-2018 by Maxim Bublis <[email protected]> | ||
|
||
|
@@ -18494,43 +18494,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/google/uuid | ||
Version: v1.6.0 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/google/[email protected]/LICENSE: | ||
|
||
Copyright (c) 2009,2014 Google Inc. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following disclaimer | ||
in the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of Google Inc. nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/googleapis/gax-go/v2 | ||
Version: v2.12.5 | ||
|
@@ -40690,36 +40653,6 @@ Contents of probable licence file $GOMODCACHE/github.com/godror/[email protected]/L | |
limitations under the License. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/gofrs/uuid/v5 | ||
Version: v5.2.0 | ||
Licence type (autodetected): MIT | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/gofrs/uuid/[email protected]/LICENSE: | ||
|
||
Copyright (C) 2013-2018 by Maxim Bublis <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/golang-jwt/jwt/v4 | ||
Version: v4.5.0 | ||
|
@@ -42923,6 +42856,43 @@ Contents of probable licence file $GOMODCACHE/github.com/google/[email protected] | |
limitations under the License. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/google/uuid | ||
Version: v1.6.0 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/google/[email protected]/LICENSE: | ||
|
||
Copyright (c) 2009,2014 Google Inc. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following disclaimer | ||
in the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of Google Inc. nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/googleapis/enterprise-certificate-proxy | ||
Version: v0.3.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I don't see any cases that these error values are returned wrapped so (disclaimer: as a non-owner) I'm not convinced of the value of this, but if this change is going to be made, the tests that look at error values should be updated to match (
ErrInactive
is the target of an exact value check).