From e70163685afe5cae1ebe055a53ce353ae9cbe590 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Nov 2015 13:39:06 +0200 Subject: Make loader loading external repository complements --- tests/loader/external/1/basics/packages | 8 ++++++++ tests/loader/external/1/basics/repositories | 3 +++ tests/loader/external/1/misc/repositories | 7 ++++--- tests/loader/external/1/staging/packages | 8 ++++++++ tests/loader/external/1/staging/repositories | 3 +++ tests/loader/external/1/testing/packages | 9 +++++++++ tests/loader/external/1/testing/repositories | 8 ++++++++ 7 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 tests/loader/external/1/basics/packages create mode 100644 tests/loader/external/1/basics/repositories create mode 100644 tests/loader/external/1/staging/packages create mode 100644 tests/loader/external/1/staging/repositories create mode 100644 tests/loader/external/1/testing/packages create mode 100644 tests/loader/external/1/testing/repositories (limited to 'tests/loader/external') diff --git a/tests/loader/external/1/basics/packages b/tests/loader/external/1/basics/packages new file mode 100644 index 0000000..86c20c1 --- /dev/null +++ b/tests/loader/external/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/external/1/basics/repositories b/tests/loader/external/1/basics/repositories new file mode 100644 index 0000000..9a15f2b --- /dev/null +++ b/tests/loader/external/1/basics/repositories @@ -0,0 +1,3 @@ +: 1 +# Local repository manifest (this repository). +# diff --git a/tests/loader/external/1/misc/repositories b/tests/loader/external/1/misc/repositories index 5128606..93acdb3 100644 --- a/tests/loader/external/1/misc/repositories +++ b/tests/loader/external/1/misc/repositories @@ -1,11 +1,12 @@ : 1 # Foreign repository manifest. # -location: http://pkg.example.org/1/misc +location: ../basics : -# Foreign repository manifest. +# Adjacent repository manifest. # -location: http://pkg.example.org/1/math +location: ../testing +role: complement : # Local repository manifest (this repository). # diff --git a/tests/loader/external/1/staging/packages b/tests/loader/external/1/staging/packages new file mode 100644 index 0000000..86c20c1 --- /dev/null +++ b/tests/loader/external/1/staging/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/external/1/staging/repositories b/tests/loader/external/1/staging/repositories new file mode 100644 index 0000000..9a15f2b --- /dev/null +++ b/tests/loader/external/1/staging/repositories @@ -0,0 +1,3 @@ +: 1 +# Local repository manifest (this repository). +# diff --git a/tests/loader/external/1/testing/packages b/tests/loader/external/1/testing/packages new file mode 100644 index 0000000..ac5ab95 --- /dev/null +++ b/tests/loader/external/1/testing/packages @@ -0,0 +1,9 @@ +: 1 +name: libmisc +version: 1.1 +summary: The Expat Library +license: MIT +url: http://www.example.com/misc/ +email: misc-users@example.com +depends: libexpat >= 5.0 +location: libmisc-1.1.tar.gz diff --git a/tests/loader/external/1/testing/repositories b/tests/loader/external/1/testing/repositories new file mode 100644 index 0000000..5f7246c --- /dev/null +++ b/tests/loader/external/1/testing/repositories @@ -0,0 +1,8 @@ +: 1 +# Adjacent repository manifest. +# +location: ../staging +role: complement +: +# Local repository manifest (this repository). +# -- cgit v1.1