]>
_ Git - alire.git/log
Seb M'Caw [Thu, 27 Mar 2025 12:50:56 +0000 (12:50 +0000)]
fix: license selection ignored by `alr init` (#1923)
César Sagaert [Thu, 27 Mar 2025 12:50:24 +0000 (13:50 +0100)]
feat: percentage progress of tests when in TTY (#1917)
* feat: add percentage progress of tests when in TTY
* Right-align pct
* Actually right-align
---------
Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
Seb M'Caw [Thu, 27 Mar 2025 12:15:31 +0000 (12:15 +0000)]
dev: override any existing `awsres` in `embedder.sh` (#1924)
César Sagaert [Wed, 26 Mar 2025 18:42:45 +0000 (19:42 +0100)]
fix: incorrect condition for warning about argument forwarding to test runner (#1916)
Alejandro R Mosteo [Mon, 24 Mar 2025 11:07:25 +0000 (12:07 +0100)]
fix: remove style checks from all profiles (#1919)
* Assertions test and related changes
* Disable style checks in all profiles
* Fix style-related tests
* Update PR number in user changes
Alejandro R Mosteo [Sun, 23 Mar 2025 13:42:31 +0000 (14:42 +0100)]
feat: `templates_parser` for file initializations (#1890)
* feat: `templates_parser` for file initializations
commit
72eff5c0b408b7fae9006e6b5f07a649fb33a73d
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Mon Mar 10 23:55:41 2025 +0100
Self-review
commit
417497746894fc073e732f8b9ee870c7fe3caa1c
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Mon Mar 10 23:21:52 2025 +0100
Downgrade templates parser to avoid GNAT>=11
commit
9cece278f5644539833846659cba61909c89d25a
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Mon Mar 10 23:17:50 2025 +0100
Hash to avoid arbitrary regeneration
commit
bd240607edc6de98a1402ffb2368236e55e48474
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Mon Mar 10 23:06:53 2025 +0100
Tests passing
commit
b37e33e93659ed520d75cd54887b0e40d2aa1666
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Mon Mar 10 14:45:27 2025 +0100
update init to use templates
commit
ffd90a009adc636884126c2702edccaa02dd96dd
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 23:15:35 2025 +0100
Proof of concept working
commit
95514205091938a83a6c61ed951988f4f2a9b917
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 22:46:06 2025 +0100
Templated file trees
commit
557e67ec31a2b28b2f1c28bbb99c1f94be5423bf
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 21:15:56 2025 +0100
Remove custom experiments in main
commit
f0c573d599fb4ce9d398f8a6b9f1309c289785ea
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 21:12:23 2025 +0100
Write file with templating
commit
947d1db4467458955f79516207895104c13af42c
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 20:12:23 2025 +0100
Embedded resource writing (no templating)
commit
5e533d5860066f80a5949815b43c726457757b9d
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 11:30:06 2025 +0100
Template registration
commit
fc19c099ce40600457ac48b91e7c9de4af694df1
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 10:55:06 2025 +0100
embedder script
commit
90d0778662e51d9153a2187597c4c4755cc8ddb7
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Mar 9 10:32:14 2025 +0100
Sample binary crate
commit
ce9ef501e92df5da5d9c89b668fa472555e820a8
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Nov 10 19:00:53 2024 +0100
wip: on track to 1st prototype
commit
1e52e5803d4363428ed6c445ee3d4d9f40647c0a
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date: Sun Oct 27 20:05:57 2024 +0100
WIP: experimenting with embedded resources
* Fix tests
* Fix compilation with `alr build`
* Fix tags initialization
* Self-review
* Remove useless template timestamp
Lionel Draghi [Sun, 23 Mar 2025 12:19:52 +0000 (13:19 +0100)]
fix: missing space on image of test property with Id field (#1918)
Alejandro R. Mosteo [Fri, 21 Mar 2025 08:33:02 +0000 (09:33 +0100)]
dev: conditionally use --builtin in bash completion
César Sagaert [Thu, 20 Mar 2025 19:10:54 +0000 (20:10 +0100)]
dev: remove `index-test` command (#1913)
* feat: remove index-test command
* test: fix legacy actions not doing a chdir to the crate root
Alejandro R Mosteo [Thu, 20 Mar 2025 18:01:33 +0000 (19:01 +0100)]
feat: find tests in nested folders (#1914)
* Recursive test enumeration
* Keep hierarchy for test name output
* Test and cosmetic fixes
* Improved test
* Consistent output cross-OS
* Fix test for particular macOS output
* Hardening and test for filtering on paths
* Remove predicate that crashes old GNAT
* gnatformat
* Make portable path types explicit
* filtering and general fixes
---------
Co-authored-by: AldanTanneo <aldantanneo@gmail.com>
Alejandro R Mosteo [Thu, 20 Mar 2025 11:09:37 +0000 (12:09 +0100)]
feat: `--builtin` safeguard for `alr settings` (#1912)
* Add --builtin to `alr settings`
* Test for new switch
* Documentation
* Apply also to --unset
* Fix user changes
Maxim Reznik [Wed, 19 Mar 2025 18:04:46 +0000 (20:04 +0200)]
fix: use gnat_native for aarch64-linux on Ubuntu 22.04 (#1910)
But bootstrap alire with `alire-project/setup-alire`, because
alr 2.1.0 was built on Ubuntu 24.04 while we need it on 22.04.
Alejandro R Mosteo [Wed, 19 Mar 2025 17:55:13 +0000 (18:55 +0100)]
fix: minor issues with dynamic properties (#1887)
* fix: actually check if a property can be dynamic
* fix checking of cardinalities
We were checking only labeled properties, and so missing any more complex
property.
* fix: test property exporting to TOML
* Fix dependencies
* Update index before `alr search`
* test for static expressions enforcement
* test for enforcing singleton properties
* Test for conditional test export
* Change Pragma Assert into our own Assert procedure
* Deprecate license arrays taking advantage of the new checks
* Test both table and array test
* Test rejection of license arrays
Alejandro R Mosteo [Wed, 19 Mar 2025 16:48:57 +0000 (17:48 +0100)]
fix: test from subdir (#1911)
* Test
* fix: move to root before testing
* Revert alire-meta.ads
* More readable test
* Self-review
César Sagaert [Wed, 19 Mar 2025 16:13:48 +0000 (17:13 +0100)]
feat: add test runner selection via `--id` (#1909)
* feat: add test runner selection via `--id`
* docs: document `id` field for tests
Seb M'Caw [Wed, 19 Mar 2025 09:40:22 +0000 (09:40 +0000)]
fix: updating pins with `subdir` which track Alire-generated files (#1906)
* Update test
* Fix updating pins with `subdir` which track Alire-generated files
Alejandro R Mosteo [Mon, 17 Mar 2025 16:59:22 +0000 (17:59 +0100)]
feat: move selftests in `Alire.Selftest` to new Ada testsuite (#1893)
* Move `Alire.Selftest` to new Ada testsuite
* Update test script to run Ada testsuite
* Document new testsuite
* Remove selftests from Python testsuite
* See what happens with external compiler
* Self-review
* Fix test
* Fix build profile of testsuite
César Sagaert [Mon, 17 Mar 2025 12:00:38 +0000 (13:00 +0100)]
docs: test command usage (#1888)
* docs: document the manifest [test] section and the new alr test command
* move 'success' log to end of test runs
* improve help and diagnostics in alr test
* address review comments
* changelog and breaking changes
* improve getting started section clarity
* address comments
César Sagaert [Mon, 17 Mar 2025 11:28:48 +0000 (12:28 +0100)]
feat: add .gitignore to `alr init`-generated test crate (#1894)
Seb M'Caw [Mon, 17 Mar 2025 11:18:57 +0000 (11:18 +0000)]
fi: incorrect example URL in `alr index -h` (#1904)
Alejandro R Mosteo [Sat, 15 Mar 2025 23:34:40 +0000 (00:34 +0100)]
fix: enable assertions in test crate (#1902)
Alejandro R Mosteo [Fri, 14 Mar 2025 19:50:57 +0000 (20:50 +0100)]
doc: add missing operators to version selection help (#1901)
Jeremy Grosser [Thu, 13 Mar 2025 10:11:47 +0000 (03:11 -0700)]
fix: broken link to Upgrading doc (#1878)
* Fix broken link to Upgrading doc
* Break up too long line
---------
Co-authored-by: Alejandro R Mosteo <amosteo@unizar.es>
César Sagaert [Mon, 10 Mar 2025 12:25:56 +0000 (13:25 +0100)]
feat: built-in test runner and new `test` command (#1874)
* first draft of alire test runner
* use fixed output file name in test runner
* add exe suffix when spawning tests (windows compat)
* move test runner to libalire
* add "dim_output" option to non-capturing spawns
* manifest [test] section support
* generate test crate skeleton in `alr init`
* move old test command to `index-test`
* new `test` command
* test filtering, formatting
* use index-test in testsuite
* change references to 'alr test' to 'alr index-test' in documentation and comments
* fix crash on first test run
* tests for revamped test command
* fix broken tests
* remove test-runner command
* address comments
* change default test crate name to `<mycrate>_tests`
* fix broken test
* make example test pass by default
* add support for legacy actions behaviour and multiple test runners
* fix misused build boolean success
* address review comments
* Fix dependencies
* better manifest parsing for test section
---------
Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
Alejandro R. Mosteo [Sun, 9 Mar 2025 09:21:34 +0000 (10:21 +0100)]
fix: outdated yeison_12 dependency
Alejandro R. Mosteo [Tue, 4 Mar 2025 10:23:04 +0000 (11:23 +0100)]
dev: post-release checklist
Alejandro R Mosteo [Tue, 4 Mar 2025 10:02:00 +0000 (11:02 +0100)]
feat: 2.1 preparations (#1876)
* Release preparations
* Fix workflow warning
* Fix test with hardcoded index version
* fix: executable permissions
* feat: improved error message for unknown predefined variables in env (#1875)
Now full message mentions the fact that this evaluation is expected for
prededefined variables and the offending key is printed.
Example:
```
error: Unknown predefined variable in environment variable 'PATH' of 'alr': Unknown formatting key: HOME
```
* fix: assorted bitrot since last release
* fix: Windows installer
---------
Co-authored-by: Manuel <mgrojo@gmail.com>
Manuel [Mon, 3 Mar 2025 10:06:32 +0000 (11:06 +0100)]
feat: improved error message for unknown predefined variables in env (#1875)
Now full message mentions the fact that this evaluation is expected for
prededefined variables and the offending key is printed.
Example:
```
error: Unknown predefined variable in environment variable 'PATH' of 'alr': Unknown formatting key: HOME
```
Alejandro R Mosteo [Thu, 27 Feb 2025 12:02:56 +0000 (13:02 +0100)]
feat: proper `alr printenv` output even when sync needed (#1868)
* feat: enable silent running for `alr printenv`
* New test
* Fix collateral damage
* Silently skip if already debugging
* Simplify test
Alejandro R Mosteo [Thu, 27 Feb 2025 12:01:54 +0000 (13:01 +0100)]
fix: don't crash on `alr --format show --external` (#1871)
* fix: missing headers in show --external table
* New test
* Remove non-structured output when --format
* Fix collateral damage
Alejandro R Mosteo [Mon, 24 Feb 2025 15:28:06 +0000 (16:28 +0100)]
feat: check executable existence prior to spawn (#1862)
* feat: check executable existence prior to spawn
* Fix dependencies
* New test
* Fix related test
* Bump aaa
* Remove TODO
Alejandro R Mosteo [Mon, 24 Feb 2025 15:27:35 +0000 (16:27 +0100)]
feat: test for solver timeout behavior (#1865)
* feat: test solver timeout behavior
* Self-review
* Fix trailing whitespace
Alejandro R Mosteo [Mon, 24 Feb 2025 14:09:14 +0000 (15:09 +0100)]
fix: Did_You_Mean crashing with invalid data (#1864)
Alejandro R Mosteo [Mon, 24 Feb 2025 14:08:36 +0000 (15:08 +0100)]
feat: test ensuring no trivial rebuilds (#1863)
* feat: test ensuring no trivial rebuilds
* Fix test on Windows
Alejandro R Mosteo [Mon, 24 Feb 2025 14:08:06 +0000 (15:08 +0100)]
fix: detect changes in manifests of linked dependencies (#1860)
* Test that triggers bug
* Check linked manifests for changes
* Self-review
* Fix test
Alejandro R Mosteo [Mon, 24 Feb 2025 14:06:39 +0000 (15:06 +0100)]
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
Alejandro R Mosteo [Fri, 21 Feb 2025 21:01:05 +0000 (22:01 +0100)]
fix: workflow condition (#1861)
Alejandro R Mosteo [Fri, 21 Feb 2025 18:13:02 +0000 (19:13 +0100)]
feat: nightly appImage in release workflow (#1859)
* Nightly appImage reusing release workflow
* Fix workflow permissions
* Fix uploader dependencies
* Remove speed-ups for final merge
Alejandro R Mosteo [Thu, 20 Feb 2025 12:33:57 +0000 (13:33 +0100)]
feat: allow pinning a crate in a subdir of a repo (#1857)
* Load monorepo pin from manifest
* Add --subdir to `alr with`
* Add `--subdir` to `alr pin`
* Test
* Self-review
* User changes
* Explicity typing in specs
Maxim Reznik [Wed, 19 Feb 2025 12:00:29 +0000 (14:00 +0200)]
fix: GCC 15 warnings (#1855)
> alire-conditional_trees.adb:30:14: (style) bad casing of "TO_YAML" declared at alire-conditional_trees.ads:450 [-gnatyr]
Alejandro R Mosteo [Fri, 14 Feb 2025 12:42:22 +0000 (13:42 +0100)]
fix: action error masked by following successful action (#1841)
* fix action error being masked by following action
* Self-review
* Fix uninitialized out parameter
Alejandro R Mosteo [Thu, 13 Feb 2025 13:58:44 +0000 (14:58 +0100)]
feat: tests duration reporting (#1848)
* Add test duration measurement
* Enable all around
* Remove nproc
Seb M'Caw [Thu, 13 Feb 2025 11:19:12 +0000 (11:19 +0000)]
fix: remove `libgcc_s_seh-1.dll` dependency (#1847)
* Add test
* Add '-static' linker switch
Alejandro R Mosteo [Wed, 12 Feb 2025 14:33:42 +0000 (15:33 +0100)]
fix: integrate appimage artifact into release workflow (#1846)
* Integrate appimage artifact into release workflow
* Add upload of appimage as release
* Undo temporary disabled
Alejandro R Mosteo [Wed, 12 Feb 2025 10:39:07 +0000 (11:39 +0100)]
fix: upgrade deprecated Ubuntu runners (#1845)
20.04 is being deprecated: https://github.com/actions/runner-images/issues/11101
Alejandro R Mosteo [Tue, 11 Feb 2025 10:24:01 +0000 (11:24 +0100)]
fix: consolidate release workflows (#1844)
* feat: consolidated single release workflow
* Disable untouched workflows
* Tweak Ubuntu ARM steps
* Add Windows installer steps
* Use setup-alire (lighter than alr-install)
* universal artifact and release job
* Windows exceptionalism (7zip instead of zip)
* Restore disabled workflows
* Self-review
Alejandro R Mosteo [Sun, 9 Feb 2025 16:09:48 +0000 (17:09 +0100)]
fix: report unloadable pin during pin updates (#1843)
Alejandro R Mosteo [Sun, 9 Feb 2025 16:09:13 +0000 (17:09 +0100)]
fix: clarify that -vv -d are global switches in bug box (#1842)
* fix: clarify that -vv -d are global switches in bug box
* Fix tests
Alejandro R Mosteo [Sat, 8 Feb 2025 16:52:16 +0000 (17:52 +0100)]
fix: PAT creation documentation (#1840)
Alejandro R Mosteo [Sat, 8 Feb 2025 14:52:45 +0000 (15:52 +0100)]
fix: don't crash on trying to re-add a pin (#1838)
* Fix attempt to use unavailable pin path
* Test
* Reformat post refactor
Alejandro R Mosteo [Fri, 7 Feb 2025 10:51:54 +0000 (11:51 +0100)]
feat: diagnose tool mismatch due to architecture change (#1837)
* Warn on unexpected tool hash
* Test
* Fixes found by testsuite
Alejandro R Mosteo [Thu, 6 Feb 2025 17:42:22 +0000 (18:42 +0100)]
fix: emit proper URL in publish help (#1836)
Alejandro R. Mosteo [Thu, 6 Feb 2025 15:58:24 +0000 (16:58 +0100)]
doc: improve PR submission checklist
Alejandro R Mosteo [Thu, 6 Feb 2025 12:09:29 +0000 (13:09 +0100)]
fix: install system gprbuild when selected in assistant (#1833)
* Install system toolchain if missing
* test
* self-review
Alejandro R Mosteo [Thu, 6 Feb 2025 11:26:15 +0000 (12:26 +0100)]
feat: Ubuntu ARM builds (#1832)
* Add Ubuntu ARM runner
* Debug docker troubles
* Enable in nightly
* fix regex warnings
* Debug +inf config value
* Debug code insertions
* Minimum GNAT version
* Test nightly, remove SSH step
* Add arch to artifacts
* Restore workflows
Alejandro R Mosteo [Thu, 23 Jan 2025 11:16:08 +0000 (12:16 +0100)]
fix: revert unwanted `ada-toml` downgrade (#1827)
Alejandro R Mosteo [Thu, 23 Jan 2025 10:43:18 +0000 (11:43 +0100)]
feat: improved reporting for errors in linked crates (#1824)
Seb M'Caw [Thu, 23 Jan 2025 10:42:18 +0000 (10:42 +0000)]
feat: make explicit Git URLs backward compatible (#1826)
Alejandro R. Mosteo [Tue, 21 Jan 2025 12:30:30 +0000 (13:30 +0100)]
Document index breaking change (git+https)
Simon Wright [Tue, 14 Jan 2025 09:37:33 +0000 (09:37 +0000)]
feat: universal builds for macOS (#1820)
* Nightly build generates macOS universal binary.
For macOS (Darwin), some users are running on Intel silicon (x86_64),
some on Apple silicon (aarch64). The purpose of this commit is to
generate a universal binary of alr for macOS, so that users won't need
to specify which version they need -- the loader will select the
appropriate binary.
To do this, a new job 'build-macos-universal' runs after the 'build'
job has completed (which implies completion of its runs on macos-13
(x86_64) and macos-14 (aarch64)).
This job dowloads & unpacks the x86_64 build to x86_64/, and the
aarch64 build to aarch64/. It then copies aarch64/ to universal/ (so
as to include the additional information, and runs lipo to create the
universal binary in universal/bin/alr. The new binary has to be marked
as executable, don't know why.
alr-nightly-bin-universal-macos.zip is created and uploaded to the
release directory.
* .github/workflows/nightly.yml (build-macos-universal): new.
* Release build generates macOS universal binary.
For macOS (Darwin), some users are running on Intel silicon (x86_64),
some on Apple silicon (aarch64). The purpose of this commit is to
generate a universal binary of alr for macOS, so that users won't need
to specify which version they need -- the loader will select the
appropriate binary.
To do this, a new job 'build-macos-universal' runs after the 'build'
job has completed (which implies completion of its runs on macos-13
(x86_64) and macos-latest (aarch64)).
This job dowloads & unpacks the latest prerelease x86_64 build to
x86_64/, and the latest prerelease aarch64 build to aarch64/. It then
runs lipo to create the universal binary in ./bin/alr. The new binary
has to be marked as executable, don't know why.
alr-<release]-bin-universal-macos.zip is created and uploaded to the
release directory.
* .github/workflows/ci-macos.yml (build-macos-universal): new.
* Remove superseded investigative steps.
Remove two steps that were inserted to check that no
com.apple.quarantine attributes were applied when the individual
architecture builds were downloaded (none were applied).
* .github/workflows/nightly.yml (build-macos-universal):
(check x86_64 attributes): remove.
(check aarch64 attributes): remove.
Seb M'Caw [Mon, 13 Jan 2025 16:33:10 +0000 (16:33 +0000)]
feat: setting to override trusted sites list (#1819)
* Make trusted sites list configurable
* Fix Windows test failures
* Update user-changes.md
* Review
Alejandro R Mosteo [Fri, 10 Jan 2025 13:15:33 +0000 (14:15 +0100)]
feat: propagate verbosity in `alr test` (#1817)
* fix: propagate verbosity to test run
* New test
Seb M'Caw [Thu, 9 Jan 2025 11:23:04 +0000 (11:23 +0000)]
feat: setting to override source archive download command (#1815)
* Support command mocking on Windows
* Add tests
* Make archive download command configurable
* Fix validation of distribution.override
* Prevent configuring command settings locally
* Remove redundant Download function
* Add documentation
* Self-review
* Fix test on Windows when gunzip is only available from msys2
* Restructure documentation
* Add erroneously omitted user-changes.md entry for #1745
* Update user-changes.md
* Fix deprecated 'fail_on_error' in spellcheck workflow
* Switch to US English spellings
* Review
---------
Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
Alejandro R Mosteo [Thu, 9 Jan 2025 10:41:37 +0000 (11:41 +0100)]
feat: abbreviated dependency tree printing (#1814)
* Concise mode for dependency tree printing
* New test
* WIP: user changes
* Even more concise
No point in having an extra line for one single elided dependency, which
happens often.
* self-review
* Switch to full line with "+-- ..."
Alejandro R. Mosteo [Wed, 8 Jan 2025 12:40:00 +0000 (13:40 +0100)]
Merge remote-tracking branch 'alire/release/2.0'
Piotr Trojanek [Wed, 8 Jan 2025 11:40:42 +0000 (12:40 +0100)]
fix: remove redundant parentheses inside operators (#1816)
GNAT already emits a style warning when redundant parentheses appear inside logical and short-circuit operators; this warning will be soon emitted for other operators as well.
Alejandro R Mosteo [Sun, 5 Jan 2025 22:28:45 +0000 (23:28 +0100)]
feat: better solutions when no complete one exists (#1812)
Alejandro R. Mosteo [Thu, 26 Dec 2024 10:01:25 +0000 (11:01 +0100)]
doc: improve bug reporting template for duplicates
Alejandro R Mosteo [Thu, 28 Nov 2024 08:12:21 +0000 (09:12 +0100)]
feat: search without solving and with --solve (#1799)
* feat: search without solving and with --solve
* User changes
Alejandro R. Mosteo [Mon, 25 Nov 2024 09:53:05 +0000 (10:53 +0100)]
fix: revert unwanted changes in #1739
Alejandro R. Mosteo [Mon, 25 Nov 2024 08:44:56 +0000 (09:44 +0100)]
feat: pull-request checklist
Alejandro R Mosteo [Sat, 23 Nov 2024 09:24:53 +0000 (10:24 +0100)]
feat: solver refactoring (#1739)
* Priority-based solver
* Compiler priorities
* Fine tweaks related to pins & conflicts
* Self-review
* Fix feasibility check not considering pins
* Optimization: filter out seen linked deps
* Fix issue with search timeout
* Self-review
* Fix submodules after rebase
* Remove dependency on compare_to_case
Seb M'Caw [Fri, 22 Nov 2024 11:27:51 +0000 (11:27 +0000)]
Fix updating pins on crates which track Alire-generated files (#1788)
* Fix updating pins on crates which track Alire-generated files
* Require user confirmation before discarding changes
* Make confirmation prompt depend on location of dirty files
Alejandro R Mosteo [Mon, 18 Nov 2024 09:26:55 +0000 (10:26 +0100)]
fix: relocate cleaner.yml workflow to proper dir (#1794)
Alejandro R Mosteo [Mon, 18 Nov 2024 09:16:38 +0000 (10:16 +0100)]
fix: remove non-existent switch from message (#1793)
César Sagaert [Mon, 18 Nov 2024 09:07:58 +0000 (10:07 +0100)]
fix: make test actions run only once (#1792)
Test actions would run once per test action defined, so this problem only became noticeable with more than one test action defined.
* fix: make test actions run once
* feat: log error message on test action fail
* test: ensure actions are run only once
Seb M'Caw [Tue, 29 Oct 2024 06:05:56 +0000 (06:05 +0000)]
feat: support for Git repos with multiple remotes configured (#1782)
* Add support for git repos with multiple remotes configured
* Support Python 3.9
* Move commit_file() to helpers
* Use git_commit_file() elsewhere
Alejandro R Mosteo [Sun, 27 Oct 2024 19:31:34 +0000 (20:31 +0100)]
fix: testing of indexed crates with `alr test --full` (#1786)
* fix: testing of remote crates with `alr test`
* Expand test to ensure all invocations work
* Improve command description
Seb M'Caw [Thu, 24 Oct 2024 14:01:02 +0000 (15:01 +0100)]
feat: improve URI recognition (#1736)
* Improve origin URI recognition
- Consolidate a number of separate ad hoc tests for recognising URIs into Alire.URI.URI_Kind
- Add support for origin URLs with scheme "ssh://"
- Add bitbucket.org to the list of hosts recognised as git only
- Treat ".git/" suffix the same as ".git"
- Change publish command to raise errors on URLs with "file:" scheme (sidestepping a bug where the whole URL was treated as a relative path)
- Change various error messages
- Change handling of some obscure edge cases
* Fix source archives hosted on GitHub or similar
* Fix test when ssh command is unavailable
* Workaround for GNAT 10 bug
* Further improve URI recognition
* Fix existing test
* Add test for local indexes
* Add test for 'clean --cache' command
* Fix on Windows
* Fix on MacOS
* Clean up local-index-not-found test
* Consolidate 'Host' implementations
* Fix Fragment for local URLs
* Fix test
* Improve publishing test
* Fix documentation
* Remove redundant test
* Fix tests
* Fix typos
* Switch to US English
* Use crate_dirname
* Use less fragile test for git failure
* Add clarifying comments
* Treat http with non-empty userinfo as private
* Fix typo
Alejandro R Mosteo [Fri, 18 Oct 2024 12:24:48 +0000 (14:24 +0200)]
fix: move build source info to a separate location (#1783)
In order not to affect the output of alr --version
Alejandro R Mosteo [Mon, 14 Oct 2024 11:48:27 +0000 (13:48 +0200)]
fix: install proper macos-14 toolchain in nightly build (#1780)
Seb M'Caw [Mon, 14 Oct 2024 10:53:55 +0000 (11:53 +0100)]
fix: spellcheck workflow (#1779)
* Add typos
* Fix spellcheck
* Revert "Add typos"
This reverts commit
282c3a7fd8f19b480032c4063349afc32a9a8d02 .
* Change docs without typo
* Revert "Change docs without typo"
This reverts commit
4d52934c3c1e7c6bf76357b9afd8b184b7baa126 .
Alejandro R Mosteo [Sun, 13 Oct 2024 11:52:34 +0000 (13:52 +0200)]
fix: tweak workflows due to deprecations (#1778)
And generally all actions using old versions
Alejandro R Mosteo [Fri, 11 Oct 2024 17:09:41 +0000 (19:09 +0200)]
feat: arch/linking safeguards in workflows (#1775)
Alejandro R Mosteo [Fri, 18 Oct 2024 12:24:48 +0000 (14:24 +0200)]
fix: move build source info to a separate location (#1783)
In order not to affect the output of alr --version
Alejandro R Mosteo [Mon, 14 Oct 2024 11:48:27 +0000 (13:48 +0200)]
fix: install proper macos-14 toolchain in nightly build (#1780)
Seb M'Caw [Mon, 14 Oct 2024 10:53:55 +0000 (11:53 +0100)]
fix: spellcheck workflow (#1779)
* Add typos
* Fix spellcheck
* Revert "Add typos"
This reverts commit
282c3a7fd8f19b480032c4063349afc32a9a8d02 .
* Change docs without typo
* Revert "Change docs without typo"
This reverts commit
4d52934c3c1e7c6bf76357b9afd8b184b7baa126 .
Alejandro R Mosteo [Sun, 13 Oct 2024 11:52:34 +0000 (13:52 +0200)]
fix: tweak workflows due to deprecations (#1778)
And generally all actions using old versions
Alejandro R Mosteo [Fri, 11 Oct 2024 17:09:41 +0000 (19:09 +0200)]
feat: arch/linking safeguards in workflows (#1775)
Alejandro R. Mosteo [Wed, 9 Oct 2024 16:43:29 +0000 (18:43 +0200)]
Bump version to 2.0.3-dev
Alejandro R. Mosteo [Wed, 9 Oct 2024 11:23:38 +0000 (13:23 +0200)]
Merge branch 'release/2.0'
Alejandro R. Mosteo [Wed, 9 Oct 2024 10:22:46 +0000 (12:22 +0200)]
Update Msys2 installer
Alejandro R. Mosteo [Tue, 8 Oct 2024 20:33:46 +0000 (22:33 +0200)]
Merge branch 'release/2.0'
Alejandro R Mosteo [Wed, 20 Mar 2024 15:57:36 +0000 (16:57 +0100)]
Testsuite control condition for Unix-only (#1657)
* Test control condition for Unix-only
* Fix test post-merge
Alejandro R Mosteo [Tue, 8 Oct 2024 10:56:39 +0000 (12:56 +0200)]
doc: fix obsolete `toolchain --install` references (#1765)
Alejandro R Mosteo [Tue, 8 Oct 2024 10:56:16 +0000 (12:56 +0200)]
Set up environment during build preparations (#1766)
* Set up environment during build preparations
* Test
Alejandro R Mosteo [Mon, 7 Oct 2024 11:33:27 +0000 (13:33 +0200)]
fix: ability to pin a crate that 'provides' a dependency (#1771)
* Fix: consider 'provides' during pinning
* Test
* Fix unwanted edition in alire-roots.adb
Seb M'Caw [Tue, 24 Sep 2024 18:26:15 +0000 (19:26 +0100)]
test: building on an air-gapped system (#1760)
* Add test for offline build
* Move constraints to YAML file
* Remove redundant build check
* Change crates from git repos to .tgz archives
Seb M'Caw [Tue, 10 Sep 2024 08:30:11 +0000 (09:30 +0100)]
Fix CI using deprecated version of actions/upload-artifact (#1756)
* Fix CI on Linux
* Fix others
* Use v4 tag
Alejandro R Mosteo [Tue, 3 Sep 2024 13:33:17 +0000 (15:33 +0200)]
Fix early error on Windows with msys2 disabled (#1747)
* Fix non-absolute path returned when msys2 disabled
* Add test for the fix
* Wrong platform build friendlier message