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... security- staging| restricted| source' security| restricted| source' security- staging| restricted| i386' security| restricted| i386' security- staging| restricted| amd64' security| restricted| amd64' security- staging| restricted| amd64'. .. bionic- security- staging/ restricted/ binary- amd64/Packages' (uncompressed, gzipped) security- staging| restricted| i386'.. . bionic- security- staging/ restricted/ binary- i386/Packages' (uncompressed, gzipped) security- staging| restricted| source' ... bionic- security- staging/ restricted/ source/ Sources' (gzipped)
pulling into 'bionic-
looking what to get from 'bionic-
pulling into 'bionic-
looking what to get from 'bionic-
pulling into 'bionic-
looking what to get from 'bionic-
Installing (and possibly deleting) packages...
Exporting indices...
looking for changes in 'bionic-
keeping old './dists/
looking for changes in 'bionic-
keeping old './dists/
looking for changes in 'bionic-
keeping old './dists/