From 6cc7ab42b6ae63891fca84c42e197ccaf5e46081 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Sat, 23 Sep 2023 23:26:11 +0200 Subject: [PATCH] Move template to subdirectory --- CHANGELOG.md | 4 ++++ copier.yml | 2 ++ .JuliaFormatter.toml => template/.JuliaFormatter.toml | 0 .editorconfig => template/.editorconfig | 0 {.github => template/.github}/workflows/CompatHelper.yml | 0 {.github => template/.github}/workflows/Copier.yml.jinja | 0 {.github => template/.github}/workflows/Docs.yml.jinja | 0 {.github => template/.github}/workflows/Lint.yml | 0 {.github => template/.github}/workflows/TagBot.yml | 0 {.github => template/.github}/workflows/Test.yml.jinja | 0 .gitignore => template/.gitignore | 0 .../.markdown-link-config.json | 0 .markdownlint.json => template/.markdownlint.json | 0 .pre-commit-config.yaml => template/.pre-commit-config.yaml | 0 .yamllint.yml => template/.yamllint.yml | 0 CITATION.cff.jinja => template/CITATION.cff.jinja | 0 Project.toml.jinja => template/Project.toml.jinja | 0 README.md.jinja => template/README.md.jinja | 0 {docs => template/docs}/Project.toml.jinja | 0 {docs => template/docs}/make.jl.jinja | 0 {docs => template/docs}/src/contributing.md.jinja | 0 {docs => template/docs}/src/developer.md.jinja | 0 {docs => template/docs}/src/index.md.jinja | 0 {docs => template/docs}/src/reference.md.jinja | 0 {src => template/src}/{{ PackageName }}.jl.jinja | 0 {test => template/test}/Project.toml | 0 {test => template/test}/runtests.jl.jinja | 0 ...% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" | 0 .../{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" | 0 .../{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" | 0 .../{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" | 0 .../{% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja | 0 .../{{_copier_conf.answers_file}}.jinja | 0 33 files changed, 6 insertions(+) rename .JuliaFormatter.toml => template/.JuliaFormatter.toml (100%) rename .editorconfig => template/.editorconfig (100%) rename {.github => template/.github}/workflows/CompatHelper.yml (100%) rename {.github => template/.github}/workflows/Copier.yml.jinja (100%) rename {.github => template/.github}/workflows/Docs.yml.jinja (100%) rename {.github => template/.github}/workflows/Lint.yml (100%) rename {.github => template/.github}/workflows/TagBot.yml (100%) rename {.github => template/.github}/workflows/Test.yml.jinja (100%) rename .gitignore => template/.gitignore (100%) rename .markdown-link-config.json => template/.markdown-link-config.json (100%) rename .markdownlint.json => template/.markdownlint.json (100%) rename .pre-commit-config.yaml => template/.pre-commit-config.yaml (100%) rename .yamllint.yml => template/.yamllint.yml (100%) rename CITATION.cff.jinja => template/CITATION.cff.jinja (100%) rename Project.toml.jinja => template/Project.toml.jinja (100%) rename README.md.jinja => template/README.md.jinja (100%) rename {docs => template/docs}/Project.toml.jinja (100%) rename {docs => template/docs}/make.jl.jinja (100%) rename {docs => template/docs}/src/contributing.md.jinja (100%) rename {docs => template/docs}/src/developer.md.jinja (100%) rename {docs => template/docs}/src/index.md.jinja (100%) rename {docs => template/docs}/src/reference.md.jinja (100%) rename {src => template/src}/{{ PackageName }}.jl.jinja (100%) rename {test => template/test}/Project.toml (100%) rename {test => template/test}/runtests.jl.jinja (100%) rename "{% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" => "template/{% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" (100%) rename "{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" => "template/{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" (100%) rename "{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" => "template/{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" (100%) rename "{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" => "template/{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" (100%) rename {% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja => template/{% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja (100%) rename {{_copier_conf.answers_file}}.jinja => template/{{_copier_conf.answers_file}}.jinja (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index de4fa5f3..9e43de71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning]. ## [Unreleased] +### Changed + +- Move template to subdirectory + ### Fixed - Allow failure in nightly Julia Test.yml workflow diff --git a/copier.yml b/copier.yml index 9118e426..eb127050 100644 --- a/copier.yml +++ b/copier.yml @@ -65,3 +65,5 @@ _skip_if_exists: - "**/Project.toml" - CITATION.cff - LICENSE + +_subdirectory: template diff --git a/.JuliaFormatter.toml b/template/.JuliaFormatter.toml similarity index 100% rename from .JuliaFormatter.toml rename to template/.JuliaFormatter.toml diff --git a/.editorconfig b/template/.editorconfig similarity index 100% rename from .editorconfig rename to template/.editorconfig diff --git a/.github/workflows/CompatHelper.yml b/template/.github/workflows/CompatHelper.yml similarity index 100% rename from .github/workflows/CompatHelper.yml rename to template/.github/workflows/CompatHelper.yml diff --git a/.github/workflows/Copier.yml.jinja b/template/.github/workflows/Copier.yml.jinja similarity index 100% rename from .github/workflows/Copier.yml.jinja rename to template/.github/workflows/Copier.yml.jinja diff --git a/.github/workflows/Docs.yml.jinja b/template/.github/workflows/Docs.yml.jinja similarity index 100% rename from .github/workflows/Docs.yml.jinja rename to template/.github/workflows/Docs.yml.jinja diff --git a/.github/workflows/Lint.yml b/template/.github/workflows/Lint.yml similarity index 100% rename from .github/workflows/Lint.yml rename to template/.github/workflows/Lint.yml diff --git a/.github/workflows/TagBot.yml b/template/.github/workflows/TagBot.yml similarity index 100% rename from .github/workflows/TagBot.yml rename to template/.github/workflows/TagBot.yml diff --git a/.github/workflows/Test.yml.jinja b/template/.github/workflows/Test.yml.jinja similarity index 100% rename from .github/workflows/Test.yml.jinja rename to template/.github/workflows/Test.yml.jinja diff --git a/.gitignore b/template/.gitignore similarity index 100% rename from .gitignore rename to template/.gitignore diff --git a/.markdown-link-config.json b/template/.markdown-link-config.json similarity index 100% rename from .markdown-link-config.json rename to template/.markdown-link-config.json diff --git a/.markdownlint.json b/template/.markdownlint.json similarity index 100% rename from .markdownlint.json rename to template/.markdownlint.json diff --git a/.pre-commit-config.yaml b/template/.pre-commit-config.yaml similarity index 100% rename from .pre-commit-config.yaml rename to template/.pre-commit-config.yaml diff --git a/.yamllint.yml b/template/.yamllint.yml similarity index 100% rename from .yamllint.yml rename to template/.yamllint.yml diff --git a/CITATION.cff.jinja b/template/CITATION.cff.jinja similarity index 100% rename from CITATION.cff.jinja rename to template/CITATION.cff.jinja diff --git a/Project.toml.jinja b/template/Project.toml.jinja similarity index 100% rename from Project.toml.jinja rename to template/Project.toml.jinja diff --git a/README.md.jinja b/template/README.md.jinja similarity index 100% rename from README.md.jinja rename to template/README.md.jinja diff --git a/docs/Project.toml.jinja b/template/docs/Project.toml.jinja similarity index 100% rename from docs/Project.toml.jinja rename to template/docs/Project.toml.jinja diff --git a/docs/make.jl.jinja b/template/docs/make.jl.jinja similarity index 100% rename from docs/make.jl.jinja rename to template/docs/make.jl.jinja diff --git a/docs/src/contributing.md.jinja b/template/docs/src/contributing.md.jinja similarity index 100% rename from docs/src/contributing.md.jinja rename to template/docs/src/contributing.md.jinja diff --git a/docs/src/developer.md.jinja b/template/docs/src/developer.md.jinja similarity index 100% rename from docs/src/developer.md.jinja rename to template/docs/src/developer.md.jinja diff --git a/docs/src/index.md.jinja b/template/docs/src/index.md.jinja similarity index 100% rename from docs/src/index.md.jinja rename to template/docs/src/index.md.jinja diff --git a/docs/src/reference.md.jinja b/template/docs/src/reference.md.jinja similarity index 100% rename from docs/src/reference.md.jinja rename to template/docs/src/reference.md.jinja diff --git a/src/{{ PackageName }}.jl.jinja b/template/src/{{ PackageName }}.jl.jinja similarity index 100% rename from src/{{ PackageName }}.jl.jinja rename to template/src/{{ PackageName }}.jl.jinja diff --git a/test/Project.toml b/template/test/Project.toml similarity index 100% rename from test/Project.toml rename to template/test/Project.toml diff --git a/test/runtests.jl.jinja b/template/test/runtests.jl.jinja similarity index 100% rename from test/runtests.jl.jinja rename to template/test/runtests.jl.jinja diff --git "a/{% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" "b/template/{% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" similarity index 100% rename from "{% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" rename to "template/{% if License == \"Apache-2.0\" %}LICENSE{% endif %}.jinja" diff --git "a/{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" "b/template/{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" similarity index 100% rename from "{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" rename to "template/{% if License == \"GPL-3.0\" %}LICENSE{% endif %}.jinja" diff --git "a/{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" "b/template/{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" similarity index 100% rename from "{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" rename to "template/{% if License == \"MIT\" %}LICENSE{% endif %}.jinja" diff --git "a/{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" "b/template/{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" similarity index 100% rename from "{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" rename to "template/{% if License == \"MPL-2.0\" %}LICENSE{% endif %}.jinja" diff --git a/{% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja b/template/{% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja similarity index 100% rename from {% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja rename to template/{% if UseCirrusCI %}.cirrus.yml{% endif %}.jinja diff --git a/{{_copier_conf.answers_file}}.jinja b/template/{{_copier_conf.answers_file}}.jinja similarity index 100% rename from {{_copier_conf.answers_file}}.jinja rename to template/{{_copier_conf.answers_file}}.jinja