From 0cfb5ab6da3bdc631afc138cbf4c6ba2d7cba24a Mon Sep 17 00:00:00 2001 From: Vasil Averyanau Date: Mon, 18 Nov 2024 10:05:22 +0100 Subject: [PATCH] chore(v3/*): adds replace directive to go.mod to use local version of v3/* modules This simplifies workflow when it's needed to make some changes in v3/* modules. --- go.mod | 6 ++ go.sum | 6 -- v3/pkg/managerclient/go.mod | 5 ++ .../v3/pkg/managerclient/LICENSE | 62 ------------------- .../scylla-manager/v3/pkg/util/LICENSE | 62 ------------------- .../scylla-manager/v3/swagger/LICENSE | 62 ------------------- vendor/modules.txt | 15 +++-- 7 files changed, 20 insertions(+), 198 deletions(-) delete mode 100644 vendor/github.com/scylladb/scylla-manager/v3/pkg/managerclient/LICENSE delete mode 100644 vendor/github.com/scylladb/scylla-manager/v3/pkg/util/LICENSE delete mode 100644 vendor/github.com/scylladb/scylla-manager/v3/swagger/LICENSE diff --git a/go.mod b/go.mod index c9f452f32e..fd3a64362e 100644 --- a/go.mod +++ b/go.mod @@ -130,3 +130,9 @@ replace ( github.com/rclone/rclone => github.com/scylladb/rclone v1.54.1-0.20240312172628-afe1fd2aa65e google.golang.org/api v0.114.0 => github.com/scylladb/google-api-go-client v0.34.1-patched ) + +replace ( + github.com/scylladb/scylla-manager/v3/pkg/managerclient => ./v3/pkg/managerclient + github.com/scylladb/scylla-manager/v3/pkg/util => ./v3/pkg/util + github.com/scylladb/scylla-manager/v3/swagger => ./v3/swagger +) diff --git a/go.sum b/go.sum index 4eec7b07b4..f0112afc42 100644 --- a/go.sum +++ b/go.sum @@ -1053,12 +1053,6 @@ github.com/scylladb/google-api-go-client v0.34.1-patched h1:DW+T0HA+74o6FDr3TFzV github.com/scylladb/google-api-go-client v0.34.1-patched/go.mod h1:RriRmS2wJXH+2yd9PRTEcR380U9AXmurWwznqVhzsSc= github.com/scylladb/rclone v1.54.1-0.20240312172628-afe1fd2aa65e h1:lJRphCtu+nKd+mfo8whOTeFkgjMWvk8iCSlqgibKSa8= github.com/scylladb/rclone v1.54.1-0.20240312172628-afe1fd2aa65e/go.mod h1:JGZp4EvCUK+6AM1Fe1dye5xvihTc/Bk0WnHHSCJOePM= -github.com/scylladb/scylla-manager/v3/pkg/managerclient v0.0.0-20241104134613-aba35605c28b h1:JRDV1d1FIiH0TIyHVmTAILAjQ2f8O4t7ZtZ/S+fT2sY= -github.com/scylladb/scylla-manager/v3/pkg/managerclient v0.0.0-20241104134613-aba35605c28b/go.mod h1:Tss7a99vrgds+B70w8ZFG3Skxfr9Br3kAzrKP2b3CmQ= -github.com/scylladb/scylla-manager/v3/pkg/util v0.0.0-20241104134613-aba35605c28b h1:7CHNmPrQqSdApaEh5nkRL+D52KFHaOHVBBVDvytHEOY= -github.com/scylladb/scylla-manager/v3/pkg/util v0.0.0-20241104134613-aba35605c28b/go.mod h1:+sPCx2oaOXmMpy/ODNNEDGJ7vCghBeKP4S7xEfMI+eA= -github.com/scylladb/scylla-manager/v3/swagger v0.0.0-20241112131737-4fc93b5355fd h1:NNkXlN5SnutcpictWx3sc4jaOz2QMeGmzxES2XdC9RQ= -github.com/scylladb/scylla-manager/v3/swagger v0.0.0-20241112131737-4fc93b5355fd/go.mod h1:Oxfuz1XcXi9iV4ggSGfQdn+p6gPz6djPOegRMMe/6/s= github.com/scylladb/termtables v0.0.0-20191203121021-c4c0b6d42ff4 h1:8qmTC5ByIXO3GP/IzBkxcZ/99VITvnIETDhdFz/om7A= github.com/scylladb/termtables v0.0.0-20191203121021-c4c0b6d42ff4/go.mod h1:C1a7PQSMz9NShzorzCiG2fk9+xuCgLkPeCvMHYR2OWg= github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= diff --git a/v3/pkg/managerclient/go.mod b/v3/pkg/managerclient/go.mod index d0f7a7ca70..a561932c77 100644 --- a/v3/pkg/managerclient/go.mod +++ b/v3/pkg/managerclient/go.mod @@ -51,3 +51,8 @@ require ( gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) + +replace ( + github.com/scylladb/scylla-manager/v3/pkg/util => ../util + github.com/scylladb/scylla-manager/v3/swagger => ../../swagger +) diff --git a/vendor/github.com/scylladb/scylla-manager/v3/pkg/managerclient/LICENSE b/vendor/github.com/scylladb/scylla-manager/v3/pkg/managerclient/LICENSE deleted file mode 100644 index a155a625fc..0000000000 --- a/vendor/github.com/scylladb/scylla-manager/v3/pkg/managerclient/LICENSE +++ /dev/null @@ -1,62 +0,0 @@ -Scylla SOURCE AVAILABLE LICENSE (SSAL) AGREEMENT Last Update: June 30, 2021 - -This Agreement sets forth the terms on which the Licensor makes available the Software. BY INSTALLING, DOWNLOADING, ACCESSING, USING OR DISTRIBUTING ANY OF THE SOFTWARE, YOU AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO SUCH TERMS AND CONDITIONS, YOU MUST NOT USE THE SOFTWARE. - -If you are receiving the Software on behalf of a legal entity, you represent and warrant that you have the actual authority to agree to the terms and conditions of this agreement on behalf of such entity. - -The terms below have the meanings set forth below for purposes of this Agreement: - -Agreement: this Scylla Source Available License Agreement. - -Database Product: any of the following products or services: - -(a) Scylla Manager; - -(b) a product or service exposing the Scylla Manager API - -License: the Scylla Source Available License described in Section 1. - -Licensor: as indicated in the source code license. - -Modification: a modification of the Software made by You under the License, Section 1.1(c). - -Scylla: the open source Scylla software as described in scylladb.com - -Software: certain software components designed to work with Scylla NoSQL Database and provided to you under this Agreement. - -You: the recipient of this Software, an individual, or the entity on whose behalf you are receiving the Software. - -Your Application: an application developed by or for You, where such application is not a Database Product. - -LICENSE GRANT AND CONDITIONS -1.1 Subject to the terms and conditions of this Section 1, Licensor hereby grants to You a non-exclusive, royalty-free, worldwide, non-transferable license during the term of this Agreement to: - -a) distribute or make available the Software or your Modifications under the terms of this -Agreement, only as part of Your Application, so long as you include the following notice on any copy you distribute: “This software is subject to the terms of the Scylla Source Available License Agreement”. - -(b) use the Software, or your Modifications, only as part of Your Application, but not in connection - -with any Database Product that is distributed or otherwise made available by any third party. - -(c) modify the Software, provided that Modifications remain subject to the terms of this License. - -(d) reproduce the Software as necessary for the above. - -1.3. Notices. - -On all copies of the Software that you make, you must retain all copyright or other proprietary notices. - -TERM AND TERMINATION. -This Agreement will continue unless and until earlier terminated as set forth herein. If You breach any of its conditions or obligations under this Agreement, this Agreement will terminate automatically and the licenses granted herein will terminate automatically. - -INTELLECTUAL PROPERTY. -As between the parties, Licensor retains all right, title, and interest in the Software, and to Scylla or other Licensor trademarks or service marks, and all intellectual property rights therein. Licensor hereby reserves all rights not expressly granted to You in this Agreement. - -DISCLAIMER. -TO THE EXTENT ALLOWABLE UNDER LAW, LICENSOR HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE SOFTWARE. Licensor has no obligation to support the Software. - -LIMITATION OF LIABILITY. TO THE EXTENT ALLOWABLE UNDER LAW, LICENSOR WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO, LOST PROFITS OR ANY CONSEQUENTIAL, SPECIAL, INCIDENTAL, INDIRECT, OR DIRECT DAMAGES, ARISING OUT OF OR RELATING TO THIS AGREEMENT. -GENERAL. You are not authorized to assign Your rights under this Agreement to any third party. Licensor may freely assign its rights under this Agreement to any third party. This Agreement is the entire agreement between the parties on the subject matter hereof. No amendment or modification hereof will be valid or binding upon the parties unless made in writing and signed by the duly authorized representatives of both parties. In the event that any provision, including without limitation any condition, of this Agreement is held to be unenforceable, this Agreement and all licenses and rights granted hereunder will immediately terminate. Failure by Licensor to exercise any right hereunder will not be construed as a waiver of any subsequent breach of that right or as a waiver of any other right. This Agreement will be governed by and interpreted in accordance with the laws of the state of California, without reference to its conflict of laws principles. If You are located within the United States, all disputes arising out of this Agreement are subject to the exclusive jurisdiction of courts located in Santa Clara County, California. USA. If You are located outside of the United States, any dispute, controversy or claim arising out of or relating to this Agreement will be referred to and finally determined by arbitration in accordance with the JAMS before a single arbitrator in Santa Clara County, California. Judgment upon the award rendered by the arbitrator may be entered in any court having jurisdiction thereof. - -This license is base on REDIS SOURCE AVAILABLE LICENSE (RSAL) AGREEMENT with some updates -https://redislabs.com/wp-content/uploads/2019/09/redis-source-available-license.pdf diff --git a/vendor/github.com/scylladb/scylla-manager/v3/pkg/util/LICENSE b/vendor/github.com/scylladb/scylla-manager/v3/pkg/util/LICENSE deleted file mode 100644 index a155a625fc..0000000000 --- a/vendor/github.com/scylladb/scylla-manager/v3/pkg/util/LICENSE +++ /dev/null @@ -1,62 +0,0 @@ -Scylla SOURCE AVAILABLE LICENSE (SSAL) AGREEMENT Last Update: June 30, 2021 - -This Agreement sets forth the terms on which the Licensor makes available the Software. BY INSTALLING, DOWNLOADING, ACCESSING, USING OR DISTRIBUTING ANY OF THE SOFTWARE, YOU AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO SUCH TERMS AND CONDITIONS, YOU MUST NOT USE THE SOFTWARE. - -If you are receiving the Software on behalf of a legal entity, you represent and warrant that you have the actual authority to agree to the terms and conditions of this agreement on behalf of such entity. - -The terms below have the meanings set forth below for purposes of this Agreement: - -Agreement: this Scylla Source Available License Agreement. - -Database Product: any of the following products or services: - -(a) Scylla Manager; - -(b) a product or service exposing the Scylla Manager API - -License: the Scylla Source Available License described in Section 1. - -Licensor: as indicated in the source code license. - -Modification: a modification of the Software made by You under the License, Section 1.1(c). - -Scylla: the open source Scylla software as described in scylladb.com - -Software: certain software components designed to work with Scylla NoSQL Database and provided to you under this Agreement. - -You: the recipient of this Software, an individual, or the entity on whose behalf you are receiving the Software. - -Your Application: an application developed by or for You, where such application is not a Database Product. - -LICENSE GRANT AND CONDITIONS -1.1 Subject to the terms and conditions of this Section 1, Licensor hereby grants to You a non-exclusive, royalty-free, worldwide, non-transferable license during the term of this Agreement to: - -a) distribute or make available the Software or your Modifications under the terms of this -Agreement, only as part of Your Application, so long as you include the following notice on any copy you distribute: “This software is subject to the terms of the Scylla Source Available License Agreement”. - -(b) use the Software, or your Modifications, only as part of Your Application, but not in connection - -with any Database Product that is distributed or otherwise made available by any third party. - -(c) modify the Software, provided that Modifications remain subject to the terms of this License. - -(d) reproduce the Software as necessary for the above. - -1.3. Notices. - -On all copies of the Software that you make, you must retain all copyright or other proprietary notices. - -TERM AND TERMINATION. -This Agreement will continue unless and until earlier terminated as set forth herein. If You breach any of its conditions or obligations under this Agreement, this Agreement will terminate automatically and the licenses granted herein will terminate automatically. - -INTELLECTUAL PROPERTY. -As between the parties, Licensor retains all right, title, and interest in the Software, and to Scylla or other Licensor trademarks or service marks, and all intellectual property rights therein. Licensor hereby reserves all rights not expressly granted to You in this Agreement. - -DISCLAIMER. -TO THE EXTENT ALLOWABLE UNDER LAW, LICENSOR HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE SOFTWARE. Licensor has no obligation to support the Software. - -LIMITATION OF LIABILITY. TO THE EXTENT ALLOWABLE UNDER LAW, LICENSOR WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO, LOST PROFITS OR ANY CONSEQUENTIAL, SPECIAL, INCIDENTAL, INDIRECT, OR DIRECT DAMAGES, ARISING OUT OF OR RELATING TO THIS AGREEMENT. -GENERAL. You are not authorized to assign Your rights under this Agreement to any third party. Licensor may freely assign its rights under this Agreement to any third party. This Agreement is the entire agreement between the parties on the subject matter hereof. No amendment or modification hereof will be valid or binding upon the parties unless made in writing and signed by the duly authorized representatives of both parties. In the event that any provision, including without limitation any condition, of this Agreement is held to be unenforceable, this Agreement and all licenses and rights granted hereunder will immediately terminate. Failure by Licensor to exercise any right hereunder will not be construed as a waiver of any subsequent breach of that right or as a waiver of any other right. This Agreement will be governed by and interpreted in accordance with the laws of the state of California, without reference to its conflict of laws principles. If You are located within the United States, all disputes arising out of this Agreement are subject to the exclusive jurisdiction of courts located in Santa Clara County, California. USA. If You are located outside of the United States, any dispute, controversy or claim arising out of or relating to this Agreement will be referred to and finally determined by arbitration in accordance with the JAMS before a single arbitrator in Santa Clara County, California. Judgment upon the award rendered by the arbitrator may be entered in any court having jurisdiction thereof. - -This license is base on REDIS SOURCE AVAILABLE LICENSE (RSAL) AGREEMENT with some updates -https://redislabs.com/wp-content/uploads/2019/09/redis-source-available-license.pdf diff --git a/vendor/github.com/scylladb/scylla-manager/v3/swagger/LICENSE b/vendor/github.com/scylladb/scylla-manager/v3/swagger/LICENSE deleted file mode 100644 index a155a625fc..0000000000 --- a/vendor/github.com/scylladb/scylla-manager/v3/swagger/LICENSE +++ /dev/null @@ -1,62 +0,0 @@ -Scylla SOURCE AVAILABLE LICENSE (SSAL) AGREEMENT Last Update: June 30, 2021 - -This Agreement sets forth the terms on which the Licensor makes available the Software. BY INSTALLING, DOWNLOADING, ACCESSING, USING OR DISTRIBUTING ANY OF THE SOFTWARE, YOU AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO SUCH TERMS AND CONDITIONS, YOU MUST NOT USE THE SOFTWARE. - -If you are receiving the Software on behalf of a legal entity, you represent and warrant that you have the actual authority to agree to the terms and conditions of this agreement on behalf of such entity. - -The terms below have the meanings set forth below for purposes of this Agreement: - -Agreement: this Scylla Source Available License Agreement. - -Database Product: any of the following products or services: - -(a) Scylla Manager; - -(b) a product or service exposing the Scylla Manager API - -License: the Scylla Source Available License described in Section 1. - -Licensor: as indicated in the source code license. - -Modification: a modification of the Software made by You under the License, Section 1.1(c). - -Scylla: the open source Scylla software as described in scylladb.com - -Software: certain software components designed to work with Scylla NoSQL Database and provided to you under this Agreement. - -You: the recipient of this Software, an individual, or the entity on whose behalf you are receiving the Software. - -Your Application: an application developed by or for You, where such application is not a Database Product. - -LICENSE GRANT AND CONDITIONS -1.1 Subject to the terms and conditions of this Section 1, Licensor hereby grants to You a non-exclusive, royalty-free, worldwide, non-transferable license during the term of this Agreement to: - -a) distribute or make available the Software or your Modifications under the terms of this -Agreement, only as part of Your Application, so long as you include the following notice on any copy you distribute: “This software is subject to the terms of the Scylla Source Available License Agreement”. - -(b) use the Software, or your Modifications, only as part of Your Application, but not in connection - -with any Database Product that is distributed or otherwise made available by any third party. - -(c) modify the Software, provided that Modifications remain subject to the terms of this License. - -(d) reproduce the Software as necessary for the above. - -1.3. Notices. - -On all copies of the Software that you make, you must retain all copyright or other proprietary notices. - -TERM AND TERMINATION. -This Agreement will continue unless and until earlier terminated as set forth herein. If You breach any of its conditions or obligations under this Agreement, this Agreement will terminate automatically and the licenses granted herein will terminate automatically. - -INTELLECTUAL PROPERTY. -As between the parties, Licensor retains all right, title, and interest in the Software, and to Scylla or other Licensor trademarks or service marks, and all intellectual property rights therein. Licensor hereby reserves all rights not expressly granted to You in this Agreement. - -DISCLAIMER. -TO THE EXTENT ALLOWABLE UNDER LAW, LICENSOR HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE SOFTWARE. Licensor has no obligation to support the Software. - -LIMITATION OF LIABILITY. TO THE EXTENT ALLOWABLE UNDER LAW, LICENSOR WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO, LOST PROFITS OR ANY CONSEQUENTIAL, SPECIAL, INCIDENTAL, INDIRECT, OR DIRECT DAMAGES, ARISING OUT OF OR RELATING TO THIS AGREEMENT. -GENERAL. You are not authorized to assign Your rights under this Agreement to any third party. Licensor may freely assign its rights under this Agreement to any third party. This Agreement is the entire agreement between the parties on the subject matter hereof. No amendment or modification hereof will be valid or binding upon the parties unless made in writing and signed by the duly authorized representatives of both parties. In the event that any provision, including without limitation any condition, of this Agreement is held to be unenforceable, this Agreement and all licenses and rights granted hereunder will immediately terminate. Failure by Licensor to exercise any right hereunder will not be construed as a waiver of any subsequent breach of that right or as a waiver of any other right. This Agreement will be governed by and interpreted in accordance with the laws of the state of California, without reference to its conflict of laws principles. If You are located within the United States, all disputes arising out of this Agreement are subject to the exclusive jurisdiction of courts located in Santa Clara County, California. USA. If You are located outside of the United States, any dispute, controversy or claim arising out of or relating to this Agreement will be referred to and finally determined by arbitration in accordance with the JAMS before a single arbitrator in Santa Clara County, California. Judgment upon the award rendered by the arbitrator may be entered in any court having jurisdiction thereof. - -This license is base on REDIS SOURCE AVAILABLE LICENSE (RSAL) AGREEMENT with some updates -https://redislabs.com/wp-content/uploads/2019/09/redis-source-available-license.pdf diff --git a/vendor/modules.txt b/vendor/modules.txt index 992bd5d1df..8dc0fb4d66 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -395,12 +395,12 @@ github.com/scylladb/gocqlx/v2/dbutil github.com/scylladb/gocqlx/v2/migrate github.com/scylladb/gocqlx/v2/qb github.com/scylladb/gocqlx/v2/table -# github.com/scylladb/scylla-manager/v3/pkg/managerclient v0.0.0-20241104134613-aba35605c28b -## explicit; go 1.21.1 +# github.com/scylladb/scylla-manager/v3/pkg/managerclient v0.0.0-20241104134613-aba35605c28b => ./v3/pkg/managerclient +## explicit; go 1.23.2 github.com/scylladb/scylla-manager/v3/pkg/managerclient github.com/scylladb/scylla-manager/v3/pkg/managerclient/table -# github.com/scylladb/scylla-manager/v3/pkg/util v0.0.0-20241104134613-aba35605c28b -## explicit; go 1.21.1 +# github.com/scylladb/scylla-manager/v3/pkg/util v0.0.0-20241104134613-aba35605c28b => ./v3/pkg/util +## explicit; go 1.23.2 github.com/scylladb/scylla-manager/v3/pkg/util github.com/scylladb/scylla-manager/v3/pkg/util/certutil github.com/scylladb/scylla-manager/v3/pkg/util/cfgutil @@ -431,8 +431,8 @@ github.com/scylladb/scylla-manager/v3/pkg/util/timeutc github.com/scylladb/scylla-manager/v3/pkg/util/uuid github.com/scylladb/scylla-manager/v3/pkg/util/version github.com/scylladb/scylla-manager/v3/pkg/util/workerpool -# github.com/scylladb/scylla-manager/v3/swagger v0.0.0-20241112131737-4fc93b5355fd -## explicit; go 1.21.1 +# github.com/scylladb/scylla-manager/v3/swagger v0.0.0-20241112131737-4fc93b5355fd => ./v3/swagger +## explicit; go 1.23.2 github.com/scylladb/scylla-manager/v3/swagger/gen/agent/client github.com/scylladb/scylla-manager/v3/swagger/gen/agent/client/operations github.com/scylladb/scylla-manager/v3/swagger/gen/agent/models @@ -759,3 +759,6 @@ gopkg.in/yaml.v2 gopkg.in/yaml.v3 # github.com/gocql/gocql => github.com/scylladb/gocql v1.12.0 # github.com/rclone/rclone => github.com/scylladb/rclone v1.54.1-0.20240312172628-afe1fd2aa65e +# github.com/scylladb/scylla-manager/v3/pkg/managerclient => ./v3/pkg/managerclient +# github.com/scylladb/scylla-manager/v3/pkg/util => ./v3/pkg/util +# github.com/scylladb/scylla-manager/v3/swagger => ./v3/swagger