Codebase list github-backup / d1fa182
one request Barak A. Pearlmutter 3 years ago
4 changed file(s) with 37 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 github-backup (1.20200721-3) UNRELEASED; urgency=medium
1
2 * Quilt patch to for singular request (closes: #982105)
3
4 -- Barak A. Pearlmutter <bap@debian.org> Sat, 06 Feb 2021 16:51:41 +0000
5
06 github-backup (1.20200721-2) unstable; urgency=medium
17
28 * Oops missing build dependency on libghc-split-dev
66 1 file changed, 1 insertion(+), 1 deletion(-)
77
88 diff --git a/github-backup.1 b/github-backup.1
9 index b34206a..a076135 100644
9 index d924d93..c34842b 100644
1010 --- a/github-backup.1
1111 +++ b/github-backup.1
12 @@ -25,7 +25,7 @@ does not allow private repositories to be downloaded.
12 @@ -24,7 +24,7 @@ does not allow private repositories to be downloaded.
1313 .PP
1414 .IP --exclude=username/repository
1515 When backing up a user or an organization, this can be used to exclude
0 From: "Barak A. Pearlmutter" <barak+git@pearlmutter.net>
1 Date: Sat, 6 Feb 2021 16:50:18 +0000
2 Subject: warning grammar
3
4 One request; many requests.
5 See https://bugs.debian.org/982105
6 ---
7 github-backup.hs | 4 +++-
8 1 file changed, 3 insertions(+), 1 deletion(-)
9
10 diff --git a/github-backup.hs b/github-backup.hs
11 index 82d65e8..429f884 100644
12 --- a/github-backup.hs
13 +++ b/github-backup.hs
14 @@ -481,10 +481,12 @@ showFailures :: [Request] -> IO ()
15 showFailures [] = noop
16 showFailures l = hPutStrLn stderr $ unlines $
17 ["Backup may be incomplete; " ++
18 - show (length l) ++ " requests failed:"
19 + show n ++ " request" ++ (if n==1 then "" else "s") ++ " failed:"
20 ] ++ map (" " ++) (summarizeRequests l) ++
21 [ "Run again later."
22 ]
23 + where
24 + n = length l
25
26 newState :: Bool -> Git.Repo -> IO BackupState
27 newState noforks r = BackupState
00 0001-typo.patch
1 0002-warning-grammar.patch