Skip to content
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

flag to disable progress output #111

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kjetilho
Copy link

@kjetilho kjetilho commented Jan 2, 2019

when running from cron, the progress output is a distraction from the log files. this patch adds an option to turn it off, and also an option to increase verbosity for debugging.

the --verbose flag which can be specified multiple times to get more
debug information about what is about to be downloaded.
@kjetilho
Copy link
Author

kjetilho commented Jan 2, 2019

example output with --no-progress:

Downloading 1910 index files using 10 threads...
Downloading 33 translation files using 10 threads...
Downloading 0 dep11 files using 0 threads...
44.4 MiB will be downloaded into archive.
Downloading 1 archive files using 1 threads...
0 bytes in 0 files and 0 directories can be freed.
Run /srv/aptmirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/srv/aptmirror/var/postmirror.sh)

Removing 0 unnecessary files [0 bytes]...
done.

Removing 0 unnecessary directories...
done.


Post Mirror script has completed. See above output for any possible errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant