From 4e3faacbc3c27e1d01ca95697b34db82cdecdb9d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 10 Oct 2015 08:12:50 +0200 Subject: Implement --replace|-r mode for pkg-fetch --- tests/repository/1/fetch/libfoo-1.0.0.tar.gz | Bin 0 -> 348 bytes tests/repository/1/fetch/libfoo-1.1.0.tar.gz | Bin 0 -> 349 bytes .../repository/1/fetch/libfoo-1.1.0/build/bootstrap.build | 2 ++ tests/repository/1/fetch/libfoo-1.1.0/buildfile | 1 + tests/repository/1/fetch/libfoo-1.1.0/manifest | 7 +++++++ tests/repository/1/fetch/repositories | 1 + tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz | 1 + tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz | 1 + tests/repository/1/fetch/t1/repositories | 1 + .../1/satisfy/libfoo-1.1.0/build/bootstrap.build | 2 +- 10 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tests/repository/1/fetch/libfoo-1.0.0.tar.gz create mode 100644 tests/repository/1/fetch/libfoo-1.1.0.tar.gz create mode 100644 tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build create mode 100644 tests/repository/1/fetch/libfoo-1.1.0/buildfile create mode 100644 tests/repository/1/fetch/libfoo-1.1.0/manifest create mode 100644 tests/repository/1/fetch/repositories create mode 120000 tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz create mode 120000 tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz create mode 120000 tests/repository/1/fetch/t1/repositories (limited to 'tests') diff --git a/tests/repository/1/fetch/libfoo-1.0.0.tar.gz b/tests/repository/1/fetch/libfoo-1.0.0.tar.gz new file mode 100644 index 0000000..28a6a90 Binary files /dev/null and b/tests/repository/1/fetch/libfoo-1.0.0.tar.gz differ diff --git a/tests/repository/1/fetch/libfoo-1.1.0.tar.gz b/tests/repository/1/fetch/libfoo-1.1.0.tar.gz new file mode 100644 index 0000000..e03481f Binary files /dev/null and b/tests/repository/1/fetch/libfoo-1.1.0.tar.gz differ diff --git a/tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build b/tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build new file mode 100644 index 0000000..54f267e --- /dev/null +++ b/tests/repository/1/fetch/libfoo-1.1.0/build/bootstrap.build @@ -0,0 +1,2 @@ +project = fetch-libfoo +using config diff --git a/tests/repository/1/fetch/libfoo-1.1.0/buildfile b/tests/repository/1/fetch/libfoo-1.1.0/buildfile new file mode 100644 index 0000000..b3ec74f --- /dev/null +++ b/tests/repository/1/fetch/libfoo-1.1.0/buildfile @@ -0,0 +1 @@ +.: diff --git a/tests/repository/1/fetch/libfoo-1.1.0/manifest b/tests/repository/1/fetch/libfoo-1.1.0/manifest new file mode 100644 index 0000000..3453757 --- /dev/null +++ b/tests/repository/1/fetch/libfoo-1.1.0/manifest @@ -0,0 +1,7 @@ +: 1 +name: libfoo +version: 1.1.0 +summary: libfoo +license: MIT +url: http://example.org +email: pkg@example.org diff --git a/tests/repository/1/fetch/repositories b/tests/repository/1/fetch/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/repository/1/fetch/repositories @@ -0,0 +1 @@ +: 1 diff --git a/tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz b/tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz new file mode 120000 index 0000000..32e5a3c --- /dev/null +++ b/tests/repository/1/fetch/t1/libfoo-1.0.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.0.0.tar.gz \ No newline at end of file diff --git a/tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz b/tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz new file mode 120000 index 0000000..c004b2a --- /dev/null +++ b/tests/repository/1/fetch/t1/libfoo-1.1.0.tar.gz @@ -0,0 +1 @@ +../libfoo-1.1.0.tar.gz \ No newline at end of file diff --git a/tests/repository/1/fetch/t1/repositories b/tests/repository/1/fetch/t1/repositories new file mode 120000 index 0000000..d965b15 --- /dev/null +++ b/tests/repository/1/fetch/t1/repositories @@ -0,0 +1 @@ +../repositories \ No newline at end of file diff --git a/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build b/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build index eb90fee..b24ee6a 100644 --- a/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build +++ b/tests/repository/1/satisfy/libfoo-1.1.0/build/bootstrap.build @@ -1,2 +1,2 @@ -project = libfoo +project = satisfy-libfoo using config -- cgit v1.1