From 3feb2975630c3d819369a52a2cdd712da7c4c1f5 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Dec 2019 21:56:08 +0100 Subject: [PATCH 01/13] Add crate for Ada LZMA library thin binding --- index/lz/lzmada.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 index/lz/lzmada.toml diff --git a/index/lz/lzmada.toml b/index/lz/lzmada.toml new file mode 100644 index 00000000..d93d3257 --- /dev/null +++ b/index/lz/lzmada.toml @@ -0,0 +1,18 @@ +[general] +description = "Ada LZMA Library Binding" +licenses = ["MIT"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = ["lzmada.gpr"] + + [general.gpr-externals] + LZMA_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/lzmada.gpr", "lzmada.gpr"] + +['1.1.0'] +origin = "git+https://github.com/stcarrez/ada-lzma.git@3e55cdadbb46ba1428ac52a00b403039bd0fcaaa" From ec70837115a539a430b6aa525f8c93be8ff0615a Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Dec 2019 21:57:04 +0100 Subject: [PATCH 02/13] 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. --- index/ut/utilada.toml | 40 ++++++++++++++++++++++++++++++++++++++ index/ut/utilada_curl.toml | 23 ++++++++++++++++++++++ index/ut/utilada_lzma.toml | 29 +++++++++++++++++++++++++++ index/ut/utilada_xml.toml | 27 +++++++++++++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 index/ut/utilada.toml create mode 100644 index/ut/utilada_curl.toml create mode 100644 index/ut/utilada_lzma.toml create mode 100644 index/ut/utilada_xml.toml diff --git a/index/ut/utilada.toml b/index/ut/utilada.toml new file mode 100644 index 00000000..6c31c05e --- /dev/null +++ b/index/ut/utilada.toml @@ -0,0 +1,40 @@ +[general] +description = "Ada Utility Library" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "utilada_core.gpr", + "utilada_base.gpr", + "utilada_sys.gpr" + ] + + [general.gpr-externals] + UTIL_OS = ["win32", "win64", "linux32", "linux64", "macos64", + "netbsd32", "netbsd64", "freebsd32", "freebsd64"] + UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.gpr-set-externals] + BUILD = "distrib" + UTIL_LIBRARY_TYPE = "static" + + [general.gpr-set-externals.'case(os)'.windows.'case(word_size)'] + bits-64 = { UTIL_OS = "windows64" } + bits-32 = { UTIL_OS = "windows32" } + + [general.gpr-set-externals.'case(os)'.linux.'case(word_size)'] + bits-64 = { UTIL_OS = "linux64" } + bits-32 = { UTIL_OS = "linux32" } + + [general.gpr-set-externals.'case(os)'] + macos = { UTIL_OS = "macos64" } + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/utilada_conf.gpr", "."] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" + diff --git a/index/ut/utilada_curl.toml b/index/ut/utilada_curl.toml new file mode 100644 index 00000000..2cedb4cd --- /dev/null +++ b/index/ut/utilada_curl.toml @@ -0,0 +1,23 @@ +[general] +description = "Ada Utility Library (CURL)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "utilada_curl.gpr" + ] + + [general.gpr-externals] + UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" diff --git a/index/ut/utilada_lzma.toml b/index/ut/utilada_lzma.toml new file mode 100644 index 00000000..b5fc332d --- /dev/null +++ b/index/ut/utilada_lzma.toml @@ -0,0 +1,29 @@ +[general] +description = "Ada Utility Library (LZMA)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "utilada_lzma.gpr" + ] + + [general.gpr-externals] + UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"] + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/utilada_lzma.gpr", "."] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" + + diff --git a/index/ut/utilada_xml.toml b/index/ut/utilada_xml.toml new file mode 100644 index 00000000..3142ffe7 --- /dev/null +++ b/index/ut/utilada_xml.toml @@ -0,0 +1,27 @@ +[general] +description = "Ada Utility Library (XML)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "utilada_xml.gpr" + ] + + [general.gpr-externals] + UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"] + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/utilada_xml.gpr", "utilada_xml.gpr"] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" From 480eec5599f5e3b31816132a5163b3b2f95128fa Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:42:18 +0100 Subject: [PATCH 03/13] 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 --- index/ut/utilada.toml | 11 ++++------- index/ut/utilada_aws.toml | 20 ++++++++++++++++++++ index/ut/utilada_curl.toml | 9 +++------ index/ut/utilada_lzma.toml | 18 +++++------------- index/ut/utilada_unit.toml | 20 ++++++++++++++++++++ index/ut/utilada_xml.toml | 16 +++++----------- 6 files changed, 57 insertions(+), 37 deletions(-) create mode 100644 index/ut/utilada_aws.toml create mode 100644 index/ut/utilada_unit.toml diff --git a/index/ut/utilada.toml b/index/ut/utilada.toml index 6c31c05e..4ee7c087 100644 --- a/index/ut/utilada.toml +++ b/index/ut/utilada.toml @@ -1,10 +1,11 @@ [general] -description = "Ada Utility Library" +description = "Utility Library with streams, processes, logs, serialization, encoders" licenses = ["Apache 2.0"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ + ".alire/utilada_conf.gpr", "utilada_core.gpr", "utilada_base.gpr", "utilada_sys.gpr" @@ -31,10 +32,6 @@ maintainers-logins = ["stcarrez"] [general.gpr-set-externals.'case(os)'] macos = { UTIL_OS = "macos64" } - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/utilada_conf.gpr", "."] - ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" - +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 new file mode 100644 index 00000000..2e12bdb5 --- /dev/null +++ b/index/ut/utilada_aws.toml @@ -0,0 +1,20 @@ +[general] +description = "Utility Library REST support on top of AWS" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/aws/utilada_aws.gpr" + ] + + [general.gpr-externals] + UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + +['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_curl.toml b/index/ut/utilada_curl.toml index 2cedb4cd..dc48e74b 100644 --- a/index/ut/utilada_curl.toml +++ b/index/ut/utilada_curl.toml @@ -1,5 +1,5 @@ [general] -description = "Ada Utility Library (CURL)" +description = "Utility Library REST support on top of CURL" licenses = ["Apache 2.0"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] @@ -15,9 +15,6 @@ maintainers-logins = ["stcarrez"] [general.depends-on] utilada = "^2.0.0" - [[general.actions]] - type = "post-fetch" - command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"] - ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" +origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" +origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] diff --git a/index/ut/utilada_lzma.toml b/index/ut/utilada_lzma.toml index b5fc332d..41784863 100644 --- a/index/ut/utilada_lzma.toml +++ b/index/ut/utilada_lzma.toml @@ -1,11 +1,11 @@ [general] -description = "Ada Utility Library (LZMA)" +description = "Utility Library streams with LZMA support" licenses = ["Apache 2.0"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ - "utilada_lzma.gpr" + ".alire/lzma/utilada_lzma.gpr" ] [general.gpr-externals] @@ -14,16 +14,8 @@ maintainers-logins = ["stcarrez"] [general.depends-on] utilada = "^2.0.0" - - [[general.actions]] - type = "post-fetch" - command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"] - - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/utilada_lzma.gpr", "."] + lzmada = "^1.1.0" ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" - - +origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" +origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] diff --git a/index/ut/utilada_unit.toml b/index/ut/utilada_unit.toml new file mode 100644 index 00000000..45c8ba29 --- /dev/null +++ b/index/ut/utilada_unit.toml @@ -0,0 +1,20 @@ +[general] +description = "Utility Library testing framework with Ahven" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/unit/utilada_unit.gpr" + ] + + [general.gpr-externals] + UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + +['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_xml.toml b/index/ut/utilada_xml.toml index 3142ffe7..9617cf81 100644 --- a/index/ut/utilada_xml.toml +++ b/index/ut/utilada_xml.toml @@ -1,11 +1,11 @@ [general] -description = "Ada Utility Library (XML)" +description = "Utility Library serialization with XML/Ada" licenses = ["Apache 2.0"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ - "utilada_xml.gpr" + ".alire/xml/utilada_xml.gpr" ] [general.gpr-externals] @@ -14,14 +14,8 @@ maintainers-logins = ["stcarrez"] [general.depends-on] utilada = "^2.0.0" - - [[general.actions]] - type = "post-fetch" - command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"] - - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/utilada_xml.gpr", "utilada_xml.gpr"] + xmlada = "any" ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee" +origin = "https://github.com/stcarrez/ada-util/archive/2.0.0.tar.gz" +origin-hashes = ["sha512:5e0a1f543d903a4d52e7f7fce233f3459e429b81c6c880c9ed6d7e89e0ac202f9394d4d316f3741772972a72c19f5a7ede0230674e2239b300465e0997ddbe64"] From 19022f2ee58111f971972cc3b685091e76af84f3 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:46:33 +0100 Subject: [PATCH 04/13] Update to use the git archive with a hash and the GNAT alire project in-place --- index/lz/lzmada.toml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/index/lz/lzmada.toml b/index/lz/lzmada.toml index d93d3257..996c66b2 100644 --- a/index/lz/lzmada.toml +++ b/index/lz/lzmada.toml @@ -4,15 +4,12 @@ licenses = ["MIT"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] - project-files = ["lzmada.gpr"] + project-files = [".alire/lzmada.gpr"] [general.gpr-externals] LZMA_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/lzmada.gpr", "lzmada.gpr"] - ['1.1.0'] -origin = "git+https://github.com/stcarrez/ada-lzma.git@3e55cdadbb46ba1428ac52a00b403039bd0fcaaa" +origin = "https://github.com/stcarrez/ada-lzma/archive/1.1.0.tar.gz" +origin-hashes = ["sha512:1344289480d43e12622c3ae822d9b4a34d927219341eafff2f80151f2ee6613aac6599d3ee46f602869d1f498129fd0607b688951d6cbf97b24b48af2cb44047"] From 4f0a540cedeaf5a384463f3bdbc26e8f07e2ab37 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Dec 2019 22:18:14 +0100 Subject: [PATCH 05/13] Add Ada Database Objects 2.0.0 crates - the 'ado' crate is the core library and does not contain any database driver - the 'ado_postgresql' crate depends on 'ado' and is the PostgreSQL driver - the 'ado_sqlite' crate depends on 'ado' and is the SQLite driver There is missing the 'ado_mysql' crate because the library dependency is tricky: we may need one of libmysqlclient or libmariadb libaries. --- index/ad/ado.toml | 29 +++++++++++++++++++++++++++++ index/ad/ado_postgresql.toml | 29 +++++++++++++++++++++++++++++ index/ad/ado_sqlite.toml | 29 +++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 index/ad/ado.toml create mode 100644 index/ad/ado_postgresql.toml create mode 100644 index/ad/ado_sqlite.toml diff --git a/index/ad/ado.toml b/index/ad/ado.toml new file mode 100644 index 00000000..eed6914d --- /dev/null +++ b/index/ad/ado.toml @@ -0,0 +1,29 @@ +[general] +description = "Ada Database Objects (Core library)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "ado.gpr" + ] + + [general.gpr-externals] + ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + utilada_xml = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/ado.gpr", "ado.gpr"] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1" + diff --git a/index/ad/ado_postgresql.toml b/index/ad/ado_postgresql.toml new file mode 100644 index 00000000..0241a15c --- /dev/null +++ b/index/ad/ado_postgresql.toml @@ -0,0 +1,29 @@ +[general] +description = "Ada Database Objects (PostgreSQL)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "ado_postgresql.gpr" + ] + + [general.gpr-externals] + ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + ado = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/ado_postgresql.gpr", "ado_postgresql.gpr"] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1" + + diff --git a/index/ad/ado_sqlite.toml b/index/ad/ado_sqlite.toml new file mode 100644 index 00000000..d3bda4f6 --- /dev/null +++ b/index/ad/ado_sqlite.toml @@ -0,0 +1,29 @@ +[general] +description = "Ada Database Objects (SQLite)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "ado_sqlite.gpr" + ] + + [general.gpr-externals] + ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + ado = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/ado_sqlite.gpr", "ado_sqlite.gpr"] + +['2.0.0'] +origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1" + + From 248b150188c84e4a3af10d8da92ae0e0a8812070 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:48:17 +0100 Subject: [PATCH 06/13] Update to use the git archive with a hash and use the Alire GNAT project in-place --- index/ad/ado.toml | 10 +++------- index/ad/ado_postgresql.toml | 11 +++-------- index/ad/ado_sqlite.toml | 11 +++-------- 3 files changed, 9 insertions(+), 23 deletions(-) diff --git a/index/ad/ado.toml b/index/ad/ado.toml index eed6914d..567f0934 100644 --- a/index/ad/ado.toml +++ b/index/ad/ado.toml @@ -5,7 +5,7 @@ maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ - "ado.gpr" + ".alire/ado.gpr" ] [general.gpr-externals] @@ -20,10 +20,6 @@ maintainers-logins = ["stcarrez"] type = "post-fetch" command = ["rm", "-f", "config.gpr"] - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/ado.gpr", "ado.gpr"] - ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1" - +origin = "https://github.com/stcarrez/ada-ado/archive/2.0.0.tar.gz" +origin-hashes = ["sha512:27870ba6654bccb0a3a4d07e15c021eaa46cff309bba6bb69179c68ba545843a364fba5d78c580a41976a0ee890cca801dfb510c82d442d0c573fea2f8fd0269"] diff --git a/index/ad/ado_postgresql.toml b/index/ad/ado_postgresql.toml index 0241a15c..0c99ed14 100644 --- a/index/ad/ado_postgresql.toml +++ b/index/ad/ado_postgresql.toml @@ -5,7 +5,7 @@ maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ - "ado_postgresql.gpr" + ".alire/postgresql/ado_postgresql.gpr" ] [general.gpr-externals] @@ -19,11 +19,6 @@ maintainers-logins = ["stcarrez"] type = "post-fetch" command = ["rm", "-f", "config.gpr"] - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/ado_postgresql.gpr", "ado_postgresql.gpr"] - ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1" - - +origin = "https://github.com/stcarrez/ada-ado/archive/2.0.0.tar.gz" +origin-hashes = ["sha512:27870ba6654bccb0a3a4d07e15c021eaa46cff309bba6bb69179c68ba545843a364fba5d78c580a41976a0ee890cca801dfb510c82d442d0c573fea2f8fd0269"] diff --git a/index/ad/ado_sqlite.toml b/index/ad/ado_sqlite.toml index d3bda4f6..d565e900 100644 --- a/index/ad/ado_sqlite.toml +++ b/index/ad/ado_sqlite.toml @@ -5,7 +5,7 @@ maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ - "ado_sqlite.gpr" + ".alire/sqlite/ado_sqlite.gpr" ] [general.gpr-externals] @@ -19,11 +19,6 @@ maintainers-logins = ["stcarrez"] type = "post-fetch" command = ["rm", "-f", "config.gpr"] - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/ado_sqlite.gpr", "ado_sqlite.gpr"] - ['2.0.0'] -origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1" - - +origin = "https://github.com/stcarrez/ada-ado/archive/2.0.0.tar.gz" +origin-hashes = ["sha512:27870ba6654bccb0a3a4d07e15c021eaa46cff309bba6bb69179c68ba545843a364fba5d78c580a41976a0ee890cca801dfb510c82d442d0c573fea2f8fd0269"] From f0b0e29f8587dadab4ec9244d1d2c7a0c2c4042d Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Dec 2019 22:31:04 +0100 Subject: [PATCH 07/13] Add Ada Wiki Engine 1.2.0 crate This adds the 'wikiada' crate to the index. This library provides a small Wiki parser, renderer and generator engine. It uses 'utilada' crate. --- index/wi/wikiada.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 index/wi/wikiada.toml diff --git a/index/wi/wikiada.toml b/index/wi/wikiada.toml new file mode 100644 index 00000000..09d3a0a2 --- /dev/null +++ b/index/wi/wikiada.toml @@ -0,0 +1,27 @@ +[general] +description = "Ada Wiki Engine with parser and renderer for several wiki syntaxes" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + "wikiada.gpr" + ] + + [general.gpr-externals] + WIKI_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["cp", ".alire/wikiada.gpr", "wikiada.gpr"] + + [[general.actions]] + type = "post-fetch" + command = ["rm", "config.gpr"] + +['1.2.0'] +origin = "git+https://github.com/stcarrez/ada-wiki.git@1705a18eb8f8660fca33e4c6b1eebff90bc0f8fe" From 0461827b35a029330d2f01b5de3d9ed7fc332d80 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Dec 2019 22:46:30 +0100 Subject: [PATCH 08/13] Ignore the removal of config.gpr when the file does not exist --- index/wi/wikiada.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index/wi/wikiada.toml b/index/wi/wikiada.toml index 09d3a0a2..1c322281 100644 --- a/index/wi/wikiada.toml +++ b/index/wi/wikiada.toml @@ -21,7 +21,7 @@ maintainers-logins = ["stcarrez"] [[general.actions]] type = "post-fetch" - command = ["rm", "config.gpr"] + command = ["rm", "-f", "config.gpr"] ['1.2.0'] origin = "git+https://github.com/stcarrez/ada-wiki.git@1705a18eb8f8660fca33e4c6b1eebff90bc0f8fe" From b944f73d4652e8521023a9503ccaabbae9da369a Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:38:36 +0100 Subject: [PATCH 09/13] Use the .alire/wikiada.gpr project in place and use the git archive with a hash --- index/wi/wikiada.toml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/index/wi/wikiada.toml b/index/wi/wikiada.toml index 1c322281..3098a821 100644 --- a/index/wi/wikiada.toml +++ b/index/wi/wikiada.toml @@ -1,11 +1,11 @@ [general] -description = "Ada Wiki Engine with parser and renderer for several wiki syntaxes" +description = "Wiki Engine with parser and renderer for several wiki syntaxes" licenses = ["Apache 2.0"] maintainers = ["Stephane.Carrez@gmail.com"] maintainers-logins = ["stcarrez"] project-files = [ - "wikiada.gpr" + ".alire/wikiada.gpr" ] [general.gpr-externals] @@ -15,13 +15,10 @@ maintainers-logins = ["stcarrez"] [general.depends-on] utilada = "^2.0.0" - [[general.actions]] - type = "post-fetch" - command = ["cp", ".alire/wikiada.gpr", "wikiada.gpr"] - [[general.actions]] type = "post-fetch" command = ["rm", "-f", "config.gpr"] ['1.2.0'] -origin = "git+https://github.com/stcarrez/ada-wiki.git@1705a18eb8f8660fca33e4c6b1eebff90bc0f8fe" +origin = "https://github.com/stcarrez/ada-wiki/archive/1.2.0.tar.gz" +origin-hashes = ["sha512:a57d94178f711de0f9a9d708168b5bf38f20213e609a9b0c5124f25dc294ba4d9d524e1a945c393f516eb2ffbce9f0c808083578804e69515214b1c1115208ff"] From 7484d91e2249a31ffb95ec8bfe0eabd88ac1b7a6 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:51:24 +0100 Subject: [PATCH 10/13] Add crate for Ada Expression Library which implements JSR 245 --- index/el/elada.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 index/el/elada.toml diff --git a/index/el/elada.toml b/index/el/elada.toml new file mode 100644 index 00000000..1be28009 --- /dev/null +++ b/index/el/elada.toml @@ -0,0 +1,25 @@ +[general] +description = "Expression Language Library (JSR245)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/elada.gpr" + ] + + [general.depends-on] + utilada = "^2.0.0" + + [general.gpr-externals] + EL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.7.0'] +origin = "https://github.com/stcarrez/ada-el/archive/1.7.0.tar.gz" +origin-hashes = ["sha512:86ac5fc839aa91cd9da2681b5fbeed0d41e749d73bf547f7bf4e1172b351d483fb8549deabd63adf688583a990c7af70bd121a39018ba6c34d93f513aa4f588d"] + From e22c94940cea92620dbc371a30842436de4b6c50 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:52:39 +0100 Subject: [PATCH 11/13] Add crate for Security Library with client/server security framework and OAuth2 support --- index/se/security.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 index/se/security.toml diff --git a/index/se/security.toml b/index/se/security.toml new file mode 100644 index 00000000..b523ddc8 --- /dev/null +++ b/index/se/security.toml @@ -0,0 +1,25 @@ +[general] +description = "Security Library for HTTP client and server with OAuth2 support" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/security.gpr" + ] + + [general.gpr-externals] + SECURITY_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + utilada_xml = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.2.1'] +origin = "https://github.com/stcarrez/ada-security/archive/1.2.1.tar.gz" +origin-hashes = ["sha512:0a064c4c3d4a0953094910dfbf7ca8d85745a815b62d307e0aae0f1de8d84607fcf001557bc31769cdac0103b5fef565d51a41688029666d77545197dd4362c2"] From 7acbd4beeadf276b7bf1e7d9456ff68f548d40d9 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:53:52 +0100 Subject: [PATCH 12/13] Add crates for Servlet libraries implementing JSR 154 and 315 - servletada is the core library (independent of the web server) - servletada_aws is the servlet support with AWS - servletada_unit is a library to help in writing servlet unit tests --- index/se/servletada.toml | 25 +++++++++++++++++++++++++ index/se/servletada_aws.toml | 25 +++++++++++++++++++++++++ index/se/servletada_unit.toml | 26 ++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 index/se/servletada.toml create mode 100644 index/se/servletada_aws.toml create mode 100644 index/se/servletada_unit.toml diff --git a/index/se/servletada.toml b/index/se/servletada.toml new file mode 100644 index 00000000..e5468646 --- /dev/null +++ b/index/se/servletada.toml @@ -0,0 +1,25 @@ +[general] +description = "Web Servlet Library following JSR 154, JSR 315 (Core)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/servletada.gpr" + ] + + [general.gpr-externals] + SERVLET_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + security = "^1.2.1" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.3.0'] +origin = "https://github.com/stcarrez/ada-servlet/archive/1.3.0.tar.gz" +origin-hashes = ["sha512:7ba99a77dea06e058367504b9cd8bf39599f237f09128b1cac1aa55cc067f0380df6e76de374642e89ea1f4a1a4770c1048d40ad7ff5e6f3aaa42415ad5b7082"] diff --git a/index/se/servletada_aws.toml b/index/se/servletada_aws.toml new file mode 100644 index 00000000..5db1d93d --- /dev/null +++ b/index/se/servletada_aws.toml @@ -0,0 +1,25 @@ +[general] +description = "Web Servlet Library following JSR 154, JSR 315 (AWS)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/aws/servletada_aws.gpr" + ] + + [general.gpr-externals] + SERVLET_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + servletada = "^1.3.0" + utilada_aws = "^2.0.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.3.0'] +origin = "https://github.com/stcarrez/ada-servlet/archive/1.3.0.tar.gz" +origin-hashes = ["sha512:7ba99a77dea06e058367504b9cd8bf39599f237f09128b1cac1aa55cc067f0380df6e76de374642e89ea1f4a1a4770c1048d40ad7ff5e6f3aaa42415ad5b7082"] diff --git a/index/se/servletada_unit.toml b/index/se/servletada_unit.toml new file mode 100644 index 00000000..4bb073ef --- /dev/null +++ b/index/se/servletada_unit.toml @@ -0,0 +1,26 @@ +[general] +description = "Web Servlet Library following JSR 154, JSR 315 (Testing framework)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/unit/servletada_unit.gpr" + ] + + [general.gpr-externals] + SERVLET_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + utilada_unit = "^2.0.0" + servletada = "^1.3.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.3.0'] +origin = "https://github.com/stcarrez/ada-servlet/archive/1.3.0.tar.gz" +origin-hashes = ["sha512:7ba99a77dea06e058367504b9cd8bf39599f237f09128b1cac1aa55cc067f0380df6e76de374642e89ea1f4a1a4770c1048d40ad7ff5e6f3aaa42415ad5b7082"] From 1aeec6d7341bb647eb34503bb14be70b433f0a59 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 15 Dec 2019 22:56:17 +0100 Subject: [PATCH 13/13] Add crates for Ada Server Faces implementing JSR 252, 314, 344 - serverfaces is the core library which is built on top of servletada - serverfaces_unit is a library to help in writing unit tests --- index/se/serverfaces.toml | 26 ++++++++++++++++++++++++++ index/se/serverfaces_unit.toml | 27 +++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 index/se/serverfaces.toml create mode 100644 index/se/serverfaces_unit.toml diff --git a/index/se/serverfaces.toml b/index/se/serverfaces.toml new file mode 100644 index 00000000..71a00803 --- /dev/null +++ b/index/se/serverfaces.toml @@ -0,0 +1,26 @@ +[general] +description = "Web Server Faces JSR 252, JSR 314 and JSR 344" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/asf.gpr" + ] + + [general.gpr-externals] + SECURITY_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + security = "^1.2.1" + servletada = "^1.3.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.3.0'] +origin = "https://github.com/stcarrez/ada-asf/archive/1.3.0.tar.gz" +origin-hashes = ["sha512:74425bce8321e220d97da08131b49c2d1811fe174f16d4e3a4fccb3c244029b736b138a3d008821ba01ca7472152d37709d5eef08d3cccd32a59130c0649b613"] diff --git a/index/se/serverfaces_unit.toml b/index/se/serverfaces_unit.toml new file mode 100644 index 00000000..d343b14c --- /dev/null +++ b/index/se/serverfaces_unit.toml @@ -0,0 +1,27 @@ +[general] +description = "Web Server Faces JSR 252, JSR 314 and JSR 344 (Testing framework)" +licenses = ["Apache 2.0"] +maintainers = ["Stephane.Carrez@gmail.com"] +maintainers-logins = ["stcarrez"] + + project-files = [ + ".alire/unit/asf.gpr" + ] + + [general.gpr-externals] + SECURITY_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] + BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] + + [general.depends-on] + utilada = "^2.0.0" + security = "^1.2.1" + servletada = "^1.3.0" + serverfaces = "^1.3.0" + + [[general.actions]] + type = "post-fetch" + command = ["rm", "-f", "config.gpr"] + +['1.3.0'] +origin = "https://github.com/stcarrez/ada-asf/archive/1.3.0.tar.gz" +origin-hashes = ["sha512:74425bce8321e220d97da08131b49c2d1811fe174f16d4e3a4fccb3c244029b736b138a3d008821ba01ca7472152d37709d5eef08d3cccd32a59130c0649b613"]