]>
_ Git - alire.git/log
Alejandro R Mosteo [Tue, 28 Apr 2020 16:15:11 +0000 (18:15 +0200)]
Ensure the checkout folder is deleted on failure (#363)
Alejandro R Mosteo [Mon, 27 Apr 2020 09:54:52 +0000 (11:54 +0200)]
Minor fixes (#356)
* Remove duplicate method Alire.Releases.Depends
* Add warning about recursive cloning to Readme file
Alejandro R. Mosteo [Sun, 26 Apr 2020 15:11:51 +0000 (17:11 +0200)]
Warn about the --recursive switch in README
Alejandro R. Mosteo [Wed, 8 Apr 2020 12:48:35 +0000 (14:48 +0200)]
Cleanup: remove Alire.Releases.Depends
This abbreviature duplicated Alire.Releases.Dependencies, leading to an ugly
mix of calls with two names.
Alejandro R Mosteo [Mon, 27 Apr 2020 09:09:13 +0000 (11:09 +0200)]
Script to enable completion in bash (#357)
Alejandro R Mosteo [Thu, 23 Apr 2020 09:18:53 +0000 (11:18 +0200)]
Refactor for expected error exit codes (#353)
Alejandro R Mosteo [Tue, 21 Apr 2020 19:25:35 +0000 (21:25 +0200)]
Clearer error msg for system external definition (#351)
Alejandro R Mosteo [Tue, 21 Apr 2020 10:43:14 +0000 (12:43 +0200)]
Don't clear exception error before re-raise (#352)
Also emit tar error, since things are going downhill from there
Alejandro R Mosteo [Thu, 16 Apr 2020 17:58:58 +0000 (19:58 +0200)]
Fix bug where only the first added dependency is recorded (#348)
Alejandro R. Mosteo [Thu, 16 Apr 2020 10:47:11 +0000 (12:47 +0200)]
Testsuite: bugfix check, more than one dependency
Alejandro R. Mosteo [Thu, 16 Apr 2020 10:42:34 +0000 (12:42 +0200)]
Fix check of duplicated dependencies
Alejandro R Mosteo [Wed, 15 Apr 2020 08:47:58 +0000 (10:47 +0200)]
Actually merge msys2 feature into master (#346)
Fabien Chouteau [Fri, 10 Apr 2020 14:11:37 +0000 (16:11 +0200)]
Windows CI: Force the installation for tar in msys2
The tar executable provided by Git install in GitHub Action Windows VM
doesn't seem to work. This patch forces the installation of tar in msys2
which is going to be used first by alr.
Fabien Chouteau [Sat, 4 Apr 2020 17:24:17 +0000 (19:24 +0200)]
Alire.VCSs.Git: git doesn't accept -v
Fabien Chouteau [Sat, 4 Apr 2020 17:15:32 +0000 (19:15 +0200)]
Check for required tools and install from distro
If there is a known distro, and the tool is available, and the user agrees.
Alejandro R Mosteo [Wed, 15 Apr 2020 08:33:17 +0000 (10:33 +0200)]
Windows msys2 support (#336)
Alejandro R Mosteo [Tue, 7 Apr 2020 10:21:37 +0000 (12:21 +0200)]
Show origin kind of dependencies in alr show (#343)
This is optionally available through the new --detail switch.
Fabien Chouteau [Fri, 3 Apr 2020 14:20:29 +0000 (16:20 +0200)]
Alire.Origins.Deployers.System: update user prompt on installation
The user can now:
- Reject installation but continue, can be used to just get sources of
projects
- Accept all system installations (answer: Always)
Fabien Chouteau [Fri, 3 Apr 2020 13:15:35 +0000 (06:15 -0700)]
Alire.Utils.User_Input: flush input before asking question
Fabien Chouteau [Fri, 3 Apr 2020 10:41:27 +0000 (03:41 -0700)]
Alr.Platforms.Windows: use system deployers
Fabien Chouteau [Thu, 2 Apr 2020 18:47:06 +0000 (11:47 -0700)]
Alr.Platforms.Windows: print message for tools installation
Fabien Chouteau [Thu, 2 Apr 2020 18:46:34 +0000 (11:46 -0700)]
Alire.Externals: print message when looking for external
Looking for system package can take some time, it's better to tell the
user that there is something going on.
Fabien Chouteau [Thu, 2 Apr 2020 17:32:23 +0000 (10:32 -0700)]
Alr.Platforms.Windows: do not report user's choice as an error
Fabien Chouteau [Thu, 2 Apr 2020 17:25:17 +0000 (10:25 -0700)]
Alire.Utils.User_Input: use default if stdin is not a TTY
Fabien Chouteau [Thu, 2 Apr 2020 17:06:55 +0000 (10:06 -0700)]
Alr.Platforms.Windows: query the user before installing msys2
Fabien Chouteau [Thu, 2 Apr 2020 17:03:29 +0000 (10:03 -0700)]
Add a package to ask questions to the user on the cmd line
Fabien Chouteau [Thu, 2 Apr 2020 15:07:44 +0000 (08:07 -0700)]
Alire.Origins.Deployers.System.Pacman: change detection of installed packages
Use the pacman -Qqe command to query installed packages.
Fabien Chouteau [Thu, 2 Apr 2020 15:06:12 +0000 (08:06 -0700)]
Alire.Origins.Deployers.System.Pacman: fix version detection
The dash in pacman version is does not correspond to sementic versioning definition.
It is the release number that comes from fixes in the build recipe.
We now ignored it.
Fabien Chouteau [Mon, 30 Mar 2020 11:03:39 +0000 (13:03 +0200)]
Alire.Origins.Deployers.Source_Archive: log tar errors
Fabien Chouteau [Thu, 26 Mar 2020 17:25:16 +0000 (10:25 -0700)]
Alire.Origins.Deployers.Source_Archive: improve error message
Fabien Chouteau [Thu, 26 Mar 2020 16:28:05 +0000 (09:28 -0700)]
Alire.VCSs: remove leading file:// from origin
Some versions of git on Windows do not understand this prefix, and it doesn't seem to be required.
Fabien Chouteau [Wed, 25 Mar 2020 19:14:51 +0000 (12:14 -0700)]
testsuite: add a test for msys2 dependency installation
Fabien Chouteau [Wed, 25 Mar 2020 19:14:01 +0000 (12:14 -0700)]
Alire.Origins.Deployers.Source_Archive: capture error output
To avoid unecessary error messages on the tool output
Fabien Chouteau [Wed, 25 Mar 2020 14:16:50 +0000 (07:16 -0700)]
Switch msys2 setup from archive to installer
Fabien Chouteau [Wed, 25 Mar 2020 13:59:53 +0000 (06:59 -0700)]
Move the archive download code to a re-usable function
Fabien Chouteau [Tue, 24 Mar 2020 17:31:02 +0000 (10:31 -0700)]
Automatically install msys2 in the .cache folder
Fabien Chouteau [Mon, 23 Mar 2020 18:21:43 +0000 (11:21 -0700)]
Remove C from the list of languages in alr.gpr
Fabien Chouteau [Mon, 23 Mar 2020 18:13:34 +0000 (11:13 -0700)]
Add support for the Msys2 Windows distro
So far alr detects if Msys2 is either already in the path or installed in standard location.
In the future we can consider installing Msys2 from alr.
Fabien Chouteau [Mon, 23 Mar 2020 17:52:36 +0000 (10:52 -0700)]
Add support for the Pacman system package manager
Fabien Chouteau [Mon, 23 Mar 2020 17:37:51 +0000 (10:37 -0700)]
Add a Setenv procedure in Alire.OS_Lib
This is a wrapper over GNAT.OS_Lib.Setenv with additional logging.
Alejandro R Mosteo [Fri, 3 Apr 2020 14:35:27 +0000 (16:35 +0200)]
Prevent double add of dependencies (#342)
* Prevent double-adding dependencies
* Testsuite: properly detect double add
Alejandro R Mosteo [Mon, 30 Mar 2020 09:15:51 +0000 (11:15 +0200)]
Don't attempt to detect sys pkgs in unknown distro (#330)
Alejandro R Mosteo [Fri, 20 Mar 2020 18:03:07 +0000 (19:03 +0100)]
--docker opt for `alr test` to containerize builds (#334)
Alejandro R Mosteo [Fri, 20 Mar 2020 17:48:21 +0000 (18:48 +0100)]
Use locale-independent apt/dpkg commands (#333)
Otherwise system package detection is broken with non-English locales
Alejandro R Mosteo [Tue, 17 Mar 2020 09:03:29 +0000 (10:03 +0100)]
Clarify logic+messages when `alr get` system crate (#326)
Alejandro R Mosteo [Tue, 17 Mar 2020 08:54:40 +0000 (09:54 +0100)]
Explicitly exclude png/pdf from EOL detection (#325)
Some of our files in doc/ are misdetected and mangled on checkout
Alejandro R Mosteo [Sat, 7 Mar 2020 18:14:41 +0000 (19:14 +0100)]
Change compile --> build per #258 (#331)
Fixes #299
Alejandro R Mosteo [Wed, 26 Feb 2020 17:00:31 +0000 (18:00 +0100)]
Update documentation with external changes (#322)
The system crates rework done by
ae81cbd introduced a few changes
that were not updated in the docs. Namely, the concept of system
compiler which was lost during the TOML index transition is brought
back so system crates are properly [un]available depending on the
compiler in use.
Alejandro R Mosteo [Wed, 26 Feb 2020 16:58:36 +0000 (17:58 +0100)]
Class diagram (#321)
Alejandro R Mosteo [Wed, 19 Feb 2020 12:10:55 +0000 (13:10 +0100)]
Fix bugs in `alr test` (#324)
* Child output was not logged on Checked_Error
* Regular child failures were reported as errors in `alr test` itself
* Crates without regular releases broke `alr test`
Alejandro R Mosteo [Wed, 19 Feb 2020 11:23:41 +0000 (12:23 +0100)]
Suppress the warning on git detached checkout (#320)
Alejandro R. Mosteo [Tue, 18 Feb 2020 18:01:25 +0000 (19:01 +0100)]
Fix breakage introduced during sys ext refactoring
When making system externals use the regular deploying sequence
forgot to mark the Fetch step as unnecessary
Alejandro R. Mosteo [Tue, 18 Feb 2020 15:13:07 +0000 (16:13 +0100)]
Minor fixes for changes between FSF/CE + other CI
Alejandro R. Mosteo [Tue, 18 Feb 2020 12:46:26 +0000 (13:46 +0100)]
Show custom external hints in `alr show`
Alejandro R. Mosteo [Tue, 18 Feb 2020 12:12:20 +0000 (13:12 +0100)]
Big Native -> System refactoring
Alejandro R. Mosteo [Tue, 18 Feb 2020 10:04:02 +0000 (11:04 +0100)]
More detailed information on externals, +tests
Alejandro R. Mosteo [Tue, 18 Feb 2020 06:23:56 +0000 (07:23 +0100)]
Documentation for system externals
Alejandro R. Mosteo [Mon, 13 Jan 2020 15:04:47 +0000 (16:04 +0100)]
Adjust tests for new natives via externals
Alejandro R. Mosteo [Sun, 19 Jan 2020 21:13:06 +0000 (22:13 +0100)]
Use externals in `get` for more precise feedback
Alejandro R. Mosteo [Wed, 8 Jan 2020 13:07:55 +0000 (14:07 +0100)]
Refactor native functionality out of base Deployer
This way native managers have their own specialized subclass of Deployer.
The base Deployer'Class is now completely free of special conditions for
native packages.
Alejandro R. Mosteo [Wed, 8 Jan 2020 12:51:42 +0000 (13:51 +0100)]
Externals that detect native packages
Minimal tweaks on existing externals are done to allow compilation.
The next commit refactors current functionality by using these changes,
removing native cruft all around in the process.
Alejandro R. Mosteo [Mon, 17 Feb 2020 17:39:22 +0000 (18:39 +0100)]
Documentation for unavailable/hint-only externals
Alejandro R. Mosteo [Sun, 19 Jan 2020 18:06:53 +0000 (19:06 +0100)]
Test for undetected external in alr search
Alejandro R. Mosteo [Wed, 8 Jan 2020 12:17:28 +0000 (13:17 +0100)]
Unindexed externals support
These externals serve to represent a crate that is known to exist,
but is not yet properly packaged in Alire.
Alejandro R. Mosteo [Mon, 17 Feb 2020 17:14:11 +0000 (18:14 +0100)]
Added documentation about version output externals
Alejandro R. Mosteo [Sun, 19 Jan 2020 18:27:29 +0000 (19:27 +0100)]
Tests for external tools
* Proper detection
* Proper use as dependency
Alejandro R. Mosteo [Wed, 8 Jan 2020 12:30:14 +0000 (13:30 +0100)]
Remove compiler-specific enums
With the compiler detected as a external tool, we no longer need
to enumerate all compilers. The matching index includes the external
definitions and dependencies that account for this patch.
Alejandro R. Mosteo [Wed, 8 Jan 2020 12:21:51 +0000 (13:21 +0100)]
Externals that detect tools from version output
Alejandro R. Mosteo [Sun, 9 Feb 2020 12:09:45 +0000 (13:09 +0100)]
Updated docs to describe externals
Alejandro R. Mosteo [Thu, 13 Feb 2020 17:26:40 +0000 (18:26 +0100)]
Add `Hint` property to externals
Alejandro R. Mosteo [Sun, 9 Feb 2020 18:53:01 +0000 (19:53 +0100)]
Add `available` property to externals
Alejandro R. Mosteo [Mon, 13 Jan 2020 14:00:44 +0000 (15:00 +0100)]
Test script and testsuite amendments
Temporarily remove tests for native hinting that are reinstated
in the corresponding native externals patch.
Alejandro R. Mosteo [Wed, 8 Jan 2020 12:11:45 +0000 (13:11 +0100)]
Assorted utility additions for loading externals
Alejandro R. Mosteo [Wed, 8 Jan 2020 12:07:25 +0000 (13:07 +0100)]
Include externals in output of `search` and `show`
Alejandro R. Mosteo [Wed, 8 Jan 2020 11:58:47 +0000 (12:58 +0100)]
Use of externals in solver (Alire.Query)
A separate policy about solving externals is introduced, which requires
minimal changes in places where querying policies are explicit.
Alejandro R. Mosteo [Wed, 8 Jan 2020 11:50:10 +0000 (12:50 +0100)]
Detection of externals on demand in Alire.Index
Alejandro R. Mosteo [Wed, 8 Jan 2020 11:19:48 +0000 (12:19 +0100)]
Base interface for external classes
Fabien Chouteau [Thu, 16 Jan 2020 17:08:50 +0000 (18:08 +0100)]
Replace the alr_build.gpr aggregate project by environment variables
Instead of creating an aggregate project that contains the path to
dependencies' gpr files, and the list of gpr files to build for the
crate. This patch introduce a procedure that sets the GPR_PROJECT_PATH
environment variable and runs gprbuild one time for each of of gpr file
of the crate. Same goes for gprclean.
The keys/values of external scenario variable are also set in the
environment.
This patch also introduces a setenv command that prints the
GPR_PROJECT_PATH and external scenario variable. This can be used to set
a correct build environment before starting an IDE for instance.
Fabien Chouteau [Fri, 24 Jan 2020 10:25:38 +0000 (11:25 +0100)]
Change jekyll output to use the long description
Fabien Chouteau [Thu, 16 Jan 2020 17:40:12 +0000 (18:40 +0100)]
Fix tar option --force-local on Windows
It seems like the --force-local option is not required/available on all
versions of tar for Windows. To handle this situation, we run tar twice.
First with --force-local, and if that fails, we retry without
--force-local.
Alejandro R Mosteo [Tue, 7 Jan 2020 16:42:40 +0000 (17:42 +0100)]
PR #296: Refactor Project to Crate
Alejandro R. Mosteo [Mon, 30 Dec 2019 17:30:04 +0000 (18:30 +0100)]
Various Project refactorings to Crate/Name/Release
Depending on context
Alejandro R. Mosteo [Mon, 30 Dec 2019 14:33:28 +0000 (15:33 +0100)]
Rename Alire.Projects -> Alire.Crates
Alejandro R. Mosteo [Mon, 30 Dec 2019 14:26:29 +0000 (15:26 +0100)]
Rename Alire.Project -> Alire.Crate_Name
Alejandro R Mosteo [Fri, 3 Jan 2020 19:14:02 +0000 (20:14 +0100)]
PR #293: Unify crates/releases/descriptions into Alire.Index
Alejandro R. Mosteo [Tue, 24 Dec 2019 11:24:03 +0000 (12:24 +0100)]
Unify crates/releases/descriptions in index
Alejandro R Mosteo [Fri, 3 Jan 2020 18:57:48 +0000 (19:57 +0100)]
PR #292: Add curl to recommended tools in installer
Alejandro R. Mosteo [Wed, 18 Dec 2019 15:57:59 +0000 (16:57 +0100)]
Add curl to recommended tools
Alejandro R Mosteo [Fri, 3 Jan 2020 18:49:54 +0000 (19:49 +0100)]
PR #291: Debug dump stack trace on Outcome_Failure
Alejandro R. Mosteo [Sun, 29 Dec 2019 19:18:45 +0000 (20:18 +0100)]
Test to verify expected output on Outcome_Failure
Alejandro R. Mosteo [Sun, 29 Dec 2019 19:09:19 +0000 (20:09 +0100)]
Fix tests that failed on new extra stderr output
Alejandro R. Mosteo [Sat, 28 Dec 2019 12:27:48 +0000 (13:27 +0100)]
Debug dump stack trace on Outcome_Failure
When returning an Outcome_Failure, the call context is lost which
may be inconvenient for further debugging. With this patch, the
call stack is dumped at debug level (and optionally to stderr if
-d is in effect).
Simplified a test in Alire.Features.Index that created a spurious
Outcome_Failure.
Alejandro R Mosteo [Fri, 3 Jan 2020 18:38:21 +0000 (19:38 +0100)]
PR #284: Rename and enable `comments` field as `long-description`
Alejandro R. Mosteo [Tue, 17 Dec 2019 13:20:44 +0000 (14:20 +0100)]
Test for valid long descriptions
There was already a test name long-description, but was intended
to test that the short description is not too long. This has been
renamed as too-long-short-description.
Alejandro R. Mosteo [Tue, 17 Dec 2019 13:09:43 +0000 (14:09 +0100)]
Updated documentation to match
Alejandro R. Mosteo [Tue, 17 Dec 2019 12:56:49 +0000 (13:56 +0100)]
Support Long Description as replacement of Comment
Fixes #92
Alejandro R Mosteo [Fri, 3 Jan 2020 18:23:10 +0000 (19:23 +0100)]
PR #274: Support for branches in the index repository
Alejandro R. Mosteo [Wed, 11 Dec 2019 19:02:02 +0000 (20:02 +0100)]
Fix for spurious warning in Debian/Ubuntu GNATs
Alejandro R. Mosteo [Wed, 11 Dec 2019 17:10:10 +0000 (18:10 +0100)]
testsuite: index branch mismatch
Alejandro R. Mosteo [Wed, 11 Dec 2019 17:13:43 +0000 (18:13 +0100)]
Fix index versions in testsuite