diff --git a/.gitea/default_merge_message/REBASE_TEMPLATE.md b/.gitea/default_merge_message/REBASE_TEMPLATE.md new file mode 100644 index 0000000..d041f96 --- /dev/null +++ b/.gitea/default_merge_message/REBASE_TEMPLATE.md @@ -0,0 +1,5 @@ +${CommitTitle} + +${CommitBody} + +Pull Request: https://git.autourdeminuit.com/${BaseRepoOwnerName}/${BaseRepoName}/pulls/${PullRequestIndex} diff --git a/.gitea/default_merge_message/SQUASH_TEMPLATE.md b/.gitea/default_merge_message/SQUASH_TEMPLATE.md new file mode 100644 index 0000000..b673bf8 --- /dev/null +++ b/.gitea/default_merge_message/SQUASH_TEMPLATE.md @@ -0,0 +1,3 @@ +${PullRequestTitle} + +Pull Request: https://git.autourdeminuit.com/${BaseRepoOwnerName}/${BaseRepoName}/pulls/${PullRequestIndex} diff --git a/.gitea/issue_template/bug.yaml b/.gitea/issue_template/bug.yaml new file mode 100644 index 0000000..5559972 --- /dev/null +++ b/.gitea/issue_template/bug.yaml @@ -0,0 +1,22 @@ +name: Bug Report +about: Use Help > Report a Bug from the top of Blender to automatically fill out part of this form. +labels: + - "Type/Bug" +body: + - type: textarea + id: body + attributes: + label: "Description" + hide_label: true + value: | + **System Information** + Operating system: + Graphics card: + + **Software Version** + Broken: (example: 3.0.0, main, `f1cca3055776`, 2020-12-30) + Worked: (newest version that worked as expected) + + **Short description of error** + + **Exact steps for others to reproduce the error** diff --git a/.gitea/issue_template/config.yaml b/.gitea/issue_template/config.yaml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.gitea/issue_template/config.yaml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.gitea/issue_template/design.yaml b/.gitea/issue_template/design.yaml new file mode 100644 index 0000000..77195a8 --- /dev/null +++ b/.gitea/issue_template/design.yaml @@ -0,0 +1,10 @@ +name: Design +about: Create a design task (for developers only) +labels: + - "Type/Design" +body: + - type: textarea + id: body + attributes: + label: "Description" + hide_label: true diff --git a/.gitea/issue_template/todo.yaml b/.gitea/issue_template/todo.yaml new file mode 100644 index 0000000..325238a --- /dev/null +++ b/.gitea/issue_template/todo.yaml @@ -0,0 +1,10 @@ +name: To Do +about: Create a to do task (for developers only) +labels: + - "Type/To Do" +body: + - type: textarea + id: body + attributes: + label: "Description" + hide_label: true diff --git a/.gitea/pull_request_template.yaml b/.gitea/pull_request_template.yaml new file mode 100644 index 0000000..17f1290 --- /dev/null +++ b/.gitea/pull_request_template.yaml @@ -0,0 +1,8 @@ +name: Pull Request +about: Code contribution +body: + - type: textarea + id: body + attributes: + label: "Description" + hide_label: true diff --git a/.gitignore b/.gitignore index 7322db6..32b8d4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,138 +1,17 @@ -# Byte-compiled / optimized / DLL files +# Python Artifacts __pycache__ __pycache__/ *.py[cod] *$py.class +# Python virtualenvs +.venv/ +.env/ + +# Editor config files +.idea/ *.code-workspace *.vscode -test_* -# C extensions -*.so - -# Distribution / packaging -/dist/ -/release/ -.Python -#build/ -develop-eggs/ +# Poetry build artifacts 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 deleted file mode 100644 index f603953..0000000 --- a/ISSUE_TEMPLATE.yml +++ /dev/null @@ -1,51 +0,0 @@ -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 deleted file mode 100644 index a219145..0000000 --- a/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,16 +0,0 @@ -## 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 index b6a857f..6cc1093 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,23 @@ -# NODE_KIT -> Blender addon to handle some operations on nodes +# Node Kit +Blender Node Toolkit - Collection of node-related tools (copy-pasting, packing, updating, etc..) all accessible from a simple menu. -Node kit is a blender addon creating a menu to execute operations on nodes like copy/pasting or exporting node_tree - - -*** -Table of Contents -
    -
  1. - Installation -
  2. -
  3. - Contents -
  4. -
- - - -## Installation - -1. Create your own local directory in +## Development +### Cloning +1. Create a development directory, such as: ```sh /home//dev ``` -2. Create your own local directory in +2. Clone the repository with the following command: ```sh git clone ssh://git@git.autourdeminuit.com:222/autour_de_minuit/node_kit.git ``` - -## Contents +### Branches +The main branch is **master**. +It is a **protected branch** that only user with the `Owner` role can push to. + +To contribute to this repository, you will have to create you own development branch, and then create a Pull Request. After at least **one validation**, you will be able to merge your changes. + +Branches should be named in `kebab-case`, and can be grouped using `/`. + +Examples: `bug/fix-crash-on-startup`, `bug/fix-font`, `feature/new-colors`, `theme-logic-refactor`, etc...