1. Aug 25, 2023
  2. Aug 24, 2023
  3. Aug 21, 2023
    • Alejandro R. Mosteo's avatar
      Test of hashing externals · b7e5d113
      Alejandro R. Mosteo authored
      b7e5d113
    • Alejandro R. Mosteo's avatar
      72c7ceff
    • Alejandro R. Mosteo's avatar
      304ecac6
    • Alejandro R. Mosteo's avatar
      Update pins and dependencies · fffb8c0f
      Alejandro R. Mosteo authored
      fffb8c0f
    • Simon Wright's avatar
      MacOS; export PATH variables for includes and libraries. (#1420) · 239ac4e5
      Simon Wright authored
      * MacOS; export PATH variables for includes and libraries.
      
      Homebrew and MacPorts install include files and libraries in places
      where GCC won't look by default.
      
      GCC will use these environment variables if set:
      
         C_INCLUDE_PATH     for C includes
         CPLUS_INCLUDE_PATH for C++ includes
         LIBRARY_PATH       for libraries
      
      Both of the distribution managers place (symbolic links to) include
      files in ${top_level}/include and libraries in ${top_level}/lib.
      
         For Homebrew on Intel silicon, top_level is normally /usr/local.
         For Homebrew on Apple silicon, top_level is normally /opt/homebrew.
         For MacPorts,                  top_level is normally /opt/local
      
        * src/alire/alire-platforms-current.ads (Load_Environment): add note
            on macOS use.
        * src/alire/os_macos/alire-platforms-current__macos.adb
          (context): added Alire.Environment (was limited), Ada.Directories.
          (Brew_Access): new.
          (Homebrew_Present): if Brew_Access is not null.
          (Detected_Distribution): made into an expression function.
          (Containing_Containing_Dir): new, used in Distribution_Root.
          (Distribution_Root): reworked.
          (Load_Environment): if either distribution is present, arrange to
            export the environment variables to suit.
      
      * Update testsuite to match new macOS distribution detection.
      
        * testsuite/drivers/helpers.py (distribution): if on macOS, check whether
            the distribution management tool is on the PATH. We used to check for
            the environment variable HOMEBREW_PREFIX, but users don't have to
            arrange for this to be set in order to run Homebrew.
      
            First, if 'brew' is found, the distribution is Homebrew.
            If not and 'port' is found, the distribution is MacPorts.
            Otherwise, the distribution is unknown.
      
      * In the macOS CI workflow, run the test script once only.
      
        * .github/workflows/ci-macos.yml (Run test script): remove the second
            call, which set up HOMEBREW_PREFIX (now no longer used by alr),
            and remove the note '(without Homebrew)' in the first.
      239ac4e5
    • Alejandro R Mosteo's avatar
      Use build profile in build hash (#1425) · 7b9b4cae
      Alejandro R Mosteo authored
      * Compute hash using build profile
      
      * Fix problem with multiple hashes in one run
      
      Rooted in that default build profiles were used first and later the actual
      profiles caused different folders to be used, in turn causing errors with the
      conflicting CRATE_ALIRE_PREFIX variables.
      
      * Write hash inputs to build dirs
      
      * Testsuite additions and fixes
      
      * Self-review
      
      * Update pins and dependencies
      7b9b4cae
  4. Aug 08, 2023
  5. Aug 06, 2023
  6. Aug 01, 2023
  7. Jul 27, 2023
  8. Jul 25, 2023
  9. Jul 24, 2023
  10. Jul 18, 2023
    • Alejandro R Mosteo's avatar
      `alr publish --status` (#1400) · 2c4e5a39
      Alejandro R Mosteo authored
      * Update doc on publishing to match new behavior
      
      * Retrieve status of opened PRs by the user
      
      Make it so the maximum number of results is returned by github
      
      * Self-review
      2c4e5a39
    • Alejandro R Mosteo's avatar
      a3da766d
    • Simon Wright's avatar
      Support MacPorts as external provider. (#1404) · fa6c67da
      Simon Wright authored
      * src/alire/alire-origins-deployers-system-macports.adb: new.
        * src/alire/alire-origins-deployers-system-macports.ads: new.
        * src/alire/alire-origins-deployers-system.adb
          (context): add Alire.Origins.Deployers.System.Macports.
          (Platform_Deployer): Platforms.Macports => System.Macports.Deployer.
        * src/alire/alire-platforms.ads
          (Distributions): add Macports.
          (Package_Managers): likewise.
          (Distro_Manager): Macports => Macports.
        * src/alire/alire-utils-tools.adb (System_Package_For_Tool): add Macports,
            same as the other distributions.
        * src/alire/os_macos/alire-platforms-current__macos.adb:
          (context): add GNAT.OS_Lib.
          (Port_Access): new, access to Macports' 'port' executable.
          (Macports_Present): new, true if 'port' was found.
          (Detected_Distribution): first, check for Homebrew_Present, then, for
            Macports_Present. Return the corresponding Distribution if found.
      fa6c67da
    • Alejandro R Mosteo's avatar
      Bits from the `alr share` feat to be kept (#1399) · a54e730f
      Alejandro R Mosteo authored
      * Bits from the `alr share` feat to be kept
      
      * Code review changes
      
      * Update CLIC pin
      
      * Use upstream CLIC repository
      a54e730f
  11. Jul 04, 2023
    • Alejandro R Mosteo's avatar
      Improvements to publishing with automatic PR creation (#1398) · 5c17abb0
      Alejandro R Mosteo authored
      * Added --submit switch to `alr publish`
      
      * Forking of community index
      
      * Changes up to pushing the manifest
      
      * PR creation
      
      * Reshaped as steps of the assistant
      
      * Use release-specific branch
      
      * Report PR webpage after creation
      
      * Detect existing conflicting PR
      
      * Minor tweaks (draft mode, texts, busy spinners)
      
      * Documentation
      
      * Allow overriding of community index info
      
      This will allow our testing and help maintainers of other indexes
      
      * Fix temp dir being not absolute
      
      * Fixes for self-build with `alr build`
      
      * Fixes for Windows temp file specifics
      
      * Document all steps more thoroughly
      
      Also use a better name for the new child package.
      
      * Make submission the default after user confirmation
      
      Document this change in behavior and the new `--skip-submit` switch that
      restores the former behavior.
      
      * Default to submit, and add switch not to submit
      5c17abb0
  12. Jun 22, 2023
  13. Jun 02, 2023
  14. May 31, 2023
  15. May 02, 2023
  16. Apr 25, 2023
    • Fabien Chouteau's avatar
      Alr init fixes (#1372) · b35b093c
      Fabien Chouteau authored
      * Alr.Commands.Init: improve error message on tag input validation
      
      * Alr.Commands.Init: fix string escape for generated manifest
      
      * Alr.Commands.Init: add LLVM-exception options and change default
      b35b093c
  17. Apr 21, 2023
  18. Apr 05, 2023
    • Alejandro R Mosteo's avatar
      Remove `alr test --docker` (#1366) · cb61b118
      Alejandro R Mosteo authored
      * Local testing of crates with docker images
      
      WIP: write tests for local+docker default+custom tests
      
      This opens the doors to batch testing on many distros locally
      
      * Test for the use of docker with local `alr test`
      
      * Self-review
      
      * WIP: something funny with the testsuite output
      
      * Remove `alr test --docker`
      
      * Add user changes
      
      * Revert .vscode changes to unclutter PR
      
      * Fix PR number in user changes
      cb61b118
    • Alejandro R Mosteo's avatar
      Config option to globally share dependencies (#1367) · 114e23f5
      Alejandro R Mosteo authored
      * Add config option to override dependencies location
      
      Note that pins are not affected, as those are likely to be conflicting across
      projects.
      
      * Ensure shared deps have a manifest, show in `alr version`
      
      * Test for new shared dependencies
      
      * Force regeneration of config when global dep sharing
      
      * Check that configs are regenerated every time
      114e23f5