Commit graph

33532 commits

Author SHA1 Message Date
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
f39db41d20 Added a comment: git annex init --version=6 leaves repo dirty 2018-11-18 17:00:21 +00:00
andrew
3f0bc854fd 2018-11-18 16:16:55 +00:00
andrew
98d88e058f Added a comment 2018-11-17 19:13:24 +00:00
andrew
64355f8c08 Added a comment 2018-11-17 19:07:07 +00:00
andrew
01abb6cefc Added a comment 2018-11-17 18:17:27 +00:00
andrew
fceefeb22e 2018-11-17 17:55:41 +00:00
andrew
f6a3a8fc69 2018-11-17 14:42:51 +00:00
yarikoptic
900bf34362 Added a comment 2018-11-16 22:12:58 +00:00
yarikoptic
958d037467 initial suggestion to have ghc version reported in annex version output 2018-11-16 22:06:51 +00:00
Joey Hess
fac397c875
remove redundant OPTIONS section 2018-11-15 22:38:35 -04:00
yarikoptic
4238064600 Added a comment 2018-11-15 20:43:27 +00:00
andrew
615cbf5ffe Added a comment 2018-11-15 20:15:16 +00:00
Joey Hess
39fbaa0682
catch all (non-async) exceptions when running a commandAction
When a command is operating on multiple files and there's an error with
one, try harder to continue to the rest. (As was already done for many
types of errors including IO errors.)

This handles cases like lockContentForRemoval throwing an exception when
the content is already locked. Just because a drop of one file fails, does
not mean it shouldn't go on to try to drop other files.

I looked over uses of `giveup` in Command/*; there are too many to check
them all extensively, but none stood out as being problems that should let
one commandAction stop running other commandActions. Worst case, something
bad will happen and rather than stopping right away with an error,
git-annex will display multiple errors as it fails over and over on each
file. I don't think I ever really intended `error`/`giveup` to stop other
commandActions; this was a relic of old confusion over haskell exception
handling.

Test suite passes.

This commit was sponsored by Ethan Aubin.
2018-11-15 15:59:43 -04:00
Joey Hess
c8bd5710b1
check onlyActionOn in Drop
* drop -J: Avoid processing the same key twice at the same time when
  multiple annexes files use it.

This prevents a drop of a key conflicting with another drop of the same
key.

This commit was sponsored by Brock Spratlen on Patreon.
2018-11-15 15:43:51 -04:00
Joey Hess
370757087d
catch lockContentForRemoval exception
removeKey should not throw exceptions, so catch exception there

In Assistant.Unused, keep trying to drop other keys if one drop fails
2018-11-15 15:39:57 -04:00
Joey Hess
2df31610ed
response 2018-11-15 15:21:39 -04:00
Joey Hess
04b5ed09d8
close old unreproducible bug report 2018-11-15 15:17:49 -04:00
Joey Hess
bb059ce8ef
remove spam; user banned 2018-11-15 15:09:59 -04:00
Joey Hess
ee9c974e06
followup 2018-11-15 14:37:25 -04:00
Joey Hess
ca55119749
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-15 14:32:26 -04:00
Joey Hess
025f90bfcc
followup 2018-11-15 14:30:38 -04:00
Joey Hess
872af2b2f1
avoid using concurrent-output at all when --quiet or --json
Of course, it wasn't used much in those modes, because normal output is
avoided. But it was still initialized and used in a few places,
including a call to hideRegionsWhile.
2018-11-15 14:26:40 -04:00
yarikoptic
98825e26d8 Added a comment 2018-11-15 18:06:10 +00:00
Joey Hess
05bfce7ca8
comments 2018-11-15 13:36:20 -04:00
Joey Hess
71cc9cfaa2
improve smudge --clean behavior on outside work tree files
smudge: When passed a file located outside the working tree, eg by git
diff, avoid erroring out.

This commit was sponsored by Ewen McNeill on Patreon.
2018-11-15 13:04:40 -04:00
Joey Hess
ac27c29490
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-15 12:31:51 -04:00
Joey Hess
f991a08d4e
comment 2018-11-15 12:29:20 -04:00
sorsasampo@35b3d76c4c73ffc3f2c89e965c47a3f6a2721228
1815b027a2 2018-11-15 16:03:12 +00:00
Joey Hess
9063a0fdd7
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-15 11:28:38 -04:00
Yaroslav Halchenko
c17f4ca88f
BF: fix standalone-build patch to not strip away netbase from Depends
Also refreshed the patch altogether
2018-11-15 11:28:19 -04:00
yarikoptic
90f86575cb Added a comment: my bad 2018-11-15 12:34:58 +00:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
b6e9a69f42 Added a comment 2018-11-15 10:12:49 +00:00
Ilya_Shlyakhter
01de48e537 added suggestion to add xxHash backend 2018-11-15 07:28:24 +00:00
Elina_Williams
4d25933f8b Added a comment 2018-11-15 06:48:31 +00:00
Elina_Williams
3bdf473edc removed 2018-11-15 06:46:18 +00:00
Elina_Williams
80e400cc65 Added a comment 2018-11-15 06:45:04 +00:00
Ilya_Shlyakhter
57f631f156 Added a comment 2018-11-15 02:11:43 +00:00
https://launchpad.net/~barthelemy
ea3d399789 2018-11-15 02:00:18 +00:00
Joey Hess
d6fb123318
requested name change 2018-11-14 13:03:13 -04:00
Ilya_Shlyakhter
827d9c3135 added suggestion about keeping the git-annex branch permanently checked out 2018-11-14 16:42:41 +00:00
Joey Hess
f8b3a1595e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-14 11:53:59 -04:00
Joey Hess
c3fa1f2b08
avoid redundant export uploads
export, sync --content: Avoid unnecessarily trying to upload files to an
exporttree remote that already contains the files.

When the export was origianly made in one repo and now git-annex is
running in a different repo, the export database is not yet populated with
information about the exportLocation of files. So, it was trying to upload
the files to the export, even when it already contained them.

sync --content would first download the content from the export, and then
re-upload the content back.

And this also led to "not available" failures for each file that was not
locally present yet.

Fix: Just use checkPresentExport before uploading; if it succeeds update
the database.

This is a surprising oversight, it's possible it fixes a reversion because
I would have thought I'd have noticed this problem when originally
developing exporttree remotes.

This commit was sponsored by Jochen Bartl on Patreon.
2018-11-14 11:47:40 -04:00
andrew
fdab537f46 Added a comment 2018-11-14 13:32:53 +00:00
yarikoptic
5f53dcbf80 Added a comment 2018-11-13 20:02:18 +00:00
Joey Hess
d65df7ab21
improve messages around export conflicts
When an export conflict prevents accessing a special remote, be clearer
about what the problem is and how to resolve it.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-11-13 15:50:06 -04:00
Joey Hess
6a0618f7b3
todo 2018-11-13 15:49:22 -04:00
Joey Hess
e2589670da
update slightly 2018-11-13 15:13:44 -04:00
Joey Hess
4b14438c9a
suggestion 2018-11-13 14:04:37 -04:00
Joey Hess
381bc4ab34
followup 2018-11-13 13:50:59 -04:00
Joey Hess
170b88b95e
followup 2018-11-13 13:50:15 -04:00