From 2916a566bdfbf9ea38e75955a2a7c5a51603e728 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Tue, 11 Feb 2020 17:24:03 +0100 Subject: [PATCH] Utilada version 2.1.0 (#91) * Add crate for Ada LZMA library thin binding * Add crate for Ada Utility Library version 2.0.0 The library is split in several parts so that we can avoid depending on LZMA, Curl and XML/Ada. Still missing the HTTP support with AWS. * Update to use the git archive with a hash Use better descriptions for the projects Avoid copying the Alire GNAT projects and use them in-place * Update to use the git archive with a hash and the GNAT alire project in-place * Fix the index version * Integrate new version 2.1.0, add tags and long description * Update to add tags, descriptions and new version 2.1.0 Co-authored-by: Alejandro R Mosteo --- index/ut/utilada.toml | 36 ++++++++++++++++++++++++++++++++++++ index/ut/utilada_aws.toml | 25 +++++++++++++++++++++++-- index/ut/utilada_curl.toml | 25 +++++++++++++++++++++++-- index/ut/utilada_lzma.toml | 22 +++++++++++++++++++++- index/ut/utilada_unit.toml | 24 ++++++++++++++++++++++-- index/ut/utilada_xml.toml | 22 +++++++++++++++++++++- 6 files changed, 146 insertions(+), 8 deletions(-) diff --git a/index/ut/utilada.toml b/index/ut/utilada.toml index 4ee7c087..6e3f5271 100644 --- a/index/ut/utilada.toml +++ b/index/ut/utilada.toml @@ -1,8 +1,40 @@ [general] description = "Utility Library with streams, processes, logs, serialization, encoders" +tags = ["logging", "processes", "streams", "json", "beans", "encoders", "decoders"] + licenses = ["Apache 2.0"] +authors = ["Stephane.Carrez@gmail.com"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] +long-description = """ + +[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![codecov](https://codecov.io/gh/stcarrez/ada-util/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-util) + +This Ada05 library contains various utility packages for building +Ada05 applications. This includes: + +* A logging framework close to Java log4j framework, +* Support for properties +* A serialization/deserialization framework for XML, JSON, CSV +* Ada beans framework +* Encoding/decoding framework (Base16, Base64, SHA, HMAC-SHA, AES-256) +* A composing stream framework (raw, files, buffers, pipes, sockets) +* Several concurrency tools (reference counters, counters, pools, fifos, arrays) +* Process creation and pipes +* Support for loading shared libraries (on Windows or Unix) +* HTTP client library on top of CURL or AWS + +Ada Util also provides a small test utility library on top of +Ahven or AUnit to help in writing unit tests. Ahven is the default testing +framework as it provides better reports. + +## Documentation + +* [Ada Utility Library Programmer's Guide](https://ada-util.readthedocs.io/en/latest/intro/) + +""" project-files = [ ".alire/utilada_conf.gpr", @@ -32,6 +64,10 @@ maintainers-logins = ["stcarrez"] [general.gpr-set-externals.'case(os)'] macos = { UTIL_OS = "macos64" } +['2.1.0'] +origin = "https://github.com/stcarrez/ada-util/archive/2.1.0.tar.gz" +origin-hashes = ["sha512:56b450911111eef4ff0675021781e79c7be7c4063868c01a773a7bf5193202a58da3c5285924d2723c07f4d95df93b74f6fe3fb4d32ad718274ff3bce25601d3"] + ['2.0.0'] origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] diff --git a/index/ut/utilada_aws.toml b/index/ut/utilada_aws.toml index 2e12bdb5..57e9992c 100644 --- a/index/ut/utilada_aws.toml +++ b/index/ut/utilada_aws.toml @@ -1,8 +1,24 @@ [general] description = "Utility Library REST support on top of AWS" +tags = ["web", "http"] + licenses = ["Apache 2.0"] +authors = ["Stephane.Carrez@gmail.com"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] +long-description = """ + +[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![codecov](https://codecov.io/gh/stcarrez/ada-util/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-util) + + +This small library provides an HTTP backend on top of AWS. +It is can be used by the `Util.Http` package. + +An alternate HTTP backend is provided by CURL with utilada_curl. + +""" project-files = [ ".alire/aws/utilada_aws.gpr" @@ -12,9 +28,14 @@ maintainers-logins = ["stcarrez"] UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] - [general.depends-on] - utilada = "^2.0.0" +['2.1.0'] +origin = "https://github.com/stcarrez/ada-util/archive/2.1.0.tar.gz" +origin-hashes = ["sha512:56b450911111eef4ff0675021781e79c7be7c4063868c01a773a7bf5193202a58da3c5285924d2723c07f4d95df93b74f6fe3fb4d32ad718274ff3bce25601d3"] + ['2.1.0'.depends-on] + utilada = "^2.1.0" ['2.0.0'] origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] + ['2.0.0'.depends-on] + utilada = "^2.0.0" diff --git a/index/ut/utilada_curl.toml b/index/ut/utilada_curl.toml index dc48e74b..8f7d47b0 100644 --- a/index/ut/utilada_curl.toml +++ b/index/ut/utilada_curl.toml @@ -1,8 +1,24 @@ [general] description = "Utility Library REST support on top of CURL" +tags = ["web", "http"] + licenses = ["Apache 2.0"] +authors = ["Stephane.Carrez@gmail.com"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] +long-description = """ + +[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![codecov](https://codecov.io/gh/stcarrez/ada-util/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-util) + + +This small library provides an HTTP backend on top of CURL. +It is can be used by the `Util.Http` package. + +An alternate HTTP backend is provided by AWS with utilada_aws. + +""" project-files = [ "utilada_curl.gpr" @@ -12,9 +28,14 @@ maintainers-logins = ["stcarrez"] UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] - [general.depends-on] - utilada = "^2.0.0" +['2.1.0'] +origin = "https://github.com/stcarrez/ada-util/archive/2.1.0.tar.gz" +origin-hashes = ["sha512:56b450911111eef4ff0675021781e79c7be7c4063868c01a773a7bf5193202a58da3c5285924d2723c07f4d95df93b74f6fe3fb4d32ad718274ff3bce25601d3"] + ['2.1.0'.depends-on] + utilada = "^2.1.0" ['2.0.0'] origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] + ['2.0.0'.depends-on] + utilada = "^2.0.0" diff --git a/index/ut/utilada_lzma.toml b/index/ut/utilada_lzma.toml index 41784863..54ecb13c 100644 --- a/index/ut/utilada_lzma.toml +++ b/index/ut/utilada_lzma.toml @@ -1,8 +1,21 @@ [general] description = "Utility Library streams with LZMA support" +tags = ["lzma", "streams"] + licenses = ["Apache 2.0"] +authors = ["Stephane.Carrez@gmail.com"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] +long-description = """ + +[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![codecov](https://codecov.io/gh/stcarrez/ada-util/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-util) + + +This small library provides LZMA streams. + +""" project-files = [ ".alire/lzma/utilada_lzma.gpr" @@ -13,9 +26,16 @@ maintainers-logins = ["stcarrez"] BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] [general.depends-on] - utilada = "^2.0.0" lzmada = "^1.1.0" +['2.1.0'] +origin = "https://github.com/stcarrez/ada-util/archive/2.1.0.tar.gz" +origin-hashes = ["sha512:56b450911111eef4ff0675021781e79c7be7c4063868c01a773a7bf5193202a58da3c5285924d2723c07f4d95df93b74f6fe3fb4d32ad718274ff3bce25601d3"] + ['2.1.0'.depends-on] + utilada = "^2.1.0" + ['2.0.0'] origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] + ['2.0.0'.depends-on] + utilada = "^2.0.0" diff --git a/index/ut/utilada_unit.toml b/index/ut/utilada_unit.toml index 45c8ba29..d2da8b7d 100644 --- a/index/ut/utilada_unit.toml +++ b/index/ut/utilada_unit.toml @@ -1,8 +1,22 @@ [general] description = "Utility Library testing framework with Ahven" +tags = ["testing"] + licenses = ["Apache 2.0"] +authors = ["Stephane.Carrez@gmail.com"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] +long-description = """ + +[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![codecov](https://codecov.io/gh/stcarrez/ada-util/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-util) + +This library provides a testing framework on top of Ahven. +It provides various testing helper operations to help in +writing unit tests. + +""" project-files = [ ".alire/unit/utilada_unit.gpr" @@ -12,9 +26,15 @@ maintainers-logins = ["stcarrez"] UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] - [general.depends-on] - utilada = "^2.0.0" +['2.1.0'] +origin = "https://github.com/stcarrez/ada-util/archive/2.1.0.tar.gz" +origin-hashes = ["sha512:56b450911111eef4ff0675021781e79c7be7c4063868c01a773a7bf5193202a58da3c5285924d2723c07f4d95df93b74f6fe3fb4d32ad718274ff3bce25601d3"] + ['2.1.0'.depends-on] + utilada = "^2.1.0" ['2.0.0'] origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] + ['2.0.0'.depends-on] + utilada = "^2.1.0" + diff --git a/index/ut/utilada_xml.toml b/index/ut/utilada_xml.toml index 9617cf81..67f4b6bd 100644 --- a/index/ut/utilada_xml.toml +++ b/index/ut/utilada_xml.toml @@ -1,8 +1,21 @@ [general] description = "Utility Library serialization with XML/Ada" +tags = ["xml", "serialization"] + licenses = ["Apache 2.0"] +authors = ["Stephane.Carrez@gmail.com"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] +long-description = """ + +[![Build Status](https://img.shields.io/jenkins/s/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![Test Status](https://img.shields.io/jenkins/t/https/jenkins.vacs.fr/Ada-Util.svg)](https://jenkins.vacs.fr/job/Ada-Util/) +[![codecov](https://codecov.io/gh/stcarrez/ada-util/branch/master/graph/badge.svg)](https://codecov.io/gh/stcarrez/ada-util) + +This library provides a serialization framework on top of XML/Ada for +Ada Utility Library. + +""" project-files = [ ".alire/xml/utilada_xml.gpr" @@ -13,9 +26,16 @@ maintainers-logins = ["stcarrez"] BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] [general.depends-on] - utilada = "^2.0.0" xmlada = "any" +['2.1.0'] +origin = "https://github.com/stcarrez/ada-util/archive/2.1.0.tar.gz" +origin-hashes = ["sha512:56b450911111eef4ff0675021781e79c7be7c4063868c01a773a7bf5193202a58da3c5285924d2723c07f4d95df93b74f6fe3fb4d32ad718274ff3bce25601d3"] + ['2.1.0'.depends-on] + utilada = "^2.1.0" + ['2.0.0'] origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] + ['2.0.0'.depends-on] + utilada = "^2.1.0"