From 016d3f827cf07b35f155d553ff4e5075ea7626d2 Mon Sep 17 00:00:00 2001 From: "samuel.bernou" Date: Wed, 26 Mar 2025 16:34:59 +0100 Subject: [PATCH] Initial commit --- .../default_merge_message/REBASE_TEMPLATE.md | 5 ++++ .../default_merge_message/SQUASH_TEMPLATE.md | 3 +++ .gitea/issue_template/bug.yaml | 22 ++++++++++++++++++ .gitea/issue_template/config.yaml | 1 + .gitea/issue_template/design.yaml | 10 ++++++++ .gitea/issue_template/todo.yaml | 10 ++++++++ .gitea/pull_request_template.yaml | 8 +++++++ .gitignore | 17 ++++++++++++++ README.md | 23 +++++++++++++++++++ 9 files changed, 99 insertions(+) create mode 100644 .gitea/default_merge_message/REBASE_TEMPLATE.md create mode 100644 .gitea/default_merge_message/SQUASH_TEMPLATE.md create mode 100644 .gitea/issue_template/bug.yaml create mode 100644 .gitea/issue_template/config.yaml create mode 100644 .gitea/issue_template/design.yaml create mode 100644 .gitea/issue_template/todo.yaml create mode 100644 .gitea/pull_request_template.yaml create mode 100644 .gitignore create mode 100644 README.md 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 new file mode 100644 index 0000000..32b8d4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# Python Artifacts +__pycache__ +__pycache__/ +*.py[cod] +*$py.class + +# Python virtualenvs +.venv/ +.env/ + +# Editor config files +.idea/ +*.code-workspace +*.vscode + +# Poetry build artifacts +dist/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..a2735a3 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# git_template +A Template from which to create new repository from. + +## Development +### Cloning +1. Create a development directory, such as: + ```sh + /home//dev + ``` +2. Clone the repository with the following command: + ```sh + git clone ssh://git@git.autourdeminuit.com:222/autour_de_minuit/git_template.git + ``` + +### 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...