Skip to content

Commit 11d2538

Browse files
committed
Add Alire template files for the crates
1 parent d250be0 commit 11d2538

File tree

3 files changed

+107
-0
lines changed

3 files changed

+107
-0
lines changed

alire-postgresql.toml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
description = "Ada Database Objects (PostgreSQL)"
2+
tags = ["database", "uml", "sql"]
3+
name = "ado_postgresql"
4+
version = "2.1.1"
5+
licenses = ["Apache 2.0"]
6+
authors = ["Stephane.Carrez@gmail.com"]
7+
maintainers = ["Stephane.Carrez@gmail.com"]
8+
maintainers-logins = ["stcarrez"]
9+
project-files = [".alire/postgresql/ado_postgresql.gpr"]
10+
website = "https://gitlab.com/stcarrez/ada-ado"
11+
long-description = """
12+
13+
[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-ADO.svg)](https://jenkins.vacs.fr/job/Ada-ADO/)
14+
[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-ADO.svg)](https://jenkins.vacs.fr/job/Ada-ADO/)
15+
[![codecov](https://codecov.io/gh/stcarrez/ada-ado/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-ado)
16+
[![Documentation Status](https://readthedocs.org/projects/ada-ado/badge/?version=latest)](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
17+
18+
This is the PostgreSQL driver for the Ada Database Objects library.
19+
20+
"""
21+
22+
[[depends-on]]
23+
ado = "^2.1.1"
24+
25+
[gpr-externals]
26+
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
27+
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]

alire-sqlite.toml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
description = "Ada Database Objects (SQLite)"
2+
tags = ["database", "uml", "sql"]
3+
name = "ado_sqlite"
4+
version = "2.1.1"
5+
licenses = ["Apache 2.0"]
6+
authors = ["Stephane.Carrez@gmail.com"]
7+
maintainers = ["Stephane.Carrez@gmail.com"]
8+
maintainers-logins = ["stcarrez"]
9+
project-files = [".alire/sqlite/ado_sqlite.gpr"]
10+
website = "https://gitlab.com/stcarrez/ada-ado"
11+
long-description = """
12+
13+
[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-ADO.svg)](https://jenkins.vacs.fr/job/Ada-ADO/)
14+
[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-ADO.svg)](https://jenkins.vacs.fr/job/Ada-ADO/)
15+
[![codecov](https://codecov.io/gh/stcarrez/ada-ado/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-ado)
16+
[![Documentation Status](https://readthedocs.org/projects/ada-ado/badge/?version=latest)](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
17+
18+
This is the SQLite driver for the Ada Database Objects library.
19+
20+
"""
21+
22+
[[depends-on]]
23+
ado = "^2.1.1"
24+
25+
[gpr-externals]
26+
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
27+
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]

alire.toml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
description = "Ada Database Objects (Core library)"
2+
tags = ["database", "uml", "sql"]
3+
name = "ado"
4+
version = "2.1.1"
5+
licenses = ["Apache 2.0"]
6+
authors = ["Stephane.Carrez@gmail.com"]
7+
maintainers = ["Stephane.Carrez@gmail.com"]
8+
maintainers-logins = ["stcarrez"]
9+
project-files = [".alire/ado.gpr"]
10+
website = "https://gitlab.com/stcarrez/ada-ado"
11+
long-description = """
12+
13+
[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-ADO.svg)](https://jenkins.vacs.fr/job/Ada-ADO/)
14+
[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-ADO.svg)](https://jenkins.vacs.fr/job/Ada-ADO/)
15+
[![codecov](https://codecov.io/gh/stcarrez/ada-ado/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-ado)
16+
[![Documentation Status](https://readthedocs.org/projects/ada-ado/badge/?version=latest)](https://ada-ado.readthedocs.io/en/latest/?badge=latest)
17+
18+
Ada Database Objects is an Ada05 library that provides
19+
object relational mapping to access a database in Ada05.
20+
The library supports Postgresql, MySQL, SQLite as databases.
21+
Most of the concepts developped for ADO come from the Java Hibernate ORM.
22+
23+
The ORM uses an YAML, XML mapping file or an UML model, a code generator and a runtime library
24+
for the implementation. It provides a database driver for [Postgresql](https://www.postgresql.org/),
25+
[MySQL](https://www.mysql.com/) and [SQLite](https://www.sqlite.org/). The ORM helps your
26+
application by providing a mapping of your database tables directly in the target programming
27+
language: Ada05 in our case. The development process is the following:
28+
29+
* You design your database model either using a UML tool or by writing a YAML or XML description,
30+
* You generate the Ada05 mapping files by using the [Dynamo](https://github.com/stcarrez/dynamo) code generator,
31+
* You generate the SQL database tables by using the same tool,
32+
* You write your application on top of the generated code that gives you direct and simplified access to your database.
33+
34+
![ADO Development model](https://github.com/stcarrez/ada-ado/wiki/images/ado-orm.png)
35+
36+
You need at least one of these databases (or all of then). The configure script will now
37+
fail if no supported database was found. Check the [Database Drivers](#database-drivers)
38+
section to install them and run the configure again after the installation.
39+
40+
# Documentation
41+
42+
* [Ada Database Objects Programmer's Guide](https://ada-ado.readthedocs.io/en/latest/)
43+
* [Persistence with Ada Database Objects](https://fr.slideshare.net/StephaneCarrez1/persistence-with-ada-database-objects-ado) FOSDEM 2019
44+
45+
"""
46+
47+
[[depends-on]]
48+
utilada = "^2.3.0"
49+
utilada_xml = "^2.3.0"
50+
51+
[gpr-externals]
52+
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
53+
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]

0 commit comments

Comments
 (0)