one request
Barak A. Pearlmutter
3 years ago
|
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 |
|
0 | 6 |
github-backup (1.20200721-2) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Oops missing build dependency on libghc-split-dev
|
6 | 6 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
7 | 7 |
|
8 | 8 |
diff --git a/github-backup.1 b/github-backup.1
|
9 | |
index b34206a..a076135 100644
|
|
9 |
index d924d93..c34842b 100644
|
10 | 10 |
--- a/github-backup.1
|
11 | 11 |
+++ 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.
|
13 | 13 |
.PP
|
14 | 14 |
.IP --exclude=username/repository
|
15 | 15 |
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
|
0 | 0 |
0001-typo.patch
|
|
1 |
0002-warning-grammar.patch
|