Update gitHost & co

This commit is contained in:
Quentin 2022-11-13 15:17:06 +01:00
parent 9039e70962
commit 53bfee8a0f
Signed by: quentin
GPG key ID: E9602264D639FF68
4 changed files with 7 additions and 42 deletions

View file

@ -1,6 +1,5 @@
.gitignore .gitignore
.gitlab-ci.yml .gitlab-ci.yml
.openapi-generator-ignore
.travis.yml .travis.yml
README.md README.md
docs/AddKeyRequest.md docs/AddKeyRequest.md
@ -87,38 +86,4 @@ setup.cfg
setup.py setup.py
test-requirements.txt test-requirements.txt
test/__init__.py 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 tox.ini

View file

@ -1,4 +1,4 @@
# garage-admin-sdk # garage-admin-sdk-python
Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. 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!* *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: If the python package is hosted on a repository, you can install directly using:
```sh ```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: Then import the package:
```python ```python

View file

@ -9,17 +9,17 @@ release_note=$3
git_host=$4 git_host=$4
if [ "$git_host" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi fi
if [ "$git_user_id" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
fi fi
if [ "$git_repo_id" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
fi fi

View file

@ -10,7 +10,7 @@
from setuptools import setup, find_packages # noqa: H301 from setuptools import setup, find_packages # noqa: H301
NAME = "garage-admin-sdk" NAME = "garage-admin-sdk-python"
VERSION = "0.8.0" VERSION = "0.8.0"
# To install the library, run the following # To install the library, run the following
# #