mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-05 05:20:34 +00:00
Fixing tests and fix cleanup.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
This commit is contained in:
committed by
André Roth
parent
ac5ecf946d
commit
f8f28e9554
@@ -18,7 +18,7 @@ Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/d
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/rkward-dbgsym_0.7.5-1~bullseyecran.0_i386.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/rkward_0.7.5-1~bullseyecran.0_amd64.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/rkward_0.7.5-1~bullseyecran.0_i386.deb
|
||||
Mirror `flat-src` has been successfully updated.
|
||||
Mirror `flat-src` has been updated successfully.
|
||||
Packages filtered: 110 -> 11.
|
||||
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
|
||||
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
|
||||
|
||||
@@ -13,7 +13,7 @@ Downloading: http://repo.aptly.info/system-tests/snapshot.debian.org/archive/deb
|
||||
Downloading: http://repo.aptly.info/system-tests/snapshot.debian.org/archive/debian/20220201T025006Z/pool/main/s/sensible-utils/sensible-utils_0.0.9+deb9u1_all.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/snapshot.debian.org/archive/debian/20220201T025006Z/pool/main/s/sysvinit/sysvinit-utils_2.88dsf-59.9_i386.deb
|
||||
Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/snapshot.debian.org/archive/debian/20220201T025006Z/dists/stretch/InRelease
|
||||
Mirror `stretch-main` has been successfully updated.
|
||||
Mirror `stretch-main` has been updated successfully.
|
||||
Packages filtered: 50604 -> 3.
|
||||
Retrying 0 http://repo.aptly.info/system-tests/snapshot.debian.org/archive/debian/20220201T025006Z/dists/stretch/InRelease...
|
||||
gpgv: issuer "debian-release@lists.debian.org"
|
||||
|
||||
@@ -37,7 +37,7 @@ Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archi
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/pool/main/g/gnupg2/scdaemon_2.1.18-8~deb9u4_amd64.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/pool/main/g/gnupg2/scdaemon_2.1.18-8~deb9u4_i386.deb
|
||||
Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease
|
||||
Mirror `stretch` has been successfully updated.
|
||||
Mirror `stretch` has been updated successfully.
|
||||
Packages filtered: 78248 -> 20.
|
||||
Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease...
|
||||
gpgv: issuer "debian-release@lists.debian.org"
|
||||
|
||||
@@ -58,4 +58,4 @@ Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/va
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/pool/wheezy/main/v/varnish/varnish-dbg_3.0.3-1~wheezy_i386.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/pool/wheezy/main/v/varnish/varnish_3.0.3-1~wheezy_amd64.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/pool/wheezy/main/v/varnish/varnish_3.0.3-1~wheezy_i386.deb
|
||||
Mirror `varnish` has been successfully updated.
|
||||
Mirror `varnish` has been updated successfully.
|
||||
@@ -6,4 +6,4 @@ Downloading & parsing package files...
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/dists/wheezy/Release
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/dists/wheezy/main/binary-amd64/Packages.bz2
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/dists/wheezy/main/binary-i386/Packages.bz2
|
||||
Mirror `varnish` has been successfully updated.
|
||||
Mirror `varnish` has been updated successfully.
|
||||
@@ -6,4 +6,4 @@ Downloading & parsing package files...
|
||||
Downloading https://dl.bintray.com/smira/deb/Packages.bz2...
|
||||
Downloading https://dl.bintray.com/smira/deb/Release...
|
||||
Downloading https://dl.bintray.com/smira/deb/libboost-program-options-dev_1.49.0.1_i386.deb...
|
||||
Mirror `bintray` has been successfully updated.
|
||||
Mirror `bintray` has been updated successfully.
|
||||
@@ -6,4 +6,4 @@ Downloading & parsing package files...
|
||||
Downloading https://dl.bintray.com/smira/deb/Packages.bz2...
|
||||
Downloading https://dl.bintray.com/smira/deb/Release...
|
||||
Downloading https://dl.bintray.com/smira/deb/libboost-program-options-dev_1.49.0.1_i386.deb...
|
||||
Mirror `bintray` has been successfully updated.
|
||||
Mirror `bintray` has been updated successfully.
|
||||
@@ -6,5 +6,5 @@ Download queue: 0 items (0 B)
|
||||
Downloading & parsing package files...
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/Release
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/main/binary-i386/Packages.gz
|
||||
Mirror `stretch` has been successfully updated.
|
||||
Mirror `stretch` has been updated successfully.
|
||||
Packages filtered: 50604 -> 1.
|
||||
@@ -7,5 +7,5 @@ Downloading & parsing package files...
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/Release
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/main/binary-i386/Packages.gz
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/pool/main/b/boost-defaults/libboost-program-options-dev_1.62.0.1_i386.deb
|
||||
Mirror `stretch` has been successfully updated.
|
||||
Mirror `stretch` has been updated successfully.
|
||||
Packages filtered: 50604 -> 1.
|
||||
@@ -12,4 +12,4 @@ Downloading: http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent/
|
||||
Building download queue...
|
||||
Download queue: 23 items (3.46 MiB)
|
||||
|
||||
Mirror `pagerduty` has been successfully updated.
|
||||
Mirror `pagerduty` has been updated successfully.
|
||||
|
||||
@@ -58,4 +58,4 @@ Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/va
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/pool/wheezy/main/v/varnish/varnish-dbg_3.0.3-1~wheezy_i386.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/pool/wheezy/main/v/varnish/varnish_3.0.3-1~wheezy_amd64.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/packagecloud.io/varnishcache/varnish30/debian/pool/wheezy/main/v/varnish/varnish_3.0.3-1~wheezy_i386.deb
|
||||
Mirror `varnish` has been successfully updated.
|
||||
Mirror `varnish` has been updated successfully.
|
||||
@@ -8,7 +8,7 @@ Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/d
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/Packages.bz2
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/r-cran-class_7.3-22-2~bullseyecran.0_amd64.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/r-cran-class_7.3-22-2~bullseyecran.0_i386.deb
|
||||
Mirror `flat` has been successfully updated.
|
||||
Mirror `flat` has been updated successfully.
|
||||
Packages filtered: 89 -> 2.
|
||||
openpgp: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
|
||||
openpgp: RSA key ID B8F25A8A73EACF41
|
||||
@@ -11,4 +11,4 @@ Downloading: http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent/
|
||||
Building download queue...
|
||||
Download queue: 23 items (3.46 MiB)
|
||||
|
||||
Mirror `pagerduty` has been successfully updated.
|
||||
Mirror `pagerduty` has been updated successfully.
|
||||
|
||||
@@ -8,4 +8,4 @@ Applying filter...
|
||||
Building download queue...
|
||||
Download queue: 0 items (0 B)
|
||||
|
||||
Mirror `libnvidia-container` has been successfully updated.
|
||||
Mirror `libnvidia-container` has been updated successfully.
|
||||
|
||||
@@ -23,7 +23,7 @@ Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archi
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/non-free/installer-s390x/current/images/SHA256SUMS
|
||||
Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease
|
||||
Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/non-free/installer-s390x/current/images/SHA256SUMS
|
||||
Mirror `stretch` has been successfully updated.
|
||||
Mirror `stretch` has been updated successfully.
|
||||
Packages filtered: 49256 -> 1.
|
||||
Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease...
|
||||
Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/non-free/installer-s390x/current/images/SHA256SUMS...
|
||||
|
||||
@@ -53,7 +53,7 @@ Downloading: http://repo.aptly.info/system-tests/us.archive.ubuntu.com/ubuntu/di
|
||||
Downloading: http://repo.aptly.info/system-tests/us.archive.ubuntu.com/ubuntu/dists/trusty/restricted/installer-amd64/current/images/SHA256SUMS
|
||||
Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/us.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
|
||||
Error (retrying): HTTP code 404 while fetching http://repo.aptly.info/system-tests/us.archive.ubuntu.com/ubuntu/dists/trusty/restricted/installer-amd64/current/images/SHA256SUMS
|
||||
Mirror `trusty` has been successfully updated.
|
||||
Mirror `trusty` has been updated successfully.
|
||||
Packages filtered: 8616 -> 1.
|
||||
Retrying 0 http://repo.aptly.info/system-tests/us.archive.ubuntu.com/ubuntu/dists/trusty/InRelease...
|
||||
Retrying 0 http://repo.aptly.info/system-tests/us.archive.ubuntu.com/ubuntu/dists/trusty/restricted/installer-amd64/current/images/SHA256SUMS...
|
||||
|
||||
@@ -14,7 +14,7 @@ Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archi
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/main/binary-i386/Packages.gz
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/pool/main/b/boost-defaults/libboost-program-options-dev_1.62.0.1_i386.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/pool/main/b/boost-defaults/libboost-program-options-dev_1.62.0.1_i386.deb
|
||||
Mirror `grab` has been successfully updated.
|
||||
Mirror `grab` has been updated successfully.
|
||||
Packages filtered: 50604 -> 1.
|
||||
Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease
|
||||
Retrying 0 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/dists/stretch/InRelease
|
||||
|
||||
@@ -18,4 +18,4 @@ Download queue: 1 items (30 B)
|
||||
Downloading: ${url}pool/main/a/amanda/amanda-client_3.3.1-3~bpo60+1_amd64.deb
|
||||
WARNING: ${url}pool/main/a/amanda/amanda-client_3.3.1-3~bpo60+1_amd64.deb: sha1 hash mismatch "8d3a014000038725d6daf8771b42a0784253688f" != "66b27417d37e024c46526c2f6d358a754fc552f3"
|
||||
|
||||
Mirror `failure` has been successfully updated.
|
||||
Mirror `failure` has been updated successfully.
|
||||
|
||||
@@ -94,7 +94,7 @@ Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/d
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/rkward-dbgsym_0.7.5-1~bullseyecran.0_i386.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/rkward_0.7.5-1~bullseyecran.0_amd64.deb
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/rkward_0.7.5-1~bullseyecran.0_i386.deb
|
||||
Mirror `flat` has been successfully updated.
|
||||
Mirror `flat` has been updated successfully.
|
||||
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
|
||||
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
|
||||
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC
|
||||
@@ -15,4 +15,4 @@ Downloading: http://repo.aptly.info/system-tests/ppa.launchpad.net/gladky-anton/
|
||||
Building download queue...
|
||||
Download queue: 0 items (0 B)
|
||||
|
||||
Mirror `gnuplot-maverick-src` has been successfully updated.
|
||||
Mirror `gnuplot-maverick-src` has been updated successfully.
|
||||
|
||||
@@ -157,7 +157,7 @@ Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/d
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/survival_3.5-7-1~bullseyecran.0.debian.tar.xz
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/survival_3.5-7-1~bullseyecran.0.dsc
|
||||
Downloading: http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian/bullseye-cran40/survival_3.5-7.orig.tar.gz
|
||||
Mirror `flat-src` has been successfully updated.
|
||||
Mirror `flat-src` has been updated successfully.
|
||||
gpgv: using RSA key 7BA040A510E4E66ED3743EC1B8F25A8A73EACF41
|
||||
gpgv: Good signature from "Johannes Ranke <johannes.ranke@jrwb.de>"
|
||||
gpgv: Signature made Thu Nov 2 07:43:52 2023 UTC
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository azure:test1:./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository azure:test1:./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository azure:test1:./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository azure:test1:./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository azure:test1:./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository azure:test1:./sq2...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Removing ${HOME}/.aptly/public/dists/sq1...
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./sq1...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Removing ${HOME}/.aptly/public/dists/sq2...
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./sq2...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Removing ${HOME}/.aptly/public/dists/sq1...
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./sq1...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Prefix: .
|
||||
Distribution: wheezy
|
||||
Architectures: i386
|
||||
Sources:
|
||||
main: local-repo [local]
|
||||
@@ -0,0 +1,13 @@
|
||||
Loading packages...
|
||||
Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
|
||||
Snapshot snap1 has been successfully published.
|
||||
Please setup your webserver to serve directory '${HOME}/.aptly/public' with autoindexing.
|
||||
Now you can add following line to apt sources:
|
||||
deb http://your-server/ maverick main
|
||||
Don't forget to add your GPG key to apt with apt-key.
|
||||
|
||||
You can also use `aptly serve` to publish your repositories over HTTP quickly.
|
||||
@@ -1,3 +1,3 @@
|
||||
Adding component "test" with source "snap2" [snapshot]...
|
||||
Adding component 'test' with source 'snap2' [snapshot]...
|
||||
|
||||
You can run 'aptly publish update maverick .' to update the content of the published repository.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Adding component "test" with source "snap2" [snapshot]...
|
||||
Adding component "other-test" with source "snap3" [snapshot]...
|
||||
Adding component 'test' with source 'snap2' [snapshot]...
|
||||
Adding component 'other-test' with source 'snap3' [snapshot]...
|
||||
|
||||
You can run 'aptly publish update maverick .' to update the content of the published repository.
|
||||
|
||||
@@ -1 +1 @@
|
||||
ERROR: unable to add: component "main" has already been added
|
||||
ERROR: unable to add: component 'main' has already been added
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Removing component "test" with source "snap2" [snapshot]...
|
||||
Removing component 'test' with source 'snap2' [snapshot]...
|
||||
|
||||
You can run 'aptly publish update maverick .' to update the content of the published repository.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Removing component "test" with source "snap2" [snapshot]...
|
||||
Removing component "other-test" with source "snap3" [snapshot]...
|
||||
Removing component 'test' with source 'snap2' [snapshot]...
|
||||
Removing component 'other-test' with source 'snap3' [snapshot]...
|
||||
|
||||
You can run 'aptly publish update maverick .' to update the content of the published repository.
|
||||
|
||||
@@ -1 +1 @@
|
||||
ERROR: unable to remove: component "not-existent" does not exist
|
||||
ERROR: unable to remove: component 'not-existent' does not exist
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Updating component "main" with source "snap2" [snapshot]...
|
||||
Updating component 'main' with source 'snap2' [snapshot]...
|
||||
|
||||
You can run 'aptly publish update maverick .' to update the content of the published repository.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Updating component "main" with source "snap2" [snapshot]...
|
||||
Updating component "test" with source "snap3" [snapshot]...
|
||||
Updating component 'main' with source 'snap2' [snapshot]...
|
||||
Updating component 'test' with source 'snap3' [snapshot]...
|
||||
|
||||
You can run 'aptly publish update maverick .' to update the content of the published repository.
|
||||
|
||||
@@ -1 +1 @@
|
||||
ERROR: unable to update: component "not-existent" does not exist
|
||||
ERROR: unable to update: component 'not-existent' does not exist
|
||||
|
||||
@@ -5,6 +5,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ./maverick [i386, source] publishes {main: [snap2]: Snapshot from local repo [local-repo2]} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./bookworm...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ./bookworm (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "ppa" components main...
|
||||
Cleaning up published repository ppa/maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ppa/maverick [amd64, i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "ppa" components main...
|
||||
Cleaning up published repository ppa/maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository ppa/maverick [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been successfully switched to new source.
|
||||
|
||||
@@ -3,6 +3,8 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components b, c...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'b'...
|
||||
Cleaning up component 'c'...
|
||||
|
||||
Published snapshot repository ./maverick [amd64, i386, source] publishes {a: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {b: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'}, {c: [local2]: Snapshot from local repo [local-repo]} has been successfully switched to new source.
|
||||
|
||||
@@ -5,6 +5,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -4,4 +4,4 @@ Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./bookworm...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./bookworm [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./bookworm [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,6 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components ...
|
||||
Cleaning up published repository ./maverick...
|
||||
|
||||
Published snapshot repository ./maverick (origin: LP-PPA-gladky-anton-gnuplot) [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {other-test: [snap3]: Created as empty}, {test: [snap2]: Created as empty} has been successfully updated.
|
||||
Published snapshot repository ./maverick (origin: LP-PPA-gladky-anton-gnuplot) [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {other-test: [snap3]: Created as empty}, {test: [snap2]: Created as empty} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,12 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components ...
|
||||
Cleaning up published repository ./maverick...
|
||||
Removing component 'other-test'...
|
||||
Removing ${HOME}/.aptly/public/dists/maverick/other-test...
|
||||
Removing component 'test'...
|
||||
Removing ${HOME}/.aptly/public/dists/maverick/test...
|
||||
Removing ${HOME}/.aptly/public/pool/other-test...
|
||||
Removing ${HOME}/.aptly/public/pool/test...
|
||||
|
||||
Published snapshot repository ./maverick [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been successfully updated.
|
||||
Published snapshot repository ./maverick [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,8 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components other-test, test...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'other-test'...
|
||||
Cleaning up component 'test'...
|
||||
|
||||
Published snapshot repository ./maverick [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {other-test: [snap5]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {test: [snap4]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been successfully updated.
|
||||
Published snapshot repository ./maverick [i386] publishes {main: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {other-test: [snap5]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {test: [snap4]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,10 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components test...
|
||||
Cleaning up published repository ./maverick...
|
||||
Removing component 'main'...
|
||||
Removing ${HOME}/.aptly/public/dists/maverick/main...
|
||||
Removing ${HOME}/.aptly/public/pool/main...
|
||||
Cleaning up component 'test'...
|
||||
|
||||
Published snapshot repository ./maverick [i386] publishes {other-test: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {test: [snap3]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been successfully updated.
|
||||
Published snapshot repository ./maverick [i386] publishes {other-test: [snap1]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick}, {test: [snap3]: Snapshot from mirror [gnuplot-maverick]: http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,6 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up component 'main' in prefix '.'...
|
||||
|
||||
Published local repository ./maverick [source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository ./maverick [source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,8 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components contrib, main...
|
||||
Cleaning up published repository ./maverick...
|
||||
Cleaning up component 'contrib'...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./maverick [i386, source] publishes {contrib: [repo2]}, {main: [repo1]} has been successfully updated.
|
||||
Published local repository ./maverick [i386, source] publishes {contrib: [repo2]}, {main: [repo1]} has been updated successfully.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
Loading packages...
|
||||
Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Cleaning up prefix "." components contrib, main...
|
||||
Cleaning up published repository ./squeeze...
|
||||
Cleaning up component 'contrib'...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository ./squeeze [i386] publishes {contrib: [repo2]}, {main: [repo1]} has been successfully updated.
|
||||
Published local repository ./squeeze [i386] publishes {contrib: [repo2]}, {main: [repo1]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository s3:test1:./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository s3:test1:./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository s3:test1:./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository s3:test1:./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published snapshot repository s3:test1:./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new source.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository s3:test1:./sq2...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -3,6 +3,7 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository s3:test1:./maverick...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published local repository s3:test1:./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository s3:test1:./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,6 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up prefix '.' components main...
|
||||
|
||||
Published local repository swift:test1:./maverick [i386, source] publishes {main: [local-repo]} has been successfully updated.
|
||||
Published local repository swift:test1:./maverick [i386, source] publishes {main: [local-repo]} has been updated successfully.
|
||||
|
||||
@@ -3,6 +3,6 @@ Generating metadata files and linking package files...
|
||||
Finalizing metadata files...
|
||||
Signing file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up prefix '.' components main...
|
||||
|
||||
Published snapshot repository swift:test1:./maverick (origin: LP-PPA-gladky-anton-gnuplot) [amd64, i386] publishes {main: [snap3]: Pulled into 'snap2' with 'snap1' as source, pull request was: 'gnuplot-x11'} has been successfully switched to new snapshot.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up prefix '.' components main...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -51,3 +51,17 @@ class PublishShow4Test(BaseTest):
|
||||
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1 ppa/smira",
|
||||
]
|
||||
runCmd = "aptly publish show -json maverick ppa/smira"
|
||||
|
||||
|
||||
class PublishShow5Test(BaseTest):
|
||||
"""
|
||||
publish show: existing local repo
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly repo create -distribution=wheezy local-repo",
|
||||
"aptly publish repo -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec -architectures=i386 local-repo"
|
||||
]
|
||||
runCmd = "aptly publish show wheezy"
|
||||
gold_processor = BaseTest.expand_environ
|
||||
|
||||
@@ -1344,3 +1344,23 @@ class PublishSnapshot41Test(BaseTest):
|
||||
self.check_exists('public/pool/main/libx/libxslt/libxslt1.1_1.1.32-2.2~deb10u2_i386.deb')
|
||||
self.check_exists('public/pool/main/libz/libzstd/libzstd1_1.3.8+dfsg-3+deb10u2_i386.deb')
|
||||
self.check_exists('public/pool/main/z/zlib/zlib1g_1.2.11.dfsg-1+deb10u2_i386.deb')
|
||||
|
||||
|
||||
class PublishSnapshot42Test(BaseTest):
|
||||
"""
|
||||
publish snapshot: mirror with multi-dist
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap1 from mirror gnuplot-maverick",
|
||||
]
|
||||
runCmd = "aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec -multi-dist snap1"
|
||||
gold_processor = BaseTest.expand_environ
|
||||
|
||||
def check(self):
|
||||
super(PublishSnapshot42Test, self).check()
|
||||
self.check_not_exists(
|
||||
'public/pool/main/g/gnuplot/gnuplot-doc_4.6.1-1~maverick2_all.deb')
|
||||
self.check_exists(
|
||||
'public/pool/maverick/main/g/gnuplot/gnuplot-doc_4.6.1-1~maverick2_all.deb')
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Removing ${HOME}/.aptly/public/dists/def...
|
||||
Cleaning up prefix "." components main...
|
||||
Cleaning up published repository ./def...
|
||||
Cleaning up component 'main'...
|
||||
|
||||
Published repository has been removed successfully.
|
||||
|
||||
@@ -1402,6 +1402,58 @@ class PublishSourcesListAPITestRepo(APITest):
|
||||
self.check_equal(sources_expected, sources.json())
|
||||
|
||||
|
||||
class PublishSourceReplaceAPITestRepo(APITest):
|
||||
"""
|
||||
PUT /publish/:prefix/:distribution/sources/main
|
||||
"""
|
||||
fixtureGpg = True
|
||||
|
||||
def check(self):
|
||||
repo1_name = self.random_name()
|
||||
self.check_equal(self.post(
|
||||
"/api/repos", json={"Name": repo1_name, "DefaultDistribution": "wheezy"}).status_code, 201)
|
||||
|
||||
d = self.random_name()
|
||||
self.check_equal(self.upload("/api/files/" + d,
|
||||
"libboost-program-options-dev_1.49.0.1_i386.deb", "pyspi_0.6.1-1.3.dsc",
|
||||
"pyspi_0.6.1-1.3.diff.gz", "pyspi_0.6.1.orig.tar.gz",
|
||||
"pyspi-0.6.1-1.3.stripped.dsc").status_code, 200)
|
||||
|
||||
self.check_equal(self.post("/api/repos/" + repo1_name + "/file/" + d).status_code, 200)
|
||||
|
||||
repo2_name = self.random_name()
|
||||
self.check_equal(self.post(
|
||||
"/api/repos", json={"Name": repo2_name, "DefaultDistribution": "wheezy"}).status_code, 201)
|
||||
|
||||
d = self.random_name()
|
||||
self.check_equal(self.upload("/api/files/" + d,
|
||||
"libboost-program-options-dev_1.49.0.1_i386.deb").status_code, 200)
|
||||
|
||||
self.check_equal(self.post("/api/repos/" + repo2_name + "/file/" + d).status_code, 200)
|
||||
|
||||
# publishing under prefix, default distribution
|
||||
prefix = self.random_name()
|
||||
self.check_equal(self.post(
|
||||
"/api/publish/" + prefix,
|
||||
json={
|
||||
"SourceKind": "local",
|
||||
"Sources": [{"Component": "main", "Name": repo1_name}],
|
||||
"Signing": DefaultSigningOptions,
|
||||
}
|
||||
).status_code, 201)
|
||||
|
||||
# Actual test
|
||||
self.check_equal(self.put(
|
||||
"/api/publish/" + prefix + "/wheezy/sources/main",
|
||||
json={"Component": "test", "Name": repo2_name}
|
||||
).status_code, 200)
|
||||
|
||||
sources_expected = [{"Component": "test", "Name": repo2_name}]
|
||||
sources = self.get("/api/publish/" + prefix + "/wheezy/sources")
|
||||
self.check_equal(sources.status_code, 200)
|
||||
self.check_equal(sources_expected, sources.json())
|
||||
|
||||
|
||||
class PublishUpdateSourcesAPITestRepo(APITest):
|
||||
"""
|
||||
POST /publish/:prefix/:distribution/update
|
||||
|
||||
Reference in New Issue
Block a user