From 2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Nov 2015 20:02:06 +0200 Subject: Implement new URL path schema for the web interface --- tests/loader/1/basics/packages | 8 ++++ tests/loader/1/basics/repositories | 4 ++ tests/loader/1/math/packages | 71 ++++++++++++++++++++++++++++ tests/loader/1/math/repositories | 13 +++++ tests/loader/1/misc/packages | 47 ++++++++++++++++++ tests/loader/1/misc/repositories | 13 +++++ tests/loader/1/stable/packages | 42 ++++++++++++++++ tests/loader/1/stable/repositories | 14 ++++++ tests/loader/1/staging/packages | 25 ++++++++++ tests/loader/1/staging/repositories | 4 ++ tests/loader/1/testing/packages | 9 ++++ tests/loader/1/testing/repositories | 9 ++++ tests/loader/driver.cxx | 48 +++++++++---------- tests/loader/external/1/basics/packages | 8 ---- tests/loader/external/1/basics/repositories | 4 -- tests/loader/external/1/misc/packages | 47 ------------------ tests/loader/external/1/misc/repositories | 13 ----- tests/loader/external/1/staging/packages | 25 ---------- tests/loader/external/1/staging/repositories | 4 -- tests/loader/external/1/testing/packages | 9 ---- tests/loader/external/1/testing/repositories | 9 ---- tests/loader/internal/1/math/packages | 71 ---------------------------- tests/loader/internal/1/math/repositories | 13 ----- tests/loader/internal/1/stable/packages | 42 ---------------- tests/loader/internal/1/stable/repositories | 14 ------ tests/loader/r.conf | 4 +- 26 files changed, 285 insertions(+), 285 deletions(-) create mode 100644 tests/loader/1/basics/packages create mode 100644 tests/loader/1/basics/repositories create mode 100644 tests/loader/1/math/packages create mode 100644 tests/loader/1/math/repositories create mode 100644 tests/loader/1/misc/packages create mode 100644 tests/loader/1/misc/repositories create mode 100644 tests/loader/1/stable/packages create mode 100644 tests/loader/1/stable/repositories create mode 100644 tests/loader/1/staging/packages create mode 100644 tests/loader/1/staging/repositories create mode 100644 tests/loader/1/testing/packages create mode 100644 tests/loader/1/testing/repositories delete mode 100644 tests/loader/external/1/basics/packages delete mode 100644 tests/loader/external/1/basics/repositories delete mode 100644 tests/loader/external/1/misc/packages delete mode 100644 tests/loader/external/1/misc/repositories delete mode 100644 tests/loader/external/1/staging/packages delete mode 100644 tests/loader/external/1/staging/repositories delete mode 100644 tests/loader/external/1/testing/packages delete mode 100644 tests/loader/external/1/testing/repositories delete mode 100644 tests/loader/internal/1/math/packages delete mode 100644 tests/loader/internal/1/math/repositories delete mode 100644 tests/loader/internal/1/stable/packages delete mode 100644 tests/loader/internal/1/stable/repositories (limited to 'tests') diff --git a/tests/loader/1/basics/packages b/tests/loader/1/basics/packages new file mode 100644 index 0000000..86c20c1 --- /dev/null +++ b/tests/loader/1/basics/packages @@ -0,0 +1,8 @@ +: 1 +name: libexpat +version: 5.1 +summary: The Expat Library +license: MIT +url: http://www.example.com/expat/ +email: expat-users@example.com +location: libexpat-5.1.tar.gz diff --git a/tests/loader/1/basics/repositories b/tests/loader/1/basics/repositories new file mode 100644 index 0000000..57a1c7a --- /dev/null +++ b/tests/loader/1/basics/repositories @@ -0,0 +1,4 @@ +: 1 +# Local repository manifest (this repository). +# +url: http://basics.org diff --git a/tests/loader/1/math/packages b/tests/loader/1/math/packages new file mode 100644 index 0000000..4d34c13 --- /dev/null +++ b/tests/loader/1/math/packages @@ -0,0 +1,71 @@ +: 1 +name: libstudxml +version: 1.0.0-1 +summary: Modern C++ XML API +license: MIT +tags: c++, xml, parser, serializer, pull, streaming, modern +description-file: README +changes-file: NEWS +url: http://www.codesynthesis.com/projects/libstudxml/ +email: studxml-users@codesynthesis.com; Public mailing list, posts by\ + non-members are allowed but moderated. +package-email: boris@codesynthesis.com; Direct email to the author. +depends: libexpat >= 2.0.0 +depends: libgenx +location: libstudxml-1.0.0-1.tar.gz +: +name: libexp +version: 1+1.2 +summary: The exponent +description: The exponent math function. +license: MIT +tags: c++, exponent +url: http://www.exp.com +email: users@exp.com +depends: libmisc +location: libexp-1+1.2.tar.gz +: +name: libfoo +version: 1.2.4-1 +summary: The Foo Math Library +description:\ +A modern C++ library with easy to use linear algebra and lot of optimization +tools. + +There are over 100 functions in total with an extensive test suite. The API is +similar to MATLAB. + +Useful for conversion of research code into production environments. +\ +license: LGPLv2, MIT; If using with GNU TLS. +license: BSD; If using with OpenSSL. +priority: high; Critical bug fixes, performance improvement. +tags: c++, foo, math +url: http://www.example.com/foo/; Project home page. +email: foo-users@example.com; Public mailing list. Read FAQ before posting. +package-url: http://www.example.com/foo/pack; Package details. +package-email: pack@example.com; Current packager. +depends: libmisc < 1.1 | libmisc > 2.3.0; Crashes with 1.1.0-2.3.0. +depends: libexp >= 1.0 +depends: ? libstudxml | libexpat; The newer the better. +requires: linux | windows | macosx; Symbian support is coming. +requires: c++11 +requires: ? ; libc++ standard library if using Clang on Mac OS X. +requires: ? vc++ >= 12.0; Only if using VC++ on Windows. +location: libfoo-1.2.4-1.tar.gz +changes:\ +1.2.4-1 + * applied patch for critical bug-219 + * regenerated documentation + +1.2.4 + * test suite extended significantly +\ +: +name: libfoo +version: 1.0 +summary: The Foo Lib +license: MIT +url: http://www.example.com/foo/ +email: foo-users@example.com +location: libfoo-1.0.tar.gz diff --git a/tests/loader/1/math/repositories b/tests/loader/1/math/repositories new file mode 100644 index 0000000..20aa30d --- /dev/null +++ b/tests/loader/1/math/repositories @@ -0,0 +1,13 @@ +: 1 +# Foreign repository manifest. +# +location: ../misc +: +# Local repository manifest (this repository). +# +email: repoman@cppget.org +summary: Math C++ package repository +description: \ +This is the awesome C++ package repository full of remarkable algorithms and +APIs. +\ diff --git a/tests/loader/1/misc/packages b/tests/loader/1/misc/packages new file mode 100644 index 0000000..e47208d --- /dev/null +++ b/tests/loader/1/misc/packages @@ -0,0 +1,47 @@ +: 1 +name: libbar +version: 2.3.5 +priority: security; Very important to install. +summary: The Bar library +description: very very good library. +license: GPLv2 +tags: c++, bar +url: http://www.example.com/bar/ +email: bar-users@example.com +depends: libfoo +depends: libmath >= 2.0.0 +requires: linux | windows | macosx +changes: some changes +location: libbar-2.3.5.tar.gz +: +name: libfoo +version: 1.0 +summary: Foo Library +license: MIT +url: http://www.example.com/foo/ +email: foo-users@example.com +location: libfoo-1.0.tar.gz +: +name: libfoo +version: 0.1 +summary: Foo +license: MIT +url: http://www.example.com/foo/ +email: foo-users@example.com +location: libfoo-0.1.tar.gz +: +name: libfoo +version: 1.2.4-1 +summary: Foo Library +license: MIT +url: http://www.example.com/foo/ +email: foo-users@example.com +location: libfoo-1.2.4-1.tar.gz +: +name: libfoo +version: 1.2.4-2 +summary: Foo Library +license: MIT +url: http://www.example.com/foo/ +email: foo-users@example.com +location: libfoo-1.2.4-2.tar.gz diff --git a/tests/loader/1/misc/repositories b/tests/loader/1/misc/repositories new file mode 100644 index 0000000..1a41290 --- /dev/null +++ b/tests/loader/1/misc/repositories @@ -0,0 +1,13 @@ +: 1 +# Foreign repository manifest. +# +location: ../basics +: +# Adjacent repository manifest. +# +location: ../testing +role: complement +: +# Local repository manifest (this repository). +# +url: http://misc.cppget.org/ diff --git a/tests/loader/1/stable/packages b/tests/loader/1/stable/packages new file mode 100644 index 0000000..756a562 --- /dev/null +++ b/tests/loader/1/stable/packages @@ -0,0 +1,42 @@ +: 1 +name: libfoo +version: 1.2.3-4 +summary: The Foo library +license: MIT +tags: c++, foo +url: http://www.example.com/foo/ +email: foo-users@example.com +depends: libmisc >= 2.0.0 +location: libfoo-1.2.3-4.tar.gz +: +name: libfoo +version: 1.2.2 +summary: The Foo library +license: MIT +tags: c++, foo +url: http://www.example.com/foo/ +email: foo-users@example.com +depends: libbar <= 2.4.0 +depends: libexp == 1+1.2 +location: libfoo-1.2.2.tar.gz +: +name: libfoo +version: 1.2.4 +summary: The Foo Library +description: Very good foo library. +license: MIT; Permissive free software license. +tags: c++, foo +url: http://www.example.com/foo/ +email: foo-users@example.com +depends: libmisc >= 2.0.0 +changes: some changes 1 +changes: some changes 2 +location: libfoo-1.2.4.tar.gz +: +name: libfoo +version: 1.0 +summary: The Foo Library +license: MIT +url: http://www.example.com/foo/ +email: foo-users@example.com +location: libfoo-1.0.tar.gz diff --git a/tests/loader/1/stable/repositories b/tests/loader/1/stable/repositories new file mode 100644 index 0000000..b692ebe --- /dev/null +++ b/tests/loader/1/stable/repositories @@ -0,0 +1,14 @@ +: 1 +# Foreign repository manifest. +# +location: ../misc +: +# Adjacent repository manifest. +# +location: ../math +: +# Local repository manifest (this repository). +# +email: repoman@cppget.org +summary: General C++ package stable repository +description: This is the awesome C++ package repository full of exciting stuff. diff --git a/tests/loader/1/staging/packages b/tests/loader/1/staging/packages new file mode 100644 index 0000000..e7b22b0 --- /dev/null +++ b/tests/loader/1/staging/packages @@ -0,0 +1,25 @@ +: 1 +name: libexpat +version: 5.1 +summary: The Expat Library +license: MIT +url: http://www.example.com/expat/ +email: expat-users@example.com +location: libexpat-5.1.tar.gz +: +name: libgenx +version: 1.0 +summary: The Genx Library +license: MIT +url: http://www.example.com/genx/ +email: genx-users@example.com +location: libgenx-1.0.tar.gz +: +name: libmisc +version: 1.0 +summary: The Misc Library +license: MIT +url: http://www.example.com/misc/ +email: misc-users@example.com +depends: libexpat >= 5.0 +location: libmisc-1.0.tar.gz diff --git a/tests/loader/1/staging/repositories b/tests/loader/1/staging/repositories new file mode 100644 index 0000000..8443ab8 --- /dev/null +++ b/tests/loader/1/staging/repositories @@ -0,0 +1,4 @@ +: 1 +# Local repository manifest (this repository). +# +url: http://stage.cppget.org diff --git a/tests/loader/1/testing/packages b/tests/loader/1/testing/packages new file mode 100644 index 0000000..bdebece --- /dev/null +++ b/tests/loader/1/testing/packages @@ -0,0 +1,9 @@ +: 1 +name: libmisc +version: 2.4.0 +summary: The Misc Library +license: MIT +url: http://www.example.com/misc/ +email: misc-users@example.com +depends: libexpat >= 5.0 +location: libmisc-2.4.0.tar.gz diff --git a/tests/loader/1/testing/repositories b/tests/loader/1/testing/repositories new file mode 100644 index 0000000..a218d5c --- /dev/null +++ b/tests/loader/1/testing/repositories @@ -0,0 +1,9 @@ +: 1 +# Adjacent repository manifest. +# +location: ../staging +role: complement +: +# Local repository manifest (this repository). +# +url: http://test.cppget.org/hello diff --git a/tests/loader/driver.cxx b/tests/loader/driver.cxx index 0d361ab..94a0b86 100644 --- a/tests/loader/driver.cxx +++ b/tests/loader/driver.cxx @@ -2,10 +2,6 @@ // copyright : Copyright (c) 2014-2015 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include -#include // shared_ptr -#include -#include #include #include #include // sort(), find() @@ -16,9 +12,10 @@ #include #include -#include // timestamp_nonexistent #include +#include +#include #include #include @@ -59,8 +56,6 @@ check_external (const package& p) int main (int argc, char* argv[]) { - using brep::optional; // Ambiguity with butl::optional. - if (argc != 7) { cerr << "usage: " << argv[0] @@ -83,7 +78,7 @@ main (int argc, char* argv[]) // Update packages file timestamp to enforce loader to update // persistent state. // - path p (cp.directory () / path ("internal/1/stable/packages")); + path p (cp.directory () / path ("1/stable/packages")); char const* args[] = {"touch", p.string ().c_str (), nullptr}; assert (process (args).wait ()); @@ -115,8 +110,9 @@ main (int argc, char* argv[]) // assert (sr->location.canonical_name () == "cppget.org/stable"); assert (sr->location.string () == - "http://pkg.cppget.org/internal/1/stable"); + "http://pkg.cppget.org/1/stable"); assert (sr->display_name == "stable"); + assert (sr->priority == 1); assert (!sr->url); assert (sr->email && *sr->email == "repoman@cppget.org"); assert (sr->summary && @@ -125,7 +121,7 @@ main (int argc, char* argv[]) "This is the awesome C++ package repository full of exciting " "stuff."); - dir_path srp (cp.directory () / dir_path ("internal/1/stable")); + dir_path srp (cp.directory () / dir_path ("1/stable")); assert (sr->local_path == srp.normalize ()); assert (sr->packages_timestamp == srt); @@ -220,7 +216,7 @@ main (int argc, char* argv[]) assert (fpv2->dependencies[1][0] == dep ( "libexp", - brep::optional ( + optional ( dependency_constraint{comparison::eq, version ("1+1.2")}))); assert (fpv2->requirements.empty ()); @@ -250,7 +246,7 @@ main (int argc, char* argv[]) assert (fpv3->dependencies[0][0] == dep ( "libmisc", - brep::optional ( + optional ( dependency_constraint{comparison::ge, version ("2.0.0")}))); // libfoo-1.2.4 @@ -279,15 +275,16 @@ main (int argc, char* argv[]) assert (fpv4->dependencies[0][0] == dep ( "libmisc", - brep::optional ( + optional ( dependency_constraint{comparison::ge, version ("2.0.0")}))); // Verify 'math' repository. // assert (mr->location.canonical_name () == "cppget.org/math"); assert (mr->location.string () == - "http://pkg.cppget.org/internal/1/math"); + "http://pkg.cppget.org/1/math"); assert (mr->display_name == "math"); + assert (mr->priority == 2); assert (!mr->url); assert (mr->email && *mr->email == "repoman@cppget.org"); assert (mr->summary && *mr->summary == "Math C++ package repository"); @@ -295,7 +292,7 @@ main (int argc, char* argv[]) "This is the awesome C++ package repository full of remarkable " "algorithms and\nAPIs."); - dir_path mrp (cp.directory () / dir_path ("internal/1/math")); + dir_path mrp (cp.directory () / dir_path ("1/math")); assert (mr->local_path == mrp.normalize ()); assert (mr->packages_timestamp == @@ -413,13 +410,13 @@ main (int argc, char* argv[]) assert (fpv5->dependencies[0][0] == dep ( "libmisc", - brep::optional ( + optional ( dependency_constraint{comparison::lt, version ("1.1")}))); assert (fpv5->dependencies[0][1] == dep ( "libmisc", - brep::optional ( + optional ( dependency_constraint{comparison::gt, version ("2.3.0")}))); assert (fpv5->dependencies[1].size () == 1); @@ -427,7 +424,7 @@ main (int argc, char* argv[]) assert (fpv5->dependencies[1][0] == dep ("libexp", - brep::optional ( + optional ( dependency_constraint{comparison::ge, version ("1.0")}))); assert (fpv5->dependencies[2].size () == 2); @@ -488,14 +485,15 @@ main (int argc, char* argv[]) // assert (cr->location.canonical_name () == "cppget.org/misc"); assert (cr->location.string () == - "http://pkg.cppget.org/external/1/misc"); + "http://pkg.cppget.org/1/misc"); assert (cr->display_name.empty ()); + assert (cr->priority == 0); assert (cr->url && *cr->url == "http://misc.cppget.org/"); assert (!cr->email); assert (!cr->summary); assert (!cr->description); - dir_path crp (cp.directory () / dir_path ("external/1/misc")); + dir_path crp (cp.directory () / dir_path ("1/misc")); assert (cr->local_path == crp.normalize ()); assert (cr->packages_timestamp == @@ -546,14 +544,15 @@ main (int argc, char* argv[]) // assert (tr->location.canonical_name () == "cppget.org/testing"); assert (tr->location.string () == - "http://pkg.cppget.org/external/1/testing"); + "http://pkg.cppget.org/1/testing"); assert (tr->display_name.empty ()); + assert (tr->priority == 0); assert (tr->url && *tr->url == "http://test.cppget.org/hello/"); assert (!tr->email); assert (!tr->summary); assert (!tr->description); - dir_path trp (cp.directory () / dir_path ("external/1/testing")); + dir_path trp (cp.directory () / dir_path ("1/testing")); assert (tr->local_path == trp.normalize ()); assert (tr->packages_timestamp == @@ -582,14 +581,15 @@ main (int argc, char* argv[]) // assert (gr->location.canonical_name () == "cppget.org/staging"); assert (gr->location.string () == - "http://pkg.cppget.org/external/1/staging"); + "http://pkg.cppget.org/1/staging"); assert (gr->display_name.empty ()); + assert (gr->priority == 0); assert (gr->url && *gr->url == "http://stage.cppget.org/"); assert (!gr->email); assert (!gr->summary); assert (!gr->description); - dir_path grp (cp.directory () / dir_path ("external/1/staging")); + dir_path grp (cp.directory () / dir_path ("1/staging")); assert (gr->local_path == grp.normalize ()); assert (gr->packages_timestamp == diff --git a/tests/loader/external/1/basics/packages b/tests/loader/external/1/basics/packages deleted file mode 100644 index 86c20c1..0000000 --- a/tests/loader/external/1/basics/packages +++ /dev/null @@ -1,8 +0,0 @@ -: 1 -name: libexpat -version: 5.1 -summary: The Expat Library -license: MIT -url: http://www.example.com/expat/ -email: expat-users@example.com -location: libexpat-5.1.tar.gz diff --git a/tests/loader/external/1/basics/repositories b/tests/loader/external/1/basics/repositories deleted file mode 100644 index 57a1c7a..0000000 --- a/tests/loader/external/1/basics/repositories +++ /dev/null @@ -1,4 +0,0 @@ -: 1 -# Local repository manifest (this repository). -# -url: http://basics.org diff --git a/tests/loader/external/1/misc/packages b/tests/loader/external/1/misc/packages deleted file mode 100644 index e47208d..0000000 --- a/tests/loader/external/1/misc/packages +++ /dev/null @@ -1,47 +0,0 @@ -: 1 -name: libbar -version: 2.3.5 -priority: security; Very important to install. -summary: The Bar library -description: very very good library. -license: GPLv2 -tags: c++, bar -url: http://www.example.com/bar/ -email: bar-users@example.com -depends: libfoo -depends: libmath >= 2.0.0 -requires: linux | windows | macosx -changes: some changes -location: libbar-2.3.5.tar.gz -: -name: libfoo -version: 1.0 -summary: Foo Library -license: MIT -url: http://www.example.com/foo/ -email: foo-users@example.com -location: libfoo-1.0.tar.gz -: -name: libfoo -version: 0.1 -summary: Foo -license: MIT -url: http://www.example.com/foo/ -email: foo-users@example.com -location: libfoo-0.1.tar.gz -: -name: libfoo -version: 1.2.4-1 -summary: Foo Library -license: MIT -url: http://www.example.com/foo/ -email: foo-users@example.com -location: libfoo-1.2.4-1.tar.gz -: -name: libfoo -version: 1.2.4-2 -summary: Foo Library -license: MIT -url: http://www.example.com/foo/ -email: foo-users@example.com -location: libfoo-1.2.4-2.tar.gz diff --git a/tests/loader/external/1/misc/repositories b/tests/loader/external/1/misc/repositories deleted file mode 100644 index 1a41290..0000000 --- a/tests/loader/external/1/misc/repositories +++ /dev/null @@ -1,13 +0,0 @@ -: 1 -# Foreign repository manifest. -# -location: ../basics -: -# Adjacent repository manifest. -# -location: ../testing -role: complement -: -# Local repository manifest (this repository). -# -url: http://misc.cppget.org/ diff --git a/tests/loader/external/1/staging/packages b/tests/loader/external/1/staging/packages deleted file mode 100644 index e7b22b0..0000000 --- a/tests/loader/external/1/staging/packages +++ /dev/null @@ -1,25 +0,0 @@ -: 1 -name: libexpat -version: 5.1 -summary: The Expat Library -license: MIT -url: http://www.example.com/expat/ -email: expat-users@example.com -location: libexpat-5.1.tar.gz -: -name: libgenx -version: 1.0 -summary: The Genx Library -license: MIT -url: http://www.example.com/genx/ -email: genx-users@example.com -location: libgenx-1.0.tar.gz -: -name: libmisc -version: 1.0 -summary: The Misc Library -license: MIT -url: http://www.example.com/misc/ -email: misc-users@example.com -depends: libexpat >= 5.0 -location: libmisc-1.0.tar.gz diff --git a/tests/loader/external/1/staging/repositories b/tests/loader/external/1/staging/repositories deleted file mode 100644 index 8443ab8..0000000 --- a/tests/loader/external/1/staging/repositories +++ /dev/null @@ -1,4 +0,0 @@ -: 1 -# Local repository manifest (this repository). -# -url: http://stage.cppget.org diff --git a/tests/loader/external/1/testing/packages b/tests/loader/external/1/testing/packages deleted file mode 100644 index bdebece..0000000 --- a/tests/loader/external/1/testing/packages +++ /dev/null @@ -1,9 +0,0 @@ -: 1 -name: libmisc -version: 2.4.0 -summary: The Misc Library -license: MIT -url: http://www.example.com/misc/ -email: misc-users@example.com -depends: libexpat >= 5.0 -location: libmisc-2.4.0.tar.gz diff --git a/tests/loader/external/1/testing/repositories b/tests/loader/external/1/testing/repositories deleted file mode 100644 index a218d5c..0000000 --- a/tests/loader/external/1/testing/repositories +++ /dev/null @@ -1,9 +0,0 @@ -: 1 -# Adjacent repository manifest. -# -location: ../staging -role: complement -: -# Local repository manifest (this repository). -# -url: http://test.cppget.org/hello diff --git a/tests/loader/internal/1/math/packages b/tests/loader/internal/1/math/packages deleted file mode 100644 index 4d34c13..0000000 --- a/tests/loader/internal/1/math/packages +++ /dev/null @@ -1,71 +0,0 @@ -: 1 -name: libstudxml -version: 1.0.0-1 -summary: Modern C++ XML API -license: MIT -tags: c++, xml, parser, serializer, pull, streaming, modern -description-file: README -changes-file: NEWS -url: http://www.codesynthesis.com/projects/libstudxml/ -email: studxml-users@codesynthesis.com; Public mailing list, posts by\ - non-members are allowed but moderated. -package-email: boris@codesynthesis.com; Direct email to the author. -depends: libexpat >= 2.0.0 -depends: libgenx -location: libstudxml-1.0.0-1.tar.gz -: -name: libexp -version: 1+1.2 -summary: The exponent -description: The exponent math function. -license: MIT -tags: c++, exponent -url: http://www.exp.com -email: users@exp.com -depends: libmisc -location: libexp-1+1.2.tar.gz -: -name: libfoo -version: 1.2.4-1 -summary: The Foo Math Library -description:\ -A modern C++ library with easy to use linear algebra and lot of optimization -tools. - -There are over 100 functions in total with an extensive test suite. The API is -similar to MATLAB. - -Useful for conversion of research code into production environments. -\ -license: LGPLv2, MIT; If using with GNU TLS. -license: BSD; If using with OpenSSL. -priority: high; Critical bug fixes, performance improvement. -tags: c++, foo, math -url: http://www.example.com/foo/; Project home page. -email: foo-users@example.com; Public mailing list. Read FAQ before posting. -package-url: http://www.example.com/foo/pack; Package details. -package-email: pack@example.com; Current packager. -depends: libmisc < 1.1 | libmisc > 2.3.0; Crashes with 1.1.0-2.3.0. -depends: libexp >= 1.0 -depends: ? libstudxml | libexpat; The newer the better. -requires: linux | windows | macosx; Symbian support is coming. -requires: c++11 -requires: ? ; libc++ standard library if using Clang on Mac OS X. -requires: ? vc++ >= 12.0; Only if using VC++ on Windows. -location: libfoo-1.2.4-1.tar.gz -changes:\ -1.2.4-1 - * applied patch for critical bug-219 - * regenerated documentation - -1.2.4 - * test suite extended significantly -\ -: -name: libfoo -version: 1.0 -summary: The Foo Lib -license: MIT -url: http://www.example.com/foo/ -email: foo-users@example.com -location: libfoo-1.0.tar.gz diff --git a/tests/loader/internal/1/math/repositories b/tests/loader/internal/1/math/repositories deleted file mode 100644 index c2df027..0000000 --- a/tests/loader/internal/1/math/repositories +++ /dev/null @@ -1,13 +0,0 @@ -: 1 -# Foreign repository manifest. -# -location: ../../../external/1/misc -: -# Local repository manifest (this repository). -# -email: repoman@cppget.org -summary: Math C++ package repository -description: \ -This is the awesome C++ package repository full of remarkable algorithms and -APIs. -\ diff --git a/tests/loader/internal/1/stable/packages b/tests/loader/internal/1/stable/packages deleted file mode 100644 index 756a562..0000000 --- a/tests/loader/internal/1/stable/packages +++ /dev/null @@ -1,42 +0,0 @@ -: 1 -name: libfoo -version: 1.2.3-4 -summary: The Foo library -license: MIT -tags: c++, foo -url: http://www.example.com/foo/ -email: foo-users@example.com -depends: libmisc >= 2.0.0 -location: libfoo-1.2.3-4.tar.gz -: -name: libfoo -version: 1.2.2 -summary: The Foo library -license: MIT -tags: c++, foo -url: http://www.example.com/foo/ -email: foo-users@example.com -depends: libbar <= 2.4.0 -depends: libexp == 1+1.2 -location: libfoo-1.2.2.tar.gz -: -name: libfoo -version: 1.2.4 -summary: The Foo Library -description: Very good foo library. -license: MIT; Permissive free software license. -tags: c++, foo -url: http://www.example.com/foo/ -email: foo-users@example.com -depends: libmisc >= 2.0.0 -changes: some changes 1 -changes: some changes 2 -location: libfoo-1.2.4.tar.gz -: -name: libfoo -version: 1.0 -summary: The Foo Library -license: MIT -url: http://www.example.com/foo/ -email: foo-users@example.com -location: libfoo-1.0.tar.gz diff --git a/tests/loader/internal/1/stable/repositories b/tests/loader/internal/1/stable/repositories deleted file mode 100644 index c06f731..0000000 --- a/tests/loader/internal/1/stable/repositories +++ /dev/null @@ -1,14 +0,0 @@ -: 1 -# Foreign repository manifest. -# -location: ../../../external/1/misc -: -# Adjacent repository manifest. -# -location: ../math -: -# Local repository manifest (this repository). -# -email: repoman@cppget.org -summary: General C++ package stable repository -description: This is the awesome C++ package repository full of exciting stuff. diff --git a/tests/loader/r.conf b/tests/loader/r.conf index fea477a..8da4b77 100644 --- a/tests/loader/r.conf +++ b/tests/loader/r.conf @@ -1,2 +1,2 @@ -http://pkg.cppget.org/internal/1/stable stable internal/1/stable -http://pkg.cppget.org/internal/1/math math internal/1/math +http://pkg.cppget.org/1/stable stable 1/stable +http://pkg.cppget.org/1/math math 1/math -- cgit v1.1