2020-04-29 12:38:55 |
Mateusz Pawlowski |
description |
Currently when "pull-packages-to-pocket" API command completes you can only see "{}" in the output. It would be helpful and more informative if complete reprepro would be passed along.
Instead of empty JSON:
def finish(self, result):
"""Return an empty JSON-valid response."""
return {}
We could get following output from the reprepro
Calculating packages to pull...
pulling into 'bionic-security-staging|restricted|source'
looking what to get from 'bionic-security|restricted|source'
pulling into 'bionic-security-staging|restricted|i386'
looking what to get from 'bionic-security|restricted|i386'
pulling into 'bionic-security-staging|restricted|amd64'
looking what to get from 'bionic-security|restricted|amd64'
Installing (and possibly deleting) packages...
Exporting indices...
looking for changes in 'bionic-security-staging|restricted|amd64'...
keeping old './dists/bionic-security-staging/restricted/binary-amd64/Packages' (uncompressed,gzipped)
looking for changes in 'bionic-security-staging|restricted|i386'...
keeping old './dists/bionic-security-staging/restricted/binary-i386/Packages' (uncompressed,gzipped)
looking for changes in 'bionic-security-staging|restricted|source'...
keeping old './dists/bionic-security-staging/restricted/source/Sources' (gzipped) |
Currently when "pull-packages-to-pocket" API command completes you can only see "{}" in the output. It would be helpful and more informative if complete reprepro would be passed along.
Instead of empty JSON:
def finish(self, result):
"""Return an empty JSON-valid response."""
return {}
We could get following output from the reprepro:
Calculating packages to pull...
pulling into 'bionic-security-staging|restricted|source'
looking what to get from 'bionic-security|restricted|source'
pulling into 'bionic-security-staging|restricted|i386'
looking what to get from 'bionic-security|restricted|i386'
pulling into 'bionic-security-staging|restricted|amd64'
looking what to get from 'bionic-security|restricted|amd64'
Installing (and possibly deleting) packages...
Exporting indices...
looking for changes in 'bionic-security-staging|restricted|amd64'...
keeping old './dists/bionic-security-staging/restricted/binary-amd64/Packages' (uncompressed,gzipped)
looking for changes in 'bionic-security-staging|restricted|i386'...
keeping old './dists/bionic-security-staging/restricted/binary-i386/Packages' (uncompressed,gzipped)
looking for changes in 'bionic-security-staging|restricted|source'...
keeping old './dists/bionic-security-staging/restricted/source/Sources' (gzipped) |
|