]> _ Git - alire.git/commit
feat: structured output with `alr --format show` (#1851)
authorAlejandro R Mosteo <amosteo@unizar.es>
Mon, 24 Feb 2025 14:06:39 +0000 (15:06 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 14:06:39 +0000 (15:06 +0100)
commita0b00df057c460f82afeee0cd9ec2b23b862b05a
tree18ecf98b00266dfa6c6cb6bb7fc6069aaff1b626
parentad435d9a53818ef63eb27c9cc15cb5fd42a52097
feat: structured output with `alr --format show` (#1851)

* Formatted output for `alr show`

* wip: Sweept all commands for --format compatibility

Up to get (included)

* Support all types and conds. in `alr --format show`

* Test for `alr --format show`

* User changes

* Self-review

* Enable & test YAML

* Update alire.toml for self-build

* Workaround via Controlled

* Workaround via leaky pointer

* Bump dependencies

* Explain workaround
37 files changed:
.gitmodules
alire.toml
alr_env.gpr
deps/aaa
deps/ada-toml
deps/den
deps/lml
deps/optional
deps/yeison [new submodule]
dev/reset-version.sh [new file with mode: 0755]
doc/user-changes.md
src/alire/alire-dependencies-graphs.adb
src/alire/alire-formatting.adb
src/alire/alire-formatting.ads
src/alire/alire-releases.adb
src/alire/alire-releases.ads
src/alr/alr-commands-action.adb
src/alr/alr-commands-build.adb
src/alr/alr-commands-cache.adb
src/alr/alr-commands-clean.adb
src/alr/alr-commands-edit.adb
src/alr/alr-commands-exec.adb
src/alr/alr-commands-init.adb
src/alr/alr-commands-install.adb
src/alr/alr-commands-printenv.adb
src/alr/alr-commands-publish.adb
src/alr/alr-commands-run.adb
src/alr/alr-commands-settings.adb
src/alr/alr-commands-show.adb
src/alr/alr-commands-test.adb
src/alr/alr-commands-update.adb
src/alr/alr-commands-withing.adb
src/alr/alr-commands.adb
src/alr/alr-commands.ads
testsuite/tests/misc/structured-tables/test.py
testsuite/tests/show/structured-output/test.py [new file with mode: 0644]
testsuite/tests/show/structured-output/test.yaml [new file with mode: 0644]