]> _ Git - alire.git/log
alire.git
12 months agoBuild on Mac OS X ARM64 (#1731)
Maxim Reznik [Mon, 12 Aug 2024 14:07:37 +0000 (17:07 +0300)]
Build on Mac OS X ARM64 (#1731)

12 months agoFix traversal of dirs containing troublesome softlinks (#1718)
Alejandro R Mosteo [Wed, 7 Aug 2024 15:00:57 +0000 (17:00 +0200)]
Fix traversal of dirs containing troublesome softlinks (#1718)

* Fix enumeration of files with troublesome softlinks

* Self-review

* Workaround in `den` for GCC 14 C++ bug

* 2nd self-review

commit 7d8b2ccd77998bbc0adfea8807b1ecea19a2a332
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Fri Aug 2 09:53:22 2024 +0200

    Debug trouble with relative path finder

commit 09514571571d234a19af3eee5202838e85508c60
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Thu Aug 1 22:32:48 2024 +0200

    Use simpler relative path from Den

commit 76417fa28f0daf0c0244129c9fecc2d6db7abc37
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Thu Aug 1 22:32:09 2024 +0200

    Revert "Try with gprbuild<24"

    This reverts commit b6ca84eac4e7af62aedd2e8d73545da0c71b9fb1.

commit f6e0a963163a517b56a17243f1e2685263d7e244
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Thu Aug 1 00:04:00 2024 +0200

    Repair find relative part output

commit 6ad595ff4de348b72d894339b7172c8797a7bf64
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Wed Jul 31 23:28:48 2024 +0200

    Flush testsuite output at start

commit a52e5555983b94adb0090869e0e67c40a8bb9b4c
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Wed Jul 31 18:18:44 2024 +0200

    Fix damaged test

commit b6ca84eac4e7af62aedd2e8d73545da0c71b9fb1
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Wed Jul 31 14:16:11 2024 +0200

    Try with gprbuild<24

commit 500021055430ddc56ca8d4bfbfb371d6e1434333
Author: Alejandro R. Mosteo <amosteo@unizar.es>
Date:   Wed Jul 31 14:04:07 2024 +0200

    Show GNAT/GPRBUILD versions prior to testsuite run

12 months agoNew `alr cache` (#1642)
Alejandro R Mosteo [Wed, 7 Aug 2024 12:40:08 +0000 (14:40 +0200)]
New `alr cache` (#1642)

* Basic report

* Test debug

* Bump ncdu crate

* Debug issue with disappearing folder

* Refactor ncdu into den

* Self-review

12 months agoFix changing branch of pins with 'git+ssh://' and 'xyz+https://' urls (#1722)
Seb M'Caw [Mon, 29 Jul 2024 09:59:05 +0000 (10:59 +0100)]
Fix changing branch of pins with 'git+ssh://' and 'xyz+https://' urls (#1722)

13 months agoRemove per-OS code in favor of GNAT.OS_Lib (#1717)
Alejandro R Mosteo [Wed, 10 Jul 2024 21:47:50 +0000 (23:47 +0200)]
Remove per-OS code in favor of GNAT.OS_Lib (#1717)

13 months agoEnable MacOS X M1 in nightly builds (#1716)
Maxim Reznik [Wed, 10 Jul 2024 08:36:54 +0000 (11:36 +0300)]
Enable MacOS X M1 in nightly builds (#1716)

13 months agoMerge remote-tracking branch 'alire/release/2.0'
Alejandro R. Mosteo [Fri, 5 Jul 2024 11:00:24 +0000 (13:00 +0200)]
Merge remote-tracking branch 'alire/release/2.0'

13 months agofix: compiler autoselection on 1st run alr get --build (#1706)
Alejandro R Mosteo [Fri, 5 Jul 2024 10:54:35 +0000 (12:54 +0200)]
fix: compiler autoselection on 1st run alr get --build (#1706)

13 months agoUpdate required PAT permissions in publishing.md (#1707)
Lionel Draghi [Mon, 1 Jul 2024 11:06:55 +0000 (13:06 +0200)]
Update required PAT permissions in publishing.md (#1707)

When generating the PAT, checking "workflow" is needed.

13 months agoAdd OpenBSD support. (#1705)
Brian Callahan [Fri, 5 Jul 2024 10:56:25 +0000 (06:56 -0400)]
Add OpenBSD support. (#1705)

Co-authored-by: Alejandro R Mosteo <amosteo@unizar.es>
13 months agofix: compiler autoselection on 1st run alr get --build (#1706)
Alejandro R Mosteo [Fri, 5 Jul 2024 10:54:35 +0000 (12:54 +0200)]
fix: compiler autoselection on 1st run alr get --build (#1706)

13 months agoAdd funding badge and alire-project polar link
Alejandro R. Mosteo [Tue, 2 Jul 2024 14:24:27 +0000 (16:24 +0200)]
Add funding badge and alire-project polar link

13 months agoCreate FUNDING.yml (#1712)
Alejandro R Mosteo [Tue, 2 Jul 2024 13:56:46 +0000 (15:56 +0200)]
Create FUNDING.yml (#1712)

* Create FUNDING.yml

* Update FUNDING.yml

13 months agoImprove `alr get` feedback on unknown crate name (#1708)
Gautier de Montmollin [Mon, 1 Jul 2024 12:40:40 +0000 (14:40 +0200)]
Improve `alr get` feedback on unknown crate name (#1708)

* Update alr-commands-get.adb

Added a help message for the case the exact crate name was not found.

* Tweak tests for new output

---------

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
13 months agoUpdate required PAT permissions in publishing.md (#1707)
Lionel Draghi [Mon, 1 Jul 2024 11:06:55 +0000 (13:06 +0200)]
Update required PAT permissions in publishing.md (#1707)

When generating the PAT, checking "workflow" is needed.

13 months agofeat: improve VSCode launch command (#1703)
Alejandro R Mosteo [Sun, 23 Jun 2024 16:27:10 +0000 (18:27 +0200)]
feat: improve VSCode launch command (#1703)

* Improve VSCode launch command

* Refactor replacement patterns to common package

13 months agofix: test runs with recent Docker images (#1704)
Alejandro R Mosteo [Sun, 23 Jun 2024 13:22:35 +0000 (15:22 +0200)]
fix: test runs with recent Docker images (#1704)

* fix: git warnings during test runs

* Fix semver parsing in APT and From_Output

* Fix ownership of local git repo used during tests

Using the --shared feature of init

* Fix toolchain workflow to ensure use of intended toolchain

13 months agobugfix: pin loading from out-of-root paths (#1699)
Alejandro R Mosteo [Tue, 18 Jun 2024 14:43:38 +0000 (16:43 +0200)]
bugfix: pin loading from out-of-root paths (#1699)

* Fix bug in pin loading from out-of-root paths

* Self-review

13 months agoEnsure index repos can be deleted on Windows (#1696)
Alejandro R Mosteo [Tue, 18 Jun 2024 11:14:37 +0000 (13:14 +0200)]
Ensure index repos can be deleted on Windows (#1696)

* Ensure index repos can be deleted on Windows

* Update alire-version.ads

13 months agobugfix: improvements to temp file name creation (#1700)
Alejandro R Mosteo [Mon, 17 Jun 2024 15:25:34 +0000 (17:25 +0200)]
bugfix: improvements to temp file name creation (#1700)

* bugfix: improvements to temp file name creation

* fix: harmonize fake GNAT external versions in testsuite

* Self-review

13 months agoTag builds done through `alr build` with unique build string (#1530)
Alejandro R Mosteo [Fri, 14 Jun 2024 07:34:09 +0000 (09:34 +0200)]
Tag builds done through `alr build` with unique build string (#1530)

* Replace version build with current commit hash

* Detect dirtiness in . to flag it too in version

* Fix for line terminators on Windows

* Self-review

* Ada version

* Windows dispatcher script

* Patch from the dev/build.sh script too

13 months agoAdd GNAT 14 to tested versions (#1695)
Alejandro R Mosteo [Wed, 12 Jun 2024 09:59:57 +0000 (11:59 +0200)]
Add GNAT 14 to tested versions (#1695)

13 months agoFix typos and hyperlinks in doc
Yannick Moy [Thu, 6 Jun 2024 15:19:10 +0000 (17:19 +0200)]
Fix typos and hyperlinks in doc

13 months agofeat: improve VSCode launch command (#1703)
Alejandro R Mosteo [Sun, 23 Jun 2024 16:27:10 +0000 (18:27 +0200)]
feat: improve VSCode launch command (#1703)

* Improve VSCode launch command

* Refactor replacement patterns to common package

13 months agofix: test runs with recent Docker images (#1704)
Alejandro R Mosteo [Sun, 23 Jun 2024 13:22:35 +0000 (15:22 +0200)]
fix: test runs with recent Docker images (#1704)

* fix: git warnings during test runs

* Fix semver parsing in APT and From_Output

* Fix ownership of local git repo used during tests

Using the --shared feature of init

* Fix toolchain workflow to ensure use of intended toolchain

14 months agobugfix: pin loading from out-of-root paths (#1699)
Alejandro R Mosteo [Tue, 18 Jun 2024 14:43:38 +0000 (16:43 +0200)]
bugfix: pin loading from out-of-root paths (#1699)

* Fix bug in pin loading from out-of-root paths

* Self-review

14 months agoEnsure index repos can be deleted on Windows (#1696)
Alejandro R Mosteo [Tue, 18 Jun 2024 11:14:37 +0000 (13:14 +0200)]
Ensure index repos can be deleted on Windows (#1696)

* Ensure index repos can be deleted on Windows

* Update alire-version.ads

14 months agobugfix: improvements to temp file name creation (#1700)
Alejandro R Mosteo [Mon, 17 Jun 2024 15:25:34 +0000 (17:25 +0200)]
bugfix: improvements to temp file name creation (#1700)

* bugfix: improvements to temp file name creation

* fix: harmonize fake GNAT external versions in testsuite

* Self-review

14 months agoTag builds done through `alr build` with unique build string (#1530)
Alejandro R Mosteo [Fri, 14 Jun 2024 07:34:09 +0000 (09:34 +0200)]
Tag builds done through `alr build` with unique build string (#1530)

* Replace version build with current commit hash

* Detect dirtiness in . to flag it too in version

* Fix for line terminators on Windows

* Self-review

* Ada version

* Windows dispatcher script

* Patch from the dev/build.sh script too

14 months agoRefactor: prefer membership tests (#1243)
pjljvandelaar [Wed, 12 Jun 2024 11:57:08 +0000 (13:57 +0200)]
Refactor: prefer membership tests (#1243)

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
14 months agoAdd GNAT 14 to tested versions (#1695)
Alejandro R Mosteo [Wed, 12 Jun 2024 09:59:57 +0000 (11:59 +0200)]
Add GNAT 14 to tested versions (#1695)

14 months agoPrefer usage of quantified expressions (#1238)
pjljvandelaar [Mon, 10 Jun 2024 18:38:16 +0000 (20:38 +0200)]
Prefer usage of quantified expressions (#1238)

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
14 months agoMerge pull request #1694 from yannickmoy/typos-in-doc
Fabien Chouteau [Fri, 7 Jun 2024 11:59:41 +0000 (13:59 +0200)]
Merge pull request #1694 from yannickmoy/typos-in-doc

Fix typos and hyperlinks in doc

14 months agoFix typos and hyperlinks in doc
Yannick Moy [Thu, 6 Jun 2024 15:19:10 +0000 (17:19 +0200)]
Fix typos and hyperlinks in doc

14 months agoMerge branch 'release/2.0'
Alejandro R. Mosteo [Thu, 30 May 2024 11:17:12 +0000 (13:17 +0200)]
Merge branch 'release/2.0'

14 months agoFix monorepo bug wrt location of generated manifest (#1684)
Alejandro R Mosteo [Thu, 30 May 2024 11:14:29 +0000 (13:14 +0200)]
Fix monorepo bug wrt location of generated manifest (#1684)

* Fix monorepo bug wrt location of generated manifest

When deploying crates, to avoid confusion, we replace the packaged manifest (if
any) with the one from the index, which is the one used anyway. For monorepos,
the replacement was placed at the repo root instead of at the crate location.

* Use macOS 12 to avoid linking problems

* Self-review

14 months agoFix monorepo bug wrt location of generated manifest (#1684)
Alejandro R Mosteo [Thu, 30 May 2024 11:14:29 +0000 (13:14 +0200)]
Fix monorepo bug wrt location of generated manifest (#1684)

* Fix monorepo bug wrt location of generated manifest

When deploying crates, to avoid confusion, we replace the packaged manifest (if
any) with the one from the index, which is the one used anyway. For monorepos,
the replacement was placed at the repo root instead of at the crate location.

* Use macOS 12 to avoid linking problems

* Self-review

14 months agonew dev/clean.sh (#1686)
Alejandro R Mosteo [Fri, 24 May 2024 12:42:54 +0000 (14:42 +0200)]
new dev/clean.sh (#1686)

14 months agoFix macOS workflows (user macos-12 runner) (#1685)
Alejandro R Mosteo [Fri, 24 May 2024 09:25:37 +0000 (11:25 +0200)]
Fix macOS workflows (user macos-12 runner) (#1685)

16 months agoFix non-ASCII char used when --no-color in effect (#1661)
Alejandro R Mosteo [Mon, 25 Mar 2024 10:54:54 +0000 (11:54 +0100)]
Fix non-ASCII char used when --no-color in effect (#1661)

16 months agoFix non-ASCII char used when --no-color in effect (#1661)
Alejandro R Mosteo [Mon, 25 Mar 2024 10:54:54 +0000 (11:54 +0100)]
Fix non-ASCII char used when --no-color in effect (#1661)

17 months agoUse latest FSF GNAT for nightly alr builds (#1659)
Alejandro R Mosteo [Thu, 21 Mar 2024 11:26:58 +0000 (12:26 +0100)]
Use latest FSF GNAT for nightly alr builds (#1659)

17 months agoMerge branch 'alire/release/2.0'
Alejandro R. Mosteo [Wed, 20 Mar 2024 22:28:16 +0000 (23:28 +0100)]
Merge branch 'alire/release/2.0'

17 months agoUse oldest Ubuntu LTS for releases (#1647)
Alejandro R Mosteo [Mon, 18 Mar 2024 12:01:16 +0000 (13:01 +0100)]
Use oldest Ubuntu LTS for releases (#1647)

17 months agoRelease 2.0.1 preparations (#1658)
Alejandro R Mosteo [Wed, 20 Mar 2024 15:59:38 +0000 (16:59 +0100)]
Release 2.0.1 preparations (#1658)

17 months agoTestsuite control condition for Unix-only (#1657)
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

17 months agoFix completion script to avoid unwanted index updates (#1656)
Alejandro R Mosteo [Wed, 20 Mar 2024 14:20:38 +0000 (15:20 +0100)]
Fix completion script to avoid unwanted index updates (#1656)

17 months agoEarly error if toolchain unavailable for testsuite (#1655)
Alejandro R Mosteo [Wed, 20 Mar 2024 14:19:23 +0000 (15:19 +0100)]
Early error if toolchain unavailable for testsuite (#1655)

17 months agoMerge branch 'release/2.0'
Alejandro R. Mosteo [Wed, 20 Mar 2024 11:39:04 +0000 (12:39 +0100)]
Merge branch 'release/2.0'

17 months agoFix installation of binary crates containing softlinks (#1653)
Alejandro R Mosteo [Wed, 20 Mar 2024 11:14:43 +0000 (12:14 +0100)]
Fix installation of binary crates containing softlinks (#1653)

* Force creation of missing soft link

* More detailed test of softlink installation

17 months agodev/build.sh: control build jobs with $ALIRE_BUILD_JOBS (#1651)
tali auster [Mon, 18 Mar 2024 16:12:16 +0000 (10:12 -0600)]
dev/build.sh: control build jobs with $ALIRE_BUILD_JOBS (#1651)

This is just a minor quality-of-life improvement for packaging. Note
that this also quotes the argument to echo so that if (somehow)
$ALIRE_OS were set to a malicious value, no harm could be done.

17 months agoUpdate msys2 installer (#1648)
Alejandro R Mosteo [Mon, 18 Mar 2024 12:00:56 +0000 (13:00 +0100)]
Update msys2 installer (#1648)

* Update msys2 installer

* Ensure msys2 from commit is tested

17 months agoAlire.Utils.Regex: initialize matches explicitly (#1637)
Alejandro R Mosteo [Thu, 14 Mar 2024 11:11:12 +0000 (12:11 +0100)]
Alire.Utils.Regex: initialize matches explicitly (#1637)

17 months agoFix installation of binary crates containing softlinks (#1653)
Alejandro R Mosteo [Wed, 20 Mar 2024 11:14:43 +0000 (12:14 +0100)]
Fix installation of binary crates containing softlinks (#1653)

* Force creation of missing soft link

* More detailed test of softlink installation

17 months agoRename switch arguments to indicate expected type (#1650)
Francesc Rocher [Mon, 18 Mar 2024 17:59:49 +0000 (18:59 +0100)]
Rename switch arguments to indicate expected type (#1650)

In commands with options that admit arguments, like '--prefix' in
'alr install', is useful to provide an argument name in the command
help that gives a hint of the expected type.

For example, 'alr install -h' shows the message:
====
OPTIONS
   --prefix=ARG   Override installation prefix (default is ...)
====

When changed to:
====
OPTIONS
   --prefix=DIR   Override installation prefix (default is ...)
====

the 'DIR' name of the argument immediately says what is expected in this
option. In cases where this is not so obvious, it helps even more.
For example, in 'alr build -h':
====
OPTIONS
   --profiles=LIST     Comma-separated list of <crate>=<profile> values (see description)
   --stop-after=STAGE  Build stage after which to stop (see description)
====

is a quick remainder of what is expected in that options.

17 months agoRename switch arguments to indicate expected type (#1650)
Francesc Rocher [Mon, 18 Mar 2024 17:59:49 +0000 (18:59 +0100)]
Rename switch arguments to indicate expected type (#1650)

In commands with options that admit arguments, like '--prefix' in
'alr install', is useful to provide an argument name in the command
help that gives a hint of the expected type.

For example, 'alr install -h' shows the message:
====
OPTIONS
   --prefix=ARG   Override installation prefix (default is ...)
====

When changed to:
====
OPTIONS
   --prefix=DIR   Override installation prefix (default is ...)
====

the 'DIR' name of the argument immediately says what is expected in this
option. In cases where this is not so obvious, it helps even more.
For example, in 'alr build -h':
====
OPTIONS
   --profiles=LIST     Comma-separated list of <crate>=<profile> values (see description)
   --stop-after=STAGE  Build stage after which to stop (see description)
====

is a quick remainder of what is expected in that options.

17 months agoEnforce usage of Sementic_Versioning when printing Alire/Alr version (#1643) (#1652)
Fabien Chouteau [Mon, 18 Mar 2024 17:55:29 +0000 (18:55 +0100)]
Enforce usage of Sementic_Versioning when printing Alire/Alr version (#1643) (#1652)

* Enforce usage of Sementic_Versioning when printing Alire/Alr version

To ensure a consistent formatting whatever the version.
The version string is now private, only the semver type is visible.

* Enforce usage of Sementic_Versioning for index versions

17 months agodev/build.sh: control build jobs with $ALIRE_BUILD_JOBS (#1651)
tali auster [Mon, 18 Mar 2024 16:12:16 +0000 (10:12 -0600)]
dev/build.sh: control build jobs with $ALIRE_BUILD_JOBS (#1651)

This is just a minor quality-of-life improvement for packaging. Note
that this also quotes the argument to echo so that if (somehow)
$ALIRE_OS were set to a malicious value, no harm could be done.

17 months agoUse oldest Ubuntu LTS for releases (#1647)
Alejandro R Mosteo [Mon, 18 Mar 2024 12:01:16 +0000 (13:01 +0100)]
Use oldest Ubuntu LTS for releases (#1647)

17 months agoUpdate msys2 installer (#1648)
Alejandro R Mosteo [Mon, 18 Mar 2024 12:00:56 +0000 (13:00 +0100)]
Update msys2 installer (#1648)

* Update msys2 installer

* Ensure msys2 from commit is tested

17 months agoQR pointing to alire.ada.dev (#1649)
Alejandro R Mosteo [Fri, 15 Mar 2024 13:09:28 +0000 (14:09 +0100)]
QR pointing to alire.ada.dev (#1649)

17 months agoMove `upgrading.md` to `doc/` dir to make it available on the website (#1645)
Fabien Chouteau [Fri, 15 Mar 2024 09:19:21 +0000 (10:19 +0100)]
Move `upgrading.md` to `doc/` dir to make it available on the website (#1645)

17 months agoAlire.Features: restore proper config deprecation (#1640)
Alejandro R Mosteo [Fri, 15 Mar 2024 09:16:54 +0000 (10:16 +0100)]
Alire.Features: restore proper config deprecation (#1640)

17 months agoMove `upgrading.md` to `doc/` dir to make it available on the website (#1645)
Fabien Chouteau [Fri, 15 Mar 2024 09:19:21 +0000 (10:19 +0100)]
Move `upgrading.md` to `doc/` dir to make it available on the website (#1645)

17 months agoEnforce usage of Sementic_Versioning when printing Alire/Alr version (#1643)
Fabien Chouteau [Fri, 15 Mar 2024 09:18:28 +0000 (10:18 +0100)]
Enforce usage of Sementic_Versioning when printing Alire/Alr version (#1643)

* Enforce usage of Sementic_Versioning when printing Alire/Alr version

To ensure a consistent formatting whatever the version.
The version string is now private, only the semver type is visible.

* Enforce usage of Sementic_Versioning for index versions

17 months agoAlire.Features: restore proper config deprecation (#1640)
Alejandro R Mosteo [Fri, 15 Mar 2024 09:16:54 +0000 (10:16 +0100)]
Alire.Features: restore proper config deprecation (#1640)

17 months agoRemove use of GNAT Community Edition (#1641)
Alejandro R Mosteo [Fri, 15 Mar 2024 09:16:30 +0000 (10:16 +0100)]
Remove use of GNAT Community Edition (#1641)

setup-alire@v3 no longer uses GNAT CE so we can always test with GNAT FSF.

17 months agouser-changes.md: remove -dev from the user changes section (#1644)
Fabien Chouteau [Fri, 15 Mar 2024 09:16:07 +0000 (10:16 +0100)]
user-changes.md: remove -dev from the user changes section (#1644)

17 months agoRemove unused entity (#1636)
Alejandro R Mosteo [Thu, 14 Mar 2024 11:30:21 +0000 (12:30 +0100)]
Remove unused entity (#1636)

17 months agoAlire.Utils.Regex: initialize matches explicitly (#1637)
Alejandro R Mosteo [Thu, 14 Mar 2024 11:11:12 +0000 (12:11 +0100)]
Alire.Utils.Regex: initialize matches explicitly (#1637)

17 months agoUpdated BREAKING.md
Alejandro R. Mosteo [Wed, 13 Mar 2024 21:19:49 +0000 (22:19 +0100)]
Updated BREAKING.md

17 months agoBump versions to 2.1-dev
Alejandro R. Mosteo [Wed, 13 Mar 2024 13:59:15 +0000 (14:59 +0100)]
Bump versions to 2.1-dev

17 months agoMerge remote-tracking branch 'alire/master' into release/2.0
Alejandro R. Mosteo [Tue, 12 Mar 2024 21:27:05 +0000 (22:27 +0100)]
Merge remote-tracking branch 'alire/master' into release/2.0

17 months agoBump version to 2.0
Alejandro R. Mosteo [Tue, 12 Mar 2024 21:26:11 +0000 (22:26 +0100)]
Bump version to 2.0

17 months agoDon't say unknown crate for abstract crates in `alr get` (#1633)
Alejandro R Mosteo [Tue, 12 Mar 2024 16:35:07 +0000 (17:35 +0100)]
Don't say unknown crate for abstract crates in `alr get` (#1633)

* Inform about providers in `alr get`

* Test for the change

17 months agoClassify builds by release milestone (#1632)
Alejandro R Mosteo [Tue, 12 Mar 2024 16:02:02 +0000 (17:02 +0100)]
Classify builds by release milestone (#1632)

17 months agoRemainders of the config --> settings refactor (#1631)
Alejandro R Mosteo [Tue, 12 Mar 2024 11:36:14 +0000 (12:36 +0100)]
Remainders of the config --> settings refactor (#1631)

* Remainders of the config --> settings refactor

* Fix Windows-only builtins

17 months agoRefactor `--config` as `--settings` (#1627)
Alejandro R Mosteo [Mon, 11 Mar 2024 15:41:10 +0000 (16:41 +0100)]
Refactor `--config` as `--settings` (#1627)

* Refactor `ALR_CONFIG` to `ALIRE_SETTINGS`

* Replace --config with --settings

* Code review

* Post-merge fix

17 months ago`config.toml` --> `settings.toml` (#1626)
Alejandro R Mosteo [Mon, 11 Mar 2024 15:04:56 +0000 (16:04 +0100)]
`config.toml` --> `settings.toml` (#1626)

* config.toml --> settings.toml

* Prepend comment in `config.toml` about migration

* Remove file touching

17 months agoRefactor `ALR_CONFIG` to `ALIRE_SETTINGS_DIR` (#1625)
Alejandro R Mosteo [Mon, 11 Mar 2024 13:24:46 +0000 (14:24 +0100)]
Refactor `ALR_CONFIG` to `ALIRE_SETTINGS_DIR` (#1625)

* Refactor `ALR_CONFIG` to `ALIRE_SETTINGS`

* Code review

17 months agoMore conventional location for settings in Windows (#1624)
Alejandro R Mosteo [Mon, 11 Mar 2024 11:49:39 +0000 (12:49 +0100)]
More conventional location for settings in Windows (#1624)

To avoid mixing top levels, also nest the cache too.

17 months agoRefactor `Alire.Config.*` as `Alire.Settings.*` (#1622)
Alejandro R Mosteo [Mon, 11 Mar 2024 11:34:16 +0000 (12:34 +0100)]
Refactor `Alire.Config.*` as `Alire.Settings.*` (#1622)

* Refactor `Alire.Config.*` as `Alire.Settings.*`

* Refactor Windows-only files

17 months agoMissing dependencies in testsuite documentation. (#1620)
Francesc Rocher [Sat, 9 Mar 2024 18:24:55 +0000 (19:24 +0100)]
Missing dependencies in testsuite documentation. (#1620)

* Missing dependencies in testsuite documentation.

Required package 'pexpect' is not installed as a dependency of
'e3-testsuite', so is has to be explicitly installed.

Neither 'e3-testsuite' nor 'e3-core' depend on it:

$ pip show e3-testsuite e3-core
Name: e3-testsuite
Version: 26.0
Summary: E3 testsuite
Home-page:
Author: AdaCore
Author-email: info@adacore.com
License: GPLv3
Location: /home/ada/opt/alire/venv/lib/python3.10/site-packages
Requires: e3-core
Required-by:
---
Name: e3-core
Version: 22.4.0
Summary: E3 core. Tools and library for building and testing software
Home-page: https://github.com/AdaCore/e3-core
Author: AdaCore
Author-email: info@adacore.com
License: GPLv3
Location: /home/ada/opt/alire/venv/lib/python3.10/site-packages
Requires: colorama, ld, packaging, psutil, python-dateutil, pyyaml, requests, requests-cache, requests-toolbelt, setuptools, stevedore, tqdm
Required-by: e3-testsuite
* Install pip dependencies using requirements.txt

17 months agoHandle config switch missing argument exceptions (#1619)
Francesc Rocher [Sat, 9 Mar 2024 13:47:22 +0000 (14:47 +0100)]
Handle config switch missing argument exceptions (#1619)

Both 'alr -c' and 'alr --config' throw exceptions because a required
parameter is missing.

This fix handle missing parameter of config switch in the same way as, for
example, 'alr -C' and 'alr --chdir': an error message informs the user that a
required parameter is missing.

17 months agoClarify remark about `--force` in `alr install --help` (#1618)
Manuel [Sat, 9 Mar 2024 13:44:34 +0000 (14:44 +0100)]
Clarify remark about `--force` in `alr install --help` (#1618)

Since it affects the place where the argument can be used, the user
has to be aware of that.

17 months agoNew `alr settings` command to replace `alr config` (#1617)
Fabien Chouteau [Sat, 9 Mar 2024 13:16:05 +0000 (14:16 +0100)]
New `alr settings` command to replace `alr config` (#1617)

This change is introduced to tackle the confusion between the
configuration of the Alire commands and operations, and the
configuration of crates.

`alr config` is still available and should work as before with the
exception of a deprecation warning message.

17 months agoRemove .md extension from internal documentation links (#893) (#1616)
Jeremy Grosser [Fri, 8 Mar 2024 09:33:33 +0000 (01:33 -0800)]
Remove .md extension from internal documentation links (#893) (#1616)

17 months agoRemove `toolchain --install/--uninstall/--install-dir` (#1614)
Alejandro R Mosteo [Thu, 7 Mar 2024 11:21:54 +0000 (12:21 +0100)]
Remove `toolchain --install/--uninstall/--install-dir` (#1614)

* Remove --[un]install, --install-dir

* Patch tests

* User changes

* review of --install et al. removal

* Fix test broken by new crate hash

17 months agoOverride distro via config key (#1610)
Alejandro R Mosteo [Mon, 4 Mar 2024 10:41:15 +0000 (11:41 +0100)]
Override distro via config key (#1610)

17 months agoDon't try to obtain the parent dir of '/' in tmp cleanup (#1609)
Alejandro R Mosteo [Mon, 4 Mar 2024 10:40:53 +0000 (11:40 +0100)]
Don't try to obtain the parent dir of '/' in tmp cleanup (#1609)

17 months agoDocument more configuration details (#1611)
Alejandro R Mosteo [Mon, 4 Mar 2024 10:40:31 +0000 (11:40 +0100)]
Document more configuration details (#1611)

17 months agoVersion bumps for 2.0-rc1
Alejandro R. Mosteo [Thu, 29 Feb 2024 10:56:55 +0000 (11:56 +0100)]
Version bumps for 2.0-rc1

17 months agoRequire explicit `binary=true` for all binary origins (#1598)
Alejandro R Mosteo [Thu, 29 Feb 2024 10:40:38 +0000 (11:40 +0100)]
Require explicit `binary=true` for all binary origins (#1598)

* Package to track future features

* Loading metadata and explicit binary

17 months agoBug box in case of Program_Error and related tweaks (#1595)
Alejandro R Mosteo [Wed, 28 Feb 2024 18:53:57 +0000 (19:53 +0100)]
Bug box in case of Program_Error and related tweaks (#1595)

* bug box in case of Program_Error

* Fix optionally appearing address in error location

* alire-errors.ads: typo

17 months agoMake msys live inside overridden config path by default (#1589)
Alejandro R Mosteo [Wed, 28 Feb 2024 18:21:38 +0000 (19:21 +0100)]
Make msys live inside overridden config path by default (#1589)

* Don't run OS initialization during elaboration

As this makes impossible to tweak such initialization with `alr config`.

* Make msys live inside overriden config path by default

* Better explanation in alr.py

* Fix config loading before Windows builtins

17 months agoBump toml_slicer dependency (#1597)
Alejandro R Mosteo [Tue, 27 Feb 2024 16:48:54 +0000 (17:48 +0100)]
Bump toml_slicer dependency (#1597)

17 months agoReinstate lost style checks (#1591)
Alejandro R Mosteo [Tue, 27 Feb 2024 11:45:25 +0000 (12:45 +0100)]
Reinstate lost style checks (#1591)

* Reinstate lost style checks

* Explicit style checks and corresponding fixes

17 months agoRelocate cache with config builtin `cache.dir` (#1593)
Alejandro R Mosteo [Tue, 27 Feb 2024 11:39:55 +0000 (12:39 +0100)]
Relocate cache with config builtin `cache.dir` (#1593)

17 months agocatalog spec: update supported `os` and `distribution` values (#1594)
Alejandro R Mosteo [Tue, 27 Feb 2024 11:21:30 +0000 (12:21 +0100)]
catalog spec: update supported `os` and `distribution` values (#1594)

* Update the supported values of the os and distribution parameters.

* Use new `distribution-unknown`

---------

Co-authored-by: John Serock <1468970+serock@users.noreply.github.com>
17 months agoPlatforms: `distribution-unknown` to better match... (#1590)
Alejandro R Mosteo [Tue, 27 Feb 2024 11:12:46 +0000 (12:12 +0100)]
Platforms: `distribution-unknown` to better match... (#1590)

...its variable name which is `distribution`