Commit graph

8869 commits

Author SHA1 Message Date
Joey Hess
5a741c624e
Make bittorrent special remote work w/o btshowmetainfo installed when it was build with torrentparser. Thanks, Robert Schütz 2018-11-27 12:31:06 -04:00
robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311
15d3ecc9cf 2018-11-26 14:26:08 +00:00
TroisSinges
a79e467c10 Added a comment 2018-11-23 07:33:55 +00:00
TroisSinges
f8099b45af 2018-11-23 07:31:07 +00:00
jwiklund@3ecbaacd157648da5a91042b6aa44f36b107b5c7
debd21ccba 2018-11-22 16:43:49 +00:00
jwiklund@3ecbaacd157648da5a91042b6aa44f36b107b5c7
b23aba36f9 2018-11-22 16:42:37 +00:00
jwiklund@3ecbaacd157648da5a91042b6aa44f36b107b5c7
3c1df9f4dd 2018-11-22 16:40:41 +00:00
andrew
e95e15f65b Added a comment 2018-11-20 21:56:03 +00:00
andrew
2d03a4fbd2 Added a comment 2018-11-20 21:42:11 +00:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
987af8d251 2018-11-20 19:34:26 +00:00
Joey Hess
636e6ab67a
close 2018-11-20 11:45:30 -04:00
yarikoptic
61f53f09cf initial FTBFS on sid 2018-11-20 03:09:53 +00:00
yarikoptic
76fc9af4c1 Added a comment 2018-11-19 22:46:01 +00:00
Joey Hess
171dbe81c6
finally done with this 2018-11-19 18:44:03 -04:00
Joey Hess
9c0cece35a
followup 2018-11-19 18:12:03 -04:00
Joey Hess
e053df9451
followup 2018-11-19 17:49:59 -04:00
Joey Hess
b82b775639
followup 2018-11-19 17:45:57 -04:00
yarikoptic
a078de4667 Added a comment: reconfirming with new build option 2018-11-19 21:33:34 +00:00
Joey Hess
36d4fee6b0
followup 2018-11-19 17:31:16 -04:00
yarikoptic
cd18edf858 Added a comment 2018-11-19 21:14:10 +00:00
yarikoptic
58a496d8a2 Added a comment 2018-11-19 21:10:48 +00:00
Joey Hess
362605d6c6
followup 2018-11-19 17:07:13 -04:00
Joey Hess
d418557b5e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-19 17:01:15 -04:00
Joey Hess
ed27662e96
comment 2018-11-19 17:00:56 -04:00
yarikoptic
e52063d046 Added a comment 2018-11-19 20:55:27 +00:00
Joey Hess
12a8634d6b
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-19 16:50:46 -04:00
Joey Hess
ff9d1ed203
clarify 2018-11-19 16:50:17 -04:00
yarikoptic
1475fce58d Added a comment 2018-11-19 20:26:33 +00:00
yarikoptic
7c024f6882 Added a comment 2018-11-19 19:25:35 +00:00
Joey Hess
9127fe4821
add DebugLocks build flag
Using the method described in
https://www.fpcomplete.com/blog/2018/05/pinpointing-deadlocks-in-haskell
but my own code to implement it, and with callstacks added.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-19 15:02:43 -04:00
Joey Hess
e612633999
rethrow ExitStatus exceptions
Several git-annex commands want to exit right away, but that's an
exception, which is caught due to 39fbaa0682.
So, re-throw it.
2018-11-19 13:18:08 -04:00
Joey Hess
9508e02ad9
comment 2018-11-19 13:17:42 -04:00
Joey Hess
6bbcccc5bb
comment 2018-11-19 13:09:45 -04:00
Joey Hess
17fe45fc6f
comment 2018-11-19 12:41:37 -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
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
64355f8c08 Added a comment 2018-11-17 19:07:07 +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
yarikoptic
4238064600 Added a comment 2018-11-15 20:43:27 +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
04b5ed09d8
close old unreproducible bug report 2018-11-15 15:17:49 -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
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
sorsasampo@35b3d76c4c73ffc3f2c89e965c47a3f6a2721228
1815b027a2 2018-11-15 16:03:12 +00:00
yarikoptic
90f86575cb Added a comment: my bad 2018-11-15 12:34:58 +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
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
Joey Hess
f4e0719aa3
followup and close 2018-11-13 13:34:12 -04:00
https://launchpad.net/~barthelemy
ab4be761be Added a comment: cannot reproduce on git-annex 6.20180913 2018-11-13 09:32:55 +00:00
yarikoptic
329599428b Added a comment: yeap -- it is netbase which is needed 2018-11-13 04:20:28 +00:00
yarikoptic
84b1fb72d4 Added a comment 2018-11-13 04:14:28 +00:00
Joey Hess
6f69ede2ea
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-12 17:31:52 -04:00
Joey Hess
a720f377af
bug report 2018-11-12 17:19:33 -04:00
anarcat
40dddf9ee1 Added a comment: probably fixed indeed 2018-11-12 20:54:05 +00:00
https://launchpad.net/~barthelemy
05d2cd9e14 2018-11-12 20:46:59 +00:00
Joey Hess
5d49408871
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-12 16:40:21 -04:00
Joey Hess
1e4111a1d2
close dup of fixed issue 2018-11-12 16:16:26 -04:00
Joey Hess
ff9bd9620e
Fix resume of download of url when the whole file content is already actually downloaded
Don't much like that there's no way to distinguish between having the whole
content and having an old version of the file that's bigger, but of course
resuming a http transfer can always yield the wrong result if the file on
the http server is changing, and git-annex will detect that when it
verifies the downloaded content.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-12 16:08:47 -04:00
Joey Hess
c24bdfd689
response 2018-11-12 15:44:44 -04:00
yarikoptic
19f7bd294f Added a comment 2018-11-12 19:34:00 +00:00
yarikoptic
7fe1a83f7f Added a comment 2018-11-12 19:27:48 +00:00
yarikoptic
47f6bfdb7e Added a comment 2018-11-12 19:15:53 +00:00
Joey Hess
563f8b7c0f
followup 2018-11-12 14:54:50 -04:00
Joey Hess
e4125318d8
response 2018-11-12 14:52:30 -04:00
yarikoptic
396b6134ac added my meta 2018-11-12 18:02:03 +00:00
yarikoptic
6f0cbbd204 initial report on annex not properly considering http somehow while within docker 2018-11-12 18:00:18 +00:00
Joey Hess
58d1b2510c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-12 13:26:10 -04:00
yarikoptic
9d47fcac49 Added a comment 2018-11-12 17:25:43 +00:00
Joey Hess
5ce078da92
bash completion fix
Fix bash completion of "git annex" to propertly handle files with spaces
and other problem characters. (Completion of "git-annex" already did.)

This commit was sponsored by Jake Vosloo on Patreon.
2018-11-12 13:23:05 -04:00
andrew
34d77ecdfd 2018-11-12 16:51:12 +00:00
yarikoptic
8f8b746f67 Added a comment: reply on the issue 2018-11-12 16:48:08 +00:00
andrew
b3d6b2dad9 Added a comment 2018-11-12 16:37:44 +00:00
andrew
4184878218 2018-11-12 16:36:26 +00:00
Joey Hess
d01c7c173c
response 2018-11-12 12:10:40 -04:00
Joey Hess
5bb2c72b6d
followup 2018-11-12 12:03:39 -04:00
Joey Hess
911f75232b
followup 2018-11-12 11:49:44 -04:00
Joey Hess
398bac4530
not dup 2018-11-12 11:23:56 -04:00
xelxebar
cd5c53ca60 2018-11-12 03:28:38 +00:00
andrew
2429763490 Added a comment 2018-11-12 03:17:48 +00:00
andrew
8853f6b13c 2018-11-11 21:39:56 +00:00
andrew
87efebb590 Added a comment 2018-11-11 21:35:26 +00:00
andrew
97453224ed 2018-11-11 21:33:37 +00:00
yarikoptic
b1a5ea5f53 original double complain on get -J 2018-11-08 18:05:56 +00:00
yarikoptic
1011d957aa Added a comment 2018-11-06 20:01:08 +00:00
Joey Hess
6ecd55a9fa
Fixed some other potential hangs in the P2P protocol
Finishes the start made in 983c9d5a53, by
handling the case where `transfer` fails for some other reason, and so the
ReadContent callback does not get run. I don't know of a case where
`transfer` does fail other than the locking dealt with in that commit, but
it's good to have a guarantee.

StoreContent and StoreContentTo had a similar problem.
Things like `getViaTmp` may decide not to run the transfer action.
And `transfer` could certianly fail, if another transfer of the same
object was in progress. (Or a different object when annex.pidlock is set.)

If the transfer action was not run, the content of the object would
not all get consumed, and so would get interpreted as protocol commands,
which would not go well.

My approach to fixing all of these things is to set a TVar only
once all the data in the transfer is known to have been read/written.
This way the internals of `transfer`, `getViaTmp` etc don't matter.

So in ReadContent, it checks if the transfer completed.
If not, as long as it didn't throw an exception, send empty and Invalid
data to the callback. On an exception the state of the protocol is unknown
so it has to raise ProtoFailureException and close the connection,
same as before.

In StoreContent, if the transfer did not complete
some portion of the DATA has been read, so the protocol is in an unknown
state and it has to close the conection as well.

(The ProtoFailureMessage used here matches the one in Annex.Transfer, which
is the most likely reason. Not ideal to duplicate it..)

StoreContent did not ever close the protocol connection before. So this is
a protocol change, but only in an exceptional circumstance, and it's not
going to break anything, because clients already need to deal with the
connection breaking at any point.

The way this new behavior looks (here origin has annex.pidlock = true so will
only accept one upload to it at a time):

git annex copy --to origin -J2
copy x (to origin...) ok
copy y (to origin...)
  Lost connection (fd:25: hGetChar: end of file)

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-06 14:52:32 -04:00
Joey Hess
9adc0b3417
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-06 13:01:00 -04:00
Joey Hess
983c9d5a53
git-annex-shell: fix transfer hang
Fix hang when transferring the same objects to two different clients at the
same time. (Or when annex.pidlock is used, two different objects to the
same or different clients.)

Could also potentially occur if a client was downloading an object and
somehow lost connection but that git-annex-shell was still running and
holding the transfer lock.

This does not guarantee that, if `transfer` fails for some other reason,
a DATA response will be made.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-06 13:00:37 -04:00
yarikoptic
68adc08502 initial report on failing to get a file after it actually got to tmp/ fully 2018-11-06 03:43:40 +00:00
Joey Hess
0a0242224d
full analysis 2018-11-05 18:25:55 -04:00
Joey Hess
44769d9285
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-05 17:13:16 -04:00
Joey Hess
14075afbd7
updated analysis 2018-11-05 17:12:19 -04:00
yarikoptic
0f0a6336cd Added a comment 2018-11-05 21:01:35 +00:00
yarikoptic
2003b42efb Added a comment 2018-11-05 20:53:48 +00:00
Joey Hess
c31ea81ee9
pidlock 2018-11-05 15:37:46 -04:00
Joey Hess
3c50fa130c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-05 14:39:18 -04:00
Joey Hess
3ef13f128f
followup on bug triage 2018-11-05 14:38:32 -04:00
Joey Hess
fd128e5a3f
code review and response 2018-11-05 14:28:02 -04:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
4d11214908 Added a comment 2018-11-05 18:22:49 +00:00
yarikoptic
aabfdca800 Added a comment 2018-11-05 17:31:46 +00:00
Joey Hess
5f213d45b1
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-05 12:34:54 -04:00
Joey Hess
0cb6d14383
followup 2018-11-05 12:34:27 -04:00
yarikoptic
13f9e79df1 removed 2018-11-05 16:03:47 +00:00
yarikoptic
02c74a0dfd Added a comment 2018-11-05 16:00:53 +00:00
yarikoptic
eb218d4e59 Added a comment 2018-11-05 15:57:17 +00:00
Joey Hess
42f1ea72de
followup 2018-11-05 11:47:58 -04:00
Joey Hess
cb69b77625
fix link 2018-11-05 11:39:04 -04:00
anarcat
16cbeb6aff Added a comment: oops 2018-11-03 19:52:48 +00:00
spwhitton
f09f846fea Added a comment 2018-11-03 19:41:32 +00:00
anarcat
4241de01c8 p2pstdio doesn't exist in stretch and buster doesn't degrade gracefully 2018-11-03 19:30:29 +00:00
yarikoptic
c6cb372a9d Added a comment: tests fail - can't build to test the change 2018-11-02 21:51:16 +00:00
yarikoptic
4d24b712b0 Added a comment 2018-11-02 19:58:06 +00:00
Joey Hess
0c05b92b7c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-02 13:45:57 -04:00
Joey Hess
c371a8b10e
followup 2018-11-02 13:42:57 -04:00
andrew
af385e2d34 Added a comment 2018-11-01 12:15:35 +00:00
andrew
937d9d545a Added a comment 2018-11-01 12:02:59 +00:00
yarikoptic
0753ad46c2 It was "user error", things work now properlyish 2018-11-01 03:53:02 +00:00
Joey Hess
37d00ca671
response 2018-10-31 13:50:51 -04:00
Adam.Schmalhofer@245dc7fa3c05299fc8973ae4241bcab07cd36140
506283c3f9 initial issue description 2018-10-31 15:51:04 +00:00
Ilya_Shlyakhter
8673c18f41 removed 2018-10-31 14:53:50 +00:00
Joey Hess
1428568554
retry when sqlite throws ErrorIO
I suspect this may be due to SQLITE_IOERR_SHORT_READ, but have not
verified.

I was able to reproduce it on Linux after running the test suite in a loop
for 1-3 hours until it failed.

The WAL mode entry change in 3963c5fcf5
may have hidden the problem I was seeing; I have not seen an ErrorIO
since then.
2018-10-30 18:06:38 -04:00
Ilya_Shlyakhter
24419efa35 Added a comment 2018-10-29 21:10:29 +00:00
Ilya_Shlyakhter
6b5f2ecf0e Added a comment 2018-10-29 21:08:55 +00:00
Joey Hess
7a050660d6
ummmmm 2018-10-29 16:48:02 -04:00
Joey Hess
4431b82bce
migrate: Fix failure to migrate from URL keys. (Reversion introduced in version 6.20180926) 2018-10-29 16:36:36 -04:00
Joey Hess
d73f92d8bc
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-29 16:01:46 -04:00
Joey Hess
c472c268c4
webapp: Fixed a crash when adding a git remote.
Reversion introduced in 2b66492d6e which added a new cache that needs to be
cleared.
2018-10-29 16:01:08 -04:00
Ilya_Shlyakhter
b6e90fd18a Added a comment 2018-10-29 19:48:36 +00:00
Ilya_Shlyakhter
9b268cdcc9 added git-annex-migrate failure 2018-10-29 19:22:24 +00:00
Joey Hess
64a369a1e2
followup 2018-10-29 15:14:34 -04:00
Joey Hess
e32282aa2c
followup 2018-10-29 15:11:40 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
8e2834e5b4 2018-10-28 15:00:59 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
46f65cc657 2018-10-28 14:55:13 +00:00
Joey Hess
6fd37fb016
Merge branch 'v7' 2018-10-26 13:52:09 -04:00
Joey Hess
3af29b3ba9
When annex.thin is set, allow hard links to be made between executable work tree files and annex objects.
This is safe, because while the annex object ends up executable,
there were already at least two other cases where it ended up executable:

1. git add an an executable file
2. chmod +x of a a non-executable worktree file that was hard linked to the
   annex object

After copy/hard link, it always fixes up the permissions to match the mode
of the worktree file, so when an executable annex object gets hard linked
to a non-executable worktree file, its execute bit gets removed.

Commit b7c8bf5274 already *said* it would do
this; I suspect the line of code I've removed was included in that commit
accidentially.

Also improves annex.thin documentation.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-10-26 13:51:43 -04:00
Joey Hess
c7885491b2
clarifications 2018-10-26 13:51:15 -04:00
Joey Hess
e7e9c5744f
followup 2018-10-26 13:12:06 -04:00
Joey Hess
361740a112
close bug report, open todo item 2018-10-26 13:03:18 -04:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
accc753eaf Added a comment 2018-10-25 21:00:32 +00:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
03e375fc65 Added a comment 2018-10-25 10:23:50 +00:00
Ilya_Shlyakhter
6d695f51cf added bug - creating git-annex-move not using parallelism? 2018-10-24 18:32:21 +00:00
Ilya_Shlyakhter
2ffa54ea71 added report of a multithreading-related bug with git-annex-drop 2018-10-24 17:08:38 +00:00
Ilya_Shlyakhter
859509fbb3 Added a comment 2018-10-24 16:01:53 +00:00
seantparsons
9505cd52be 2018-10-23 20:19:55 +00:00
yarikoptic
e7877cce84 Added a comment 2018-10-23 03:04:49 +00:00
Joey Hess
94aa0e2f64
fix strange test failure
It was trying to git annex adjust when in a direct mode repo, and that
of course fails. What I don't understand though, is how the test suite
managed to work before, when it was clearly checking the wrong thing.
Since the right way to fix it was obvious, I have not bisected.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-22 16:51:09 -04:00
yarikoptic
0e7c2655d9 Added a comment 2018-10-22 20:07:38 +00:00
Joey Hess
ede54b93ea
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-22 15:56:01 -04:00
Joey Hess
08b7ac6643
followup 2018-10-22 15:55:51 -04:00
Joey Hess
9fdd91816d
followup 2018-10-22 15:53:13 -04:00
Ilya_Shlyakhter
06007d795d Added a comment 2018-10-22 19:22:30 +00:00
yarikoptic
1cfd2c2b96 initial report on FTBS 2018-10-22 18:20:14 +00:00
yarikoptic
8a9d505409 Added a comment: stalling - also with =false 2018-10-22 17:34:28 +00:00
Joey Hess
ba0bbced51
source git-annex-install so it it can add git-annex to PATH
This commit was sponsored by Jack Hill on Patreon.
2018-10-22 13:22:10 -04:00
Joey Hess
ff9ba1f4d3
improve response 2018-10-22 13:10:17 -04:00
Joey Hess
41d6966747
followup 2018-10-22 13:07:40 -04:00
Joey Hess
d6b2468b4c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-22 13:01:06 -04:00
Joey Hess
c24e255de1
Fix concurrency bug that occurred on the first download from an exporttree remote
Block other threads while the export database is being constructed (or
updated) by the first thread to try to access it.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-22 12:59:10 -04:00
Joey Hess
3286e68063
analysis 2018-10-22 12:39:31 -04:00
Joey Hess
5012f07630
followup 2018-10-22 12:34:26 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1728d59a2b 2018-10-21 23:06:33 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
8d9680c662 2018-10-21 22:52:54 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
c94e62cab5 Added a comment 2018-10-18 23:34:27 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
82040ae2aa Added a comment 2018-10-18 20:18:01 +00:00
Joey Hess
5ddfd4f524
response 2018-10-18 15:52:48 -04:00
g@aaed65f19d6c3a2a18c33da828e66c7bb915e65a
435108a688 Added a comment: workaround: setting LC_ALL=C 2018-10-18 08:55:19 +00:00
ewen
177a8f9716 Added a comment: Synology NAS 6.2.1-23824 2018-10-18 00:00:34 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
474a9d7258 Added a comment 2018-10-17 22:07:15 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
9f740c4613 2018-10-17 21:41:10 +00:00
Joey Hess
b2bafdb2fc
v6: Fix database inconsistency
That could cause git-annex to get confused about whether a locked file's
content was present, when the object file got touched.

Unfortunately this means more work sometimes when annex.thin is set,
since it has to checksum the file to tell if it's still got the right
content.

Had to suppress output when inAnnex calls isUnmodified, otherwise
"(checksum...)" would be printed in places it ought not to be,
eg "git annex get" could turn out not need to get anything, and
so only display that.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-10-16 13:51:37 -04:00
Joey Hess
6498643caf
bug report 2018-10-16 11:41:12 -04:00
pz63@5ea0a27986d782e467e1ebef6eb31ba440cc58d5
fd8a599a83 Added a comment 2018-10-12 15:49:01 +00:00
yarikoptic
3e3b5e6226 initial report on the problem of parallel get from exporter remote 2018-10-11 23:40:56 +00:00
anarcat
ff8e03689d Added a comment 2018-10-09 21:49:02 +00:00
Joey Hess
ca200c561d
followup 2018-10-08 12:47:02 -04:00
Joey Hess
e21afbf5ea
followup 2018-10-08 12:08:40 -04:00
Joey Hess
7f04d03688
response 2018-10-08 12:04:57 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
f834955d9c 2018-10-07 20:09:27 +00:00
anarcat
6f6ccc0a4a link to the owncloudannex error 2018-10-07 18:04:47 +00:00
anarcat
9bb63b8171 cannot operate a webdav server hosted in a subdirectory 2018-10-07 18:00:35 +00:00
yarikoptic
cf9cd4f3d2 Added a comment 2018-10-05 04:30:31 +00:00
Joey Hess
6edad9be08
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-04 17:37:40 -04:00
Joey Hess
451171b7c1
clean up url removal presence update
* rmurl: Fix a case where removing the last url left git-annex thinking
  content was still present in the web special remote.
* SETURLPRESENT, SETURIPRESENT, SETURLMISSING, and SETURIMISSING
  used to update the presence information of the external special remote
  that called them; this was not documented behavior and is no longer done.

Done by making setUrlPresent and setUrlMissing only update presence info
for the web, and only when the url is a web url. See the comment for
reasoning about why that's the right thing to do.

In AddUrl, had to make it update location tracking, to handle the
non-web-url case.

This commit was sponsored by Ewen McNeill on Patreon.
2018-10-04 17:35:49 -04:00
yarikoptic
0d00230ca2 Added a comment: reporting back 2018-10-04 20:37:53 +00:00
Joey Hess
ca66e7b66a
followup 2018-10-04 15:53:33 -04:00
Joey Hess
d4bab34897
close 2018-10-04 15:33:37 -04:00
Joey Hess
99a24af0e7
close, not a bug in git-annex 2018-10-04 15:25:03 -04:00
Joey Hess
feff67aa63
response 2018-10-04 15:18:22 -04:00
Joey Hess
50c999bfa3
seems to work as desired 2018-10-04 15:03:39 -04:00
Joey Hess
b12b341c6d
close dup 2018-10-04 14:46:43 -04:00
Joey Hess
39d3995787
response 2018-10-04 14:11:38 -04:00
Joey Hess
bf9af05867
comment 2018-10-04 13:07:31 -04:00
yarikoptic
f6243734e4 Added a comment 2018-10-03 20:58:09 +00:00
Joey Hess
a93773246b
followup 2018-10-03 15:49:35 -04:00
CandyAngel
3a5fda1314 Added a comment 2018-10-03 08:01:25 +00:00
palindromos
1ee14c51e4 2018-10-02 14:15:24 +00:00
yarikoptic
8df00a084a 2018-10-01 17:40:05 +00:00
yarikoptic
6e41f970e8 2018-10-01 17:25:13 +00:00
yarikoptic
e8e9299d7d initial findings on the "smart HTTP" and git-annex 2018-10-01 17:13:58 +00:00
stefankangas@2fc5a0baba35168e9f9b5b72d5204558fd964c32
e4e1428dfa Added a comment: Same issue on OSX / git-annex 6.20180807 2018-10-01 12:49:28 +00:00
yarikoptic
ee82a976da Added a comment: "minimal" reproducible case 2018-09-26 16:03:14 +00:00
yarikoptic
23785cd40e Added a comment 2018-09-26 13:47:36 +00:00
yarikoptic
e4ff6931e5 Added a comment 2018-09-26 00:10:41 +00:00
yarikoptic
613c3f7674 Added a comment: reproducible, no locking message, many "duplicate" files 2018-09-26 00:06:29 +00:00
yarikoptic
42c60101d8 Added a comment 2018-09-25 22:36:43 +00:00
yarikoptic
216c6daa30 Added a comment 2018-09-25 22:28:49 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
6415730acf Added a comment: Thanks 2018-09-25 19:52:03 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
152bcf582f I the missing verb ;) 2018-09-25 19:50:32 +00:00
Joey Hess
177e45517f
improve back-compat of post-receive hook
* init: Improve generated post-receive hook, so it won't fail when
  run on a system whose git-annex is too old to support git-annex post-receive
* init: Update the post-receive hook when re-run in an existing repository.

This commit was sponsored by Jack Hill on Patreon.
2018-09-25 15:02:12 -04:00
Joey Hess
ce67aeb52f
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 14:12:26 -04:00
Joey Hess
75d769d0f3
clean up old misplaced comment 2018-09-25 14:07:03 -04:00
Joey Hess
16cbecbd09
Revert "clean P2P protocol shutdown on EOF"
This reverts commit b18fb1e343.

That broke support for old git-annex-shell before p2pstdio was added.

The immediate problem is that postAuth had a fallthrough case
that sent an error back to the peer, but sending an error back when the
connection is closed is surely not going to work.

But thinking about it some more, making every function that uses receiveMessage
need to handle ProtocolEOF adds a lot of complication, so I don't want
to do that.

The commit only cleaned up the test suite output a tiny bit, so I'm just
gonna revert it for now.
2018-09-25 14:04:12 -04:00
yarikoptic
03c8fbd718 Added a comment 2018-09-25 17:58:25 +00:00
yarikoptic
3b906594cf Added a comment 2018-09-25 17:56:58 +00:00
yarikoptic
548390035d Added a comment: resolved! 2018-09-25 17:55:30 +00:00
Joey Hess
26a02cb386
display error when an invalid url is downloaded
download is documented as displaying an error when download fails, but
it didn't when the url was not valid at all. That leads to confusing
behavior.

Also, display the url with --debug
2018-09-25 13:38:20 -04:00
Joey Hess
0d9d3cc9c4
reproed 2018-09-25 13:18:45 -04:00
Joey Hess
58e5e01ba0
sheesh 2018-09-25 13:08:10 -04:00
Joey Hess
be3dcd80b0
followup 2018-09-25 13:04:09 -04:00
Joey Hess
7c874782ba
followup 2018-09-25 12:56:14 -04:00
Joey Hess
e05b143560
close, fixed in git 2018-09-25 12:54:17 -04:00
Joey Hess
df2518af5a
comment 2018-09-25 12:34:21 -04:00
yarikoptic
e2ff597850 Added a comment 2018-09-25 16:18:58 +00:00
yarikoptic
8ee8e14ae8 Added a comment 2018-09-25 16:15:54 +00:00
yarikoptic
42e000f45f Added a comment: same as another one? 2018-09-25 15:35:15 +00:00
yarikoptic
be7ef2c519 initial report about get'ing from exported public S3 2018-09-25 15:33:58 +00:00
yarikoptic
29ae96a191 Added a comment 2018-09-25 15:27:13 +00:00
Ilya_Shlyakhter
9e075fdbfa Added a comment 2018-09-25 15:24:55 +00:00
yarikoptic
b9016a7d7e initial report about stalling ssh 2018-09-25 13:48:39 +00:00
yarikoptic
42480e8ce6 impossible to login report 2018-09-25 13:37:33 +00:00
yarikoptic
abf3d8ea15 initial report about standalone out of date 2018-09-25 13:31:05 +00:00
yarikoptic
12e6d322ca Added a comment 2018-09-24 19:33:41 +00:00
Joey Hess
35db45a1a3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 15:06:03 -04:00
Joey Hess
67615bda8d
thoughts 2018-09-24 15:05:41 -04:00
yarikoptic
3c4cb7e957 Added a comment 2018-09-24 18:05:15 +00:00
yarikoptic
81c51fae30 Added a comment: downgrading helped! 2018-09-24 17:56:42 +00:00
Joey Hess
09716835c6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 13:21:54 -04:00
Joey Hess
cc82f81227
More FreeBSD build fixes.
Untested, on FreeBSD but enough to fix the listed build errors.

Seems that System.Posix.Files must have used to export this stuff and it
was split.

This commit was sponsored by Peter on Patreon.
2018-09-24 11:25:56 -04:00