mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-25 13:37:51 +00:00
Add -json flag to publish list|show
Signed-off-by: Joshua Colson <joshua.colson@gmail.com>
This commit is contained in:
committed by
Lorenzo Bolla
parent
129eb8644d
commit
899ed92ebc
@@ -25,3 +25,29 @@ class PublishShow2Test(BaseTest):
|
||||
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1 ppa/smira",
|
||||
]
|
||||
runCmd = "aptly publish show maverick ppa/smira"
|
||||
|
||||
|
||||
class PublishShow3Test(BaseTest):
|
||||
"""
|
||||
publish show json: existing snapshot
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap1 from mirror gnuplot-maverick",
|
||||
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1",
|
||||
]
|
||||
runCmd = "aptly publish show -json maverick"
|
||||
|
||||
|
||||
class PublishShow4Test(BaseTest):
|
||||
"""
|
||||
publish show json: under prefix
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
fixtureCmds = [
|
||||
"aptly snapshot create snap1 from mirror gnuplot-maverick",
|
||||
"aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec snap1 ppa/smira",
|
||||
]
|
||||
runCmd = "aptly publish show -json maverick ppa/smira"
|
||||
|
||||
Reference in New Issue
Block a user