]> _ Git - alire.git/log
alire.git
7 months agofix: remove redundant parentheses inside operators (#1816)
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.

7 months agofeat: better solutions when no complete one exists (#1812)
Alejandro R Mosteo [Sun, 5 Jan 2025 22:28:45 +0000 (23:28 +0100)]
feat: better solutions when no complete one exists (#1812)

7 months agodoc: improve bug reporting template for duplicates
Alejandro R. Mosteo [Thu, 26 Dec 2024 10:01:25 +0000 (11:01 +0100)]
doc: improve bug reporting template for duplicates

8 months agofeat: search without solving and with --solve (#1799)
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

8 months agofix: revert unwanted changes in #1739
Alejandro R. Mosteo [Mon, 25 Nov 2024 09:53:05 +0000 (10:53 +0100)]
fix: revert unwanted changes in #1739

8 months agofeat: pull-request checklist
Alejandro R. Mosteo [Mon, 25 Nov 2024 08:44:56 +0000 (09:44 +0100)]
feat: pull-request checklist

8 months agofeat: solver refactoring (#1739)
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

8 months agoFix updating pins on crates which track Alire-generated files (#1788)
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

9 months agofix: relocate cleaner.yml workflow to proper dir (#1794)
Alejandro R Mosteo [Mon, 18 Nov 2024 09:26:55 +0000 (10:26 +0100)]
fix: relocate cleaner.yml workflow to proper dir (#1794)

9 months agofix: remove non-existent switch from message (#1793)
Alejandro R Mosteo [Mon, 18 Nov 2024 09:16:38 +0000 (10:16 +0100)]
fix: remove non-existent switch from message (#1793)

9 months agofix: make test actions run only once (#1792)
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

9 months agofeat: support for Git repos with multiple remotes configured (#1782)
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

9 months agofix: testing of indexed crates with `alr test --full` (#1786)
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

9 months agofeat: improve URI recognition (#1736)
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

10 months agofix: move build source info to a separate location (#1783)
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

10 months agofix: install proper macos-14 toolchain in nightly build (#1780)
Alejandro R Mosteo [Mon, 14 Oct 2024 11:48:27 +0000 (13:48 +0200)]
fix: install proper macos-14 toolchain in nightly build (#1780)

10 months agofix: spellcheck workflow (#1779)
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.

10 months agofix: tweak workflows due to deprecations (#1778)
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

10 months agofeat: arch/linking safeguards in workflows (#1775)
Alejandro R Mosteo [Fri, 11 Oct 2024 17:09:41 +0000 (19:09 +0200)]
feat: arch/linking safeguards in workflows (#1775)

10 months agoMerge branch 'release/2.0'
Alejandro R. Mosteo [Wed, 9 Oct 2024 11:23:38 +0000 (13:23 +0200)]
Merge branch 'release/2.0'

10 months agoUpdate Msys2 installer
Alejandro R. Mosteo [Wed, 9 Oct 2024 10:22:46 +0000 (12:22 +0200)]
Update Msys2 installer

10 months agoMerge branch 'release/2.0'
Alejandro R. Mosteo [Tue, 8 Oct 2024 20:33:46 +0000 (22:33 +0200)]
Merge branch 'release/2.0'

10 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

10 months agodoc: fix obsolete `toolchain --install` references (#1765)
Alejandro R Mosteo [Tue, 8 Oct 2024 10:56:39 +0000 (12:56 +0200)]
doc: fix obsolete `toolchain --install` references (#1765)

10 months agoSet up environment during build preparations (#1766)
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

10 months agofix: ability to pin a crate that 'provides' a dependency (#1771)
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

10 months agotest: building on an air-gapped system (#1760)
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

10 months agoFix CI using deprecated version of actions/upload-artifact (#1756)
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

10 months agoFix early error on Windows with msys2 disabled (#1747)
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

10 months agodoc: fix obsolete `toolchain --install` references (#1765)
Alejandro R Mosteo [Tue, 8 Oct 2024 10:56:39 +0000 (12:56 +0200)]
doc: fix obsolete `toolchain --install` references (#1765)

10 months agoSet up environment during build preparations (#1766)
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

10 months agofix: ability to pin a crate that 'provides' a dependency (#1771)
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

10 months agofix: use /tmp dir if $HOME isn't writable (#1770)
tali auster [Wed, 2 Oct 2024 11:04:36 +0000 (04:04 -0700)]
fix: use /tmp dir if $HOME isn't writable (#1770)

* fix: use tmp dir if $HOME isn't writable

* Test for running without home

---------

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
10 months agoFix: preserve attributes on file copy (#1768)
Alejandro R Mosteo [Mon, 30 Sep 2024 11:19:40 +0000 (13:19 +0200)]
Fix: preserve attributes on file copy (#1768)

* fix: preserve attributes on file copy

* Self-review

10 months agofeat: support for private indexes with `alr publish --for-private-index` (#1745)
Seb M'Caw [Tue, 24 Sep 2024 18:42:10 +0000 (19:42 +0100)]
feat: support for private indexes with `alr publish --for-private-index` (#1745)

* Add support for private indexes to "alr publish"

* Fix tests

* Support "git@" remotes

* Fix test

* Bugfix

* Update 'config' to 'settings' in 'alr init'

* Update 'config' to 'settings' elsewhere

* Rewrite documentation

* Clarify upload instructions

10 months agotest: building on an air-gapped system (#1760)
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

10 months agoJSON, TOML output for tables (#1759)
Alejandro R Mosteo [Mon, 23 Sep 2024 18:12:19 +0000 (20:12 +0200)]
JSON, TOML output for tables (#1759)

* Headers

* Global option --format

* fix tables without headers

* Testsuite test

* Testsuite-found fixes

* Bump submodules, testsuite dependencies

11 months agoFix CI using deprecated version of actions/upload-artifact (#1756)
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

11 months agoAdd PR cleaner workflow
Alejandro R. Mosteo [Thu, 5 Sep 2024 10:21:31 +0000 (12:21 +0200)]
Add PR cleaner workflow

11 months agoFix early error on Windows with msys2 disabled (#1747)
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

11 months agoFix syncing of releases containing broken softlinks (#1751)
Alejandro R Mosteo [Tue, 3 Sep 2024 10:51:25 +0000 (12:51 +0200)]
Fix syncing of releases containing broken softlinks (#1751)

* WIP: fix failure syncing softlinks

* Test for fix

11 months agoMerge branch 'release/2.0'
Alejandro R. Mosteo [Fri, 30 Aug 2024 11:02:38 +0000 (13:02 +0200)]
Merge branch 'release/2.0'

11 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.

11 months agoRename tests with old 'config' naming to 'settings' (#1746)
Alejandro R Mosteo [Fri, 30 Aug 2024 09:35:22 +0000 (11:35 +0200)]
Rename tests with old 'config' naming to 'settings' (#1746)

11 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)

11 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)

11 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)

11 months agoRename tests with old 'config' naming to 'settings' (#1746)
Alejandro R Mosteo [Fri, 30 Aug 2024 09:35:22 +0000 (11:35 +0200)]
Rename tests with old 'config' naming to 'settings' (#1746)

12 months agoAdd check that commit ID is valid hexadecimal (#1740)
Seb M'Caw [Mon, 19 Aug 2024 14:21:15 +0000 (15:21 +0100)]
Add check that commit ID is valid hexadecimal (#1740)

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 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)

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 agov2.0.2-rc1
Alejandro R. Mosteo [Fri, 5 Jul 2024 11:12:55 +0000 (13:12 +0200)]
v2.0.2-rc1

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'