From feee6bfefe9480db0ba3b2e82c3ae72389844888 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Fri, 31 Jul 2026 22:37:22 +0200 Subject: [PATCH 1/2] chore: add commit messages template --- .gitmessage | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitmessage diff --git a/.gitmessage b/.gitmessage new file mode 100644 index 0000000..95629f4 --- /dev/null +++ b/.gitmessage @@ -0,0 +1,8 @@ + + +# ------------------------------------------------ SUBJECT AREA +# ---------------------------------------------------------------------- DETAIL AREA + +# Please enter a subject that is not longer than 50 characters. +# If you enter a detailed description, each line should not be longer +# than 72 characters. Break the line as soon as you reach this limit. -- 2.39.5 From b376abbbaf95d317b33ee8737779da17d5784e90 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Fri, 31 Jul 2026 22:39:54 +0200 Subject: [PATCH 2/2] chore: add setup scripts Added setup scripts for commit message template and reference to them in README. --- README.md | 6 +++++- scripts/setup.ps1 | 17 +++++++++++++++++ scripts/setup.sh | 17 +++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100755 scripts/setup.ps1 create mode 100755 scripts/setup.sh diff --git a/README.md b/README.md index 45fba3b..fd0bf63 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # repository-template -The template for repositories \ No newline at end of file +The template for repositories + +## Setup + +Please execute the setup script in `scripts/` for your platform when cloning the repository. \ No newline at end of file diff --git a/scripts/setup.ps1 b/scripts/setup.ps1 new file mode 100755 index 0000000..f000d1e --- /dev/null +++ b/scripts/setup.ps1 @@ -0,0 +1,17 @@ +#!/usr/bin/env pwsh + +# Copyright 2026 Seekra + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +git config --local commit.template .gitmessage \ No newline at end of file diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100755 index 0000000..599f7f0 --- /dev/null +++ b/scripts/setup.sh @@ -0,0 +1,17 @@ +#!/usr/bin/bash + +# Copyright 2026 Seekra + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +git config --local commit.template .gitmessage \ No newline at end of file -- 2.39.5