teamdbapi 3.15.0__tar.gz → 3.15.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/PKG-INFO +5 -4
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/README.md +2 -2
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/pyproject.toml +1 -1
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/edit_api.py +5 -1
- teamdbapi-3.15.0/.gitignore +0 -64
- teamdbapi-3.15.0/.swagger-codegen/VERSION +0 -1
- teamdbapi-3.15.0/.swagger-codegen-ignore +0 -23
- teamdbapi-3.15.0/.travis.yml +0 -14
- teamdbapi-3.15.0/git_push.sh +0 -52
- teamdbapi-3.15.0/requirements.txt +0 -5
- teamdbapi-3.15.0/setup.py +0 -46
- teamdbapi-3.15.0/test-requirements.txt +0 -5
- teamdbapi-3.15.0/tox.ini +0 -10
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/LICENSE +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/__init__.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/__init__.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/assembly_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/component_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/import_export_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/issue_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/lap_report_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/measure_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/mounting_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/overall_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/parameter_binding_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/report_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/revision_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/script_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/tire_set_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/value_field_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api/version_api.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/__init__.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/assembly_authorization.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/car_parameters_context.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/compare_options.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/component.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/component_location.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria_set.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria_value_detail.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/fixed_field.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/measure_field.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/measure_value.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/model_field.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/overall.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/parameter_binding.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/part_count.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/target.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/tire_set_with_tires.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.15.0 → teamdbapi-3.15.5}/teamdbapi/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.15.
|
|
3
|
+
Version: 3.15.5
|
|
4
4
|
Summary: Easily access the TeamDB Web API.
|
|
5
5
|
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
|
|
6
6
|
Author-email: Trackside Software <support@trackside.fr>
|
|
@@ -16,17 +16,18 @@ Requires-Dist: python_dateutil >= 2.5.3
|
|
|
16
16
|
Requires-Dist: setuptools >= 21.0.0
|
|
17
17
|
Requires-Dist: urllib3 >= 1.15.1
|
|
18
18
|
Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
19
|
+
Import-Name: teamdbapi
|
|
19
20
|
|
|
20
21
|
# teamdbapi
|
|
21
22
|
This module enables you to easily access the TeamDB Web API.
|
|
22
23
|
|
|
23
|
-
- Package version: 3.15.
|
|
24
|
+
- Package version: 3.15.5
|
|
24
25
|
- TeamDB Web API version: 2.0
|
|
25
26
|
|
|
26
27
|
## Requirements.
|
|
27
28
|
|
|
28
29
|
- Python 3.4+
|
|
29
|
-
- TeamDB 3.15.
|
|
30
|
+
- TeamDB 3.15.5
|
|
30
31
|
|
|
31
32
|
## Installation and usage
|
|
32
33
|
### pip install
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# teamdbapi
|
|
2
2
|
This module enables you to easily access the TeamDB Web API.
|
|
3
3
|
|
|
4
|
-
- Package version: 3.15.
|
|
4
|
+
- Package version: 3.15.5
|
|
5
5
|
- TeamDB Web API version: 2.0
|
|
6
6
|
|
|
7
7
|
## Requirements.
|
|
8
8
|
|
|
9
9
|
- Python 3.4+
|
|
10
|
-
- TeamDB 3.15.
|
|
10
|
+
- TeamDB 3.15.5
|
|
11
11
|
|
|
12
12
|
## Installation and usage
|
|
13
13
|
### pip install
|
|
@@ -407,6 +407,7 @@ class EditApi(object):
|
|
|
407
407
|
|
|
408
408
|
:param async_req bool
|
|
409
409
|
:param list[CarParametersContext] contexts: The car parameters contexts to set. (required)
|
|
410
|
+
:param bool reset_filters: True to reset the filters so the context is applied regardless of the current filters.
|
|
410
411
|
:return: None
|
|
411
412
|
If the method is called asynchronously,
|
|
412
413
|
returns the request thread.
|
|
@@ -428,12 +429,13 @@ class EditApi(object):
|
|
|
428
429
|
|
|
429
430
|
:param async_req bool
|
|
430
431
|
:param list[CarParametersContext] contexts: The car parameters contexts to set. (required)
|
|
432
|
+
:param bool reset_filters: True to reset the filters so the context is applied regardless of the current filters.
|
|
431
433
|
:return: None
|
|
432
434
|
If the method is called asynchronously,
|
|
433
435
|
returns the request thread.
|
|
434
436
|
"""
|
|
435
437
|
|
|
436
|
-
all_params = ['contexts'] # noqa: E501
|
|
438
|
+
all_params = ['contexts', 'reset_filters'] # noqa: E501
|
|
437
439
|
all_params.append('async_req')
|
|
438
440
|
all_params.append('_return_http_data_only')
|
|
439
441
|
all_params.append('_preload_content')
|
|
@@ -458,6 +460,8 @@ class EditApi(object):
|
|
|
458
460
|
path_params = {}
|
|
459
461
|
|
|
460
462
|
query_params = []
|
|
463
|
+
if 'reset_filters' in params:
|
|
464
|
+
query_params.append(('resetFilters', params['reset_filters'])) # noqa: E501
|
|
461
465
|
|
|
462
466
|
header_params = {}
|
|
463
467
|
|
teamdbapi-3.15.0/.gitignore
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
# C extensions
|
|
7
|
-
*.so
|
|
8
|
-
|
|
9
|
-
# Distribution / packaging
|
|
10
|
-
.Python
|
|
11
|
-
env/
|
|
12
|
-
build/
|
|
13
|
-
develop-eggs/
|
|
14
|
-
dist/
|
|
15
|
-
downloads/
|
|
16
|
-
eggs/
|
|
17
|
-
.eggs/
|
|
18
|
-
lib/
|
|
19
|
-
lib64/
|
|
20
|
-
parts/
|
|
21
|
-
sdist/
|
|
22
|
-
var/
|
|
23
|
-
*.egg-info/
|
|
24
|
-
.installed.cfg
|
|
25
|
-
*.egg
|
|
26
|
-
|
|
27
|
-
# PyInstaller
|
|
28
|
-
# Usually these files are written by a python script from a template
|
|
29
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
30
|
-
*.manifest
|
|
31
|
-
*.spec
|
|
32
|
-
|
|
33
|
-
# Installer logs
|
|
34
|
-
pip-log.txt
|
|
35
|
-
pip-delete-this-directory.txt
|
|
36
|
-
|
|
37
|
-
# Unit test / coverage reports
|
|
38
|
-
htmlcov/
|
|
39
|
-
.tox/
|
|
40
|
-
.coverage
|
|
41
|
-
.coverage.*
|
|
42
|
-
.cache
|
|
43
|
-
nosetests.xml
|
|
44
|
-
coverage.xml
|
|
45
|
-
*,cover
|
|
46
|
-
.hypothesis/
|
|
47
|
-
venv/
|
|
48
|
-
.python-version
|
|
49
|
-
|
|
50
|
-
# Translations
|
|
51
|
-
*.mo
|
|
52
|
-
*.pot
|
|
53
|
-
|
|
54
|
-
# Django stuff:
|
|
55
|
-
*.log
|
|
56
|
-
|
|
57
|
-
# Sphinx documentation
|
|
58
|
-
docs/_build/
|
|
59
|
-
|
|
60
|
-
# PyBuilder
|
|
61
|
-
target/
|
|
62
|
-
|
|
63
|
-
#Ipython Notebook
|
|
64
|
-
.ipynb_checkpoints
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.4.9
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Swagger Codegen Ignore
|
|
2
|
-
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
|
|
3
|
-
|
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
-
|
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
|
|
9
|
-
#ApiClient.cs
|
|
10
|
-
|
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
-
#foo/*/qux
|
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
-
|
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
-
#foo/**/qux
|
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
-
|
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
-
#docs/*.md
|
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
-
#!docs/README.md
|
teamdbapi-3.15.0/.travis.yml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# ref: https://docs.travis-ci.com/user/languages/python
|
|
2
|
-
language: python
|
|
3
|
-
python:
|
|
4
|
-
- "2.7"
|
|
5
|
-
- "3.2"
|
|
6
|
-
- "3.3"
|
|
7
|
-
- "3.4"
|
|
8
|
-
- "3.5"
|
|
9
|
-
#- "3.5-dev" # 3.5 development branch
|
|
10
|
-
#- "nightly" # points to the latest development branch e.g. 3.6-dev
|
|
11
|
-
# command to install dependencies
|
|
12
|
-
install: "pip install -r requirements.txt"
|
|
13
|
-
# command to run tests
|
|
14
|
-
script: nosetests
|
teamdbapi-3.15.0/git_push.sh
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
-
#
|
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
|
|
5
|
-
|
|
6
|
-
git_user_id=$1
|
|
7
|
-
git_repo_id=$2
|
|
8
|
-
release_note=$3
|
|
9
|
-
|
|
10
|
-
if [ "$git_user_id" = "" ]; then
|
|
11
|
-
git_user_id="GIT_USER_ID"
|
|
12
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
13
|
-
fi
|
|
14
|
-
|
|
15
|
-
if [ "$git_repo_id" = "" ]; then
|
|
16
|
-
git_repo_id="GIT_REPO_ID"
|
|
17
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
18
|
-
fi
|
|
19
|
-
|
|
20
|
-
if [ "$release_note" = "" ]; then
|
|
21
|
-
release_note="Minor update"
|
|
22
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
23
|
-
fi
|
|
24
|
-
|
|
25
|
-
# Initialize the local directory as a Git repository
|
|
26
|
-
git init
|
|
27
|
-
|
|
28
|
-
# Adds the files in the local repository and stages them for commit.
|
|
29
|
-
git add .
|
|
30
|
-
|
|
31
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
32
|
-
git commit -m "$release_note"
|
|
33
|
-
|
|
34
|
-
# Sets the new remote
|
|
35
|
-
git_remote=`git remote`
|
|
36
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
37
|
-
|
|
38
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
|
39
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
40
|
-
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
|
41
|
-
else
|
|
42
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
|
43
|
-
fi
|
|
44
|
-
|
|
45
|
-
fi
|
|
46
|
-
|
|
47
|
-
git pull origin master
|
|
48
|
-
|
|
49
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
50
|
-
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
|
|
51
|
-
git push origin master 2>&1 | grep -v 'To https'
|
|
52
|
-
|
teamdbapi-3.15.0/setup.py
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Trackside Software TeamDB API v2.0
|
|
5
|
-
|
|
6
|
-
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 2.0
|
|
9
|
-
Contact: support@trackside.fr
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
from setuptools import setup, find_packages # noqa: H301
|
|
15
|
-
|
|
16
|
-
NAME = "teamdbapi"
|
|
17
|
-
VERSION = "1.0.0"
|
|
18
|
-
# To install the library, run the following
|
|
19
|
-
#
|
|
20
|
-
# python setup.py install
|
|
21
|
-
#
|
|
22
|
-
# prerequisite: setuptools
|
|
23
|
-
# http://pypi.python.org/pypi/setuptools
|
|
24
|
-
|
|
25
|
-
REQUIRES = [
|
|
26
|
-
"certifi>=2017.4.17",
|
|
27
|
-
"python-dateutil>=2.1",
|
|
28
|
-
"six>=1.10",
|
|
29
|
-
"urllib3>=1.23"
|
|
30
|
-
]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
setup(
|
|
34
|
-
name=NAME,
|
|
35
|
-
version=VERSION,
|
|
36
|
-
description="Trackside Software TeamDB API v2.0",
|
|
37
|
-
author_email="support@trackside.fr",
|
|
38
|
-
url="",
|
|
39
|
-
keywords=["Swagger", "Trackside Software TeamDB API v2.0"],
|
|
40
|
-
install_requires=REQUIRES,
|
|
41
|
-
packages=find_packages(),
|
|
42
|
-
include_package_data=True,
|
|
43
|
-
long_description="""\
|
|
44
|
-
This API enables you to access TeamDB data # noqa: E501
|
|
45
|
-
"""
|
|
46
|
-
)
|
teamdbapi-3.15.0/tox.ini
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|