From 5ca22d3d324e6af0558f4fb695a0f21939124490 Mon Sep 17 00:00:00 2001 From: "christophe.seux" Date: Thu, 28 Sep 2023 11:24:14 +0200 Subject: [PATCH] Initial commit --- .gitignore | 138 +++++++++++++++++++++++++++++++++++++++ ISSUE_TEMPLATE.yml | 51 +++++++++++++++ PULL_REQUEST_TEMPLATE.md | 16 +++++ README.md | 56 ++++++++++++++++ 4 files changed, 261 insertions(+) create mode 100644 .gitignore create mode 100644 ISSUE_TEMPLATE.yml create mode 100644 PULL_REQUEST_TEMPLATE.md create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7322db6 --- /dev/null +++ b/.gitignore @@ -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/ diff --git a/ISSUE_TEMPLATE.yml b/ISSUE_TEMPLATE.yml new file mode 100644 index 0000000..f603953 --- /dev/null +++ b/ISSUE_TEMPLATE.yml @@ -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 diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..a219145 --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..3acc5da --- /dev/null +++ b/README.md @@ -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 +
    +
  1. + Installation +
  2. +
  3. + Contents + +
  4. +
  5. + Settings + +
  6. +
+ + + +## Installation + +1. Create your own local directory in + ```sh + /home//dev + ``` +2. Create your own local directory in + ```sh + git clone ssh://git@git.autourdeminuit.com:222/autour_de_minuit/git_template.git + ``` + + +## Contents + +### Templates + +- *ISSUE_TEMPLATE.yml*: a yaml template for ticket creation +- *PULL_REQUEST_TEMPLATE.md*: a file used for PR creation + + +## 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.