From ca038d39f70ea60ca4eb1c22a47e9b3bfcfe51a1 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Wed, 13 May 2015 20:16:03 +0000 Subject: Proper custom pkg index support, some tests - The rebar package index files have been moved off the default path and will require a new `rebar3 update` - Caching of downloaded packages automatically takes place in a path relative to the CDN used - The cache path is not shared with hex as we now write and modify data in there arbitrarily - Basic tests plus the working set for more of them is included --- test/rebar_pkg_SUITE_data/badindexchk-1.0.0.tar | Bin 0 -> 10240 bytes test/rebar_pkg_SUITE_data/badpkg-1.0.0.tar | Bin 0 -> 10240 bytes test/rebar_pkg_SUITE_data/goodpkg-1.0.0.tar | Bin 0 -> 10240 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/rebar_pkg_SUITE_data/badindexchk-1.0.0.tar create mode 100644 test/rebar_pkg_SUITE_data/badpkg-1.0.0.tar create mode 100644 test/rebar_pkg_SUITE_data/goodpkg-1.0.0.tar (limited to 'test/rebar_pkg_SUITE_data') diff --git a/test/rebar_pkg_SUITE_data/badindexchk-1.0.0.tar b/test/rebar_pkg_SUITE_data/badindexchk-1.0.0.tar new file mode 100644 index 0000000..e5b963f Binary files /dev/null and b/test/rebar_pkg_SUITE_data/badindexchk-1.0.0.tar differ diff --git a/test/rebar_pkg_SUITE_data/badpkg-1.0.0.tar b/test/rebar_pkg_SUITE_data/badpkg-1.0.0.tar new file mode 100644 index 0000000..4930cd2 Binary files /dev/null and b/test/rebar_pkg_SUITE_data/badpkg-1.0.0.tar differ diff --git a/test/rebar_pkg_SUITE_data/goodpkg-1.0.0.tar b/test/rebar_pkg_SUITE_data/goodpkg-1.0.0.tar new file mode 100644 index 0000000..e5b963f Binary files /dev/null and b/test/rebar_pkg_SUITE_data/goodpkg-1.0.0.tar differ -- cgit v1.1