New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uniform aptly publish list and aptly snapshot list output... #31

Closed
erickeller opened this Issue Apr 15, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@erickeller
Copy link

erickeller commented Apr 15, 2014

the list command differently outputs repo name:

aptly publish list                                                                                                                                                                                                                                                 
Published repositories:
  * ./precise-security (main) [amd64, i386, source] publishes [precise-security-daily]: Snapshot from mirror [precise-security]: http://de.archive.ubuntu.com/ubuntu/ precise-security [src]
  * ./precise-updates (main) [amd64, i386, source] publishes [precise-updates-daily]: Snapshot from mirror [precise-updates]: http://de.archive.ubuntu.com/ubuntu/ precise-updates [src]
aptly snapshot list                                                                                                                                                                                                                                                
List of snapshots:
 * [precise-backports-daily]: Snapshot from mirror [precise-backports]: http://de.archive.ubuntu.com/ubuntu/ precise-backports [src]
 * [precise-daily]: Snapshot from mirror [precise]: http://de.archive.ubuntu.com/ubuntu/ precise [src]
 * [precise-security-daily]: Snapshot from mirror [precise-security]: http://de.archive.ubuntu.com/ubuntu/ precise-security [src]
 * [precise-updates-daily]: Snapshot from mirror [precise-updates]: http://de.archive.ubuntu.com/ubuntu/ precise-updates [src]

would be nice for scripting to uniform output data
to [precise-backports-daily] for example...

using the -raw argument as implemented in master would do the work, but publish list has no -raw

./aptly publish list -raw
flag provided but not defined: -raw

Best regards

@smira

This comment has been minimized.

Copy link
Member

smira commented Apr 15, 2014

Yes, I haven't managed to implement this feature as I haven't decided what should be shown there.

aptly publish list displays not names, but rather <prefix>/<distribution> pairs. Probably it should be <prefix> <distribution> for the script to split two parts by space.

smira added a commit that referenced this issue Apr 15, 2014

smira added a commit that referenced this issue Apr 15, 2014

smira added a commit to aptly-dev/aptly-bash-completion that referenced this issue Apr 15, 2014

smira added a commit to aptly-dev/aptly-dev.github.io that referenced this issue Apr 15, 2014

@smira

This comment has been minimized.

Copy link
Member

smira commented Apr 15, 2014

Done in master.

@smira smira closed this Apr 15, 2014

smira added a commit that referenced this issue Apr 15, 2014

sliverc added a commit to sliverc/aptly that referenced this issue May 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment