Skip to content

Commit

Permalink
Add git info to config
Browse files Browse the repository at this point in the history
  • Loading branch information
MattFisher committed Aug 15, 2023
1 parent b6faf00 commit 4f12b1f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
.gitlab-ci.yml
.travis.yml
README.md
docs/ACL.md
docs/ACLIdsInner.md
docs/ACLIdsInnerOneOf.md
docs/ClassLessons.md
docs/ClassStudents.md
docs/ClassSubject.md
Expand All @@ -21,6 +24,7 @@ docs/Lesson.md
docs/LessonsApi.md
docs/ListStudents200Response.md
docs/Meta.md
docs/MetaSchoolsSchoolIdAclGet200Response.md
docs/MetaSchoolsSchoolIdGet200Response.md
docs/MetaSchoolsSchoolIdPermissionsGet200Response.md
docs/ModelClass.md
Expand Down Expand Up @@ -51,9 +55,6 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_class_lessons.py
test/test_class_subject.py
test/test_class_subject_one_of.py
tox.ini
wonde/__init__.py
wonde/api/__init__.py
Expand All @@ -69,6 +70,9 @@ wonde/api_response.py
wonde/configuration.py
wonde/exceptions.py
wonde/models/__init__.py
wonde/models/acl.py
wonde/models/acl_ids_inner.py
wonde/models/acl_ids_inner_one_of.py
wonde/models/class_lessons.py
wonde/models/class_students.py
wonde/models/class_subject.py
Expand All @@ -83,6 +87,7 @@ wonde/models/get_subjects200_response.py
wonde/models/lesson.py
wonde/models/list_students200_response.py
wonde/models/meta.py
wonde/models/meta_schools_school_id_acl_get200_response.py
wonde/models/meta_schools_school_id_get200_response.py
wonde/models/meta_schools_school_id_permissions_get200_response.py
wonde/models/model_class.py
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Python 3.7+
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://github.com/Edrolo/pywonde.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://github.com/Edrolo/pywonde.git`)

Then import the package:
```python
Expand Down
4 changes: 2 additions & 2 deletions git_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ if [ "$git_host" = "" ]; then
fi

if [ "$git_user_id" = "" ]; then
git_user_id="GIT_USER_ID"
git_user_id="Edrolo"
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="pywonde"
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
fi

Expand Down
5 changes: 4 additions & 1 deletion meta/openapi-generator-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"projectName": "pywonde",
"packageName": "wonde",
"packageUrl": "https://github.com/Edrolo/pywonde",
"packageVersion": "0.1.0"
"packageVersion": "0.1.0",
"gitHost": "github.com",
"gitUserId": "Edrolo",
"gitRepoId": "pywonde"
}

0 comments on commit 4f12b1f

Please sign in to comment.