From 53bfee8a0f31a002806985d0f585c4d4344bfdd7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 13 Nov 2022 15:17:06 +0100 Subject: [PATCH] Update gitHost & co --- .openapi-generator/FILES | 35 ----------------------------------- README.md | 6 +++--- git_push.sh | 6 +++--- setup.py | 2 +- 4 files changed, 7 insertions(+), 42 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 044346e..9e3aee7 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,6 +1,5 @@ .gitignore .gitlab-ci.yml -.openapi-generator-ignore .travis.yml README.md docs/AddKeyRequest.md @@ -87,38 +86,4 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_add_key_request.py -test/test_add_node200_response_inner.py -test/test_allow_bucket_key_request.py -test/test_allow_bucket_key_request_permissions.py -test/test_bucket_api.py -test/test_bucket_info.py -test/test_bucket_info_quotas.py -test/test_bucket_info_website_config.py -test/test_bucket_key_info.py -test/test_cluster_layout.py -test/test_create_bucket_request.py -test/test_create_bucket_request_local_alias.py -test/test_create_bucket_request_local_alias_allow.py -test/test_get_nodes200_response.py -test/test_import_key_request.py -test/test_key_api.py -test/test_key_info.py -test/test_key_info_buckets_inner.py -test/test_key_info_buckets_inner_permissions.py -test/test_key_info_permissions.py -test/test_layout_api.py -test/test_layout_version.py -test/test_list_buckets200_response_inner.py -test/test_list_buckets200_response_inner_local_aliases_inner.py -test/test_list_keys200_response_inner.py -test/test_node_cluster_info.py -test/test_node_network_info.py -test/test_nodes_api.py -test/test_update_bucket_request.py -test/test_update_bucket_request_quotas.py -test/test_update_bucket_request_website_access.py -test/test_update_key_request.py -test/test_update_key_request_allow.py -test/test_update_key_request_deny.py tox.ini diff --git a/README.md b/README.md index 5179cfb..adabdb2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# garage-admin-sdk +# garage-admin-sdk-python Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!* @@ -20,9 +20,9 @@ Python >=3.6 If the python package is hosted on a repository, you can install directly using: ```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git +pip install git+https://git.deuxfleurs.fr/quentin/garage-admin-sdk-python.git ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) +(you may need to run `pip` with root permission: `sudo pip install git+https://git.deuxfleurs.fr/quentin/garage-admin-sdk-python.git`) Then import the package: ```python diff --git a/git_push.sh b/git_push.sh index f53a75d..aa7a431 100644 --- a/git_push.sh +++ b/git_push.sh @@ -9,17 +9,17 @@ release_note=$3 git_host=$4 if [ "$git_host" = "" ]; then - git_host="github.com" + git_host="git.deuxfleurs.fr" echo "[INFO] No command line input provided. Set \$git_host to $git_host" fi if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" + git_user_id="quentin" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" fi if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" + git_repo_id="garage-admin-sdk-python" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" fi diff --git a/setup.py b/setup.py index 7390cd2..d07078e 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # noqa: H301 -NAME = "garage-admin-sdk" +NAME = "garage-admin-sdk-python" VERSION = "0.8.0" # To install the library, run the following #