-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'alire/master' into doc-parameters
- Loading branch information
Showing
200 changed files
with
2,852 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Checklist** | ||
|
||
- [ ] I've included the output of `alr version`. | ||
- [ ] I've included complete steps to reproduce my issue. | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Run '...' | ||
3. See error | ||
|
||
**Expected Behavior** | ||
Describe what happened and how it deviates from what should have happened, if unclear from the previous steps. | ||
|
||
**`alr` version** | ||
Paste here the output of `alr version`. | ||
|
||
**`alr` logs** | ||
If pertinent, paste the output of `alr -vv -d <your command>` here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: CI Community | ||
# Check proper build using the community edition of the AdaCore toolchain | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'doc/**' | ||
- '**.md' | ||
- '**.rst' | ||
- '**.txt' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build: | ||
name: ce${{matrix.version}} on ${{ matrix.os }} | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false # Attempt to generate as many of them as possible | ||
matrix: | ||
os: | ||
- macos-latest | ||
- ubuntu-latest | ||
- windows-latest | ||
version: | ||
- 2020 | ||
- 2021 | ||
exclude: | ||
- os: macos-latest | ||
version: 2021 # it was never released for macOS | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
# Until some stable alr with `alr install` is available, we cannot rely on | ||
# the alr-install action, as that introduces a circular dependency. If a | ||
# nightly build were to fail, there's no way to do an `alr install` anymore | ||
# TODO: replace with `alr-install` once alr 2.0 is out. | ||
|
||
# We cannot use variable names in the action reference, so we need to make | ||
# them explicit twice | ||
- name: Install Community 2020 toolchain | ||
uses: ada-actions/toolchain@ce2020 | ||
if: ${{ matrix.version == '2020' }} | ||
with: | ||
distrib: community | ||
|
||
- name: Install Community 2021 toolchain | ||
uses: ada-actions/toolchain@ce2021 | ||
if: ${{ matrix.version == '2021' }} | ||
with: | ||
distrib: community | ||
|
||
- name: Install Python 3.x (required for the testsuite) | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Run test script | ||
run: scripts/ci-github.sh | ||
shell: bash | ||
|
||
- name: Upload logs (if failed) | ||
if: failure() | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: e3-log-linux.zip | ||
path: testsuite/out | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: alr-bin-${{ matrix.os }}.zip | ||
path: | | ||
bin/alr* | ||
LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: CI Docker | ||
# Check builds on supported Linux distributions | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Log of breaking changes in index or alr. | ||
|
||
### alr 2.0.0 + index 1.2.2 | ||
|
||
### alr 1.2.2 + index 1.2.1 | ||
|
||
- Unable to load externals containing regex special characters in the system | ||
package name (fixed in #1545). | ||
- Paths in `[environment]` are not converted to the native platform convention. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## Upgrading from 1.x to 2.x | ||
|
||
There are no special preparations to be made in advance to upgrading. However, | ||
please check out the following information. | ||
|
||
### Obsolete large folders | ||
|
||
Changes in default storage locations mean that the following folders, if | ||
existing, can be safely deleted to retrieve disk space: | ||
|
||
- `<userdir>/.cache/alire` | ||
- `<userdir>/.config/alire/cache` | ||
|
||
On Windows, `<userdir>` stands for `%UserProfile%`, whereas for other OSes it | ||
stands for `$HOME`. | ||
|
||
Also, `alr 2.x` defaults to shared builds, meaning that local workspace | ||
caches can also be removed at | ||
|
||
- `<crate>/alire/cache/dependencies` | ||
|
||
### New features in 2.x | ||
|
||
Please find all user-facing changes at our [User Changes log | ||
file](https://github.com/alire-project/alire/blob/master/doc/user-changes.md). | ||
|
||
## Downgrading to an earlier version | ||
|
||
This is not a recommended nor supported operation, as changes in storage of configuration and | ||
other resources may make a downgrade prone to failure. | ||
|
||
If you want to have a fallback to be able to downgrade, you have two safe | ||
options: | ||
|
||
- Use the newer version with its own separate configuration storage. You can override | ||
the default location by providing a new path in the `ALR_CONFIG` environment | ||
variable. | ||
|
||
- Keep a backup of your current configuration at the default location, which is | ||
`.config/alire` within your user's home. You can restore this folder in sync with | ||
its older `alr` version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule aaa
updated
2 files
+17 −0 | src/aaa-containers-indefinite_holders.adb | |
+5 −1 | src/aaa-containers-indefinite_holders.ads |
Submodule si_units
updated
5 files
+0 −6 | alire.lock | |
+6 −4 | alire.toml | |
+6 −1 | si_units.gpr | |
+4 −0 | test/.gitignore | |
+12 −0 | test/alire.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.