]> _ Git - alire.git/log
alire.git
3 years agoAlire.Utils.Switches: Disable No_Exception_Propagation warning (#1030)
Alejandro R Mosteo [Wed, 1 Jun 2022 10:08:06 +0000 (12:08 +0200)]
Alire.Utils.Switches: Disable No_Exception_Propagation warning (#1030)

Alire.Utils.Switches: Disable No_Exception_Propagation warning

3 years agoAlire.Utils.Switches: Disable No_Exception_Propagation warning
Fabien Chouteau [Wed, 25 May 2022 20:03:26 +0000 (22:03 +0200)]
Alire.Utils.Switches: Disable No_Exception_Propagation warning

This switch was always added to the init crates and should have been
included in the first version of build profiles. The warnings are only
displayed for embedded project based on run-times without exception
propagation, and can be very annoying.

3 years agoBump version to 1.3-dev
GHA [Wed, 18 May 2022 13:04:18 +0000 (15:04 +0200)]
Bump version to 1.3-dev

3 years agoSync with release/1.2
Alejandro R Mosteo [Wed, 18 May 2022 13:02:19 +0000 (15:02 +0200)]
Sync with release/1.2

Bump alr and index versions to 1.2

3 years agoBump alr and index versions to 1.2
GHA [Tue, 17 May 2022 15:52:23 +0000 (17:52 +0200)]
Bump alr and index versions to 1.2

3 years agoFix retrieval of git root and prefix inside repo (#1024)
Alejandro R Mosteo [Tue, 17 May 2022 09:24:08 +0000 (11:24 +0200)]
Fix retrieval of git root and prefix inside repo (#1024)

* Fix retrieval of git root and prefix inside repo

* Fix instantiation on older compilers

* Alire.VSSs.Git: Fix unreferenced parameter

* Alire.Publish: fix reversed logic

* Code review fixes

Co-authored-by: GHA <actions@github.com>
3 years agoNew `alr get --dirname` switch (#1014)
Alejandro R Mosteo [Tue, 17 May 2022 09:07:31 +0000 (11:07 +0200)]
New `alr get --dirname` switch (#1014)

* Alr.Commands.Get: New --dirname switch

This switch just shows in which folder the just downloaded crate can be found.

* Tests for `alr get --dirname`

Co-authored-by: GHA <actions@github.com>
3 years agoCreate zipball with full sources for releases (#1023)
Alejandro R Mosteo [Mon, 16 May 2022 18:14:12 +0000 (20:14 +0200)]
Create zipball with full sources for releases (#1023)

* Create asset for full sources with submodules

* No need to run in multiple OSes

Co-authored-by: GHA <actions@github.com>
3 years agoDon't detect external tools when they're not (#1018)
Alejandro R Mosteo [Mon, 9 May 2022 08:44:38 +0000 (10:44 +0200)]
Don't detect external tools when they're not (#1018)

3 years agoProperly detect domain in publishing assistant (#1020)
Alejandro R Mosteo [Mon, 9 May 2022 08:44:09 +0000 (10:44 +0200)]
Properly detect domain in publishing assistant (#1020)

Fixes #1011

Co-authored-by: GHA <actions@github.com>
3 years agoLoad the index when dependencies are needed (#1019)
Alejandro R Mosteo [Fri, 6 May 2022 09:57:31 +0000 (11:57 +0200)]
Load the index when dependencies are needed (#1019)

* Load the index when dependencies are needed

* Test for this fix

Co-authored-by: GHA <actions@github.com>
3 years agotests/crate_config/basic: fix arm64 expected host (#1015)
Fabien Chouteau [Wed, 4 May 2022 11:30:54 +0000 (13:30 +0200)]
tests/crate_config/basic: fix arm64 expected host (#1015)

Co-authored-by: GHA <actions@github.com>
3 years agoUpdate msys installer (#1017)
Alejandro R Mosteo [Wed, 4 May 2022 10:40:33 +0000 (12:40 +0200)]
Update msys installer (#1017)

Co-authored-by: GHA <actions@github.com>
3 years agoShow just the version with `alr --version` (#1013)
Alejandro R Mosteo [Tue, 3 May 2022 09:13:54 +0000 (11:13 +0200)]
Show just the version with `alr --version` (#1013)

* Add a new --version standalone switch

* Add a couple of new tests

3 years agoBump index version (#1009)
Alejandro R Mosteo [Fri, 29 Apr 2022 14:56:17 +0000 (16:56 +0200)]
Bump index version (#1009)

* Alire.Index_On_Disk: Drop index cache after deletion

Also ensure that all index addition functions operate with fresh index
information

* Bump index version

* Allow disabling the "old compatible index" warning

Also use real old compatible version to not have to use a fake old compatible version

* Alire.Config.Edit: fix copypasta mistake

Co-authored-by: GHA <actions@github.com>
3 years agoAlire.Index_On_Disk: Drop index cache after deletion (#1010)
Alejandro R Mosteo [Fri, 29 Apr 2022 14:55:50 +0000 (16:55 +0200)]
Alire.Index_On_Disk: Drop index cache after deletion (#1010)

Also ensure that all index addition functions operate with fresh index
information

Co-authored-by: GHA <actions@github.com>
3 years agoCache index detection and crate loading (#1008)
Alejandro R Mosteo [Thu, 28 Apr 2022 10:03:50 +0000 (12:03 +0200)]
Cache index detection and crate loading (#1008)

3 years agoImplement load of individual crates from index (#1006)
Alejandro R Mosteo [Tue, 26 Apr 2022 08:45:21 +0000 (10:45 +0200)]
Implement load of individual crates from index (#1006)

* Make index set its own type

* Basics for individual crate loading in place

* Complete single crate loading and use in `show`

* Use Empty_Set instead of Empty for older compilers

3 years agoAlr.Commands.Init: Create share folder for resources (#1003)
Fabien Chouteau [Mon, 25 Apr 2022 18:06:43 +0000 (20:06 +0200)]
Alr.Commands.Init: Create share folder for resources (#1003)

Note that gprinstall won't complain if this folder doesn't exists, so
users can decided to leave it empty or remove it in case they don't have
resources.

3 years agoAlr.Commands.Init: change default version for new crates to 0.1.0-dev (#1004)
Fabien Chouteau [Mon, 25 Apr 2022 17:53:41 +0000 (19:53 +0200)]
Alr.Commands.Init: change default version for new crates to 0.1.0-dev (#1004)

3 years agoUpdate getting-started.md (#1000)
Fabien Chouteau [Fri, 22 Apr 2022 14:38:11 +0000 (16:38 +0200)]
Update getting-started.md (#1000)

* Update getting-started.md

* Update getting-started.md

3 years agoAlire.Properties.Configurations: revert forced mixed case (#998)
Fabien Chouteau [Wed, 20 Apr 2022 09:12:46 +0000 (11:12 +0200)]
Alire.Properties.Configurations: revert forced mixed case (#998)

* Alire.Properties.Configurations: revert forced mixed case

Forcing mixed case for enum values breaks existing crates (atomic).

* Alire.Crate_Configuration: force build profiles to lower case

The default is upper case because values are generated from Enum'Img.

3 years agoRefactor Alire.Features.Indes -> Alire.Index_On_Disk.Loading (#992)
Alejandro R Mosteo [Fri, 15 Apr 2022 09:00:21 +0000 (11:00 +0200)]
Refactor Alire.Features.Indes -> Alire.Index_On_Disk.Loading (#992)

The Alire.Features.* hierarchy was ill-conceived so getting rid of it by moving
a package around.

3 years agoNew `action` subcommand (#983)
Alejandro R Mosteo [Thu, 14 Apr 2022 09:06:13 +0000 (11:06 +0200)]
New `action` subcommand (#983)

* New 'action' subcommand, listing supported

* Alr.Commands.Action: Add execution of given action

* Add tests for action listing and triggering

* doc/user-changes.md: document new `alr action`

* Self-review fixes

3 years agoAlire.Crate_Configuration: Fix pragma No_Elaboration_Code (#987)
Fabien Chouteau [Wed, 13 Apr 2022 12:46:55 +0000 (14:46 +0200)]
Alire.Crate_Configuration: Fix pragma No_Elaboration_Code (#987)

pragma No_Elaboration_Code_All has an impact on implicitly or explicitly with’ed units:
https://docs.adacore.com/gnat_rm-docs/html/gnat_rm/gnat_rm/implementation_defined_pragmas.html

3 years agoAlr.Command: fix gnatcov built-in alias (#986)
Fabien Chouteau [Wed, 13 Apr 2022 10:24:55 +0000 (12:24 +0200)]
Alr.Command: fix gnatcov built-in alias (#986)

The first argument of gnatcov must be the action (`instrument`, `coverage`, etc.).

3 years agoAlire.Utils.Switches: Disable contracts for Development profile (#979)
Fabien Chouteau [Mon, 11 Apr 2022 17:20:01 +0000 (19:20 +0200)]
Alire.Utils.Switches: Disable contracts for Development profile (#979)

This was probably too aggressive as contracts severely impact performances.

3 years agoAlr.Commands.Init: Fix missing config src dir (#981)
Fabien Chouteau [Mon, 11 Apr 2022 17:18:32 +0000 (19:18 +0200)]
Alr.Commands.Init: Fix missing config src dir (#981)

3 years agoReject manifest keys with underscores (#980)
Alejandro R Mosteo [Mon, 11 Apr 2022 17:17:43 +0000 (19:17 +0200)]
Reject manifest keys with underscores (#980)

These were slipping in before due to improper validation

3 years agoFix some rich output that eluded --no-color/--no-tty (#978)
Alejandro R Mosteo [Sat, 9 Apr 2022 20:07:26 +0000 (22:07 +0200)]
Fix some rich output that eluded --no-color/--no-tty (#978)

* Fix some colored unicode not disabled by --no-tty

* Update manifest pin for clic to match submodule

* Bump clic submodule and pin

3 years agoUse proper index versioning for backwards compatibility (#975)
Alejandro R Mosteo [Sat, 9 Apr 2022 20:07:03 +0000 (22:07 +0200)]
Use proper index versioning for backwards compatibility (#975)

* Use index versioning for backwards compatibility

* Improvements to wording of errors

* New tests for old-compatible and old-incompatible

* Tweaks to tests due to minor changes in output

* Clean up leftover comments

Co-authored-by: GHA <actions@github.com>
3 years agoAlire.Manifest: Remove "Added by alr" comments (#977)
Fabien Chouteau [Fri, 8 Apr 2022 21:36:47 +0000 (23:36 +0200)]
Alire.Manifest: Remove "Added by alr" comments (#977)

* Alire.Manifest: Remove "Added by alr" comments

* Bump clic dependency

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
3 years agoUpdate msys2 installer and allow user to set version (#970)
Fabien Chouteau [Thu, 7 Apr 2022 09:22:28 +0000 (11:22 +0200)]
Update msys2 installer and allow user to set version (#970)

3 years agoRemapping of ARM64 to AARCH64 (#968)
Alejandro R Mosteo [Tue, 5 Apr 2022 13:44:12 +0000 (15:44 +0200)]
Remapping of ARM64 to AARCH64 (#968)

* Remapping of ARM64 to AARCH64

* Code review fix

Co-authored-by: GHA <actions@github.com>
3 years agoAlire.Crate_Configuration: add built-in values for host OS, Arch and Distro (#961)
Fabien Chouteau [Mon, 4 Apr 2022 17:15:53 +0000 (19:15 +0200)]
Alire.Crate_Configuration: add built-in values for host OS, Arch and Distro (#961)

* Alire.Crate_Configuration: add built-in values for host OS, Arch and Distro

This will be very useful for platform specific code.

* Alire.Crate_Configuration: Tweak generated code

The Ada/GPR constant names, package names, and enum values are forced to mixed case.
The C constant names are forced to upper case.

* Alire.Platforms: Refactoring to fix elaboration

Msys2 install in Alire.Platforms.Init added elaboration issue for code using (e.g.) Current.Operating_System in elaboration.

3 years agoRemove git --progress flag (fixes #966) (#967)
Jeremy Grosser [Mon, 4 Apr 2022 17:05:29 +0000 (10:05 -0700)]
Remove git --progress flag (fixes #966) (#967)

3 years agoSilence git when not running in a tty (#963)
Alejandro R Mosteo [Fri, 1 Apr 2022 17:18:14 +0000 (19:18 +0200)]
Silence git when not running in a tty (#963)

3 years agoAlire.Crate_Configuration: Add a Crate_Name constant for all configs (#957)
Fabien Chouteau [Wed, 30 Mar 2022 08:58:25 +0000 (10:58 +0200)]
Alire.Crate_Configuration: Add a Crate_Name constant for all configs (#957)

* alire.toml: bump gnatcoll-slim commit to match git submodule

* Alire.Crate_Configuration: Add a Crate_Name constant for all configs

Just a convenient thing to have, for instance with the upcoming
Resources crate.

3 years agoAlire.Environment: change _PREFIX to _ALIRE_PREFIX (#958)
Fabien Chouteau [Wed, 30 Mar 2022 08:56:01 +0000 (10:56 +0200)]
Alire.Environment: change _PREFIX to _ALIRE_PREFIX (#958)

* alire.toml: bump gnatcoll-slim commit to match git submodule

* Alire.Environment: change _PREFIX to _ALIRE_PREFIX

With just _PREFIX there is a high risk of conflicts with legitimate use
of environment variables.

3 years agoalire.toml: bump gnatcoll-slim commit to match git submodule (#959)
Fabien Chouteau [Wed, 30 Mar 2022 08:54:11 +0000 (10:54 +0200)]
alire.toml: bump gnatcoll-slim commit to match git submodule (#959)

3 years agoAlr.Commands.Exec: -P switch to add project file on the command line (#956)
Fabien Chouteau [Tue, 29 Mar 2022 09:58:19 +0000 (11:58 +0200)]
Alr.Commands.Exec: -P switch to add project file on the command line (#956)

* Alr.Commands.Exec: -P switch to add project file on the command line

* Alr.Commands: Add built-in aliases for gnatcov and gnatprove

3 years agoChange default GPRbuild switches (#955)
Fabien Chouteau [Mon, 28 Mar 2022 16:36:45 +0000 (18:36 +0200)]
Change default GPRbuild switches (#955)

- Remove `-gnatwU` (Recompile if compiler switches have changed):
     It is a legacy from the time when the index was in Ada. Removal may
     trigger some issue on crates with warnings-as-error. But the longer
     we wait the bigger of a problem it will be.

 - Add `-s` (Recompile if compiler switches have changed):
     As discussed in #952, it makes sense to have this default for all
     builds.

3 years agoAlire.Environment: export <CRATE_NAME>_PREFIX for all crates of solution (#954)
Fabien Chouteau [Mon, 28 Mar 2022 10:17:08 +0000 (12:17 +0200)]
Alire.Environment: export <CRATE_NAME>_PREFIX for all crates of solution (#954)

This is to be used for retrieval of crate resources, see #948.

3 years agoAlire.Properties.Build_Switches: Add support for Ada version switches (#953)
Fabien Chouteau [Mon, 28 Mar 2022 09:02:23 +0000 (11:02 +0200)]
Alire.Properties.Build_Switches: Add support for Ada version switches (#953)

3 years agoNew property for detected host architecture (#932)
Alejandro R Mosteo [Mon, 14 Mar 2022 11:48:42 +0000 (12:48 +0100)]
New property for detected host architecture (#932)

* New property for detected host architecture

This will allow indexing the proper binaries for different host architectures.

* Don't use uname on Windows

3 years agoLeftover comments from platform refactor (#950)
Alejandro R Mosteo [Wed, 9 Mar 2022 15:04:03 +0000 (16:04 +0100)]
Leftover comments from platform refactor (#950)

3 years agoRemove pins from manifest during `alr publish` (#947)
Alejandro R Mosteo [Mon, 7 Mar 2022 11:00:49 +0000 (12:00 +0100)]
Remove pins from manifest during `alr publish` (#947)

* Remove pins from deployed sources and final manifest

* Bump toml_slicer pin in manifest

* Test for pin removal during `alr publish`

3 years agobugfix: emit all found executables (#946)
Jesper Quorning [Mon, 7 Mar 2022 11:00:01 +0000 (12:00 +0100)]
bugfix: emit all found executables (#946)

3 years agoSupport for publishing of crates in subdirectories of repositories (#939)
Alejandro R Mosteo [Fri, 4 Mar 2022 12:01:12 +0000 (13:01 +0100)]
Support for publishing of crates in subdirectories of repositories (#939)

* Added require information to Origins

* Unique folder name for monorepos

* Use subdir all around, but for publishing

* Alire.Publish: detect and publish nested crates

* Alire.Roots: Properly deploy/use nested crates

* Test for basic publishing and using of monorepo

* Test for nesting beyond the top level

* Test no subdir accepted for non-repo origins

* user-changes.md: new monorepo feature

* Updates to various documentations

* Create info file for monorepo releases

This is an empty file in the dependencies folder that helps curious users to
understand where a particular release is coming from. For example:

dependencies
 +-- monorepo_adef1234
      +-- mycrate
 +-- mycrate_1.0.0_in_monorepo_adef1234

* Self-review fixes

* Fixes for Windows

Windows may return paths with either long or short names which complicate a bit
comparing two directories as we do to detect nested crates. To us, the problem
esteems from git returning different names than the Ada std lib.

* Alire.Releases: fix obsolete header box

Co-authored-by: Jesper Quorning <jesper.quorning@gmail.com>
* Test using crates from different monorepo commits

Co-authored-by: Jesper Quorning <jesper.quorning@gmail.com>
3 years agodoc: Add an introduction and update getting-started.md (#899)
Fabien Chouteau [Tue, 15 Feb 2022 12:12:09 +0000 (13:12 +0100)]
doc: Add an introduction and update getting-started.md (#899)

* doc: Add an introduction and update getting-started.md

* Review typo fixes

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
3 years agoDisplay pins in show/with commands (#940)
Alejandro R Mosteo [Tue, 15 Feb 2022 10:10:03 +0000 (11:10 +0100)]
Display pins in show/with commands (#940)

* Display pins in show/with commands

* Tweaks to testsuite for new output

3 years agoalr.py: ensure baseline git configuration in tests (#936)
Alejandro R Mosteo [Mon, 14 Feb 2022 11:32:00 +0000 (12:32 +0100)]
alr.py: ensure baseline git configuration in tests (#936)

3 years agoLog command line before parsing & execution (#938)
Alejandro R Mosteo [Mon, 14 Feb 2022 11:27:57 +0000 (12:27 +0100)]
Log command line before parsing & execution (#938)

3 years agoNew config option to disable community index (#933)
Alejandro R Mosteo [Mon, 7 Feb 2022 12:29:18 +0000 (13:29 +0100)]
New config option to disable community index (#933)

* New config option to disable community index

This way we can ensure that no test in our testsuite is inadvertently using the
community index, as indeed it was happening.

* Code review

3 years agoRefactor scattered platform code into Alire.Platforms.Current (#931)
Alejandro R Mosteo [Fri, 4 Feb 2022 10:14:58 +0000 (11:14 +0100)]
Refactor scattered platform code into Alire.Platforms.Current (#931)

* Refactor Alire.Platform into Alire.Platforms.Current [linux]

* Refactor Alire.Platform as Alire.Platforms.Current [macOS]

* Refactor Alire.Platform as Alire.Platforms.Current [Windows]

* Refactor Alr.Platform as Alire.Platforms.Current [Linux]

* Refactor Alr.Platform into Alire.Platforms.Current [macOS]

* Refactor Alr.Platform into Alire.Platforms.Current [Windows]

* Dummy files to keep some empty dirs for the future

* Ensure OS-specific init is performed at startup

* Alire.Root: remove no longer needed Env copy

3 years agoalr toolchain: fix gprbuild typo in help (#929)
Chris660 [Mon, 31 Jan 2022 10:30:25 +0000 (10:30 +0000)]
alr toolchain: fix gprbuild typo in help (#929)

Co-authored-by: Chris Sykes <chris@amtiskaw.net>
3 years agoDon't attempt to build a binary release (#928)
Alejandro R Mosteo [Mon, 31 Jan 2022 10:28:48 +0000 (11:28 +0100)]
Don't attempt to build a binary release (#928)

Fixes #820

3 years agoBump clic to fix infinite loop on multichoice on macOS (#927)
Alejandro R Mosteo [Fri, 28 Jan 2022 09:21:49 +0000 (10:21 +0100)]
Bump clic to fix infinite loop on multichoice on macOS (#927)

3 years agoFix defects from last merge on Windows
Alejandro R. Mosteo [Thu, 27 Jan 2022 18:59:29 +0000 (19:59 +0100)]
Fix defects from last merge on Windows

3 years agoForward-port 1.1.2 into master
Alejandro R. Mosteo [Thu, 27 Jan 2022 17:08:03 +0000 (18:08 +0100)]
Forward-port 1.1.2 into master

3 years agoBump version for 1.1.2 maintenance release (#924)
Alejandro R Mosteo [Thu, 27 Jan 2022 13:35:42 +0000 (14:35 +0100)]
Bump version for 1.1.2 maintenance release (#924)

Also update alire.toml to allow a successful self-build

3 years agoFull update of msys2 after first install (#923)
Alejandro R Mosteo [Wed, 26 Jan 2022 17:59:38 +0000 (18:59 +0100)]
Full update of msys2 after first install (#923)

* Full update of msys2 after first install

* Update msys installer to the latest stable release

3 years agoFix several typos in trace and output (#912)
Jesper Quorning [Mon, 17 Jan 2022 08:18:16 +0000 (09:18 +0100)]
Fix several typos in trace and output (#912)

* Fix space typo in trace for unknown distribution

* Typo: configuration

* Typo: suppress

* Typo: unknown

* Typo: non-standard

* Typo: mixed-precedence

* Typo: overriding

* Typo: integer

* Typo: collaterally

* Typo: category

* Typo: already

* Fix spelling of configuration in test

* Typo: assignments

* Wording: mixed-origin

3 years agoFix several typos in comments (#915)
Jesper Quorning [Sun, 16 Jan 2022 18:57:04 +0000 (19:57 +0100)]
Fix several typos in comments (#915)

* Fix space typo in trace for unknown distribution

* Typo: will

* Typo: unknown

* Typo: uncommitted

* Typo: running

* Typo: addition

* Typo: occurrence

* Typo: nonstandard

* Typo: preferring

* Typo: overridden

* Typo: independent

* Typo: identify

* Typo: identification

* Typo: impossibilities

* Typo: happen

* Typo: function

* Typo: formatting

* Typo: environment

* Typo: enterprise

* Typo: dispatches

* Typo: deprecated

* Typo: dependencies

* Typo: current

* Typo: corresponding

* Typo: columns

* Typo: authoritative

* Typo: attempts

* Typo: anywhere

* Typo: the aggregated

* Typo: if

* Typo: recompilation

* Wording: collection

3 years agoRename Classifiable interface (#916)
Jesper Quorning [Sun, 16 Jan 2022 17:53:00 +0000 (18:53 +0100)]
Rename Classifiable interface (#916)

* Fix space typo in trace for unknown distribution

* Rename Classifiable interface

3 years agoRename to Make_Switches_Map (#914)
Jesper Quorning [Sun, 16 Jan 2022 17:46:11 +0000 (18:46 +0100)]
Rename to Make_Switches_Map (#914)

* Fix space typo in trace for unknown distribution

* Typo: Make_Switches_Map

3 years agoRename to GNAT_Suppress_Runtime_Check (#913)
Jesper Quorning [Sun, 16 Jan 2022 17:45:24 +0000 (18:45 +0100)]
Rename to GNAT_Suppress_Runtime_Check (#913)

* Fix space typo in trace for unknown distribution

* Typo: GNAT_Suppress_Runtime_Check

3 years agoFix spelling of alr (#909)
Bent Bracke [Sat, 8 Jan 2022 17:15:33 +0000 (18:15 +0100)]
Fix spelling of alr (#909)

3 years agoFix identifier typo. (#908)
Paul Jarrett [Sat, 8 Jan 2022 17:06:06 +0000 (12:06 -0500)]
Fix identifier typo. (#908)

3 years agoBugfix for nested empty tables in manifest (#906)
Alejandro R Mosteo [Tue, 4 Jan 2022 11:45:57 +0000 (12:45 +0100)]
Bugfix for nested empty tables in manifest (#906)

* Test for bug

* Fix bug in which a flattened tree may be empty

* Update test with bugfix URL

3 years agoReplace invalid option --skip-compile with --skip-build in alr clean (#903)
onox [Mon, 3 Jan 2022 12:22:32 +0000 (13:22 +0100)]
Replace invalid option --skip-compile with --skip-build in alr clean (#903)

3 years agoFix space typo in trace for unknown distribution (#901)
Jesper Quorning [Fri, 31 Dec 2021 11:27:42 +0000 (12:27 +0100)]
Fix space typo in trace for unknown distribution (#901)

3 years agoBuild profiles and swtiches continued (#896)
Fabien Chouteau [Tue, 21 Dec 2021 12:36:07 +0000 (13:36 +0100)]
Build profiles and swtiches continued (#896)

* Alire.Properties.Build_Profiles: renames build-profile to build-profiles

* Alr.Commands.Build: add build profile switches

* Alire.Utils.Switches: add ffunction-sections and fdata-sections to all optim

* Document build profiles and switches

* Typo

* Typo

4 years agoBuild profiles and switches system (#895)
Fabien Chouteau [Mon, 13 Dec 2021 17:31:15 +0000 (18:31 +0100)]
Build profiles and switches system (#895)

* Build profiles prototype

* Build_profile in manifest

* First version of build_switches support

* Alire.Properties.Build_Switches: migrate code from Alire.Utils

* Alr.Commands.Init: don't generate lockfile and config files

These files are difficult to write "by hand" as the features evolve.
They will be generated as soon as the users builds/update/with the crate.

* testsuite: add tests for the build profile system

* Alr.Commands.Init: change object dir based on build profile

* Rename build profile TOML keys

* Alire.Utils.Switches: remove style switch not available in GNAT 9

4 years agoAlire.Crate_Configuration: Generate Pure and Preelaborate Ada package (#894)
Fabien Chouteau [Fri, 10 Dec 2021 13:16:13 +0000 (14:16 +0100)]
Alire.Crate_Configuration: Generate Pure and Preelaborate Ada package (#894)

* Alire.Crate_Configuration: Genrate Pure and Preelaborate Ada package

So the config package can be withed by any other package.

* Update alire-crate_configuration.adb

4 years agoBump version for 1.1.1 bugfix release (#883)
Alejandro R Mosteo [Tue, 26 Oct 2021 09:00:42 +0000 (11:00 +0200)]
Bump version for 1.1.1 bugfix release (#883)

4 years agoDon't err when unsetting a non-existing config key (#884)
Alejandro R Mosteo [Tue, 26 Oct 2021 08:59:53 +0000 (10:59 +0200)]
Don't err when unsetting a non-existing config key (#884)

4 years agoFix unintended side-effect of latest merge
Alejandro R. Mosteo [Fri, 15 Oct 2021 10:53:53 +0000 (12:53 +0200)]
Fix unintended side-effect of latest merge

4 years agoMerge branch 'alire/release/1.1' into master
Alejandro R. Mosteo [Wed, 13 Oct 2021 13:40:24 +0000 (15:40 +0200)]
Merge branch 'alire/release/1.1' into master

4 years agoTest case for bug #875 (virtual crate environment) (#878)
Alejandro R Mosteo [Tue, 12 Oct 2021 09:13:34 +0000 (11:13 +0200)]
Test case for bug #875 (virtual crate environment) (#878)

* Test case for bug #875 (virtual crate environment)

* Fix for test on Windows

4 years agoAlr.Commands.Init: fix .gitignore for bin crates (#877)
Fabien Chouteau [Wed, 6 Oct 2021 17:45:19 +0000 (19:45 +0200)]
Alr.Commands.Init: fix .gitignore for bin crates (#877)

* Alr.Commands.Init: fix .gitignore for bin crates

* Alr.Commands.Init: fix .gitignore directory patterns

We only want to mach directories at the same level as .gitignore.

4 years agoDo not exit with error on external failed detection (#876)
Alejandro R Mosteo [Tue, 5 Oct 2021 10:10:06 +0000 (12:10 +0200)]
Do not exit with error on external failed detection (#876)

4 years agoMerge 'alire/release/1.1' into 'master'
Alejandro R. Mosteo [Mon, 4 Oct 2021 12:23:13 +0000 (14:23 +0200)]
Merge 'alire/release/1.1' into 'master'

4 years agoBugfix for improper check related to virtual crates (#875)
Alejandro R Mosteo [Mon, 4 Oct 2021 12:15:35 +0000 (14:15 +0200)]
Bugfix for improper check related to virtual crates (#875)

4 years agoAlire.Releases: fix dependencies in YAML output (#867)
Fabien Chouteau [Thu, 30 Sep 2021 15:14:24 +0000 (17:14 +0200)]
Alire.Releases: fix dependencies in YAML output (#867)

4 years agoNew command exec and support of aliases (#853)
Fabien Chouteau [Thu, 30 Sep 2021 15:13:16 +0000 (17:13 +0200)]
New command exec and support of aliases (#853)

* Alr.Commands.Exec: new command to run executables/scripts in the Alire context

* Alr.Commands: add support for aliases

* Alr.Commands: Use CLIC parse before -- option

4 years agoReorder global switches in Default_Test (#871)
Jesper Quorning [Wed, 29 Sep 2021 11:56:24 +0000 (13:56 +0200)]
Reorder global switches in Default_Test (#871)

Global switches must come before command. (#850) (369c7ec).

4 years agoUse Stopwatch for elapsed time image (#870)
Jesper Quorning [Wed, 29 Sep 2021 11:27:07 +0000 (13:27 +0200)]
Use Stopwatch for elapsed time image (#870)

4 years agoEnable and update self-build (#798)
Alejandro R Mosteo [Tue, 28 Sep 2021 16:24:14 +0000 (18:24 +0200)]
Enable and update self-build (#798)

* CI workflow using Alire toolchain and `alr build`

* Sync pins of aaa, clic to match submodules

4 years agoUpdate CLIC dependency to avoid build failure on older GNAT versions (#872)
Fabien Chouteau [Tue, 28 Sep 2021 14:49:40 +0000 (16:49 +0200)]
Update CLIC dependency to avoid build failure on older GNAT versions (#872)

* Update CLIC dependency to avoid build failure on older GNAT versions

* Alr.Commands.Run: remove useless "use all type"

4 years agoBugfix when there is external gnat but not gprbuild (#866)
Alejandro R Mosteo [Wed, 22 Sep 2021 16:05:07 +0000 (18:05 +0200)]
Bugfix when there is external gnat but not gprbuild (#866)

4 years agoBugfix when there is external gnat but not gprbuild (#866)
Alejandro R Mosteo [Wed, 22 Sep 2021 16:05:07 +0000 (18:05 +0200)]
Bugfix when there is external gnat but not gprbuild (#866)

4 years agoDisable assistant on --select <release> (#862)
Alejandro R Mosteo [Tue, 21 Sep 2021 09:17:15 +0000 (11:17 +0200)]
Disable assistant on --select <release> (#862)

4 years agoDisable assistant on --select <release> (#862)
Alejandro R Mosteo [Tue, 21 Sep 2021 09:17:15 +0000 (11:17 +0200)]
Disable assistant on --select <release> (#862)

4 years agoBump version to the next devel version
Alejandro R. Mosteo [Thu, 16 Sep 2021 15:56:31 +0000 (17:56 +0200)]
Bump version to the next devel version

4 years agoMerge remote-tracking branch 'alire/next'
Alejandro R. Mosteo [Thu, 16 Sep 2021 15:48:34 +0000 (17:48 +0200)]
Merge remote-tracking branch 'alire/next'

4 years agoMerge branch 'release/1.1'
Alejandro R. Mosteo [Thu, 16 Sep 2021 15:44:53 +0000 (17:44 +0200)]
Merge branch 'release/1.1'

4 years agoMove the 1.1 marker up to the top of changes
Alejandro R. Mosteo [Thu, 16 Sep 2021 15:02:37 +0000 (17:02 +0200)]
Move the 1.1 marker up to the top of changes

4 years agoBump version for 1.1 release (#856)
Alejandro R Mosteo [Thu, 16 Sep 2021 15:00:14 +0000 (17:00 +0200)]
Bump version for 1.1 release (#856)

* Bump version for 1.1 release

* Switch index branch to stable-1.1

4 years agoMerge up to On_Demand action into release/1.1
Alejandro R. Mosteo [Thu, 16 Sep 2021 14:05:13 +0000 (16:05 +0200)]
Merge up to On_Demand action into release/1.1