Commit graph

33490 commits

Author SHA1 Message Date
Joey Hess
1f9f220816
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-19 12:39:11 -04:00
yarikoptic
9b1c371c13 Added a comment: dependencies information 2018-11-19 15:54:14 +00:00
yarikoptic
aee99a7ce5 2018-11-19 15:39:27 +00:00
yarikoptic
fb079c1dcb Added a comment 2018-11-19 04:08:37 +00:00
yarikoptic
2770e1791a Added a comment 2018-11-19 03:18:23 +00:00
yarikoptic
cabb57232c reverting since or username(yarikoptic) is not understood 2018-11-18 19:09:05 +00:00
yarikoptic
3752dcb8be added or username(yarikoptic) to see if that would add my bugreports without explicit meta author=yoh 2018-11-18 19:08:23 +00:00
yarikoptic
dacb3603dc initial FTBFS on sid 2018-11-18 19:04:50 +00:00
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