-
Notifications
You must be signed in to change notification settings - Fork 40
Add Copier migration support and update template docs #393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
steve-downey
wants to merge
13
commits into
bemanproject:main
Choose a base branch
from
steve-downey:copier
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
caf4bdb
Migrate template engine from Cookiecutter to Copier
steve-downey c379fb3
Document Copier workflow and migration path
steve-downey 9f4b14a
Randomize CI cron schedules via Copier defaults
steve-downey 80ead4c
Add template sync tooling and CI test matrix
steve-downey a10401b
Add MAINTAINERS documentation for template pipeline
steve-downey ff2b47e
Bump infra submodule to latest upstream main
steve-downey 18974fd
Sync templates with repo state after rebase onto main
steve-downey f4ccad9
Fix non-exemplar template parity with cookiecutter output
steve-downey 66b1f43
Add SPDX license identifier to .copier-answers.yml template
steve-downey 65e5364
Merge branch 'main' into copier
steve-downey 255e5b4
Fix test_standard_project shebang; auto-format generated projects
steve-downey eeaffc6
Add copier-lint job to ci_tests template
steve-downey 431efb2
Update infra from upstream
steve-downey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| infra/** linguist-vendored | ||
| cookiecutter/** linguist-vendored | ||
| template/** linguist-vendored | ||
| copier/** linguist-vendored | ||
| *.bib -linguist-detectable | ||
| *.tex -linguist-detectable | ||
| papers/* linguist-documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 9 additions & 5 deletions
14
.github/workflows/cookiecutter_test.yml → .github/workflows/copier_test.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,23 @@ | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
|
||
| name: Cookiecutter Test | ||
| name: Copier Test | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| cookiecutter-test: | ||
| copier-test: | ||
| runs-on: ubuntu-latest | ||
| name: "Check cookiecutter for consistency" | ||
| name: "Check copier for consistency" | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
| - name: beman cookiecutter consistency check | ||
| - name: beman copier consistency check | ||
| run: | | ||
| ./cookiecutter/check_cookiecutter.sh | ||
| ./copier/check_copier.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,4 +40,4 @@ repos: | |
| hooks: | ||
| - id: codespell | ||
|
|
||
| exclude: 'cookiecutter/|infra/|port/' | ||
| exclude: 'template/|copier/|infra/|port/' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matches the selection of GUIDs in infra/cmake/enable-experimental-import-std.cmake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand right this version set?
I would check the latest released versions:
3.30.x, 3.31.x, 4.0.x, 4.1.x, 4.2.x, 4.3.x, and 4.4.x