mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Updating mirrors with sources.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1
|
||||
|
||||
mI0ES+RoaQEEAOQ6QF8zfqHbXJ+ekkXRm3uP5TvVwp0loa7S2u3xYjSDKzRz4nSS
|
||||
aD6coQ8wVPw4ROZLNnDtkbv9dDK9Mm7Uke5A8QkUXQU4v3/qFgjFT+au64iBYDRO
|
||||
FqAFFmZZdI0WCRxKJLiLal5H4cWnAoFBe5JdhAR8ZON2lm7vuKndVeg7ABEBAAG0
|
||||
DUxhdW5jaHBhZCBzaW2ItgQTAQIAIAUCS+RoaQIbAwYLCQgHAwIEFQIIAwQWAgMB
|
||||
Ah4BAheAAAoJEKUnmpc7H1bAJAED/0hbSk3nV9D5VdeLrkuyrAINTO801I1AZBdC
|
||||
lmqtFiFFsYE5jMeAFYk75BLS2aa9c1cbNh5Pwg7Ujg8+4/NOmPjFjvqONn0sRebJ
|
||||
FVwsedeQx+YTjCvy4vnviZmY+6ieixrgvrqG2+xPncuZmjppeKgMzPenPC178crJ
|
||||
hXttP13F
|
||||
=fI+d
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
@@ -69,6 +69,7 @@ class BaseTest(object):
|
||||
"dependencyFollowSuggests": False,
|
||||
"dependencyFollowRecommends": False,
|
||||
"dependencyFollowAllVariants": False,
|
||||
"dependencyFollowSource": False,
|
||||
"gpgDisableVerify": False,
|
||||
"gpgDisableSign": False,
|
||||
}
|
||||
@@ -126,6 +127,7 @@ class BaseTest(object):
|
||||
if self.fixtureGpg:
|
||||
self.run_cmd(["gpg", "--no-default-keyring", "--trust-model", "always", "--batch", "--keyring", "aptlytest.gpg", "--import",
|
||||
os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files", "debian-archive-keyring.gpg"),
|
||||
os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files", "launchpad.key"),
|
||||
os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files", "flat.key")])
|
||||
|
||||
if hasattr(self, "fixtureCmds"):
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/InRelease...
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/Release...
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/Release.gpg...
|
||||
gpgv: RSA key ID 3B1F56C0
|
||||
gpgv: Good signature from "Launchpad sim"
|
||||
Downloading & parsing package files...
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/main/binary-amd64/Packages.bz2...
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/main/binary-armel/Packages.bz2...
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/main/binary-i386/Packages.bz2...
|
||||
Downloading http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/dists/maverick/main/binary-powerpc/Packages.bz2...
|
||||
|
||||
Mirror `gnuplot-maverick-src` has been successfully updated.
|
||||
Saving packages to database...
|
||||
Building download queue...
|
||||
Download queue: 0 items, 0.00 GiB size
|
||||
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
Building download queue...
|
||||
Download queue: 7 items, 0.00 GiB size
|
||||
Downloading & parsing package files...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/InRelease...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/Packages.bz2...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/Packages.gz...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/Release...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/Release.gpg...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/Sources.bz2...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/Sources.gz...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/amd64/libiniparser-dev_3.1-1_amd64.deb...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/amd64/libiniparser_3.1-1_amd64.deb...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/i386/libiniparser-dev_3.1-1_i386.deb...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/i386/libiniparser_3.1-1_i386.deb...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/libiniparser_3.1-1.diff.gz...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/libiniparser_3.1-1.dsc...
|
||||
Downloading http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/libiniparser_3.1.orig.tar.gz...
|
||||
Mirror `flat-src` has been successfully updated.
|
||||
Saving packages to database...
|
||||
gpgv: Good signature from "home:DeepDiver1975 OBS Project <home:DeepDiver1975@build.opensuse.org>"
|
||||
gpgv: DSA key ID 1048C1FF
|
||||
@@ -97,3 +97,31 @@ class UpdateMirror7Test(BaseTest):
|
||||
|
||||
def output_processor(self, output):
|
||||
return "\n".join(sorted(output.split("\n")))
|
||||
|
||||
|
||||
class UpdateMirror8Test(BaseTest):
|
||||
"""
|
||||
update mirrors: with sources (already in pool)
|
||||
"""
|
||||
fixtureGpg = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly mirror create --keyring=aptlytest.gpg gnuplot-maverick-src http://ppa.launchpad.net/gladky-anton/gnuplot/ubuntu/ maverick",
|
||||
]
|
||||
runCmd = "aptly mirror update --keyring=aptlytest.gpg gnuplot-maverick-src"
|
||||
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
||||
|
||||
|
||||
class UpdateMirror9Test(BaseTest):
|
||||
"""
|
||||
update mirrors: flat repository + sources
|
||||
"""
|
||||
fixtureGpg = True
|
||||
fixtureCmds = [
|
||||
"aptly mirror create --keyring=aptlytest.gpg -with-sources flat-src http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/ ./",
|
||||
]
|
||||
runCmd = "aptly mirror update --keyring=aptlytest.gpg flat-src"
|
||||
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
||||
|
||||
def output_processor(self, output):
|
||||
return "\n".join(sorted(output.split("\n")))
|
||||
|
||||
Reference in New Issue
Block a user