From aa0b556bd3a3f2c7a4a3a1f455f295c9896a7c3a Mon Sep 17 00:00:00 2001 From: mkadilov Date: Wed, 15 Nov 2023 12:21:26 +0300 Subject: [PATCH] [#142] Renamed Github to Gitea in links Some links changed to git.frostfs from github Signed-off-by: Mikhail Kadilov --- CONTRIBUTING.md | 14 +++++----- README.md | 12 ++++----- .../services/http_gate/test_http_gate.py | 26 +++++++++---------- .../services/http_gate/test_http_object.py | 2 +- .../services/http_gate/test_http_streaming.py | 2 +- .../services/s3_gate/test_s3_gate.py | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c76b009c..73a42dc0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,8 +3,8 @@ First, thank you for contributing! We love and encourage pull requests from everyone. Please follow the guidelines: -- Check the open [issues](https://github.com/TrueCloudLab/frostfs-testcases/issues) and - [pull requests](https://github.com/TrueCloudLab/frostfs-testcases/pulls) for existing +- Check the open [issues](https://git.frostfs.info/TrueCloudLab/frostfs-testcases/issues) and + [pull requests](https://git.frostfs.info/TrueCloudLab/frostfs-testcases/pulls) for existing discussions. - Open an issue first, to discuss a new feature or enhancement. @@ -26,9 +26,9 @@ Start by forking the `frostfs-testcases` repository, make changes in a branch an send a pull request. We encourage pull requests to discuss code changes. Here are the steps in details: -### Set up your GitHub Repository +### Set up your Git Repository -Fork [FrosfFS testcases upstream](https://github.com/TrueCloudLab/frostfs-testcases/fork) source +Fork [FrosfFS testcases upstream](https://git.frostfs.info/TrueCloudLab/frostfs-testcases/forks) source repository to your own personal repository. Copy the URL of your fork and clone it: ```shell @@ -38,7 +38,7 @@ $ git clone ### Set up git remote as ``upstream`` ```sh $ cd frostfs-testcases -$ git remote add upstream https://github.com/TrueCloudLab/frostfs-testcases +$ git remote add upstream https://git.frostfs.info/TrueCloudLab/frostfs-testcases $ git fetch upstream ``` @@ -94,8 +94,8 @@ $ git push origin feature/123-something_awesome ### Create a Pull Request -Pull requests can be created via GitHub. Refer to [this -document](https://help.github.com/articles/creating-a-pull-request/) for +Pull requests can be created via Git. Refer to [this +document](https://docs.codeberg.org/collaborating/pull-requests-and-git-flow/) for detailed steps on how to create a pull request. After a Pull Request gets peer reviewed and approved, it will be merged. diff --git a/README.md b/README.md index 01435032..4e28fa27 100644 --- a/README.md +++ b/README.md @@ -9,27 +9,27 @@ These tests rely on resources and utility modules that have been originally deve ### Initial preparation 1. Install frostfs-cli - - `git clone git@github.com:TrueCloudLab/frostfs-node.git` + - `git clone git@git.frostfs.info:TrueCloudLab/frostfs-node.git` - `cd frostfs-node` - `make` - `sudo cp bin/frostfs-cli /usr/local/bin/frostfs-cli` 2. Install frostfs-s3-authmate - - `git clone git@github.com:TrueCloudLab/frostfs-s3-gw.git` + - `git clone git@git.frostfs.info:TrueCloudLab/frostfs-s3-gw.git` - `cd frostfs-s3-gw` - `make` - `sudo cp bin/frostfs-s3-authmate /usr/local/bin/frostfs-s3-authmate` 3. Install neo-go - - `git clone git@github.com:nspcc-dev/neo-go.git` + - `git clone git@git.frostfs.info:TrueCloudLab/neo-go.git` - `cd neo-go` - `git checkout v0.101.0` (or the current version in the frostfs-dev-env) - `make` - `sudo cp bin/neo-go /usr/local/bin/neo-go` - or download binary from releases: https://github.com/nspcc-dev/neo-go/releases + or download binary from releases: https://git.frostfs.info/TrueCloudLab/neo-go/releases 4. Clone frostfs-dev-env -`git clone git@github.com:TrueCloudLab/frostfs-dev-env.git` +`git clone git@git.frostfs.info:TrueCloudLab/frostfs-dev-env.git` Note that we expect frostfs-dev-env to be located under the `/../frostfs-dev-env` directory. If you put this repo in any other place, @@ -44,7 +44,7 @@ python3.10-dev libssl-dev ``` As we use frostfs-dev-env, you'll also need to install -[prerequisites](https://github.com/TrueCloudLab/frostfs-dev-env#prerequisites) of this repository. +[prerequisites](https://git.frostfs.info/TrueCloudLab/frostfs-dev-env#prerequisites) of this repository. 6. Prepare virtualenv diff --git a/pytest_tests/testsuites/services/http_gate/test_http_gate.py b/pytest_tests/testsuites/services/http_gate/test_http_gate.py index 02646ec8..fc5b4f3c 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_gate.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_gate.py @@ -27,11 +27,11 @@ OBJECT_NOT_FOUND_ERROR = "not found" @allure.link( - "https://github.com/TrueCloudLab/frostfs-http-gw#frostfs-http-gateway", + "https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#frostfs-http-gateway", name="frostfs-http-gateway", ) -@allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") -@allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") +@allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") +@allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") @pytest.mark.sanity @pytest.mark.http_gate class TestHttpGate(ClusterTestBase): @@ -51,7 +51,7 @@ class TestHttpGate(ClusterTestBase): Steps: 1. Create simple and large objects. 2. Put objects using gRPC (frostfs-cli). - 3. Download objects using HTTP gate (https://github.com/TrueCloudLab/frostfs-http-gw#downloading). + 3. Download objects using HTTP gate (https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading). 4. Get objects using gRPC (frostfs-cli). 5. Compare hashes for got objects. 6. Compare hashes for got and original objects. @@ -99,17 +99,17 @@ class TestHttpGate(ClusterTestBase): @allure.link( - "https://github.com/TrueCloudLab/frostfs-http-gw#frostfs-http-gateway", + "https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#frostfs-http-gateway", name="frostfs-http-gateway", ) -@allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") -@allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") +@allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") +@allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") @pytest.mark.http_gate @pytest.mark.http_put @pytest.mark.skip("Skipped due to deprecated PUT via http") class TestHttpPut(ClusterTestBase): - @allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") - @allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") + @allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") + @allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") @allure.title("Put over HTTP, Get over HTTP") @pytest.mark.smoke def test_put_http_get_http(self, complex_object_size: ObjectSize, simple_object_size: ObjectSize): @@ -118,8 +118,8 @@ class TestHttpPut(ClusterTestBase): Steps: 1. Create simple and large objects. - 2. Upload objects using HTTP (https://github.com/TrueCloudLab/frostfs-http-gw#uploading). - 3. Download objects using HTTP gate (https://github.com/TrueCloudLab/frostfs-http-gw#downloading). + 2. Upload objects using HTTP (https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#uploading). + 3. Download objects using HTTP gate (https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading). 4. Compare hashes for got and original objects. Expected result: @@ -156,7 +156,7 @@ class TestHttpPut(ClusterTestBase): ) @allure.link( - "https://github.com/TrueCloudLab/frostfs-http-gw#by-attributes", + "https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#by-attributes", name="download by attributes", ) @pytest.mark.skip("Skipped due to deprecated PUT via http") @@ -177,7 +177,7 @@ class TestHttpPut(ClusterTestBase): Steps: 1. Create simple and large objects. 2. Upload objects using HTTP with particular attributes in the header. - 3. Download objects by attributes using HTTP gate (https://github.com/TrueCloudLab/frostfs-http-gw#by-attributes). + 3. Download objects by attributes using HTTP gate (https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#by-attributes). 4. Compare hashes for got and original objects. Expected result: diff --git a/pytest_tests/testsuites/services/http_gate/test_http_object.py b/pytest_tests/testsuites/services/http_gate/test_http_object.py index 08b5b8a2..a75ba4fd 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_object.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_object.py @@ -39,7 +39,7 @@ class Test_http_object(ClusterTestBase): Steps: 1. Create an object; 2. Put object(s) using gRPC (frostfs-cli) with attributes [--attributes chapter1=peace,chapter2=war]; - 3. Download the object using HTTP gate (https://github.com/TrueCloudLab/frostfs-http-gw#downloading); + 3. Download the object using HTTP gate (https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading); 4. Compare hashes of the original and the downloaded object; 5. [Negative] Try to the get the object with the specified attributes and `get` request: [get/$CID/chapter1/peace]; 6. Download the object with the specified attributes and `get_by_attribute` request: [get_by_attribute/$CID/chapter1/peace]; diff --git a/pytest_tests/testsuites/services/http_gate/test_http_streaming.py b/pytest_tests/testsuites/services/http_gate/test_http_streaming.py index fede9f56..3d6cb81e 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_streaming.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_streaming.py @@ -31,7 +31,7 @@ class Test_http_streaming(ClusterTestBase): Steps: 1. Create big object; 2. Put object using curl with pipe (streaming); - 3. Download object using HTTP gate (https://github.com/TrueCloudLab/frostfs-http-gw#downloading); + 3. Download object using HTTP gate (https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading); 4. Compare hashes between original and downloaded object; Expected result: diff --git a/pytest_tests/testsuites/services/s3_gate/test_s3_gate.py b/pytest_tests/testsuites/services/s3_gate/test_s3_gate.py index ce170470..c1254da6 100644 --- a/pytest_tests/testsuites/services/s3_gate/test_s3_gate.py +++ b/pytest_tests/testsuites/services/s3_gate/test_s3_gate.py @@ -22,7 +22,7 @@ from frostfs_testlib.utils.file_utils import ( logger = logging.getLogger("NeoLogger") -@allure.link("https://github.com/TrueCloudLab/frostfs-s3-gw#frostfs-s3-gw", name="frostfs-s3-gateway") +@allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw#frostfs-s3-gw", name="frostfs-s3-gateway") @pytest.mark.sanity @pytest.mark.s3_gate @pytest.mark.s3_gate_base