From ef88248c41278878266a1575e06cf24210cfee35 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Fri, 29 Dec 2017 21:40:51 +0100 Subject: [PATCH] Add additional output for the current request This is useful to have some progress indication for huge repositories. --- bin/github-backup | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/github-backup b/bin/github-backup index e4627c5..4d7a7e7 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -431,6 +431,7 @@ def _construct_request(per_page, page, query_args, template, auth): request = Request(template + '?' + querystring) if auth is not None: request.add_header('Authorization', 'Basic '.encode('ascii') + auth) + log_info('Requesting {}?{}'.format(template, querystring)) return request