Initial commit

master
Autour de Minuit 2024-02-21 11:35:33 +01:00
commit 53201f5cbe
4 changed files with 261 additions and 0 deletions

138
.gitignore vendored Normal file
View File

@ -0,0 +1,138 @@
# Byte-compiled / optimized / DLL files
__pycache__
__pycache__/
*.py[cod]
*$py.class
*.code-workspace
*.vscode
test_*
# C extensions
*.so
# Distribution / packaging
/dist/
/release/
.Python
#build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
#lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
_build/
Makefile
make.bat
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
#env/
venv/
#ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/

51
ISSUE_TEMPLATE.yml Normal file
View File

@ -0,0 +1,51 @@
name: Bug Report
about: File a bug report
title: "[Bug]: "
body:
- id : ticket_type
type: dropdown
attributes:
label: Type
description: Type du ticket
options:
- bug
- feature
- maintenance
- documentation
validation:
required: true
- id : priority
type: dropdown
attributes:
label: Priorité
description: priorité du ticket
options:
- normal
- faible
- élevée
- critique
- id: description
type: textarea
attributes:
label: Description
description: Description du problème rencontré
value: "ça marche pô... \nN'oubliez pas de préciser la task, l'asset ou le shot, et sa version dans le cas d'un bug"
validations:
required: true
- id: path
type: input
attributes:
label: filepath
description: le chemin de la scene s'il existe
- id: log
type: textarea
attributes:
label: Log console
description: Rensigner le crash log s'il existe

16
PULL_REQUEST_TEMPLATE.md Normal file
View File

@ -0,0 +1,16 @@
## Related ticket
Link to the ticket
## Modifications
Description of what your PR is doing
## How to test it
Description of how to test it
## Risk involved
- LOW
- MID
- HIGH
## Related PR
List of PR involved with this one

56
README.md Normal file
View File

@ -0,0 +1,56 @@
# GIT_TEMPLATE
> Template for the others repository
Git_template is a template repository that must be used to generate others repository
<!-- TABLE OF CONTENTS -->
***
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#installation">Installation</a>
</li>
<li>
<a href="#contents">Contents</a>
<ul>
<li><a href="#templates">Templates</a></li>
</ul>
</li>
<li>
<a href="#settings">Settings</a>
<ul>
<li><a href="#branches">Branches</a></li>
</ul>
</li>
</ol>
<!-- INSTALLATION -->
## Installation
1. Create your own local directory in
```sh
/home/<USER>/dev
```
2. Create your own local directory in
```sh
git clone ssh://git@git.autourdeminuit.com:222/autour_de_minuit/git_template.git
```
<!-- CONTENTS -->
## Contents
### Templates
- *ISSUE_TEMPLATE.yml*: a yaml template for ticket creation
- *PULL_REQUEST_TEMPLATE.md*: a file used for PR creation
<!-- SETTINGS -->
## Settings
Those seetings from gitlab will be populated to each repository created with this template
### Branches
The main branch is **master**.
It's a **protected branch refusing pushing** from any users who is not a Owner.
In other words you have to create you own developping branch and then create a push request. After at least **one validation**, you will be able to push you branch to the master one.