aboutsummaryrefslogtreecommitdiff
path: root/tests/loader/1
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-16 20:02:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-25 20:35:10 +0200
commit2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 (patch)
treea54ffc979dde42e609bc9877120fa010887c6b66 /tests/loader/1
parent48a3c47d34c2acc0a39e2db5acfd437dace499c1 (diff)
Implement new URL path schema for the web interface
Diffstat (limited to 'tests/loader/1')
-rw-r--r--tests/loader/1/basics/packages8
-rw-r--r--tests/loader/1/basics/repositories4
-rw-r--r--tests/loader/1/math/packages71
-rw-r--r--tests/loader/1/math/repositories13
-rw-r--r--tests/loader/1/misc/packages47
-rw-r--r--tests/loader/1/misc/repositories13
-rw-r--r--tests/loader/1/stable/packages42
-rw-r--r--tests/loader/1/stable/repositories14
-rw-r--r--tests/loader/1/staging/packages25
-rw-r--r--tests/loader/1/staging/repositories4
-rw-r--r--tests/loader/1/testing/packages9
-rw-r--r--tests/loader/1/testing/repositories9
12 files changed, 259 insertions, 0 deletions
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