Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/archive-feature.yaml
Original file line number Diff line number Diff line change
@@ -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/`
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}/
Expand Down
Loading