Skip to content

Commit 62f5981

Browse files
committed
fix(generator): Fix git repository
1 parent 53d9e7b commit 62f5981

6 files changed

Lines changed: 9 additions & 12 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Python 3.7+
1717
If the python package is hosted on a repository, you can install directly using:
1818

1919
```sh
20-
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
20+
pip install git+https://github.com/szczad/hyperstack-api-python.git
2121
```
22-
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
22+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/szczad/hyperstack-api-python.git`)
2323

2424
Then import the package:
2525
```python

config.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

git_push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ if [ "$git_host" = "" ]; then
1414
fi
1515

1616
if [ "$git_user_id" = "" ]; then
17-
git_user_id="GIT_USER_ID"
17+
git_user_id="szczad"
1818
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
1919
fi
2020

2121
if [ "$git_repo_id" = "" ]; then
22-
git_repo_id="GIT_REPO_ID"
22+
git_repo_id="hyperstack-api-python"
2323
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
2424
fi
2525

openapi/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
generatorName: python
22
inputSpec: /local/openapi/api.json
33
outputDir: /local/
4+
gitUserId: szczad
5+
gitRepoId: hyperstack-api-python
46
additionalProperties:
57
packageName: hyperstack
68
packageVersion: 1.1.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Infrahub-API"
55
authors = ["OpenAPI Generator Community <[email protected]>"]
66
license = "NoLicense"
77
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
8+
repository = "https://github.com/szczad/hyperstack-api-python"
99
keywords = ["OpenAPI", "OpenAPI-Generator", "Infrahub-API"]
1010
include = ["hyperstack/py.typed"]
1111

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
description="Infrahub-API",
3737
author="OpenAPI Generator community",
3838
author_email="[email protected]",
39-
url="https://github.com/szczad/hyperstack-api",
39+
url="https://github.com/szczad/hyperstack-api-python",
4040
keywords=["OpenAPI", "OpenAPI-Generator", "Infrahub-API"],
4141
install_requires=REQUIRES,
4242
packages=find_packages(exclude=["test", "tests"]),
4343
include_package_data=True,
44-
long_description_content_type='text/markdown',
44+
long_description_content_type="text/markdown",
4545
long_description="""\
4646
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4747
""", # noqa: E501

0 commit comments

Comments
 (0)