Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95932416f0 |
@@ -1,10 +0,0 @@
|
||||
The name of the branch plays a role in the tests run when changes are
|
||||
submitted. For this reason, when modifying the workflows in ./.github, if you
|
||||
want to test them prior to submission, the PR must be tested against a branch that
|
||||
exists also in the `alire-index-checks` repo, e.g., 'stable-1.2' or 'devel-1.2'
|
||||
|
||||
Normally you'll want to use the latest stable or devel branch.
|
||||
|
||||
E.g., if you modify a workflow in the `alire-index` repo and want to test it
|
||||
privately, you can do so in your own account, but using the same `stable-x.x`
|
||||
base branch for your private PR.
|
||||
@@ -1,38 +0,0 @@
|
||||
name: Check Author
|
||||
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detectors.
|
||||
|
||||
- name: Check out alire-index-checks
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
||||
ref: ${{github.base_ref}}
|
||||
path: ${{env.CHECKS_REPO}}
|
||||
|
||||
- name: Set up nightly `alr`
|
||||
uses: alire-project/setup-alire@v2
|
||||
with:
|
||||
version: nightly
|
||||
toolchain: --disable-assistant
|
||||
|
||||
- name: Test authorship
|
||||
run: ${{env.CHECKS_REPO}}/scripts/check-author.sh "${{ github.event.pull_request.user.login }}"
|
||||
shell: bash
|
||||
@@ -0,0 +1,90 @@
|
||||
name: Build Crate
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: ${{ matrix.os }}::${{ matrix.tag }}
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
tag:
|
||||
- centos-latest-community-latest
|
||||
- community-current
|
||||
- debian-stable
|
||||
- ubuntu-lts
|
||||
- ""
|
||||
exclude: # inclusions don't allow to add arrays of values to a scenario
|
||||
- os: ubuntu-latest
|
||||
tag: ""
|
||||
- os: macos-latest
|
||||
tag: centos-latest-community-latest
|
||||
- os: macos-latest
|
||||
tag: community-current
|
||||
- os: macos-latest
|
||||
tag: debian-stable
|
||||
- os: macos-latest
|
||||
tag: ubuntu-lts
|
||||
- os: windows-latest
|
||||
tag: centos-latest-community-latest
|
||||
- os: windows-latest
|
||||
tag: community-current
|
||||
- os: windows-latest
|
||||
tag: debian-stable
|
||||
- os: windows-latest
|
||||
tag: ubuntu-lts
|
||||
|
||||
steps:
|
||||
- name: Check out alire-index
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detectors (in both scripts/gh-build-crate.sh and
|
||||
# check-author action).
|
||||
|
||||
- name: Set up GNAT toolchain (FSF)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: ada-actions/toolchain@dev
|
||||
with:
|
||||
distrib: fsf # faster install?
|
||||
|
||||
- name: Set up GNAT toolchain (Community)
|
||||
if: matrix.os != 'ubuntu-latest'
|
||||
uses: ada-actions/toolchain@dev
|
||||
with:
|
||||
distrib: community
|
||||
|
||||
- name: Set up `alr`
|
||||
uses: mosteo/setup-alire@exp
|
||||
|
||||
- name: Test crate (Linux)
|
||||
if: matrix.os == 'ubuntu-latest' # docker testing only for linuxes
|
||||
uses: mosteo/actions@docker-run/v1
|
||||
with:
|
||||
image: alire/gnat:${{matrix.tag}}
|
||||
command: scripts/gh-build-crate.sh
|
||||
|
||||
- name: Set up msys2 (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: ./alire/bin/alr --non-interactive version
|
||||
|
||||
- name: Install tar from msys2 (Windows) # Git tar in Actions VM does not seem to work)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: C:\Users\runneradmin\.cache\alire\msys64\usr\bin\pacman --noconfirm -S tar
|
||||
|
||||
- name: Test crate (Windows/MacOS)
|
||||
if: matrix.os != 'ubuntu-latest' # native testing in Windows/MacOS
|
||||
run: scripts/gh-build-crate.sh
|
||||
shell: bash
|
||||
@@ -1,70 +0,0 @@
|
||||
# Please read the TESTING file before modifying this file
|
||||
|
||||
name: Build Crate (Distro toolchain)
|
||||
# Build the crate on the platforms with a supported package manager
|
||||
# and using the distro-supplied GNAT compiler (with Alire's FSF fallback).
|
||||
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
ALR_VERSION: 2.0.1
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: ${{ matrix.tag }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- arch-rolling # Arch has its own recent GNAT and pacman
|
||||
- centos-stream-fsf-latest # CentOS is used for unknown package manager
|
||||
- debian-stable # Debian has very good Ada support and apt
|
||||
- fedora-latest # Fedora has its own GNAT and dnf
|
||||
- ubuntu-lts # Ubuntu LTS is a common Debian derivative
|
||||
|
||||
steps:
|
||||
- name: Check out alire-index
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detectors (in both scripts/gh-build-crate.sh and
|
||||
# check-author action).
|
||||
|
||||
- name: Check out alire-index-checks
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
||||
ref: ${{github.base_ref}}
|
||||
path: ${{env.CHECKS_REPO}}
|
||||
|
||||
- name: Set up stable `alr`
|
||||
if: contains(github.base_ref, 'stable-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
toolchain: --disable-assistant # We want to use the external ones in this workflow
|
||||
version: ${{env.ALR_VERSION}}
|
||||
|
||||
- name: Set up devel `alr`
|
||||
if: contains(github.base_ref, 'devel-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
toolchain: --disable-assistant # We want to use the external ones in this workflow
|
||||
branch: master
|
||||
|
||||
- name: Test crate (${{matrix.tag}})
|
||||
uses: mosteo-actions/docker-run@v1
|
||||
with:
|
||||
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
|
||||
command: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
|
||||
params: -v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
|
||||
@@ -1,63 +0,0 @@
|
||||
# Please read the TESTING file before modifying this file
|
||||
|
||||
# When the same index version is used by various stable and devel `alr`
|
||||
# versions, we want to make sure all of them understand the index properly.
|
||||
# Besides, there are
|
||||
|
||||
name: Build Crate (alr dev)
|
||||
# Build the crate with a native toolchain from Alire
|
||||
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
PACMAN: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin\pacman
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: ${{ matrix.os }}
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
|
||||
steps:
|
||||
- name: Check out alire-index
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detectors (in both scripts/gh-build-crate.sh and
|
||||
# check-author action).
|
||||
|
||||
- name: Check out alire-index-checks
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
||||
ref: ${{github.base_ref}}
|
||||
path: ${{env.CHECKS_REPO}}
|
||||
|
||||
- name: Set up devel `alr`
|
||||
uses: alire-project/setup-alire@v2
|
||||
with:
|
||||
branch: 'master'
|
||||
|
||||
- name: Install tar from msys2 (Windows) # Git tar in Actions VM does not seem to work)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: ${{env.PACMAN}} --noconfirm -S tar
|
||||
|
||||
- name: Test crate
|
||||
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
|
||||
shell: bash
|
||||
@@ -1,69 +0,0 @@
|
||||
# Please read the TESTING file before modifying this file
|
||||
|
||||
name: Build Crate (Alire toolchain)
|
||||
# Build the crate with a native toolchain from Alire
|
||||
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
ALR_VERSION: 2.0.1
|
||||
PACMAN: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin\pacman
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: ${{ matrix.os }}
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
|
||||
steps:
|
||||
- name: Check out alire-index
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detectors (in both scripts/gh-build-crate.sh and
|
||||
# check-author action).
|
||||
|
||||
- name: Check out alire-index-checks
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
||||
ref: ${{github.base_ref}}
|
||||
path: ${{env.CHECKS_REPO}}
|
||||
|
||||
# By default, this also sets up the newest indexed native toolchain
|
||||
- name: Set up stable `alr`
|
||||
if: contains(github.base_ref, 'stable-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
version: ${{env.ALR_VERSION}}
|
||||
|
||||
# By default, this also sets up the newest indexed native toolchain
|
||||
- name: Set up devel `alr`
|
||||
if: contains(github.base_ref, 'devel-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
branch: 'master'
|
||||
|
||||
- name: Install tar from msys2 (Windows) # Git tar in Actions VM does not seem to work)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: ${{env.PACMAN}} --noconfirm -S tar
|
||||
|
||||
- name: Test crate
|
||||
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
|
||||
shell: bash
|
||||
@@ -1,62 +0,0 @@
|
||||
# Please read the TESTING file before modifying this file
|
||||
|
||||
# Specific workflow for MacPorts, as we need to disable Brew for this to work
|
||||
# so it's difficult to use the other standard workflows.
|
||||
|
||||
name: Build Crate (MacPorts)
|
||||
# Build the crate with a native toolchain from Alire
|
||||
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: ${{ matrix.os }}
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
|
||||
steps:
|
||||
- name: Check out alire-index
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detectors (in both scripts/gh-build-crate.sh and
|
||||
# check-author action).
|
||||
|
||||
- name: Check out alire-index-checks
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
||||
ref: ${{github.base_ref}}
|
||||
path: ${{env.CHECKS_REPO}}
|
||||
|
||||
- name: Set up devel `alr`
|
||||
uses: alire-project/setup-alire@v2
|
||||
with:
|
||||
branch: 'master'
|
||||
|
||||
- name: Disable Homebrew
|
||||
run: rm -f $(which brew)
|
||||
shell: bash
|
||||
|
||||
- name: Install Ports
|
||||
uses: melusina-org/setup-macports@v1
|
||||
|
||||
- name: Test crate
|
||||
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
|
||||
shell: bash
|
||||
@@ -1,35 +0,0 @@
|
||||
name: Check Index
|
||||
|
||||
env:
|
||||
ALR_VERSION: 2.0.1
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Set up stable `alr`
|
||||
if: contains(github.base_ref, 'stable-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
version: ${{env.ALR_VERSION}}
|
||||
|
||||
- name: Set up devel `alr`
|
||||
if: contains(github.base_ref, 'devel-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
branch: master
|
||||
|
||||
- run: alr index --list
|
||||
|
||||
- run: alr index --add=. --name=local_index
|
||||
|
||||
# Check index contents for unknown config variables
|
||||
- run: alr index --check
|
||||
|
||||
- run: alr index --update-all
|
||||
|
||||
- run: alr search --crates
|
||||
@@ -1,19 +0,0 @@
|
||||
name: 'Close stale PRs'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '11 1 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v7
|
||||
with:
|
||||
debug-only : false # Set to true to work in dry-run mode
|
||||
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
|
||||
close-pr-message: 'This PR was closed because it has been stalled for 90 days with no activity.'
|
||||
days-before-stale: 60
|
||||
days-before-close: 30
|
||||
@@ -1,56 +0,0 @@
|
||||
# Please read the TESTING file before modifying this file
|
||||
|
||||
# Show differences between the submitted manifest and the previous
|
||||
# release of the same crate, to enable easier catching of problems
|
||||
|
||||
name: Diff release
|
||||
|
||||
env:
|
||||
CHECKS_ORG: alire-project
|
||||
CHECKS_REPO: alire-index-checks
|
||||
ALR_VERSION: 2.0.1
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'index/**.toml'
|
||||
|
||||
jobs:
|
||||
|
||||
DIFF:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out alire-index
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Needed to be able to diff and obtain changed files. Furthermore, we
|
||||
# need the full history or else grafted partial branches confuse the
|
||||
# changed files detector
|
||||
|
||||
- name: Check out alire-index-checks
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
||||
ref: ${{github.base_ref}}
|
||||
path: ${{env.CHECKS_REPO}}
|
||||
|
||||
- name: Set up stable `alr`
|
||||
if: contains(github.base_ref, 'stable-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
toolchain: --disable-assistant # We don't need the compiler
|
||||
version: ${{env.ALR_VERSION}}
|
||||
|
||||
- name: Set up devel `alr`
|
||||
if: contains(github.base_ref, 'devel-')
|
||||
uses: alire-project/setup-alire@v3
|
||||
with:
|
||||
toolchain: --disable-assistant # We don't need the compiler
|
||||
branch: master
|
||||
|
||||
- name: <<DIFF RELEASES>>
|
||||
run: ${{env.CHECKS_REPO}}/scripts/diff-release.sh || true # No deal breaker if failed
|
||||
shell: bash
|
||||
@@ -0,0 +1,15 @@
|
||||
name: Check PR
|
||||
on: pull_request
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: alire-project/check-author@master
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: alire-project/setup-alire@dev
|
||||
- run: alr index --list
|
||||
- run: alr index --add=. --name=local_index
|
||||
- run: alr index --update-all
|
||||
- run: alr list
|
||||
@@ -1,7 +0,0 @@
|
||||
# Changes to the index format that require versioning
|
||||
|
||||
## 1.2
|
||||
|
||||
- Build profiles and switches.
|
||||
- New `subdir` property in git remotes.
|
||||
- New `host-arch` key for case expressions.
|
||||
+58
-7
@@ -1,10 +1,61 @@
|
||||
Thanks for your interest in the Alire project. Please find more information at
|
||||
one of these sources:
|
||||
Thanks for your interest in the Alire project. Here are some pointers for effective contributions.
|
||||
|
||||
- Main repository (development version): https://github.com/alire-project/alire
|
||||
- Website (stable release information): https://alire.ada.dev
|
||||
- Live discussion: https://gitter.im/ada-lang/Alire
|
||||
# Contributing crates
|
||||
|
||||
Concretely, the documentation about submission of releases is found at
|
||||
The process for submitting a new crate or release is currently manual, although automated support through the `alr publish` command is in the roadmap.
|
||||
The sequence of steps to take is described after some introductory concepts;
|
||||
you can also ask for help in the [gitter channel](https://gitter.im/ada-lang/Alire) of the project.
|
||||
|
||||
- https://alire.ada.dev/docs/#publishing-your-projects-in-alire
|
||||
## General concepts
|
||||
|
||||
The community index is a collection of [TOML](https://github.com/toml-lang/toml)
|
||||
files stored in the [alire-index](https://github.com/alire-project/alire-index) repository,
|
||||
under the [index](https://github.com/alire-project/alire-index/blob/master/index) directory.
|
||||
Each file is named after the crate it contains.
|
||||
A crate contains the description of a project, with other metadata,
|
||||
and the list of available releases (identified by their
|
||||
[semantic version](https://semver.org/)).
|
||||
|
||||
The complete specification of such TOML files is available in this [document](https://github.com/alire-project/alire/blob/master/doc/catalog-format-spec.md).
|
||||
|
||||
## New crates and releases
|
||||
|
||||
Contributing a new crate is achieved through a pull-request against the index repository,
|
||||
in which the TOML file for the crate must be provided. Similarly, a new release is published by
|
||||
submitting a pull-request with the necessary modifications to the crate file.
|
||||
|
||||
### Index branches
|
||||
|
||||
The community index is supported through two kinds of branches:
|
||||
|
||||
- `stable-x.x.x` branches are used by stable versions of `alr`.
|
||||
- `devel-x.x.x` branches are used to introduce breaking changes in the index format, during the development of `alr`.
|
||||
|
||||
Your `alr` version knows which branch to use, so you do not need to manually select one. However, when submitting crates/releases as pull requests, you must decide to which branch they will be added: selecting the latest stable branch results in the release becoming immediately available to the latest stable `alr`. Conversely, using the latest development branch will make the releases available for testing by unstable clients, and will become generally available with the next stable release of `alr`.
|
||||
|
||||
Note that, as of this writing (Dec 2019), only development branches exist, until the first stable release of `alr` is made.
|
||||
|
||||
## Checks on contributions
|
||||
|
||||
Each crate is "owned" by a list of maintainers, provided with the `maintainers-logins` property of the crate file. After the initial submission, which will be manually approved (see the [POLICY](https://github.com/alire-project/alire-index/blob/master/POLICY.md) for details), the maintainers of a crate are the only people allowed to submit new releases or metadata modifications to the corresponding crate file.
|
||||
|
||||
# Detailed steps
|
||||
|
||||
These steps describe how to submit a new crate. They are essentially the same for submitting a new release (in the latter case, the existing crate file must be edited instead of created).
|
||||
|
||||
|
||||
1. Prepare a source archive (zip, tar) with the release sources and project files.
|
||||
1. This archive **must not** contain the `alire` directory generated by `alr` in working directories. The `alire` directory is designed to be put in your VCS ignore list.
|
||||
1. The archive **must** contain a single directory (name not important) containing, in turn, the sources. This is the kind of archives automatically generated by GitHub, GitLab, Sourceforge... or through `git archive`.
|
||||
1. Compute an integrity hash for the archive with `alr publish --hash <URL>`
|
||||
1. The URL can be remote or local (`file://`), although using the final online file is recommended.
|
||||
1. The final online file should be immutable. Note that online autogenerated archives can be found currently in the index, but should be avoided whenever possible (because of lack of immutability guarantees, see [this conversation](https://github.community/t5/How-to-use-Git-and-GitHub/Ensuring-identical-tarballs-from-releases/m-p/34196/highlight/true#M8997)). In the future, `alr publish` will offer support to generate and upload such files more conveniently.
|
||||
1. Fill the crate file providing all the necessary information (`[general]` section), dependencies (`depends-on`) and possibly excluded platforms (`available`). See, for example, the [hello world](https://github.com/alire-project/alire-index/blob/master/index/he/hello.toml) crate, or the [empty skeleton](https://github.com/alire-project/alire-index/blob/master/templates/skeleton.toml) template.
|
||||
1. Place the crate file in the appropriate directory of your locally checked out index repository, and create a new pull request. The detailed substeps are the usual for submitting contributions in GitHub:
|
||||
1. Fork the community index to your GitHub account.
|
||||
1. Clone your fork locally and make the changes locally.
|
||||
1. Commit and push the changes to your fork.
|
||||
1. Create the pull request from your fork against the community repository through the GitHub web interface (or the [`hub`](https://github.com/github/hub) tool).
|
||||
1. The base branch you select for the pull request will determine where your changes will become available; see the section on index branches for details.
|
||||
|
||||
Once the pull request is verified and merged, the new crate or release will become available for normal use. The open source Ada ecosystem needs all the help it can get, so happy contributing!
|
||||
|
||||
@@ -1,13 +1,23 @@
|
||||
# Alire Community Index
|
||||
# Alire Catalog
|
||||
|
||||
[](https://gitter.im/ada-lang/Alire)
|
||||
|
||||
This repository hosts the official community-maintained index to be used with the `alr` tool.
|
||||
This repository hosts the official community-maintained index of Ada projects
|
||||
to be used with the `alr` tool. Please visit
|
||||
https://github.com/alire-project/alire to download `alr`.
|
||||
|
||||
Please visit https://github.com/alire-project/alire to download `alr`.
|
||||
## Contributing crates to the index
|
||||
|
||||
Please open a pull request to submit a new release (read
|
||||
further [here](https://alire.ada.dev/docs/#publishing-your-projects-in-alire)
|
||||
about it).
|
||||
Please check the information in the [CONTRIBUTING.md](CONTRIBUTING.md) file.
|
||||
|
||||
To report an issue, open it at https://github.com/alire-project/alire/issues
|
||||
## TODO
|
||||
|
||||
Here are sources of projects that might be interesting to add to this index:
|
||||
|
||||
* [awesome-ada](https://github.com/ohenley/awesome-ada) (Top notch!)
|
||||
* [GitHub projects, sorted by star
|
||||
count](https://github.com/search?o=desc&l=Ada&q=ada&s=stars&type=Repositories)
|
||||
* [AdaIC's Free Tools and
|
||||
Libraries](http://www.adaic.org/ada-resources/tools-libraries/)
|
||||
* [Libraries in the Ada Programming
|
||||
WikiBook](https://en.wikibooks.org/wiki/Ada_Programming/Libraries)
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
name = "libstdcpp"
|
||||
description = "libraries for statically linking with c++ - development files"
|
||||
maintainers = ["Jan <janv@uic.edu>"]
|
||||
maintainers-logins = ["janverschelde"]
|
||||
[[external]]
|
||||
kind = "system"
|
||||
[external.origin."case(distribution)"]
|
||||
"fedora" = ["libstdc++-static"]
|
||||
@@ -1,9 +0,0 @@
|
||||
Crates that require some future feature or bugfix.
|
||||
|
||||
The versions under this folder are future index versions.
|
||||
|
||||
## Future crates
|
||||
|
||||
- `libstdcpp`: requires a bugfix in alr 2.0 for package names in rpm-based
|
||||
distros that contain characters that have special meanings in regexes (like
|
||||
the '+' in `libstdc++-static`
|
||||
@@ -2,7 +2,7 @@ description = "Alex's Ada Assortment (of miscellaneous utilities)"
|
||||
name = "aaa"
|
||||
version = "0.1.0"
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
licenses = ["LGPL 3.0"]
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
name = "aaa"
|
||||
version = "0.2.1"
|
||||
description = "Alex's Ada Assortment (of miscellaneous utilities)"
|
||||
|
||||
long-description = """
|
||||
Alex's Ada Assortment of Utilities
|
||||
|
||||
- Text formatting (paragraphs, tables).
|
||||
- Indefinite containers.
|
||||
- Enumeration validity/conversions of string images.
|
||||
- On-demand stack backtraces.
|
||||
- String vectors.
|
||||
- Simple subprocess spawning.
|
||||
"""
|
||||
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
tags = ["miscellanea", "utility"]
|
||||
website = "https://github.com/mosteo/aaa"
|
||||
|
||||
[origin]
|
||||
commit = "103f0d1954aa1181542baa939bae44ca98bff05f"
|
||||
url = "git+https://github.com/mosteo/aaa.git"
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
name = "aaa"
|
||||
version = "0.2.3"
|
||||
description = "Alex's Ada Assortment (of miscellaneous utilities)"
|
||||
|
||||
long-description = """
|
||||
Alex's Ada Assortment of Utilities
|
||||
|
||||
- Text formatting (paragraphs, tables).
|
||||
- Indefinite containers.
|
||||
- Enumeration validity/conversions of string images.
|
||||
- On-demand stack backtraces.
|
||||
- String vectors.
|
||||
- Simple subprocess spawning.
|
||||
- Write-through minimal cache for objects stored in files
|
||||
"""
|
||||
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
tags = ["miscellanea", "utility"]
|
||||
website = "https://github.com/mosteo/aaa"
|
||||
|
||||
[origin]
|
||||
commit = "12201a008c07e6ef0e4f21d327c941bed97d7166"
|
||||
url = "git+https://github.com/mosteo/aaa.git"
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
name = "aaa"
|
||||
version = "0.2.4"
|
||||
description = "Alex's Ada Assortment (of miscellaneous utilities)"
|
||||
|
||||
long-description = """
|
||||
Alex's Ada Assortment of Utilities
|
||||
|
||||
- Text formatting (paragraphs, tables).
|
||||
- Indefinite containers.
|
||||
- Enumeration validity/conversions of string images.
|
||||
- On-demand stack backtraces.
|
||||
- String containers and utilities.
|
||||
- Simple subprocess spawning.
|
||||
- Write-through minimal cache for objects stored in files
|
||||
"""
|
||||
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
tags = ["miscellanea", "utility"]
|
||||
website = "https://github.com/mosteo/aaa"
|
||||
|
||||
[origin]
|
||||
commit = "19e75e3e16c493df35913b8acc486b5d047875bf"
|
||||
url = "git+https://github.com/mosteo/aaa.git"
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
name = "aaa"
|
||||
version = "0.2.5"
|
||||
description = "Alex's Ada Assortment (of miscellaneous utilities)"
|
||||
|
||||
long-description = """
|
||||
Alex's Ada Assortment of Utilities
|
||||
|
||||
- Text formatting (paragraphs, tables).
|
||||
- Indefinite containers.
|
||||
- Enumeration validity/conversions of string images.
|
||||
- On-demand stack backtraces.
|
||||
- String containers and utilities.
|
||||
- Simple subprocess spawning.
|
||||
- Write-through minimal cache for objects stored in files
|
||||
"""
|
||||
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
tags = ["miscellanea", "utility"]
|
||||
website = "https://github.com/mosteo/aaa"
|
||||
|
||||
[origin]
|
||||
commit = "521a8669cf8dbd0eeb71d22d2634421265d52f62"
|
||||
url = "git+https://github.com/mosteo/aaa.git"
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
name = "aaa"
|
||||
version = "0.2.6"
|
||||
description = "Alex's Ada Assortment (of miscellaneous utilities)"
|
||||
|
||||
long-description = """
|
||||
Alex's Ada Assortment of Utilities
|
||||
|
||||
- Text formatting (paragraphs, tables).
|
||||
- Indefinite containers.
|
||||
- Enumeration validity/conversions of string images.
|
||||
- On-demand stack backtraces.
|
||||
- String containers and utilities.
|
||||
- Simple subprocess spawning.
|
||||
- Write-through minimal cache for objects stored in files
|
||||
"""
|
||||
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
tags = ["miscellanea", "utility"]
|
||||
website = "https://github.com/mosteo/aaa"
|
||||
|
||||
[origin]
|
||||
commit = "dfd6339b556c5537dbbb34ed2c72cc3f5c277a58"
|
||||
url = "git+https://github.com/mosteo/aaa.git"
|
||||
|
||||
@@ -11,7 +11,7 @@ maintainers = ["Nicolai Ruckel <nicolai.ruckel@uni-weimar.de>"]
|
||||
maintainers-logins = [
|
||||
"NicolaiRuckel", "medsec"
|
||||
]
|
||||
licenses = "GPL-3.0-only"
|
||||
licenses = ["GPL 3.0"]
|
||||
project-files = ["ada_fuse.gpr"]
|
||||
|
||||
[gpr-externals]
|
||||
|
||||
@@ -11,7 +11,7 @@ maintainers = ["Nicolai Ruckel <nicolai.ruckel@uni-weimar.de>"]
|
||||
maintainers-logins = [
|
||||
"NicolaiRuckel", "medsec"
|
||||
]
|
||||
licenses = "GPL-3.0-only"
|
||||
licenses = ["GPL 3.0"]
|
||||
project-files = ["ada_fuse.gpr"]
|
||||
|
||||
[gpr-externals]
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
description = "An implementation of the Microsoft's Language Server Protocol for Ada"
|
||||
name = "ada_language_server"
|
||||
version = "22.0.0"
|
||||
website = "https://github.com/AdaCore/ada_language_server"
|
||||
authors = ["AdaCore"]
|
||||
licenses = "GPL-3.0-only"
|
||||
maintainers = ["Maxim Reznik <reznikmm@gmail.com>"]
|
||||
maintainers-logins = ["reznikmm"]
|
||||
project-files = ["gnat/lsp_server.gpr"]
|
||||
tags = ["lsp", "vscode"]
|
||||
|
||||
[gpr-set-externals]
|
||||
LIBRARY_TYPE = "static"
|
||||
|
||||
[environment]
|
||||
ADA_PROJECT_PATH.set= "${CRATE_ROOT}/subprojects/stubs"
|
||||
|
||||
[[depends-on]]
|
||||
libadalang = "22.0.0"
|
||||
vss = "22.0.0"
|
||||
libadalang_tools = "22.0.0"
|
||||
spawn = "22.0.0"
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/AdaCore/ada_language_server/archive/refs/tags/v22.0.0.tar.gz"
|
||||
archive-name = "als-22.0.0.tar.gz"
|
||||
hashes = ["sha512:ef4bdf41315aad09750e85521657aefaaee419739aac4dec6e182691b8b5282face19481a113e710f7c4b21f6e6f51296d1872aaf5c1c3ab19b6774d142c021c"]
|
||||
@@ -1,33 +0,0 @@
|
||||
description = "An implementation of the Microsoft's Language Server Protocol for Ada"
|
||||
name = "ada_language_server"
|
||||
version = "23.0.0"
|
||||
website = "https://github.com/AdaCore/ada_language_server"
|
||||
authors = ["AdaCore"]
|
||||
licenses = "GPL-3.0-only"
|
||||
maintainers = ["Maxim Reznik <reznikmm@gmail.com>"]
|
||||
maintainers-logins = ["reznikmm"]
|
||||
project-files = ["gnat/lsp_server.gpr"]
|
||||
tags = ["lsp", "vscode"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
ADA_PROJECT_PATH.set= "${CRATE_ROOT}/subprojects/stubs"
|
||||
|
||||
# Drop libgpr2 dependency (not used in the code for now).
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["sed", "-i", "-e/gpr2/s/^/-- /", "gnat/lsp_server.gpr"]
|
||||
|
||||
[[depends-on]]
|
||||
gnatcoll = "23.0.0"
|
||||
libadalang = "23.0.0"
|
||||
libadalang_tools = "23.0.0"
|
||||
libgnatdoc = "23.0.0"
|
||||
vss = "23.0.0"
|
||||
|
||||
[origin]
|
||||
archive-name = "ada_language_server-23.0.0.tar.gz"
|
||||
url = "https://github.com/AdaCore/ada_language_server/archive/refs/tags/v23.0.0.tar.gz"
|
||||
hashes = ["sha512:66f2e7fb138ae4b474e1c024e20292e76ad644d89236edf032c686939e27478e572b5fff4820d38906ad731a5294ddfd1191941bc84c39cbfe425894691cd23b"]
|
||||
@@ -1,17 +0,0 @@
|
||||
name = "ada_lua"
|
||||
description = "An Ada binding for lua"
|
||||
version = "0.1.0"
|
||||
authors = ["Nicolas Roche <roche@adacore.com>"]
|
||||
maintainers = ["Nicolas Roche <roche@adacore.com>"]
|
||||
maintainers-logins = ["Nikokrock", "Fabien-Chouteau"]
|
||||
website = "https://github.com/adacore/ada-lua"
|
||||
licenses = "GPL-3.0-or-later WITH GCC-exception-3.1"
|
||||
tags = ["lua", "binding", "script"]
|
||||
|
||||
[[depends-on]]
|
||||
liblua = "~5.3"
|
||||
|
||||
[origin]
|
||||
commit = "0aa4afc28577adf5106d6bd13bed6a086b6e9a8c"
|
||||
url = "git+https://github.com/AdaCore/ada-lua.git"
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "ada_pretty"
|
||||
version = "1.0.0"
|
||||
website = "https://github.com/reznikmm/ada-pretty/"
|
||||
authors = ["Maxim Reznik"]
|
||||
licenses = "MIT"
|
||||
licenses = ["MIT"]
|
||||
maintainers = ["Maxim Reznik <reznikmm@gmail.com>"]
|
||||
maintainers-logins = ["reznikmm"]
|
||||
project-files = ["gnat/ada_pretty.gpr"]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
description = "TOML parser for Ada"
|
||||
description = "TOML parser for Ada "
|
||||
name = "ada_toml"
|
||||
version = "0.1.0"
|
||||
authors = ["AdaCore", "Pierre-Marie de Rodat <pmderodat@kawie.fr>"]
|
||||
licenses = "BSD-3-Clause"
|
||||
licenses = ["BSD 3-Clauses"]
|
||||
maintainers = ["pmderodat@kawie.fr"]
|
||||
maintainers-logins = ["pmderodat"]
|
||||
project-files = ["ada_toml.gpr"]
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
description = "TOML parser for Ada"
|
||||
name = "ada_toml"
|
||||
version = "0.2.0"
|
||||
authors = ["AdaCore", "Pierre-Marie de Rodat <pmderodat@kawie.fr>"]
|
||||
licenses = "BSD-3-Clause"
|
||||
maintainers = ["pmderodat@kawie.fr"]
|
||||
maintainers-logins = ["pmderodat"]
|
||||
project-files = ["ada_toml.gpr"]
|
||||
|
||||
[gpr-externals]
|
||||
ADA_TOML_BUILD_MODE = ["dev", "prod"]
|
||||
LIBRARY_TYPE = ["static", "relocatable", "static-pic"]
|
||||
|
||||
[gpr-set-externals]
|
||||
ADA_TOML_BUILD_MODE = "prod"
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/pmderodat/ada-toml/archive/v0.2.tar.gz"
|
||||
hashes = ["sha512:f07de4871e633e1be0fd757daa5996dd8ea2d56eae44bbf27358518b58b6cd47274c9d1686fe669da4c464baf5122c707f9990cfdef7fa8c0b9504558e85dbcb"]
|
||||
@@ -1,110 +0,0 @@
|
||||
description = "TOML parser for Ada"
|
||||
name = "ada_toml"
|
||||
version = "0.3.0"
|
||||
authors = ["AdaCore", "Pierre-Marie de Rodat <pmderodat@kawie.fr>"]
|
||||
licenses = "BSD-3-Clause"
|
||||
maintainers = ["pmderodat@kawie.fr"]
|
||||
maintainers-logins = ["pmderodat"]
|
||||
project-files = ["ada_toml.gpr"]
|
||||
long-description = """
|
||||
ada-toml: TOML parser for Ada
|
||||
=============================
|
||||
|
||||
`ada-toml` is a pure Ada library for parsing and creating
|
||||
[TOML](https://github.com/toml-lang/toml#toml) documents. It conforms to the
|
||||
[version 1.0.0](https://toml.io/en/v1.0.0) of the format standard.
|
||||
|
||||
|
||||
Quick tutorial
|
||||
--------------
|
||||
|
||||
All basic types and subprograms are in the `TOML` package. All "nodes" in a
|
||||
TOML documents are materialized using the `TOML.TOML_Value` type. Since TOML
|
||||
values make up a tree, this type has reference semantics. This means that
|
||||
modifying a TOML node does not modify the corresponding `TOML_Value` value
|
||||
itself, but rather the TOML value that is referenced.
|
||||
|
||||
Parsing a TOML file is as easy as using the `TOML.File_IO.Load_File` function:
|
||||
|
||||
```ada
|
||||
declare
|
||||
Result : constant TOML.Read_Result :=
|
||||
TOML.File_IO.Load_File ("config.toml");
|
||||
begin
|
||||
if Result.Success then
|
||||
Ada.Text_IO.Put_Line ("config.toml loaded with success!");
|
||||
else
|
||||
Ada.Text_IO.Put_Line ("error while loading config.toml:");
|
||||
Ada.Text_IO.Put_Line
|
||||
(Ada.Strings.Unbounded.To_String (Result.Message));
|
||||
end if;
|
||||
end;
|
||||
```
|
||||
|
||||
Each TOML value has kind, defining which data it contains (a boolean, an
|
||||
integer, a string, a table, ...). To each kind, one or several primitives are
|
||||
associated to let one process the underlying data:
|
||||
|
||||
```ada
|
||||
case Result.Kind is
|
||||
when TOML.TOML_Boolean =>
|
||||
Ada.Text_IO.Put_Line ("Boolean: " & Result.As_Boolean'Image);
|
||||
|
||||
when TOML.TOML_Integer =>
|
||||
Ada.Text_IO.Put_Line ("Boolean: " & Result.As_Integer'Image);
|
||||
|
||||
when TOML.TOML_String =>
|
||||
Ada.Text_IO.Put_Line ("Boolean: " & Result.As_String);
|
||||
|
||||
when TOML.TOML_Array =>
|
||||
Ada.Text_IO.Put_Line ("Array of " & Result.Length & " elements");
|
||||
|
||||
when others =>
|
||||
null;
|
||||
end case;
|
||||
```
|
||||
|
||||
There are also primitives to build TOML values:
|
||||
|
||||
```ada
|
||||
declare
|
||||
Bool : constant TOML.TOML_Value := TOML.Create_Boolean (False);
|
||||
Int : constant TOML.TOML_Value := TOML.Create_Integer (10);
|
||||
Str : constant TOML.TOML_Value := TOML.Create_String ("Hello, world");
|
||||
|
||||
Table : constant TOML.TOML_Value := TOML.Create_Table;
|
||||
begin
|
||||
Table.Set ("bool_field", Bool);
|
||||
Table.Set ("int_field", Int);
|
||||
Table.Set ("str_field", Str);
|
||||
end;
|
||||
```
|
||||
|
||||
And finally one can turn a tree of TOML nodes back in text form:
|
||||
|
||||
```ada
|
||||
Ada.Text_IO.Put_Line ("TOML document:");
|
||||
Ada.Text_IO.Put_Line (Table.Dump_As_String);
|
||||
```
|
||||
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
The development of `ada-toml` happens on
|
||||
[GitHub](https://github.com/pmderodat/ada-toml). Everyone is welcome to
|
||||
contribute to this project: please read our [contribution
|
||||
rules](https://github.com/pmderodat/ada-toml/tree/master/CONTRIBUTING.rst) if
|
||||
you consider doing so.
|
||||
"""
|
||||
|
||||
[gpr-externals]
|
||||
ADA_TOML_BUILD_MODE = ["dev", "prod"]
|
||||
LIBRARY_TYPE = ["static", "relocatable", "static-pic"]
|
||||
|
||||
[gpr-set-externals]
|
||||
ADA_TOML_BUILD_MODE = "prod"
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/pmderodat/ada-toml/archive/v0.3.tar.gz"
|
||||
hashes = ["sha512:862d230bf28c393243b01425b259a2fd5d1cf33d3da521eea5f5533691efb46cd3fa335941bcd768b5da635896737b5ee51cbd593d84df58785db6d4c836afd2"]
|
||||
@@ -1,107 +0,0 @@
|
||||
description = "TOML parser for Ada"
|
||||
name = "ada_toml"
|
||||
version = "0.4.0"
|
||||
authors = ["AdaCore", "Pierre-Marie de Rodat <pmderodat@kawie.fr>"]
|
||||
licenses = "BSD-3-Clause"
|
||||
maintainers = ["pmderodat@kawie.fr"]
|
||||
maintainers-logins = ["pmderodat"]
|
||||
project-files = ["ada_toml.gpr"]
|
||||
long-description = """
|
||||
ada-toml: TOML parser for Ada
|
||||
=============================
|
||||
|
||||
`ada-toml` is a pure Ada library for parsing and creating
|
||||
[TOML](https://github.com/toml-lang/toml#toml) documents. It conforms to the
|
||||
[version 1.0.0](https://toml.io/en/v1.0.0) of the format standard.
|
||||
|
||||
|
||||
Quick tutorial
|
||||
--------------
|
||||
|
||||
All basic types and subprograms are in the `TOML` package. All "nodes" in a
|
||||
TOML documents are materialized using the `TOML.TOML_Value` type. Since TOML
|
||||
values make up a tree, this type has reference semantics. This means that
|
||||
modifying a TOML node does not modify the corresponding `TOML_Value` value
|
||||
itself, but rather the TOML value that is referenced.
|
||||
|
||||
Parsing a TOML file is as easy as using the `TOML.File_IO.Load_File` function:
|
||||
|
||||
```ada
|
||||
declare
|
||||
Result : constant TOML.Read_Result :=
|
||||
TOML.File_IO.Load_File ("config.toml");
|
||||
begin
|
||||
if Result.Success then
|
||||
Ada.Text_IO.Put_Line ("config.toml loaded with success!");
|
||||
else
|
||||
Ada.Text_IO.Put_Line ("error while loading config.toml:");
|
||||
Ada.Text_IO.Put_Line
|
||||
(Ada.Strings.Unbounded.To_String (Result.Message));
|
||||
end if;
|
||||
end;
|
||||
```
|
||||
|
||||
Each TOML value has kind, defining which data it contains (a boolean, an
|
||||
integer, a string, a table, ...). To each kind, one or several primitives are
|
||||
associated to let one process the underlying data:
|
||||
|
||||
```ada
|
||||
case Result.Kind is
|
||||
when TOML.TOML_Boolean =>
|
||||
Ada.Text_IO.Put_Line ("Boolean: " & Result.As_Boolean'Image);
|
||||
|
||||
when TOML.TOML_Integer =>
|
||||
Ada.Text_IO.Put_Line ("Boolean: " & Result.As_Integer'Image);
|
||||
|
||||
when TOML.TOML_String =>
|
||||
Ada.Text_IO.Put_Line ("Boolean: " & Result.As_String);
|
||||
|
||||
when TOML.TOML_Array =>
|
||||
Ada.Text_IO.Put_Line ("Array of " & Result.Length & " elements");
|
||||
|
||||
when others =>
|
||||
null;
|
||||
end case;
|
||||
```
|
||||
|
||||
There are also primitives to build TOML values:
|
||||
|
||||
```ada
|
||||
declare
|
||||
Bool : constant TOML.TOML_Value := TOML.Create_Boolean (False);
|
||||
Int : constant TOML.TOML_Value := TOML.Create_Integer (10);
|
||||
Str : constant TOML.TOML_Value := TOML.Create_String ("Hello, world");
|
||||
|
||||
Table : constant TOML.TOML_Value := TOML.Create_Table;
|
||||
begin
|
||||
Table.Set ("bool_field", Bool);
|
||||
Table.Set ("int_field", Int);
|
||||
Table.Set ("str_field", Str);
|
||||
end;
|
||||
```
|
||||
|
||||
And finally one can turn a tree of TOML nodes back in text form:
|
||||
|
||||
```ada
|
||||
Ada.Text_IO.Put_Line ("TOML document:");
|
||||
Ada.Text_IO.Put_Line (Table.Dump_As_String);
|
||||
```
|
||||
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
The development of `ada-toml` happens on
|
||||
[GitHub](https://github.com/pmderodat/ada-toml). Everyone is welcome to
|
||||
contribute to this project: please read our [contribution
|
||||
rules](https://github.com/pmderodat/ada-toml/tree/master/CONTRIBUTING.rst) if
|
||||
you consider doing so.
|
||||
"""
|
||||
|
||||
[gpr-externals]
|
||||
ADA_TOML_BUILD_MODE = ["dev", "prod"]
|
||||
LIBRARY_TYPE = ["static", "relocatable", "static-pic"]
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/pmderodat/ada-toml/archive/v0.4.tar.gz"
|
||||
hashes = ["sha512:3f3dd0de717da00a7dfd9982bb19bfb2dd372e02c23deca91329fa11fcfd077b8292e48a2fcfd23d15aef1e8ee9542cda286af1bbb2d6ac1325f7dfe91e0808c"]
|
||||
@@ -2,7 +2,7 @@ description = "Voxel Space render engine demo in Ada"
|
||||
name = "ada_voxel_space_demo"
|
||||
version = "1.0.0"
|
||||
executables = ["main"]
|
||||
licenses = "MIT"
|
||||
licenses = ["MIT"]
|
||||
maintainers = ["fabien.chouteau@gmail.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
project-files = ["ada_voxel_space_demo.gpr"]
|
||||
|
||||
@@ -2,7 +2,7 @@ description = "Voxel Space render engine demo in Ada"
|
||||
name = "ada_voxel_space_demo"
|
||||
version = "1.0.1"
|
||||
executables = ["main"]
|
||||
licenses = "MIT"
|
||||
licenses = ["MIT"]
|
||||
maintainers = ["fabien.chouteau@gmail.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
project-files = ["ada_voxel_space_demo.gpr"]
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.0.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^21.0.0" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "159c2547f3a059d83a183ca70b75fee572f7fbaf"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.0.1"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^21.0.0" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "a31a416c1f09e59ab1d1ab0b132aca225c66be48"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.1.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^21.0.0" # This line was added by `alr with`
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aaa = "~0.2.3" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "974b587bf8ec5c41eaaeedf9d4d7837685e05910"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.2.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^21.0.0" # This line was added by `alr with`
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aaa = "~0.2.3" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "f8238a936790440248d7ef34914851fdde3ae5a5"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.3.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^23.0.0" # This line was added by `alr with`
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aaa = "~0.2.3" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "944adbafc42efda42580914c0e6401c8ca75612c"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.4.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^23.0.0" # This line was added by `alr with`
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aaa = "~0.2.3" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "b9152d12fd8d300675a9ef890579e248d9103e73"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.5.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aws = "^23.0.0" # This line was added by `alr with`
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
aaa = "~0.2.3" # This line was added by `alr with`
|
||||
|
||||
[origin]
|
||||
commit = "9e7476c4179c521af72968f78ef0001e7edd4b6e"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.6.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]]
|
||||
utilada_curl = "^2.5.0"
|
||||
|
||||
[[depends-on]]
|
||||
json = "^5.0.3"
|
||||
|
||||
[origin]
|
||||
commit = "7751e12fa799497aa77e9bd498c84c3c5debedf7"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.7.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]]
|
||||
utilada_curl = "^2.5.0"
|
||||
|
||||
[[depends-on]]
|
||||
json = "^5.0.3"
|
||||
|
||||
[origin]
|
||||
commit = "4c954ded573cf4da27660541422c5058b5404e40"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.8.0"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]]
|
||||
utilada_curl = "^2.5.0"
|
||||
|
||||
[[depends-on]]
|
||||
json = "^5.0.3"
|
||||
|
||||
[origin]
|
||||
commit = "b67ad2b7b9120382b358066eb16ad515a0cb3e35"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name = "adabots"
|
||||
description = "Learn Ada by programming Minecraft robots"
|
||||
version = "1.8.1"
|
||||
|
||||
authors = ["Tama McGlinn"]
|
||||
maintainers = ["Tama McGlinn <t.mcglinn@gmail.com>"]
|
||||
maintainers-logins = ["TamaMcGlinn"]
|
||||
|
||||
licenses = "MIT"
|
||||
project-files = ["adabots.gpr"]
|
||||
tags = ["learn", "ada", "minecraft", "computercraft", "robots", "teach", "children"]
|
||||
|
||||
[[depends-on]]
|
||||
utilada_curl = "^2.5.0"
|
||||
|
||||
[[depends-on]]
|
||||
json = "^5.0.3"
|
||||
|
||||
[origin]
|
||||
commit = "d1ac6d8bdb748d7e5422d9e589cc5227ceae1308"
|
||||
url = "git+https://github.com/TamaMcGlinn/AdaBots.git"
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the following functionality is migrated to Ada 2022:
|
||||
|
||||
* getopt commandline argument parser
|
||||
* string utilities
|
||||
* trace utility
|
||||
* reference counted smart pointer
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and terstsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.10.2"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "command-line", "trace", "logging", "string", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "Yes"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
[[actions]]
|
||||
type = "test"
|
||||
command = ["alr", "run"]
|
||||
directory = "test"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:1761f656b6299c7891c1711ef8c202a0b7feae3e213ec5debc7c3103d1ca6671",
|
||||
"sha512:bc9fe050eb19cd3e790bba9cf397d6719174fa619fe9ec37239506ac48843594e96013dcdc493b9be349085420a4d8e823eedd05b518cc8777bd65117de4eeac",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.10.2.tgz"
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the following functionality is migrated to Ada 2022:
|
||||
|
||||
* getopt commandline argument parser
|
||||
* string utilities
|
||||
* trace utility
|
||||
* reference counted smart pointer
|
||||
* AUnit compatible informative asserts
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and terstsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.11.0"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "command-line", "trace", "logging", "string", "aunit", "assert", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "Yes"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
[[actions]]
|
||||
type = "test"
|
||||
command = ["alr", "run"]
|
||||
directory = "test"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:7c6cc9fae92f76612da81c8cca7f23aa1c6df65205b8228d7d86ef101dae995e",
|
||||
"sha512:97ecd23ae5da5de7be5899a727333bfd2f67c272f628f7e80d5b2dbf4ca6734ded1d44dafe5ec8796245f4646201d31b16ed132d5f9e6e946766e9c452fe97ee",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.11.0.tgz"
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the following functionality is migrated to Ada 2022:
|
||||
|
||||
* getopt commandline argument parser
|
||||
* string utilities
|
||||
* trace utility
|
||||
* reference counted smart pointer
|
||||
* AUnit compatible informative asserts
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and testsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.12.0"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "command-line", "trace", "logging", "string", "aunit", "assert", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "Yes"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
[[actions]]
|
||||
type = "test"
|
||||
command = ["alr", "run"]
|
||||
directory = "test"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:1c234e74c42b3023082b59974d959c4bb94f21ea02332db6b4a008016dcb2ac1",
|
||||
"sha512:b9ba3c03a3fe03e6accf0559b9f2852205fa4cfea867f8607435ee4f85e2a5e4669a75a02fe6ccd44c990ebaad7fa1e17f23f23ceb42d9a41c6038f3c3202f51",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.12.0.tgz"
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the following functionality is migrated to Ada 2022:
|
||||
|
||||
* Getopt commandline argument parser
|
||||
* String utilities
|
||||
* Trace utility
|
||||
* Smart pointer
|
||||
* Reference counted
|
||||
* Unique pointer
|
||||
* Shared pointer
|
||||
* AUnit compatible informative asserts
|
||||
|
||||
See [GNATdoc](https://adacl.sourceforge.net/gnatdoc/adacl/index.html) for details.
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and testsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.13.1"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "command-line", "trace", "logging", "string", "aunit", "assert", "container", "smart-pointer", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "Yes"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
[[actions]]
|
||||
type = "test"
|
||||
command = ["alr", "run"]
|
||||
directory = "test"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:1885411ea7cc34b5209042fb2a6603a868ba1960d1bcc5fb7e080f77169d3ecc",
|
||||
"sha512:23c60fa315303c201440c678bced549b01ba4956cea8720ef3080da01ae1c88303a22e8cc73bf5287c7998a5111030f6aab697538c7d503950fd1acef2951fc6",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.13.1.tgz"
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the following functionality is migrated to Ada 2022:
|
||||
|
||||
* Getopt commandline argument parser
|
||||
* String utilities
|
||||
* Trace utility
|
||||
* Smart pointer
|
||||
* Reference counted
|
||||
* Unique pointer
|
||||
* Shared pointer
|
||||
* AUnit compatible informative asserts
|
||||
* generic for arrays types
|
||||
* generic for discrete types
|
||||
* generic for access types
|
||||
|
||||
See [GNATdoc](https://adacl.sourceforge.net/gnatdoc/adacl/index.html) for details.
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and testsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.14.1"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "command-line", "trace", "logging", "string", "aunit", "assert", "container", "smart-pointer", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "No"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
[[actions]]
|
||||
type = "test"
|
||||
command = ["alr", "run"]
|
||||
directory = "test"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:1dbfe8a30ed63f212c124b7f48779035900d9cf681dbe68e972ca4a976b10978",
|
||||
"sha512:ae85814739c2511066ce69132fb8d5a7cc4f60915c7007b3d2dd3f465887afffe27e3acd572140adc7f2f7da6e8bcbb579933c9e19572c062ffacc8c26b8e710",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.14.1.tgz"
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the following functionality is migrated to Ada 2022:
|
||||
|
||||
* Getopt commandline argument parser
|
||||
* String utilities
|
||||
* Trace utility
|
||||
* Smart pointer
|
||||
* Reference counted
|
||||
* Unique pointer
|
||||
* Shared pointer
|
||||
* AUnit compatible informative asserts
|
||||
* generic for arrays types
|
||||
* generic for discrete types
|
||||
* generic for access types
|
||||
|
||||
See [GNATdoc](https://adacl.sourceforge.net/gnatdoc/adacl/index.html) for details.
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and testsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.15.1"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "command-line", "trace", "logging", "string", "aunit", "assert", "container", "smart-pointer", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "No"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
[[actions]]
|
||||
type = "test"
|
||||
command = ["alr", "run"]
|
||||
directory = "test"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:e7c1515b7e3f32706c8b3eb2c577d78bba4cbc767b037a9a660c98d0311651f0",
|
||||
"sha512:2a2edad6b848fdca6c752a7b5cd2fc9248ebf67bd02e98d32178aa62cb2760a72e8062d4398f6ed2edbf7d278a3fde0a482f26e78ba53c48b3d995d81168964c",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.15.1.tgz"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
version = "5.9.4"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "commandline", "trace"]
|
||||
|
||||
[build-switches]
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:0e3709926ca7d90aeec4dcefe3e6a2ba7fc7f8993d119e21b15866da848eb647",
|
||||
"sha512:38116cb6be784a351688c93408c473a19009c8b44ff77b954230d8e6d80fd3d9d6b190efe9c4d9af6c1689749890ae72b16886b0b2d05a405e40c04dc3a9e09e",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.9.4.tgz"
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """
|
||||
A class library for Ada for those who like OO programming. Currently the
|
||||
commandline argument parser, the string utilities and the trace utility has
|
||||
been ported from the old Ada95 code.
|
||||
|
||||
Development versions available with:
|
||||
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
"""
|
||||
version = "5.9.8"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "commandline", "trace", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
# gnatdoc = "<=23.0.0"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:d8361cca85d3886a535bcb59daaeb6ffa6a3d15b7c22b2032e3ca6282916790b",
|
||||
"sha512:091be7918f6e367324c392e38f9591b8589b3ff75fc57f17784a34eefe7d8743e2ae0ecc180bdddc6e2841c66c89e05b9bc075942a449fc901dee8850719ea38",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.9.8.tgz"
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
name = "adacl"
|
||||
description = "Ada Class Library"
|
||||
long-description = """A class library for Ada for those who like OO programming.
|
||||
|
||||
Currently the commandline argument parser, the string utilities and the trace utility has
|
||||
been ported from the old Ada95 code.
|
||||
|
||||
Development versions and testsuite available using the follwowing index:
|
||||
|
||||
```sh
|
||||
alr index --add "git+https://github.com/krischik/alire-index.git#develop" --name krischik
|
||||
```
|
||||
|
||||
Source code and terstsuite available on [SourceForge](https://git.code.sf.net/p/adacl/git)
|
||||
"""
|
||||
version = "5.9.9"
|
||||
licenses = "GPL-3.0-or-later"
|
||||
authors = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers = ["Martin Krischik <krischik@users.sourceforge.net>"]
|
||||
maintainers-logins = ["krischik"]
|
||||
website = "https://sourceforge.net/projects/adacl/"
|
||||
tags = ["library", "commandline", "trace", "ada2022"]
|
||||
|
||||
[build-switches]
|
||||
development.runtime_checks = "Overflow"
|
||||
release.runtime_checks = "Default"
|
||||
validation.runtime_checks = "Everything"
|
||||
development.contracts = "Yes"
|
||||
release.contracts = "Yes"
|
||||
validation.contracts = "Yes"
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
|
||||
# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
|
||||
# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff :
|
||||
# vim: set spell spelllang=en_gb :
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:fb6d502705520f48cc6f01fe199cb7273d9c839b1e42bb7793ef5b4e08b10f72",
|
||||
"sha512:42dfbdcc9e848a5d1dfd34f55f1fc3e480c7f6e012a200f7dbe913b6ad450d1513ee1d15532911c0be28a9e8743fc4b5ca63a91df4b0b6dea328784481c16532",
|
||||
]
|
||||
url = "https://sourceforge.net/projects/adacl/files/Alire/adacl-5.9.9.tgz"
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
name = "adasat"
|
||||
description = "Implementation of a DPLL-based SAT solver in Ada."
|
||||
long-description = """
|
||||
Main features:
|
||||
|
||||
- [X] Conflict analysis and backjumping
|
||||
- [X] Two-watched literals scheme
|
||||
- [X] Built-in support for At-Most-One constraints
|
||||
- [X] Custom theories
|
||||
"""
|
||||
version = "24.0.0"
|
||||
website = "https://github.com/AdaCore/adasat"
|
||||
authors = ["AdaCore"]
|
||||
licenses = "Apache-2.0 WITH LLVM-exception"
|
||||
maintainers = ["chouteau@adacore.com"]
|
||||
maintainers-logins = ["chouteau", "roldak"]
|
||||
tags = ["sat", "solver", "theories"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
url="https://github.com/adacore/adasat/archive/v24.0.0/adasat-24.0.0.zip"
|
||||
hashes=['sha512:46db8c9a613e49551a7cb35593320b5a4eb11309c0d0b112f6ef391ac5ccb1c8b234906535f4010d2b3a563740a031b0ec5da6c2318758439bb43798ecaf83fd']
|
||||
@@ -3,7 +3,7 @@ name = "adayaml"
|
||||
version = "0.2.0"
|
||||
website = "https://ada.yaml.io/"
|
||||
authors = ["Felix Krause"]
|
||||
licenses = "MIT"
|
||||
licenses = ["MIT"]
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
project-files = ["yaml.gpr", "yaml-utils.gpr"]
|
||||
|
||||
@@ -4,7 +4,7 @@ version = "0.3.0"
|
||||
website = "https://ada.yaml.io/"
|
||||
authors = ["Felix Krause"]
|
||||
executables = ["yaml-server"]
|
||||
licenses = "MIT"
|
||||
licenses = ["MIT"]
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
project-files = ["yaml.gpr", "yaml-utils.gpr", "yaml-annotation_processor.gpr", "yaml-server.gpr"]
|
||||
|
||||
@@ -13,7 +13,7 @@ Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo.
|
||||
|
||||
name = "adl_middleware"
|
||||
version = "0.1.0"
|
||||
licenses = "BSD-3-Clause"
|
||||
licenses = ["BSD 3-Clauses"]
|
||||
authors=["AdaCore"]
|
||||
website="https://github.com/AdaCore/Ada_Drivers_Library/"
|
||||
maintainers = ["chouteau@adacore.com"]
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
description = "Middleware layer of the Ada Drivers Library project"
|
||||
long-description = '''# adl_middleware
|
||||
|
||||
Middleware layer of the Ada Drivers Library project.
|
||||
|
||||
This crate is a snapshot of the `middleware` of [Ada Drivers
|
||||
Library](https://github.com/AdaCore/Ada_Drivers_Library/tree/master/middleware).
|
||||
|
||||
Any bug report, issue, contribution must be adressed to the [Ada Drivers
|
||||
Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo.
|
||||
|
||||
'''
|
||||
|
||||
name = "adl_middleware"
|
||||
version = "0.1.1"
|
||||
licenses = "BSD-3-Clause"
|
||||
authors=["AdaCore"]
|
||||
website="https://github.com/AdaCore/Ada_Drivers_Library/"
|
||||
maintainers = ["chouteau@adacore.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
project-files = ["adl_middleware.gpr"]
|
||||
tags = ["embedded", "nostd", "fat", "bitmap"]
|
||||
|
||||
[[depends-on]]
|
||||
hal = "^0.1.0"
|
||||
|
||||
[origin]
|
||||
commit = "67cf6a092008a918709d7855ab69e32fe2b6065b"
|
||||
url = "git+https://github.com/Fabien-Chouteau/adl-middleware.git"
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
description = "Middleware layer of the Ada Drivers Library project"
|
||||
long-description = '''# adl_middleware
|
||||
|
||||
Middleware layer of the Ada Drivers Library project.
|
||||
|
||||
This crate is a snapshot of the `middleware` of [Ada Drivers
|
||||
Library](https://github.com/AdaCore/Ada_Drivers_Library/tree/master/middleware).
|
||||
|
||||
Any bug report, issue, contribution must be adressed to the [Ada Drivers
|
||||
Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo.
|
||||
|
||||
'''
|
||||
|
||||
name = "adl_middleware"
|
||||
version = "0.2.0"
|
||||
licenses = "BSD-3-Clause"
|
||||
authors=["AdaCore"]
|
||||
website="https://github.com/AdaCore/Ada_Drivers_Library/"
|
||||
maintainers = ["chouteau@adacore.com"]
|
||||
maintainers-logins = ["Fabien-Chouteau"]
|
||||
project-files = ["adl_middleware.gpr"]
|
||||
tags = ["embedded", "nostd", "fat", "bitmap"]
|
||||
|
||||
[[depends-on]]
|
||||
hal = "~0.3.0"
|
||||
|
||||
[build-switches]
|
||||
"*".style_checks = "no"
|
||||
|
||||
[configuration.variables]
|
||||
Max_Mount_Points = {type = "integer", first = 1, default = 2}
|
||||
Max_Mount_Name_Length = {type = "integer", first = 1, default = 128}
|
||||
Max_Path_Length = {type = "integer", first = 1, default = 1024}
|
||||
|
||||
[origin]
|
||||
commit = "623c69130b33accb028f94ad43fd911990c1181d"
|
||||
url = "git+https://github.com/Fabien-Chouteau/adl-middleware.git"
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
name = "admpfr"
|
||||
version = "4.1.0+20220920"
|
||||
|
||||
description = "Ada bindings for MPFR"
|
||||
website = "https://github.com/thvnx/admpfr"
|
||||
tags = ["mpfr", "floating-point", "bindings"]
|
||||
|
||||
licenses = "GPL-3.0-only"
|
||||
|
||||
authors = ["Laurent Thévenoux"]
|
||||
maintainers = ["Laurent Thévenoux <laurent@thevenoux.net>"]
|
||||
maintainers-logins = ["thvnx"]
|
||||
|
||||
[available.'case(os)']
|
||||
linux = true
|
||||
macos = true
|
||||
windows = true
|
||||
'...' = false
|
||||
|
||||
[[depends-on]]
|
||||
gnat = ">=12 & <2000"
|
||||
libmpfr = "^4.1.0"
|
||||
|
||||
[origin]
|
||||
url = "https://github.com/thvnx/admpfr/archive/refs/tags/4.1.0+20220920.tar.gz"
|
||||
hashes = ["sha512:4c55f40a4180094255b278dc3aec1c62c897918207985a467198a297ca62ba1d1b41a6a8897e859f7b9b4c40d2092c97413ddbf356bb47adc561229ef2326502"]
|
||||
@@ -1,7 +1,7 @@
|
||||
description = "Ada Database Objects (Core library)"
|
||||
name = "ado"
|
||||
version = "2.0.0"
|
||||
licenses = "Apache-2.0"
|
||||
licenses = ["Apache 2.0"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/ado.gpr"]
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
description = "Ada Database Objects (Core library)"
|
||||
tags = ["database", "uml", "sql"]
|
||||
name = "ado"
|
||||
version = "2.3.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/ado.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://codecov.io/gh/stcarrez/ada-ado)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
Ada Database Objects is an Ada05 library that provides
|
||||
object relational mapping to access a database in Ada05.
|
||||
The library supports Postgresql, MySQL, SQLite as databases.
|
||||
Most of the concepts developped for ADO come from the Java Hibernate ORM.
|
||||
|
||||
The ORM uses an YAML, XML mapping file or an UML model, a code generator and a runtime library
|
||||
for the implementation. It provides a database driver for [Postgresql](https://www.postgresql.org/),
|
||||
[MySQL](https://www.mysql.com/) and [SQLite](https://www.sqlite.org/). The ORM helps your
|
||||
application by providing a mapping of your database tables directly in the target programming
|
||||
language: Ada05 in our case. The development process is the following:
|
||||
|
||||
* You design your database model either using a UML tool or by writing a YAML or XML description,
|
||||
* You generate the Ada05 mapping files by using the [Dynamo](https://github.com/stcarrez/dynamo) code generator,
|
||||
* You generate the SQL database tables by using the same tool,
|
||||
* You write your application on top of the generated code that gives you direct and simplified access to your database.
|
||||
|
||||

|
||||
|
||||
You need at least one of these databases (or all of then). The configure script will now
|
||||
fail if no supported database was found. Check the [Database Drivers](#database-drivers)
|
||||
section to install them and run the configure again after the installation.
|
||||
|
||||
# Documentation
|
||||
|
||||
* [Ada Database Objects Programmer's Guide](https://ada-ado.readthedocs.io/en/latest/)
|
||||
* [Persistence with Ada Database Objects](https://fr.slideshare.net/StephaneCarrez1/persistence-with-ada-database-objects-ado) FOSDEM 2019
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
utilada = "^2.5.0"
|
||||
utilada_xml = "^2.5.0"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "a59fa70f33f842a76bbe68bfcdc97ada1add756c"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
description = "Ada Database Objects (Core library)"
|
||||
tags = ["database", "uml", "sql"]
|
||||
name = "ado"
|
||||
version = "2.4.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/ado.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/xunits)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
Ada Database Objects is an Ada05 library that provides
|
||||
object relational mapping to access a database in Ada05.
|
||||
The library supports Postgresql, MySQL, SQLite as databases.
|
||||
Most of the concepts developped for ADO come from the Java Hibernate ORM.
|
||||
|
||||
The ORM uses an YAML, XML mapping file or an UML model, a code generator and a runtime library
|
||||
for the implementation. It provides a database driver for [Postgresql](https://www.postgresql.org/),
|
||||
[MySQL](https://www.mysql.com/) and [SQLite](https://www.sqlite.org/). The ORM helps your
|
||||
application by providing a mapping of your database tables directly in the target programming
|
||||
language: Ada05 in our case. The development process is the following:
|
||||
|
||||
* You design your database model either using a UML tool or by writing a YAML or XML description,
|
||||
* You generate the Ada05 mapping files by using the [Dynamo](https://github.com/stcarrez/dynamo) code generator,
|
||||
* You generate the SQL database tables by using the same tool,
|
||||
* You write your application on top of the generated code that gives you direct and simplified access to your database.
|
||||
|
||||

|
||||
|
||||
You need at least one of these databases (or all of then). The configure script will now
|
||||
fail if no supported database was found. Check the [Database Drivers](#database-drivers)
|
||||
section to install them and run the configure again after the installation.
|
||||
|
||||
# Documentation
|
||||
|
||||
* [Ada Database Objects Programmer's Guide](https://ada-ado.readthedocs.io/en/latest/)
|
||||
* [Persistence with Ada Database Objects](https://fr.slideshare.net/StephaneCarrez1/persistence-with-ada-database-objects-ado) FOSDEM 2019
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
utilada = "^2.6.0"
|
||||
utilada_xml = "^2.6.0"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
ADO_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "de4b3c955a9afc50c9ec5ad64c79ae32032718bf"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
description = "Ada Database Objects (All drivers)"
|
||||
tags = ["database", "uml", "sql", "mysql", "mariadb", "sqlite", "postgresql"]
|
||||
name = "ado_all"
|
||||
version = "2.3.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/all/ado_all.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://codecov.io/gh/stcarrez/ada-ado)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the MySQL driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado_postgresql = "^2.3.0"
|
||||
ado_sqlite = "^2.3.0"
|
||||
ado_mysql = "^2.3.0"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["gnatprep", "-DHAVE_MYSQL=True", "-DHAVE_SQLITE=True", "-DHAVE_POSTGRESQL=True",
|
||||
"src/drivers/ado-drivers-initialize.gpb",
|
||||
"src/drivers/ado-drivers-initialize.adb"
|
||||
]
|
||||
|
||||
[origin]
|
||||
commit = "a59fa70f33f842a76bbe68bfcdc97ada1add756c"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
description = "Ada Database Objects (All drivers)"
|
||||
tags = ["database", "uml", "sql", "mysql", "mariadb", "sqlite", "postgresql"]
|
||||
name = "ado_all"
|
||||
version = "2.4.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["ado_all.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/xunits)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This crate give access to the PostgreSQL, MySQL and SQLite drivers for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado_postgresql = "^2.4.0"
|
||||
ado_sqlite = "^2.4.0"
|
||||
ado_mysql = "^2.4.0"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["gnatprep", "-DHAVE_MYSQL=True", "-DHAVE_SQLITE=True", "-DHAVE_POSTGRESQL=True",
|
||||
"../../src/drivers/ado-drivers-initialize.gpb",
|
||||
"../../src/drivers/ado-drivers-initialize.adb"
|
||||
]
|
||||
|
||||
[origin]
|
||||
commit = "de4b3c955a9afc50c9ec5ad64c79ae32032718bf"
|
||||
subdir = "./.alire/all/"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
description = "Ada Database Objects (Mysql)"
|
||||
tags = ["database", "uml", "sql", "mysql", "mariadb"]
|
||||
name = "ado_mysql"
|
||||
version = "2.3.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/mysql/ado_mysql.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://codecov.io/gh/stcarrez/ada-ado)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the MySQL driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado = "^2.3.0"
|
||||
libmariadb = "*"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "a59fa70f33f842a76bbe68bfcdc97ada1add756c"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
description = "Ada Database Objects (Mysql)"
|
||||
tags = ["database", "uml", "sql", "mysql", "mariadb"]
|
||||
name = "ado_mysql"
|
||||
version = "2.4.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["ado_mysql.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/xunits)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the MySQL driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado = "^2.4.0"
|
||||
libmariadb = "*"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
ADO_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "de4b3c955a9afc50c9ec5ad64c79ae32032718bf"
|
||||
subdir = "./.alire/mysql/"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
description = "Ada Database Objects (PostgreSQL)"
|
||||
name = "ado_postgresql"
|
||||
version = "2.0.0"
|
||||
licenses = "Apache-2.0"
|
||||
licenses = ["Apache 2.0"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/postgresql/ado_postgresql.gpr"]
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
description = "Ada Database Objects (PostgreSQL)"
|
||||
tags = ["database", "uml", "sql", "postgresql"]
|
||||
name = "ado_postgresql"
|
||||
version = "2.3.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/postgresql/ado_postgresql.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://codecov.io/gh/stcarrez/ada-ado)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the PostgreSQL driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado = "^2.3.0"
|
||||
libpq = "*"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "a59fa70f33f842a76bbe68bfcdc97ada1add756c"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
description = "Ada Database Objects (PostgreSQL)"
|
||||
tags = ["database", "uml", "sql", "postgresql"]
|
||||
name = "ado_postgresql"
|
||||
version = "2.4.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["ado_postgresql.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/xunits)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the PostgreSQL driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado = "^2.4.0"
|
||||
libpq = "*"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
ADO_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "de4b3c955a9afc50c9ec5ad64c79ae32032718bf"
|
||||
subdir = "./.alire/postgresql/"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
description = "Ada Database Objects (SQLite)"
|
||||
name = "ado_sqlite"
|
||||
version = "2.0.0"
|
||||
licenses = "Apache-2.0"
|
||||
licenses = ["Apache 2.0"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/sqlite/ado_sqlite.gpr"]
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
description = "Ada Database Objects (SQLite)"
|
||||
tags = ["database", "uml", "sql", "sqlite"]
|
||||
name = "ado_sqlite"
|
||||
version = "2.3.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/sqlite/ado_sqlite.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://jenkins.vacs.fr/job/Ada-ADO/)
|
||||
[](https://codecov.io/gh/stcarrez/ada-ado)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the SQLite driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado = "^2.3.0"
|
||||
libsqlite3 = "any"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "a59fa70f33f842a76bbe68bfcdc97ada1add756c"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
description = "Ada Database Objects (SQLite)"
|
||||
tags = ["database", "uml", "sql", "sqlite"]
|
||||
name = "ado_sqlite"
|
||||
version = "2.4.0"
|
||||
licenses = "Apache-2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["ado_sqlite.gpr"]
|
||||
website = "https://gitlab.com/stcarrez/ada-ado"
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/xunits)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-ado/summary)
|
||||
[](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
This is the SQLite driver for the Ada Database Objects library.
|
||||
|
||||
"""
|
||||
|
||||
[[depends-on]]
|
||||
ado = "^2.4.0"
|
||||
libsqlite3 = "any"
|
||||
|
||||
[gpr-externals]
|
||||
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "de4b3c955a9afc50c9ec5ad64c79ae32032718bf"
|
||||
subdir = "./.alire/sqlite/"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-ado.git"
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
description = "An Ada Lexical Analyzer Generator"
|
||||
name = "aflex"
|
||||
version = "1.5.2021"
|
||||
licenses = "Unlicense"
|
||||
authors = ["John Self"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
tags = ["parser", "generator", "grammar"]
|
||||
website = "https://github.com/Ada-France/aflex"
|
||||
executables = ["aflex"]
|
||||
long-description = """
|
||||
|
||||
Aflex is a lexical analyzer generating tool similar to the Unix tool lex.
|
||||
|
||||
The first implementation was written by John Self of the Arcadia project
|
||||
at the University of California, Irvine. The last version that was released
|
||||
appeared to be the aflex 1.4a released in 1994.
|
||||
|
||||
Aflex was used and improved by P2Ada, the Pascal to Ada translator.
|
||||
This version of Aflex is derived from the P2Ada aflex implementation
|
||||
released in August 2010.
|
||||
|
||||
This version brings a number of improvements:
|
||||
|
||||
- Aflex generates the spec and body files as separate files so that
|
||||
there is no need to use gnatchop to split the DFA and IO files.
|
||||
- Aflex uses the lex file name to generate the package name and
|
||||
it supports child package with the `%unit` directive.
|
||||
|
||||
"""
|
||||
|
||||
[gpr-externals]
|
||||
AFLEX_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
|
||||
[origin]
|
||||
commit = "33198b8fef131732d44279e7dd7fb24535cdb18f"
|
||||
url = "git+https://github.com/Ada-France/aflex.git"
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
description = "An Ada Lexical Analyzer Generator"
|
||||
name = "aflex"
|
||||
version = "1.6"
|
||||
licenses = "Unlicense"
|
||||
authors = ["John Self"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
tags = ["parser", "generator", "grammar"]
|
||||
website = "https://github.com/Ada-France/aflex"
|
||||
executables = ["aflex"]
|
||||
long-description = """
|
||||
|
||||
Aflex is a lexical analyzer generating tool similar to the Unix tool lex.
|
||||
|
||||
The first implementation was written by John Self of the Arcadia project
|
||||
at the University of California, Irvine. The last version that was released
|
||||
appeared to be the aflex 1.4a released in 1994.
|
||||
|
||||
Aflex was used and improved by P2Ada, the Pascal to Ada translator.
|
||||
This version of Aflex is derived from the P2Ada aflex implementation
|
||||
released in August 2010.
|
||||
|
||||
This version brings a number of improvements:
|
||||
|
||||
- Aflex generates the spec and body files as separate files so that
|
||||
there is no need to use gnatchop to split the DFA and IO files.
|
||||
- Aflex uses the lex file name to generate the package name and
|
||||
it supports child package with the `%unit` directive.
|
||||
- Aflex supports reentrant scanner through the use of `%option reentrant`,
|
||||
`%yyvar` and `%yydecl` directives.
|
||||
|
||||
"""
|
||||
|
||||
[gpr-externals]
|
||||
AFLEX_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
PATH.prepend = "${CRATE_ROOT}/bin"
|
||||
MANPATH.prepend = "${CRATE_ROOT}/man"
|
||||
|
||||
[origin]
|
||||
commit = "b3c21d99666ba433071cd423dfeaab57b4a936b5"
|
||||
url = "git+https://github.com/Ada-France/aflex.git"
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
description = "An Ada Lexical Analyzer Generator"
|
||||
name = "aflex"
|
||||
version = "1.7"
|
||||
licenses = "Unlicense"
|
||||
authors = ["John Self"]
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
tags = ["parser", "generator", "grammar"]
|
||||
website = "https://github.com/Ada-France/aflex"
|
||||
executables = ["aflex"]
|
||||
long-description = """
|
||||
|
||||
Aflex is a lexical analyzer generating tool similar to the Unix tool lex.
|
||||
|
||||
The first implementation was written by John Self of the Arcadia project
|
||||
at the University of California, Irvine. The last version that was released
|
||||
appeared to be the aflex 1.4a released in 1994.
|
||||
|
||||
Aflex was used and improved by P2Ada, the Pascal to Ada translator.
|
||||
This version of Aflex is derived from the P2Ada aflex implementation
|
||||
released in August 2010.
|
||||
|
||||
This version brings a number of improvements:
|
||||
|
||||
- Aflex generates the spec and body files as separate files so that
|
||||
there is no need to use gnatchop to split the DFA and IO files.
|
||||
- Aflex uses the lex file name to generate the package name and
|
||||
it supports child package with the `%unit` directive.
|
||||
- Aflex supports reentrant scanner through the use of `%option reentrant`,
|
||||
`%yyvar` and `%yydecl` directives.
|
||||
|
||||
"""
|
||||
|
||||
[gpr-externals]
|
||||
AFLEX_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
PATH.prepend = "${CRATE_ROOT}/bin"
|
||||
MANPATH.prepend = "${CRATE_ROOT}/man"
|
||||
|
||||
[origin]
|
||||
commit = "77dbb4dadecc689de9e050652e8900ad40a47da5"
|
||||
url = "git+https://github.com/Ada-France/aflex.git"
|
||||
|
||||
@@ -2,7 +2,7 @@ description = "Ada General Purpose Library with a robotics flavor"
|
||||
name = "agpl"
|
||||
version = "1.0.0"
|
||||
authors = ["alejandro@mosteo.com"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
licenses = ["LGPL 3.0"]
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
description = "Ada Industrial Control Widgets Library"
|
||||
long-description = """
|
||||
This crate provides a library for designing high-quality industrial control
|
||||
widgets for Ada applications. The software is based on
|
||||
[GtkAda](https://docs.adacore.com/live/wave/gtkada/html/gtkada_rm/index.html),
|
||||
Ada bindings to [Gtk+](https://www.gtk.org/), and
|
||||
[cairo](https://www.cairographics.org/manual/index.html).
|
||||
|
||||
The key features of the library are:
|
||||
|
||||
* Widgets composed of transparent layers drawn by cairo
|
||||
* Fully scalable graphics
|
||||
* Support of time controlled refresh policy for real-time and heavy-duty applications
|
||||
* Caching graphical operations
|
||||
* Stream I/O support for serialization and deserialization
|
||||
* Ready-to-use gauge, meter, oscilloscope widgets
|
||||
* Editor widget for WYSIWYG design of complex dashboards
|
||||
|
||||
For further information, visit the
|
||||
[AICWL website](http://www.dmitry-kazakov.de/ada/aicwl.htm).
|
||||
|
||||
Maintainer's note:
|
||||
|
||||
This Alire crate is packaged in a rather minimalistic way to keep dependencies
|
||||
on external libraries at a minimum. The crate's definition covers the core
|
||||
functionality of AICWL, though, so it should be sufficient for most needs.
|
||||
|
||||
For example, the original distribution has references to
|
||||
[Simple Components](http://www.dmitry-kazakov.de/ada/components.htm) which are
|
||||
not strictly necessary for the core functionality of the library.
|
||||
"""
|
||||
name = "aicwl"
|
||||
version = "3.24.1"
|
||||
authors = ["Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>"]
|
||||
website = "http://www.dmitry-kazakov.de/ada/aicwl.htm"
|
||||
|
||||
# GMGPLaccording to website (http://www.dmitry-kazakov.de/ada/aicwl.htm)
|
||||
# LGPL according to sourceforge (https://sf.net/projects/aicwl)
|
||||
licenses = "GPL-2.0-or-later WITH GCC-exception-2.0"
|
||||
|
||||
maintainers = ["Vinzent \"Jellix\" Saranen <vinzent@heisenbug.eu>"]
|
||||
maintainers-logins = ["Jellix"]
|
||||
project-files = ["sources/aicwl.gpr", # The library itself
|
||||
"sources/aicwl-editor.gpr" # UI editor component
|
||||
# Examples and tests omitted here
|
||||
]
|
||||
|
||||
tags = ["widgets", "gauge", "graphics", "ui", "gtk"]
|
||||
|
||||
[gpr-externals]
|
||||
Legacy = ["Ada95", "Ada2005", "Ada2012"] # defaults to "Ada2012"
|
||||
Development = ["Debug", "Release", "Profile"] # defaults to "Debug"
|
||||
|
||||
# Target_OS = ["Windows", "Windows_NT", "Linux", "UNIX", "OSX", "FreeBSD", "auto"]
|
||||
# arch = ["x86_64", "i686", "armhf", "aarch64", "auto"]
|
||||
#
|
||||
# Note: Arch and Target_OS are determined automatically from Project'Target, so
|
||||
# no need to have them set explicitely.
|
||||
#
|
||||
# Object_Dir = [".", "nested"]
|
||||
#
|
||||
# Note: Object_Dir works as follows: If it's ".", it will remain so, if it's
|
||||
# "nested", Object_Dir will become roughly obj/{OS}/{arch}/{Development},
|
||||
# e.g. "obj/linux/x86_64/debug", all other cases result in Object_Dir
|
||||
# being unchanged.
|
||||
# Hence we should leave it as is (the default is "."), trusting Alire to
|
||||
# set an appropriate one.
|
||||
|
||||
[[depends-on]]
|
||||
gtkada = ">=17"
|
||||
|
||||
[origin]
|
||||
commit = "73939c9ed0be13a994728d1c362b945e5d131f19"
|
||||
url = "git+https://github.com/HeisenbugLtd/aicwl.git"
|
||||
@@ -2,7 +2,7 @@ description = "Generator of JUnit-compatible XML reports"
|
||||
name = "ajunitgen"
|
||||
version = "1.0.0"
|
||||
authors = ["Alejandro R. Mosteo"]
|
||||
licenses = "LGPL-3.0-only"
|
||||
licenses = ["LGPL 3.0"]
|
||||
maintainers = ["alejandro@mosteo.com"]
|
||||
maintainers-logins = ["mosteo"]
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ version = "1.0.1"
|
||||
description = "Generator of JUnit-compatible XML reports"
|
||||
|
||||
authors = [ "Alejandro R. Mosteo", ]
|
||||
licenses = "LGPL-3.0-only"
|
||||
licenses = [ "LGPL 3.0", ]
|
||||
maintainers = [ "alejandro@mosteo.com", ]
|
||||
maintainers-logins = [ "mosteo", ]
|
||||
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
description = "Ada Keystore Tool"
|
||||
long-description = """
|
||||
|
||||
[](http://jenkins.vacs.fr/job/Bionic-Ada-Keystore/)
|
||||
[](http://jenkins.vacs.fr/job/Bionic-Ada-Keystore/)
|
||||
[](https://codecov.io/gh/stcarrez/ada-keystore)
|
||||
|
||||
# Overview
|
||||
|
||||
AKT is a tool to store and protect your sensitive information and documents by
|
||||
encrypting them in secure keystore (AES-256, HMAC-256).
|
||||
|
||||
Create the keystore and protect it with a gpg public key:
|
||||
```
|
||||
akt create secure.akt --gpg <keyid> ...
|
||||
```
|
||||
|
||||
Store a small content:
|
||||
```
|
||||
akt set secure.akt bank.password 012345
|
||||
```
|
||||
|
||||
Store files, directory or a tar file:
|
||||
```
|
||||
akt store secure.akt notes.txt
|
||||
akt store secure.akt contract.doc
|
||||
akt store secure.akt directory
|
||||
tar czf - . | akt store secure.akt -- backup
|
||||
```
|
||||
|
||||
Edit a content with your $EDITOR:
|
||||
```
|
||||
akt edit secure.akt bank.password
|
||||
akt edit secure.akt notes.txt
|
||||
```
|
||||
|
||||
Get a content:
|
||||
```
|
||||
akt get secure.akt bank.password
|
||||
akt extract secure.akt contract.doc
|
||||
akt extract secure.akt -- backup | tar xzf -
|
||||
```
|
||||
|
||||
## Documents
|
||||
|
||||
* [Ada Keystore Guide](https://ada-keystore.readthedocs.io/en/latest/) [PDF](https://github.com/stcarrez/ada-keystore/blob/master/docs/keystore-book.pdf)
|
||||
|
||||
"""
|
||||
name = "akt"
|
||||
version = "1.3.3"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = [".alire/keystoreada_tools.gpr"]
|
||||
tags = ["security", "storage", "nosql"]
|
||||
website = "https://gitlab.com/stcarrez/ada-keystore"
|
||||
executables = ["akt"]
|
||||
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["gnatprep", "-DPREFIX=\"/usr/local\"", "-DVERSION=\"1.3.3\"",
|
||||
"tools/akt-configs.gpb",
|
||||
"tools/akt-configs.ads"
|
||||
]
|
||||
|
||||
[[depends-on]]
|
||||
utilada = "^2.5.0"
|
||||
keystoreada = "^1.3.3"
|
||||
|
||||
[gpr-externals]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
KEYSTORE_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
PATH.prepend = "${CRATE_ROOT}/bin"
|
||||
MANPATH.prepend = "${CRATE_ROOT}/man"
|
||||
|
||||
[origin]
|
||||
commit = "e0e9d5ef2c92c74d06b3ada5ed162ad3400a9f5c"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-keystore.git"
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
description = "Ada Keystore Tool"
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-keystore/summary)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-keystore/xunits)
|
||||
[](https://porion.vacs.fr/porion/projects/view/ada-keystore/summary)
|
||||
|
||||
# Overview
|
||||
|
||||
AKT is a tool to store and protect your sensitive information and documents by
|
||||
encrypting them in secure keystore (AES-256, HMAC-256).
|
||||
|
||||
Create the keystore and protect it with a gpg public key:
|
||||
```
|
||||
akt create secure.akt --gpg <keyid> ...
|
||||
```
|
||||
|
||||
Store a small content:
|
||||
```
|
||||
akt set secure.akt bank.password 012345
|
||||
```
|
||||
|
||||
Store files, directory or a tar file:
|
||||
```
|
||||
akt store secure.akt notes.txt
|
||||
akt store secure.akt contract.doc
|
||||
akt store secure.akt directory
|
||||
tar czf - . | akt store secure.akt -- backup
|
||||
```
|
||||
|
||||
Edit a content with your $EDITOR:
|
||||
```
|
||||
akt edit secure.akt bank.password
|
||||
akt edit secure.akt notes.txt
|
||||
```
|
||||
|
||||
Get a content:
|
||||
```
|
||||
akt get secure.akt bank.password
|
||||
akt extract secure.akt contract.doc
|
||||
akt extract secure.akt -- backup | tar xzf -
|
||||
```
|
||||
|
||||
## Documents
|
||||
|
||||
* [Ada Keystore Guide](https://ada-keystore.readthedocs.io/en/latest/) [PDF](https://github.com/stcarrez/ada-keystore/blob/master/docs/keystore-book.pdf)
|
||||
|
||||
"""
|
||||
name = "akt"
|
||||
version = "1.4.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["keystoreada_tools.gpr"]
|
||||
tags = ["security", "storage", "nosql"]
|
||||
website = "https://gitlab.com/stcarrez/ada-keystore"
|
||||
executables = ["akt"]
|
||||
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["gnatprep", "-DPREFIX=\"/usr/local\"", "-DVERSION=\"1.4.0\"",
|
||||
"../../tools/akt-configs.gpb",
|
||||
"../../tools/akt-configs.ads"
|
||||
]
|
||||
|
||||
[[depends-on]]
|
||||
utilada = "^2.6.0"
|
||||
keystoreada = "^1.4.0"
|
||||
|
||||
[gpr-externals]
|
||||
KEYSTORE_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
KEYSTORE_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
PATH.prepend = "${CRATE_ROOT}/bin"
|
||||
MANPATH.prepend = "${CRATE_ROOT}/man"
|
||||
|
||||
[origin]
|
||||
commit = "c8fa1d949f368fbc74099cd54fcf2f370a134222"
|
||||
subdir = "./.alire/akt/"
|
||||
url = "git+https://gitlab.com/stcarrez/ada-keystore.git"
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
name = "alr2appimage"
|
||||
description = "Tool to create an AppImage executable from an Alire crate"
|
||||
version = "0.9.2"
|
||||
website = "https://github.com/mgrojo/alr2appimage"
|
||||
long-description = """
|
||||
There are two prerequisites for your project to work with this tool:
|
||||
- It has to be a crate with an `executables` field. Its first value
|
||||
has to be the main application program.
|
||||
- It must be installable using Alire, including all the needed resources.
|
||||
|
||||
`alr2appimage` will use the following command for installing it (this requires Alire 2.0):
|
||||
```shell
|
||||
alr install
|
||||
```
|
||||
Or it will run `gprinstall` inside `alr exec`, if the former fails (Alire 1.x).
|
||||
|
||||
If you simply run the tool inside an Alire crate, it will read the
|
||||
metadata from your `alire.toml` file and create a default AppImage
|
||||
from it.
|
||||
|
||||
NOTE: `alr2appimage` is an independent project; it is not
|
||||
affiliated to, nor supported by, the Alire or AppImage projects.
|
||||
|
||||
"""
|
||||
licenses = "GPL-3.0-only"
|
||||
|
||||
tags = ["utility", "appimage", "alire", "linux", "packaging"]
|
||||
|
||||
authors = ["Manuel Gomez"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
executables = ["alr2appimage"]
|
||||
[[depends-on]]
|
||||
ada_toml = "^0.3.0"
|
||||
|
||||
[[depends-on]]
|
||||
spoon = "^1.0.1"
|
||||
|
||||
[[depends-on]]
|
||||
parse_args = "~0.9.0"
|
||||
|
||||
[[depends-on]]
|
||||
resources = "~0.1.0"
|
||||
|
||||
[available.'case(os)']
|
||||
'linux' = true
|
||||
'...' = false
|
||||
|
||||
[build-switches]
|
||||
"*".style_checks = ["-gnaty3abBCrfklM99nptx"]
|
||||
[origin]
|
||||
commit = "71ae65731924e10a675590c2ccec774640820786"
|
||||
url = "git+https://github.com/mgrojo/alr2appimage.git"
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
name = "alr2appimage"
|
||||
description = "Tool to create an AppImage executable from an Alire crate"
|
||||
version = "0.9.3"
|
||||
website = "https://github.com/mgrojo/alr2appimage"
|
||||
long-description = """
|
||||
There are two prerequisites for your project to work with this tool:
|
||||
- It has to be a crate with an `executables` field. Its first value
|
||||
has to be the main application program.
|
||||
- It must be installable using Alire, including all the needed resources.
|
||||
|
||||
`alr2appimage` will use the following command for installing it (this requires Alire 2.0):
|
||||
```shell
|
||||
alr install
|
||||
```
|
||||
Or it will run `gprinstall` inside `alr exec`, if the former fails (Alire 1.x).
|
||||
|
||||
If you simply run the tool inside an Alire crate, it will read the
|
||||
metadata from your `alire.toml` file and create a default AppImage
|
||||
from it.
|
||||
|
||||
NOTE: `alr2appimage` is an independent project; it is not
|
||||
affiliated to, nor supported by, the Alire or AppImage projects.
|
||||
|
||||
"""
|
||||
licenses = "GPL-3.0-only"
|
||||
|
||||
tags = ["utility", "appimage", "alire", "linux", "packaging"]
|
||||
|
||||
authors = ["Manuel Gomez"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
executables = ["alr2appimage"]
|
||||
[[depends-on]]
|
||||
ada_toml = "^0.3.0"
|
||||
|
||||
[[depends-on]]
|
||||
spoon = "^1.0.1"
|
||||
|
||||
[[depends-on]]
|
||||
parse_args = "~0.9.0"
|
||||
|
||||
[[depends-on]]
|
||||
resources = "~0.1.0"
|
||||
|
||||
[available.'case(os)']
|
||||
'linux' = true
|
||||
'...' = false
|
||||
|
||||
[build-switches]
|
||||
"*".style_checks = ["-gnaty3abBCrfklM99nptx"]
|
||||
[origin]
|
||||
commit = "fba60fa7465d49f08ca30eac5e9b121d1ae5e6a4"
|
||||
url = "git+https://github.com/mgrojo/alr2appimage.git"
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "anagram"
|
||||
version = "1.0.0"
|
||||
website = "https://github.com/reznikmm/anagram"
|
||||
authors = ["Maxim Reznik"]
|
||||
licenses = "MIT"
|
||||
licenses = ["MIT"]
|
||||
maintainers = ["Maxim Reznik <reznikmm@gmail.com>"]
|
||||
maintainers-logins = ["reznikmm"]
|
||||
project-files = ["gnat/anagram.gpr"]
|
||||
|
||||
@@ -3,7 +3,7 @@ long-description = "# ANSI-Ada\n\n[
|
||||
|
||||
* Ideal for the dynamic production of reports, invoices, tickets, charts, maps etc.
|
||||
* Vector graphics
|
||||
* Inclusion of JPEG images
|
||||
* Object oriented
|
||||
* Task safe
|
||||
* Endian-neutral
|
||||
* Multi-platform, but native code build
|
||||
* Standalone (no dependency on other libraires, bindings, etc.; no extra component needed for running)
|
||||
* Unconditionally portable code: OS-, CPU-, compiler- independent code
|
||||
* Pure Ada 95: this package can be used in projects in Ada 95, Ada 2005, Ada 2012 and later language versions
|
||||
* Free, open-source
|
||||
|
||||
The creation of a PDF file is as simple as this small procedure:
|
||||
|
||||
```ada
|
||||
with PDF_Out;
|
||||
|
||||
procedure Small_Demo is
|
||||
pdf : PDF_Out.PDF_Out_File;
|
||||
begin
|
||||
pdf.Create ("small.pdf");
|
||||
pdf.Put_Line ("This is a very small demo for PDF_Out...");
|
||||
pdf.Close;
|
||||
end Small_Demo;
|
||||
```
|
||||
|
||||
"""
|
||||
|
||||
[gpr-externals]
|
||||
PDF_Build_Mode = ["Debug", "Fast"]
|
||||
|
||||
[[depends-on]]
|
||||
gid = ">=9.0.0"
|
||||
|
||||
[origin]
|
||||
url = "https://sourceforge.net/projects/apdf/files/apdf_006.zip"
|
||||
hashes = ["sha512:7c3ce4e9fd288aeedcf618d138d2d4a517e4163df76f8fd8b8db3ddcc7cdcb9b41791c77dcdbd3427c0fb6e4e6ea37ee2a72f1c0bc1ab36d37541d7c3a4e67b9"]
|
||||
@@ -1,81 +0,0 @@
|
||||
description = "Advanced Resource Embedder"
|
||||
name = "are"
|
||||
version = "1.1.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["are.gpr"]
|
||||
tags = ["resource", "embedder", "generator"]
|
||||
website = "https://gitlab.com/stcarrez/resource-embedder"
|
||||
long-description = """
|
||||
|
||||
[](http://jenkins.vacs.fr/job/Bionic-Resource-Embedder/)
|
||||
[](http://jenkins.vacs.fr/job/Bionic-Resource-Embedder/)
|
||||
[](https://codecov.io/gh/stcarrez/resource-embedder)
|
||||
[](https://resource-embedder.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
The resource embedder allows to embed files in binaries by producing C, Ada or Go source
|
||||
files that contain the original files.
|
||||
|
||||
To generate a `config.ads` and `config.adb` Ada package with the resources, you may use:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --resource=config --name-access --fileset='**/*.conf' config
|
||||
```
|
||||
|
||||
Complex resource integrations are best described with and XML and are generated with:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --rule=package.xml --name-access .
|
||||
```
|
||||
|
||||
For Ada, it generates the following package declaration with the `Get_Content` function
|
||||
that gives access to the files. The Ada body contains the content of each embedded file.
|
||||
|
||||
```Ada
|
||||
package Config is
|
||||
function Get_Content (Name : in String)
|
||||
return access constant String;
|
||||
end Config;
|
||||
```
|
||||
|
||||
"""
|
||||
|
||||
[available.'case(os)']
|
||||
linux = true
|
||||
windows = true
|
||||
macos = false
|
||||
'...' = false
|
||||
|
||||
[[depends-on]]
|
||||
xmlada = "~21.0.0"
|
||||
|
||||
[gpr-externals]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
ARE_SWITCH = ["NO_CALLBACK", "HAS_CALLBACK"]
|
||||
UTIL_OS = ["win32", "win64", "linux32", "linux64", "macos64", "netbsd32", "netbsd64", "freebsd32", "freebsd64"]
|
||||
|
||||
[gpr-set-externals]
|
||||
BUILD = "distrib"
|
||||
ARE_SWITCH = "NO_CALLBACK"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-32]
|
||||
UTIL_OS = "linux32"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-64]
|
||||
UTIL_OS = "linux64"
|
||||
|
||||
[gpr-set-externals."case(os)".macos]
|
||||
UTIL_OS = "macos64"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-32]
|
||||
UTIL_OS = "win32"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-64]
|
||||
UTIL_OS = "win64"
|
||||
|
||||
[origin]
|
||||
commit = "cf491d2c73c90daace4e39dbc221a4b4990a349f"
|
||||
url = "git+https://github.com/stcarrez/resource-embedder.git"
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
description = "Advanced Resource Embedder"
|
||||
name = "are"
|
||||
version = "1.2.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["are.gpr"]
|
||||
tags = ["resource", "embedder", "generator"]
|
||||
website = "https://gitlab.com/stcarrez/resource-embedder"
|
||||
executables = ["are"]
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://resource-embedder.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
The resource embedder allows to embed files in binaries by producing C, Ada or Go source
|
||||
files that contain the original files.
|
||||
|
||||
To generate a `config.ads` and `config.adb` Ada package with the resources, you may use:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --resource=config --name-access --fileset='**/*.conf' config
|
||||
```
|
||||
|
||||
Complex resource integrations are best described with and XML and are generated with:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --rule=package.xml --name-access .
|
||||
```
|
||||
|
||||
For Ada, it generates the following package declaration with the `Get_Content` function
|
||||
that gives access to the files. The Ada body contains the content of each embedded file.
|
||||
|
||||
```Ada
|
||||
package Config is
|
||||
function Get_Content (Name : in String)
|
||||
return access constant String;
|
||||
end Config;
|
||||
```
|
||||
|
||||
"""
|
||||
|
||||
[available.'case(os)']
|
||||
linux = true
|
||||
windows = true
|
||||
macos = true
|
||||
'...' = false
|
||||
|
||||
[[depends-on]]
|
||||
xmlada = "~21.0.0"
|
||||
|
||||
[gpr-externals]
|
||||
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
ARE_SWITCH = ["NO_CALLBACK", "HAS_CALLBACK"]
|
||||
UTIL_OS = ["win32", "win64", "linux32", "linux64", "macos64", "netbsd32", "netbsd64", "freebsd32", "freebsd64"]
|
||||
|
||||
[gpr-set-externals]
|
||||
BUILD = "distrib"
|
||||
ARE_SWITCH = "NO_CALLBACK"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-32]
|
||||
UTIL_OS = "linux32"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-64]
|
||||
UTIL_OS = "linux64"
|
||||
|
||||
[gpr-set-externals."case(os)".macos]
|
||||
UTIL_OS = "macos64"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-32]
|
||||
UTIL_OS = "win32"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-64]
|
||||
UTIL_OS = "win64"
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[origin]
|
||||
commit = "16239a8b9653f085a542d7b4838110675d80dc73"
|
||||
url = "git+https://gitlab.com/stcarrez/resource-embedder.git"
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
description = "Advanced Resource Embedder"
|
||||
name = "are"
|
||||
version = "1.3.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["are_tool.gpr"]
|
||||
tags = ["resource", "embedder", "generator"]
|
||||
website = "https://gitlab.com/stcarrez/resource-embedder"
|
||||
executables = ["are"]
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://resource-embedder.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
The resource embedder allows to embed files in binaries by producing C, Ada or Go source
|
||||
files that contain the original files.
|
||||
|
||||
To generate a `config.ads` and `config.adb` Ada package with the resources, you may use:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --resource=config --name-access --fileset='**/*.conf' config
|
||||
```
|
||||
|
||||
Complex resource integrations are best described with and XML and are generated with:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --rule=package.xml --name-access .
|
||||
```
|
||||
|
||||
For Ada, it generates the following package declaration with the `Get_Content` function
|
||||
that gives access to the files. The Ada body contains the content of each embedded file.
|
||||
|
||||
```Ada
|
||||
package Config is
|
||||
function Get_Content (Name : in String)
|
||||
return access constant String;
|
||||
end Config;
|
||||
```
|
||||
|
||||
"""
|
||||
|
||||
[available.'case(os)']
|
||||
linux = true
|
||||
windows = true
|
||||
macos = true
|
||||
'...' = false
|
||||
|
||||
[[depends-on]]
|
||||
xmlada = "~23.0.0"
|
||||
utilada = "^2.6.0"
|
||||
elada = "^1.8.6"
|
||||
|
||||
[gpr-externals]
|
||||
ARE_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
ARE_SWITCH = ["NO_CALLBACK", "HAS_CALLBACK"]
|
||||
UTIL_OS = ["win32", "win64", "linux32", "linux64", "macos64", "netbsd32", "netbsd64", "freebsd32", "freebsd64"]
|
||||
|
||||
[gpr-set-externals]
|
||||
ARE_BUILD = "distrib"
|
||||
ARE_SWITCH = "HAS_CALLBACK"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-32]
|
||||
UTIL_OS = "linux32"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-64]
|
||||
UTIL_OS = "linux64"
|
||||
|
||||
[gpr-set-externals."case(os)".macos]
|
||||
UTIL_OS = "macos64"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-32]
|
||||
UTIL_OS = "win32"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-64]
|
||||
UTIL_OS = "win64"
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
PATH.prepend = "${CRATE_ROOT}/bin"
|
||||
MANPATH.prepend = "${CRATE_ROOT}/man"
|
||||
|
||||
[origin]
|
||||
commit = "7102b4b8270334d570428a5e220c40b22c5c3274"
|
||||
url = "git+https://gitlab.com/stcarrez/resource-embedder.git"
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
description = "Advanced Resource Embedder"
|
||||
name = "are"
|
||||
version = "1.4.0"
|
||||
authors = ["Stephane.Carrez@gmail.com"]
|
||||
licenses = "Apache-2.0"
|
||||
maintainers = ["Stephane.Carrez@gmail.com"]
|
||||
maintainers-logins = ["stcarrez"]
|
||||
project-files = ["are_tool.gpr"]
|
||||
tags = ["resource", "embedder", "generator"]
|
||||
website = "https://gitlab.com/stcarrez/resource-embedder"
|
||||
executables = ["are"]
|
||||
long-description = """
|
||||
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://porion.vacs.fr/porion/projects/view/resource-embedder)
|
||||
[](https://resource-embedder.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
The resource embedder allows to embed files in binaries by producing C, Ada or Go source
|
||||
files that contain the original files.
|
||||
|
||||
To generate a `config.ads` and `config.adb` Ada package with the resources, you may use:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --resource=config --name-access --fileset='**/*.conf' config
|
||||
```
|
||||
|
||||
Complex resource integrations are best described with and XML and are generated with:
|
||||
|
||||
```
|
||||
are --lang=Ada -o src --rule=package.xml --name-access .
|
||||
```
|
||||
|
||||
For Ada, it generates the following package declaration with the `Get_Content` function
|
||||
that gives access to the files. The Ada body contains the content of each embedded file.
|
||||
|
||||
```Ada
|
||||
package Config is
|
||||
function Get_Content (Name : in String)
|
||||
return access constant String;
|
||||
end Config;
|
||||
```
|
||||
|
||||
"""
|
||||
|
||||
[available.'case(os)']
|
||||
linux = true
|
||||
windows = true
|
||||
macos = true
|
||||
'...' = false
|
||||
|
||||
[[depends-on]]
|
||||
xmlada = "~23.0.0"
|
||||
utilada = "^2.6.0"
|
||||
elada = "^1.8.6"
|
||||
|
||||
[gpr-externals]
|
||||
ARE_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
|
||||
ARE_SWITCH = ["NO_CALLBACK", "HAS_CALLBACK"]
|
||||
UTIL_OS = ["win32", "win64", "linux32", "linux64", "macos64", "netbsd32", "netbsd64", "freebsd32", "freebsd64"]
|
||||
|
||||
[gpr-set-externals]
|
||||
ARE_BUILD = "distrib"
|
||||
ARE_SWITCH = "HAS_CALLBACK"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-32]
|
||||
UTIL_OS = "linux32"
|
||||
|
||||
[gpr-set-externals."case(os)".linux."case(word-size)".bits-64]
|
||||
UTIL_OS = "linux64"
|
||||
|
||||
[gpr-set-externals."case(os)".macos]
|
||||
UTIL_OS = "macos64"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-32]
|
||||
UTIL_OS = "win32"
|
||||
|
||||
[gpr-set-externals."case(os)".windows."case(word-size)".bits-64]
|
||||
UTIL_OS = "win64"
|
||||
|
||||
[configuration]
|
||||
disabled = true
|
||||
|
||||
[environment]
|
||||
PATH.prepend = "${CRATE_ROOT}/bin"
|
||||
MANPATH.prepend = "${CRATE_ROOT}/man"
|
||||
|
||||
[origin]
|
||||
commit = "a458cb9ec097961321fa730df5a93a1606a69624"
|
||||
url = "git+https://gitlab.com/stcarrez/resource-embedder.git"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "asfml"
|
||||
description = "Ada binding to SFML, the Simple and Fast Multimedia Library"
|
||||
version = "2.4.1"
|
||||
|
||||
authors = ["Manuel Gomez", "Dan Lee Vazquez Garcia"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
licenses = "custom-zlib-acknowledgement"
|
||||
website = "https://mgrojo.github.io/ASFML/"
|
||||
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]
|
||||
|
||||
[[depends-on]]
|
||||
libcsfml = "^2.4"
|
||||
|
||||
[origin]
|
||||
commit = "a9027205ab1f11054f647767404a67bb95fe4169"
|
||||
url = "git+https://github.com/mgrojo/ASFML.git"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "asfml"
|
||||
description = "ASFML is an Ada binding to SFML, the Simple and Fast Multimedia Library"
|
||||
version = "2.5.0"
|
||||
|
||||
authors = ["Manuel Gomez", "Dan Lee Vazquez Garcia"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
licenses = "custom-zlib-acknowledgement"
|
||||
website = "https://mgrojo.github.io/ASFML/"
|
||||
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]
|
||||
|
||||
[[depends-on]]
|
||||
libcsfml = "^2.5"
|
||||
|
||||
[origin]
|
||||
commit = "17e54f663a163ef68359dea1326ad5b8379d8f02"
|
||||
url = "git+https://github.com/mgrojo/ASFML.git"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "asfml"
|
||||
description = "ASFML is an Ada binding to SFML, the Simple and Fast Multimedia Library"
|
||||
version = "2.5.1"
|
||||
|
||||
authors = ["Manuel Gomez", "Dan Lee Vazquez Garcia"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
licenses = "custom-zlib-acknowledgement"
|
||||
website = "https://mgrojo.github.io/ASFML/"
|
||||
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]
|
||||
|
||||
[[depends-on]]
|
||||
libcsfml = "^2.5"
|
||||
|
||||
[origin]
|
||||
commit = "52a013554bcfb6150e0d6391871356c1443a6b93"
|
||||
url = "git+https://github.com/mgrojo/ASFML.git"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "asfml"
|
||||
description = "ASFML is an Ada binding to SFML, the Simple and Fast Multimedia Library"
|
||||
version = "2.5.2"
|
||||
|
||||
authors = ["Manuel Gomez", "Dan Lee Vazquez Garcia"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
licenses = "custom-zlib-acknowledgement"
|
||||
website = "https://mgrojo.github.io/ASFML/"
|
||||
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]
|
||||
|
||||
[[depends-on]]
|
||||
libcsfml = "^2.5"
|
||||
|
||||
[origin]
|
||||
commit = "b775db19d2c33e6172da96267cafc1a1e7567bb3"
|
||||
url = "git+https://github.com/mgrojo/ASFML.git"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name = "asfml"
|
||||
description = "Ada binding to SFML, the Simple and Fast Multimedia Library"
|
||||
version = "2.5.3"
|
||||
|
||||
authors = ["Manuel Gomez", "Dan Lee Vazquez Garcia"]
|
||||
maintainers = ["Manuel Gomez <mgrojo@gmail.com>"]
|
||||
maintainers-logins = ["mgrojo"]
|
||||
|
||||
licenses = "custom-zlib-acknowledgement"
|
||||
website = "https://mgrojo.github.io/ASFML/"
|
||||
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]
|
||||
|
||||
[[depends-on]]
|
||||
libcsfml = "^2.5"
|
||||
|
||||
[origin]
|
||||
commit = "34bc68295a8e03fb7141277f542cf0bdad2e971c"
|
||||
url = "git+https://github.com/mgrojo/ASFML.git"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user