From 20db01d06e74c99c94b3fe40b3f6a8d21d3b910d Mon Sep 17 00:00:00 2001 From: koralowiec <36413794+koralowiec@users.noreply.github.com> Date: Sun, 13 Sep 2026 12:03:20 +0200 Subject: [PATCH] feat: add archive issue template and just recipe --- .github/ISSUE_TEMPLATE/archive-feature.yaml | 20 ++++++++++++++++++++ justfile | 7 +++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/archive-feature.yaml diff --git a/.github/ISSUE_TEMPLATE/archive-feature.yaml b/.github/ISSUE_TEMPLATE/archive-feature.yaml new file mode 100644 index 000000000..3b8f2e181 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/archive-feature.yaml @@ -0,0 +1,20 @@ +name: 🗃️ Archive a Feature 🗃️ +description: Record archiving a feature +title: "[Archive]: " +labels: ["archive"] +body: + - type: input + id: feature-name + attributes: + label: Feature name + description: "For example: ansible" + validations: + required: true + - type: checkboxes + id: steps + attributes: + label: Archival steps + options: + - label: "Set `deprecated: true` in `devcontainer-feature.json`" + - label: Release final version + - label: Move to `archive/` diff --git a/justfile b/justfile index 50af130e2..d8646a3c9 100644 --- a/justfile +++ b/justfile @@ -16,6 +16,13 @@ archive feature-name: mv src/{{feature-name}} archive/src/ mv test/{{feature-name}} archive/test/ +archive-issue feature-name: + printf '### Feature name\n\n%s\n\n### Archival steps\n\n- [ ] Set `deprecated: true` in `devcontainer-feature.json`\n- [ ] Release final version\n- [ ] Move to `archive/`\n' "{{feature-name}}" \ + | gh issue create \ + --title "[Archive]: {{feature-name}}" \ + --label archive \ + --body-file - + add feature-name: mkdir -p src/{{feature-name}} test/{{feature-name}} cp templates/bak/src/* src/{{feature-name}}/