1. May 04, 2022
  2. Jan 27, 2022
  3. Oct 26, 2021
  4. Oct 05, 2021
  5. Oct 04, 2021
  6. Sep 23, 2021
  7. Sep 21, 2021
  8. Sep 16, 2021
  9. Sep 15, 2021
  10. Sep 14, 2021
  11. Sep 10, 2021
  12. Sep 09, 2021
    • Fabien Chouteau's avatar
      Alr.Commands.Toolchain: tweak for multiple components and install dir (#822) · 0887c64d
      Fabien Chouteau authored
      * Alr.Commands.Toolchain: tweak for multiple components and install dir
      
      This patch adds support of multiple components and allow
      --disable-assistant with all commands so that it is possible to
      configure all the toolchain stuff in one command:
      $ alr toolchain --select gnat_native gprbuild --disable-assistant
      
      The patch also introduces a --install-dir switch to allow installation
      in any directory. This can be useful for people willing to use the Alire
      toolchain outside of an Alire workflow. It would be better if the root
      dir of the archive (e.g. gprbuild_21.0.0_349f6f95) was skipped so that
      all the tools would be available from <INSTALL_DIR>/bin/.
      
      * tests: increase gnat_native version in fixture index and add more tests
      
      * Alr.Commands.Toolchain: print list only when no command is specified
      
      * tests/toolchain/custom_install_dir: fix paths for Windows and second dir
      
      * Fix PR comments
      0887c64d
  13. Sep 06, 2021
  14. Sep 02, 2021
  15. Sep 01, 2021
    • Fabien Chouteau's avatar
      Extract sub-command handling (alr <command>) (#806) · 2b91cb02
      Fabien Chouteau authored
      * Extract sub-command handling (alr <command>)
      
      The goal of this big refactoring is to extract the handling of
      sub-commands to make it available for other projects.
      
      The SubCommander packages (name open to changes) can be extracted to a
      dedicated crate or to AAA.
      
      There is at least one regression which is the support of -X for alr
      build.
      
      * Alr.Commands.Toolchain: Fix comparison typo from refactoring
      
      * Alr.Commands|SubCommander: Fix exception raise and handling
      
      * Typo
      
      * Address review comments and minor changes
      
      * Another big refactoring on command line handling
      
      The switches are not parsed several times like before.  The global
      switches parsing is done once, the command specific switch parsing is
      done only on the command arguments.
      
      Handling of -X scenario variable switches is now done with regular
      GNAT.Command_Line switch handling.
      
      There is a issue with command arguments that contain spaces, it looks
      like they are split in multiple arguments. I don't know why.
      
      * Fix args filtering
      
      The concatenation of arguments and re-splitting with
      GNAT.OS_Lib.Argument_String_To_List breaks when arguments have
      whitespaces: 'alr' 'show' 'a b c' becomes 'alr 'show' 'a' 'b' 'c'.
      
      * Wrap the GNAT Commnand_Line_Configuration to add required features
      
      This was previously done with a GNAT.Command_Line.Extra package that
      exploited the internals of GNAT.Command_Line.
      
      This is more portable because less exposed to changes in the internals
      of GNAT.Command_Line.
      
      * Rename SubCommander to CLIC.Subcommander and move it to alire/
      
      * Move Alire.Utils.User_Input and Alire.Utils.TTY to CLIC
      
      * Alr.Platforms.Windows: Fix builds
      
      * Import CLIC as submodule
      2b91cb02
    • Alejandro R Mosteo's avatar
      Separate dependency recursion from deployment (#815) · 1b89612c
      Alejandro R Mosteo authored
      * Bump aaa to latest version
      
      * Provide a safe traversal proc for dependencies
      
      Migrate deployment of releases to this call
      1b89612c
  16. Aug 30, 2021
  17. Aug 27, 2021
  18. Aug 26, 2021
  19. Aug 25, 2021
  20. Aug 23, 2021
  21. Aug 19, 2021