You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vašek Šraier 48f080aed7 moved swagger_client dependency to another repository, removed Makefile (is now useless) 5 years ago
.gitignore updated README, added config to .gitignore 5 years ago
Pipfile moved swagger_client dependency to another repository, removed Makefile (is now useless) 5 years ago
Pipfile.lock moved swagger_client dependency to another repository, removed Makefile (is now useless) 5 years ago
README.md moved swagger_client dependency to another repository, removed Makefile (is now useless) 5 years ago
config.py improved config loading, dropped exact Python version requirements, changed default urls, fixed bug with default values 5 years ago
register.py improved help message 5 years ago

README.md

Nástroj pro automatickou registraci do Gitei

Určeno pro registraci organizátorů seminářů na MFF UK.

Build

Build má následující závislosti:

  • pipenv

Spouští se prostým zavoláním pipenv sync

Spouštění

Vyžaduje Python 3.5 a novější.

pipenv run python register.py --help

Zbytek by měl být samovysvětlující. Stačí vyměnit argumenty dle nápovědy z --help.

Dokumentace API Gitei

Gitea má specifikaci API popsanou dle specifikace OpenAPI 2.0 (dříve nazýváno Swagger). Pokud není explicitně řečeno jinak, je tato specifikace vystavena na každé běžící instanci a to na cestě /api/swagger. Přesněji, na této cestě je standardní vygenerovaný webový interface ke specifikaci. Specifikace samotná se nachází (alespoň v době psaní) na cestě /swagger.v1.json.