]> _ Git - alire.git/commit
feat: `init --gihub` to create README and test/publish workflows (#1972)
authorAlejandro R Mosteo <amosteo@unizar.es>
Fri, 11 Jul 2025 10:25:47 +0000 (12:25 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 10:25:47 +0000 (12:25 +0200)
commitdb68323e541e79ed31fa5c737425ca7057192758
treee8973c04b7e21d8ea2026840ccd5ca0e2eca6372
parent63824271d9a23071260ad454546f8d24201638c7
feat: `init --gihub` to create README and test/publish workflows (#1972)

* Templates for Github and `init --github`

* Builtin to permanently enable --github

* Unit test for To_Boolean

* Test for user behavior

* Document user-visible changes

* Test tweaks for explicit builtin use

* Attempt at guessing the PR number

* Better builtin fix

* Self-review

* Fabien's review

* Regenerate templates

* Don't show diffs for "binary" generated templates
27 files changed:
.gitattributes
doc/user-changes.md
src/alire/alire-settings-builtins.ads
src/alire/alire-settings-edit.adb
src/alire/alire-settings.adb
src/alire/alire-settings.ads
src/alire/alire-templates-builtins.ads
src/alr/alr-commands-init.adb
src/alr/alr-commands-init.ads
src/alr/alr-commands.adb
src/alr/alr-commands.ads
src/templates/r-github_publish_yml.ads [new file with mode: 0644]
src/templates/r-github_readme_md.ads [new file with mode: 0644]
src/templates/r-github_selftest_yml.ads [new file with mode: 0644]
src/templates/r.adb
support/embedder/templates.hash
templates/github/README.md [new file with mode: 0644]
templates/github/publish.yml [new file with mode: 0644]
templates/github/selftest.yml [new file with mode: 0644]
testsuite/drivers/alr.py
testsuite/tests/get/custom-download-command/test.py
testsuite/tests/init/github-files/test.py [new file with mode: 0644]
testsuite/tests/init/github-files/test.yaml [new file with mode: 0644]
testsuite/tests/workflows/air-gapping/test.py
testsuite/tests_ada/src/alr_tests-commands_to_boolean.adb [new file with mode: 0644]
testsuite/tests_ada/src_common/alr-commands-testing.adb [new file with mode: 0644]
testsuite/tests_ada/src_common/alr-commands-testing.ads [new file with mode: 0644]