Revision c83d17007b751fcfb9460bd5204cfd63ae3aa2b0 authored by AetherBreeze on 13 January 2022, 09:41:14 UTC, committed by GitHub on 13 January 2022, 09:41:14 UTC
* Add serveral flags to CLI & generalize CLI code

definition.py:
	- Add use_zip_chunks, start_frame, stop_frame, and chunk_size
	  as CLI flags
	- Rename --bug to --bug_tracker to be consistent with website
	  and API
	- No longer include optional kwargs in all requests
core.py:
	- Add a single loop to handle all kwargs for extensibility
	- Lump optional task_create args into kwargs for brevity

* Add --bug as alias for --bug_tracker

- Add back old --bug flag for backwards compatability

* Update licence header

Update licence header for core.py

* Remove redundant parameter assignment

- Remove hardcoded `image_quality` default value, as this is already
  handled by the argparse default value.

* CHANGELOG entry for new CLI flags

* CLI linting fixes

- Several linting fixes for CLI

* Fix CLI test

- Re-add default image_quality in case task_create is called manually

* Resolve changelog merge conflict

* Update CHANGELOG.md

Co-authored-by: Andrey Zhavoronkov <andrey.zhavoronkov@intel.com>
1 parent e9c00cd
History
File Mode Size
.github
.vscode
components
cvat
cvat-canvas
cvat-canvas3d
cvat-core
cvat-data
cvat-ui
helm-chart
serverless
site
ssh
tests
utils
.bandit -rw-r--r-- 181 bytes
.codacy.yml -rw-r--r-- 122 bytes
.coveragerc -rw-r--r-- 776 bytes
.dockerignore -rw-r--r-- 76 bytes
.editorconfig -rw-r--r-- 373 bytes
.eslintignore -rw-r--r-- 100 bytes
.eslintrc.js -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 664 bytes
.gitignore -rw-r--r-- 968 bytes
.gitmodules -rw-r--r-- 97 bytes
.nycrc -rw-r--r-- 353 bytes
.prettierignore -rw-r--r-- 81 bytes
.prettierrc -rw-r--r-- 666 bytes
.pylintrc -rw-r--r-- 14.1 KB
.remarkrc.js -rw-r--r-- 731 bytes
.stylelintrc.json -rw-r--r-- 459 bytes
CHANGELOG.md -rw-r--r-- 61.2 KB
Dockerfile -rw-r--r-- 5.3 KB
Dockerfile.ci -rw-r--r-- 1.1 KB
Dockerfile.ui -rw-r--r-- 1.1 KB
LICENSE -rw-r--r-- 1.6 KB
README.md -rw-r--r-- 12.1 KB
docker-compose.ci.yml -rw-r--r-- 537 bytes
docker-compose.dev.yml -rw-r--r-- 418 bytes
docker-compose.https.yml -rw-r--r-- 1.3 KB
docker-compose.yml -rw-r--r-- 2.9 KB
lint-staged.config.js -rw-r--r-- 1.3 KB
manage.py -rw-r--r-- 686 bytes
mod_wsgi.conf -rw-r--r-- 141 bytes
package-lock.json -rw-r--r-- 1.7 MB
package.json -rw-r--r-- 4.8 KB
supervisord.conf -rw-r--r-- 2.7 KB
wait-for-it.sh -rwxr-xr-x 4.0 KB

README.md

back to top