Commit graph

30250 commits

Author SHA1 Message Date
Joey Hess
8dd3470da0
comment 2017-03-14 19:45:28 -04:00
https://launchpad.net/~stephane-gourichon-lpad
96b6d21d52 Added a comment: Isn't this procedure assuming that lost+found contains only uncorrupted previously annexed files? 2017-03-14 19:15:40 +00:00
Horus
5fd02cf20c Added a comment 2017-03-14 08:58:54 +00:00
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5
148b25c00d 2017-03-14 02:09:59 +00:00
Joey Hess
a20b0e0003
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-13 16:33:28 -04:00
Joey Hess
3d001276df
close; not a bug in git-annex 2017-03-13 16:32:12 -04:00
Joey Hess
d1ecdd04b2
Windows: Fix bug in shell script shebang lookup code that caused a "delayed read on closed handle" error.
The bug was that withFile closes the handle afterwards, but the content
of the file was not read due to laziness. Using readFile avoids it.

This commit was sponsored by Nick Daly on Patreon.
2017-03-13 16:20:52 -04:00
hobbie123
d489834369 Added a comment: windows password 2017-03-13 06:28:15 +00:00
lee@7614f42c1a6cc84dbc813df25d2f75ed54948e17
5d3e7aaa75 initial post 2017-03-12 17:59:12 +00:00
Michel
f585521ad0 Added a comment: Solution 2017-03-11 00:44:19 +00:00
Joey Hess
1c4e5f65fc
Drop support for building with old versions of directory, feed, and http-types. 2017-03-10 15:57:41 -04:00
Joey Hess
9ef7207d5a
Revert "Drop support for building without network-uri."
This reverts commit fc3925a1cd.

Need it in stable w/o backports for the ancient autobuilder.
2017-03-10 15:49:18 -04:00
Joey Hess
ca49a84ba5
Drop support for building with old versions of dns and http-conduit. 2017-03-10 15:49:14 -04:00
Joey Hess
fc3925a1cd
Drop support for building without network-uri.
network-uri is available in Debian stable (backports) and testing,
so no need to complicate the cabal file anymore
2017-03-10 15:38:15 -04:00
Joey Hess
2ffd74c684
relicense Utility/GPG.hs BSD as the rest of Utility is
The COPYRIGHT had Utility/DirWatcher* listed as GPL, but they were
actually BSD licensed.

No idea why I put the GPL on Utility/GPG.hs file originally.
I wrote all of it, except for guilhem's small changes to it in
00fc21bfec, which seem too small to be
independently copyrightable. I'm relicencing it BSD.
2017-03-10 15:08:21 -04:00
Joey Hess
55b178a6ba
minor cleanup 2017-03-10 15:03:33 -04:00
Joey Hess
71a05b0d25
use ActionItem rather than String
This changes fsck -A warnings to include the name of the key,
which is a bit redundant in one case, but was missing in another case.
2017-03-10 14:13:10 -04:00
Joey Hess
c8e1e3dada
AssociatedFile newtype
To prevent any further mistakes like 301aff34c4

This commit was sponsored by Francois Marier on Patreon.
2017-03-10 13:35:31 -04:00
Joey Hess
2cd7496210
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-10 12:16:28 -04:00
Joey Hess
f90e2d0893
fix fsck bug introduced in 301aff34c4
Got two Maybe FilePaths crossed. Test suite caught it.
Slightly improved types to avoid this mistake.
2017-03-10 12:11:00 -04:00
CandyAngel
f68baf4ae6 Added a comment 2017-03-10 08:11:13 +00:00
Alan
9c7d71e4cb Added a comment: Issue still present 2017-03-10 07:32:16 +00:00
alanr
e62caf2e68 2017-03-10 03:21:16 +00:00
https://launchpad.net/~stephane-gourichon-lpad
1f16b41ec2 Added a comment: Work-in-progress, yet already usable, solution 2017-03-09 12:19:50 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
ce4c549235 2017-03-09 12:08:07 +00:00
Michel
26d6653a33 Added a comment: Thanks 2017-03-09 07:34:25 +00:00
archimedes
5cb3ec901a Added a comment 2017-03-08 22:36:14 +00:00
archimedes
2255c842ca Added a comment 2017-03-08 22:34:59 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
e9654cb053 Added a comment: re: comment 3 2017-03-08 21:58:14 +00:00
Joey Hess
def8dbd586
remove unused import 2017-03-08 16:04:36 -04:00
Joey Hess
5358fb992a
Windows: Improve handling of shebang in external special remote program, searching for the program in the PATH.
findShellCommand needs a full path to a file in order to check it for a
shebang on Windows. It was being run with only the base name of the external
special remote program, which would only work when it was in the current
directory.

This is why users in
https://github.com/DanielDent/git-annex-remote-rclone/pull/10 and elsewhere
were complaining that the previous improvements to git-annex didn't make
git-remote-rclone work on Windows.

Also, reworked checkearlytermination, which while it worked, seemed
to rely on a race condition. And, improved its error messages.

This commit was sponsored by Shane-o on Patreon.
2017-03-08 15:59:00 -04:00
Joey Hess
0d1a1838c5
comment 2017-03-08 15:30:32 -04:00
Joey Hess
3b1bbb8202
comment 2017-03-08 15:19:08 -04:00
Joey Hess
301aff34c4
fsck -q: When a file has bad content, include the name of the file in the warning message.
This commit was sponsored by Alexander Thompson on Patreon.
2017-03-08 15:15:20 -04:00
Joey Hess
bcab98d299
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-08 14:50:06 -04:00
Joey Hess
0534152685
get -J: Improve distribution of jobs amoung remotes when there are more jobs than remotes.
It was distributing jobs to remotes that were not being used by any other
job. But, suppose that there are only 2 remotes, and -J10. In such a case,
the first 2 downloads would be distributed amoung the 2 remotes, but
the other 8 would all go to remote #1. Improved by keeping a counter
of how many jobs are assigned to a remote, and prefer remotes with fewer
jobs.

Note use of Data.Map.Strict to avoid blowing up space. I kept the
bang-patterns as-is, although probably not needed with Data.Map.Strict.

This commit was sponsored by Jack Hill on Patreon.
2017-03-08 14:49:30 -04:00
Joey Hess
fde5dbff2b
document get -J's behavior of spreading load amoung same-cost remotes
I implemented this last fall, but forgot to document it anywhere.
2017-03-08 14:26:29 -04:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
17932e07e1 Added a comment: Perhaps relevant 2017-03-08 17:31:30 +00:00
archimedes
fe2d33dbbd 2017-03-08 13:30:55 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
1b3c15147f 2017-03-08 12:51:05 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
83defc762f Added a comment: Oh and to be slightly helpful 2017-03-08 08:57:08 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
98647f5959 Added a comment: Same issue with rclone on windows. 2017-03-08 08:55:49 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
24ade8a25b Added a comment: Still seems useful 2017-03-07 10:19:41 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
41b85ad1f4 Added a comment: I hope the option to show missing files remains. 2017-03-07 06:30:37 +00:00
Joey Hess
384027bc79
comment 2017-03-06 13:35:25 -04:00
Joey Hess
af2a6d578e
assistant: Add 1/200th second delay between checking each file in the full transfer scan, to avoid using too much CPU.
The slowdown is not going to be large in typical small-ish repos.
And it does not seem to matter if the assistant reacts a little bit slower
in situations involving the expensive scan, since:

a) Those situations typically involve getting back in sync after something
   has changed on a remote, often after a disconnect of some duration.
   So taking a few seconds more is not noticable.
b) If the scan finds things that it needs to do, it will start
   blocking anyway after 10 transfers are queued (due to use of
   queueTransferWhenSmall). So, only the speed of finding the first 10
   transfers will be impacted by this change.

This commit was sponsored by Jochen Bartl on Patreon.
2017-03-06 13:32:47 -04:00
Joey Hess
113b48ba19
comment 2017-03-06 12:56:08 -04:00
Joey Hess
ce91e4102e
response
This commit was sponsored by Thom May on Patreon.
2017-03-06 12:24:00 -04:00
Joey Hess
1e7c68500e
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-06 11:45:47 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
0b18df0b28 Added a comment 2017-03-06 09:03:56 +00:00