Generate gitea project automagically

This commit is contained in:
Histausse 2023-03-25 21:02:31 +01:00
parent 28d3163ca7
commit 0c830127ec
3 changed files with 44 additions and 5 deletions

View file

@ -5,8 +5,10 @@
"email": "histausse@protonmail.com",
"git_user": "histausse",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"project_url": "https://git.mineau.eu/{{ cookiecutter.git_user }}/{{ cookiecutter.project_slug }}",
"git_ogirin": "git@git.mineau.eu/{{ cookiecutter.git_user }}/{{ cookiecutter.project_slug }}.git",
"gitea_url": "https://git.mineau.eu",
"project_url": "{{ cookiecutter.gitea_url }}/{{ cookiecutter.git_user }}/{{ cookiecutter.project_slug }}",
"generate_gitea_project": true,
"git_origin": "{{ cookiecutter.gitea_url.replace('https://', 'gitea@').replace('http://', 'gitea') }}:{{ cookiecutter.git_user }}/{{ cookiecutter.project_slug }}.git",
"version": "0.1.0",
"open_source_license": ["GNU General Public License v3", "MIT license", "BSD license", "ISC license", "Apache Software License 2.0", "Not open source"],
"python_min_version": "3.10"