Commit graph

9100 commits

Author SHA1 Message Date
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500
81e76d815c 2018-09-13 04:24:03 +00:00
Joey Hess
0bbc47d567
response 2018-09-12 14:19:48 -04:00
Joey Hess
2743224658
change v6 git-annex add of staged unmodified unlocked file
v6: When a file is unlocked but has not been modified, and the unlocking is
only staged, git-annex add did not lock it. Now it will, for consistency
with how modified files are handled and with v5.

Note the removal of the sameInodeCache check. Otherwise it would see
that the unmodified file is unmodified and stop there. That check seems to have
been copied from the direct mode branch. But, direct mode had a specific
reason to check for unmodified content, that does not apply to v6.

The second pass means there is potential for a race, eg the unlocked
file could be modified in between the first and second passes.
No problem with that, since both passes do the same thing.

This commit was sponsored by Jake Vosloo on Patreon.
2018-09-12 14:00:05 -04:00
yarikoptic
a099fd4184 initial report on whereis kaboom 2018-09-12 14:02:48 +00:00
ewen
00d4a58ff7 Added a comment: LC_TIME 2018-09-11 23:52:23 +00:00
ewen
3b8cbe55b2 Added a comment: LC_TIME 2018-09-11 22:23:49 +00:00
ewen
7bf914a22e Added a comment: timer_create 2018-09-11 21:37:25 +00:00
Joey Hess
fdbdf64d87
fix reversions due to undocumented and buggy git behavior
* Don't use GIT_PREFIX when GIT_WORK_TREE=. because it seems git
  does not intend GIT_WORK_TREE to be relative to GIT_PREFIX in that
  case, despite GIT_WORK_TREE=.. being relative to GIT_PREFIX.
* Don't use GIT_PREFIX to fix up a relative GIT_DIR, because
  git 2.11 sets GIT_PREFIX set to a path it's not relative to.
  and apparently GIT_DIR is never relative to GIT_PREFIX.

Commit e50ed4ba48 led us down this path
by working around a git bug by relying on the barely documented GIT_PREFIX.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-09-11 15:54:21 -04:00
Joey Hess
30b1e7cb34
followup 2018-09-11 14:42:37 -04:00
Joey Hess
48205ff829
followup 2018-09-11 14:31:49 -04:00
Joey Hess
88e5292417
followup 2018-09-11 14:06:46 -04:00
Joey Hess
1e71dbf812
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-11 13:30:01 -04:00
Joey Hess
a352368f8e
followup 2018-09-11 13:27:51 -04:00
yarikoptic
9632da100c initial report on problem accessing previously exported public bucket 2018-09-11 17:07:16 +00:00
kyle
69448f2a40 fixed 2018-09-10 18:30:46 +00:00
kyle
25fecfd50f Added a comment: fixed 2018-09-10 18:27:49 +00:00
ewen
224e71e7d0 Added a comment: x86-64 build working on Synology NAS (with work around) 2018-09-08 02:03:21 +00:00
yarikoptic
c16856b8eb Added a comment: the reason is system wide git version! 2018-09-07 00:13:33 +00:00
yarikoptic
80f61cfaaa initial report on problem with v6 in subdirectory 2018-09-06 23:43:12 +00:00
Joey Hess
b600ad71ce
make linkToAnnex freezeContent the object file
v6: Fix annex object file permissions when git-annex add is run on a
modified unlocked file, and in some related cases.

If a hard link is made, don't freeze it; annex.thin
uses writable object files.

Also: For some reason, linkToAnnex used to thawContent src. I can see no
reason why it needed to do that, so I eliminated that.

This commit was sponsored by Brock Spratlen on Patreon.
2018-09-05 15:27:22 -04:00
Joey Hess
69907e397f
revert a few problem areas of git-annex.cabal patch 2018-09-05 11:47:00 -04:00
fft
165783827b 2018-09-05 12:18:54 +00:00
fft
f760555c57 2018-09-05 12:13:48 +00:00
ewen
8afd9b5c95 Added a comment: Synology bug report 2018-09-03 22:36:07 +00:00
ewen
8b9cd04815 Added a comment: timer_create 2018-09-03 22:06:00 +00:00
ewen
ff74702d3d x86-32 standalone build break on Synology DS216+ 2018-09-03 04:30:42 +00:00
duncan_bayne
41b3bbeddf 2018-09-03 00:42:24 +00:00
duncan_bayne
81829125f8 Added a comment: Thanks :) 2018-09-03 00:39:08 +00:00
kyle
5567496518 'annex add' locks unmodified file in V5 but not V6 2018-08-30 19:07:03 +00:00
yarikoptic
2969d93283 Added a comment: clear docker for ubuntu 18:04 - the same 2018-08-30 16:07:51 +00:00
kyle
d74c6ebf1f Added a comment: v5 2018-08-30 16:05:01 +00:00
yarikoptic
dd0283e985 Added a comment: reproduced more 2018-08-30 16:02:39 +00:00
yarikoptic
4b05d4179d Added a comment: confirming 2018-08-30 15:57:39 +00:00
Joey Hess
a3fa9ea0b5
followup 2018-08-30 11:08:46 -04:00
kyle@9c8cc228b2254d7f0f8c42be54a2ac1b81edf416
92be1cc8c7 2018-08-29 21:20:26 +00:00
Joey Hess
d3c9d72245
followup 2018-08-29 12:20:24 -04:00
Joey Hess
f54c72d2e1
Fix build on FreeBSD
This must have been broken for years..

This commit was sponsored by Jack Hill on Patreon.
2018-08-29 12:09:03 -04:00
Joey Hess
084e88964d
close 2018-08-29 12:04:46 -04:00
Joey Hess
759a87ad70
fix git command queue to be concurrency safe
Probably not noticed until now because the queue is large enough that two
threads each filling theirs at the same time and flushing is unlikely to
happen.

Also made explicit that each worker thread gets its own queue.
I think that was the case before, but if something was put in the queue
before worker threads were forked off, they could have each inherited the
same queue.

Could have gone with a single shared queue, but per-worker queues is more
efficient, because a worker can add lots of stuff to its own queue without
any locking.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-08-28 13:16:33 -04:00
Joey Hess
3a71f3a4a9
reproduced 2018-08-28 12:35:15 -04:00
Joey Hess
ebdb17cda7
followup 2018-08-28 12:21:23 -04:00
Joey Hess
2b4a9a7cd8
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-28 12:14:41 -04:00
petr.marketlab@4024e478aebbe860ab1cbf03aca8adb30127c56e
2acca8a3ae 2018-08-28 15:26:07 +00:00
petr.marketlab@4024e478aebbe860ab1cbf03aca8adb30127c56e
1885cca783 2018-08-28 15:18:27 +00:00
Joey Hess
401a79675b
run git status before enabling clean filter
Avoids annex.largefiles inconsitency and also avoids a lot of
unneccessary calls to the clean filter when a large repo's clone
is being initialized.

This commit was supported by the NSF-funded DataLad project.
2018-08-28 10:36:22 -04:00
Joey Hess
10138056dc
v6: avoid accidental conversion when annex.largefiles is not configured
v6: When annex.largefiles is not configured for a file, running git add or
git commit, or otherwise using git to stage a file will add it to the annex
if the file was in the annex before, and to git otherwise. This is to avoid
accidental conversion.

Note that git-annex add's behavior has not changed, for reasons explained
in the added comment.

Performance: No added overhead when annex.largefiles is configured.
When not configured, there is an added call to catObjectMetaData,
which involves a round trip through git cat-file --batch.
However, the earlier catKeyFile primes the cache for it.

This commit was supported by the NSF-funded DataLad project.
2018-08-27 14:51:10 -04:00
Joey Hess
b3dfcd18fe
followup 2018-08-27 13:36:11 -04:00
Joey Hess
8478544b58
analysis, plan
This commit was supported by the NSF-funded DataLad project.
2018-08-27 13:14:34 -04:00
Joey Hess
d7f386a81d
reproduced with current 2018-08-27 12:20:58 -04:00
Joey Hess
d5980b7139
close, this was fixed last week 2018-08-27 12:15:43 -04:00
duncan_bayne
5a90234f47 2018-08-26 02:37:25 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
65bd018f94 removed 2018-08-22 01:13:45 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
529b84c5ca removed 2018-08-22 01:11:08 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
7d0b838153 Added a comment 2018-08-22 01:10:54 +00:00
rajagopal.abhejit@a18fbb434d26431ed70e7fad7bd6a696df2b7d85
0b8759771a Added a comment 2018-08-22 01:10:40 +00:00
yarikoptic
78ecd6b17a Added a comment 2018-08-21 16:23:05 +00:00
yarikoptic
dae76d8ef3 fixup the trailer 2018-08-21 16:02:25 +00:00
Joey Hess
056b081280
followup 2018-08-21 11:56:51 -04:00
yarikoptic
e009c0efed original filing about web remote listing 2018-08-21 15:09:10 +00:00
Joey Hess
9091d52a1f
close old openbsd build bugs 2018-08-17 16:18:40 -04:00
Joey Hess
2e153de34a
close 2018-08-16 16:41:08 -04:00
duncan_bayne
7e9d6c4ef1 Added a comment: RTFM 2018-08-16 04:25:27 +00:00
Joey Hess
f1dfed4d5a
response 2018-08-13 12:44:34 -04:00
webanck
cd62ab20a3 Added a comment: Similar issue again 2018-08-13 14:18:17 +00:00
webanck
55d7660576 removed 2018-08-13 14:16:09 +00:00
webanck
3829f2de16 Added a comment: Similar issue again 2018-08-13 14:11:48 +00:00
duncan_bayne
6ce59ccfe5 2018-08-12 06:19:36 +00:00
duncan_bayne
b5910dac68 2018-08-12 06:18:36 +00:00
duncan_bayne
874dd3febf 2018-08-12 06:17:56 +00:00
yarikoptic
b47fef55f0 Added a comment: my 1c 2018-08-10 19:17:17 +00:00
Joey Hess
74551a430a
soften 2018-08-09 16:03:43 -04:00
Joey Hess
6de8bbaad9
followup 2018-08-09 16:01:48 -04:00
Joey Hess
1f8e6d7e3a
hm 2018-08-09 15:44:01 -04:00
Joey Hess
0e04d9cfab
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-09 15:07:17 -04:00
Joey Hess
7b9762b6af
document converting from git to annex and back 2018-08-09 15:06:51 -04:00
yarikoptic
a18b9cb8be Added a comment: may be one more gitattribute to instruct on either conversion is desired for the file? 2018-08-09 18:59:56 +00:00
Joey Hess
adcca7ecd7
one more thought 2018-08-09 13:14:52 -04:00
Joey Hess
5b56ca32c6
typo 2018-08-09 13:10:31 -04:00
Joey Hess
42fcf59921
rethink and Q 2018-08-09 13:06:25 -04:00
Joey Hess
78ade9e6cf
a plan 2018-08-09 12:38:00 -04:00
Joey Hess
6eeeb2eea8
same root cause for this too 2018-08-09 12:15:38 -04:00
Joey Hess
29a52e1518
understand now 2018-08-09 12:08:30 -04:00
Joey Hess
7ed987f6ca
and 2018-08-09 12:05:51 -04:00
Joey Hess
fc2ffb414f
followup 2018-08-09 12:04:07 -04:00
yarikoptic
2a7484bdc6 initial report about failure to commit 2018-08-08 20:07:27 +00:00
Joey Hess
12460fcea6
make --batch honor matching options
When --batch is used with matching options like --in, --metadata, etc, only
operate on the provided files when they match those options. Otherwise, a
blank line is output in the batch protocol.

Affected commands: find, add, whereis, drop, copy, move, get

In the case of find, the documentation for --batch already said it honored
the matching options. The docs for the rest didn't, but it makes sense to
have them honor them. While this is a behavior change, why specify the
matching options with --batch if you didn't want them to apply?

Note that the batch output for all of the affected commands could
already output a blank line in other cases, so batch users should
already be prepared to deal with it.

git-annex metadata didn't seem worth making support the matching options,
since all it does is output metadata or set metadata, the use cases for
using it in combination with the martching options seem small. Made it
refuse to run when they're combined, leaving open the possibility for later
support if a use case develops.

This commit was sponsored by Brett Eisenberg on Patreon.
2018-08-08 12:07:06 -04:00
Joey Hess
54eb80e945
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-08 11:06:08 -04:00
Joey Hess
ec18b84bdb
moreinfo this 2018-08-08 11:05:05 -04:00
Joey Hess
0fd093485d
close 2018-08-08 11:03:43 -04:00
CandyAngel
56bce6a5cc 2018-08-07 23:18:09 +00:00
https://openid-provider.appspot.com/iakornfeld
48d11a5dfb Added a comment: Sorry 2018-08-07 14:12:20 +00:00
https://openid-provider.appspot.com/iakornfeld
797c3e14c4 removed 2018-08-07 14:08:12 +00:00
https://openid-provider.appspot.com/iakornfeld
0f70ee06db Added a comment: Yes 2018-08-07 14:07:56 +00:00
https://openid-provider.appspot.com/iakornfeld
1b80f89ef4 Added a comment: Yes 2018-08-07 14:07:38 +00:00
Joey Hess
4c918437ab
Fix git-annex branch data loss that could occur after git-annex forget --drop-dead
Added getStaged, to get the versions of git-annex branch files staged in its
index, and use during transitions so the result of merging sibling branches
is used.

The catFileStop in performTransitionsLocked is absolutely necessary,
without that the bug still occurred, because git cat-file was already
running and was looking at the old index file.

Note that getLocal still has cat-file look at the git-annex branch, not the
index. It might be faster if it looked at the index, but probably only
marginally so, and I've not benchmarked it to see if it's faster at all. I
didn't want to change unrelated behavior as part of this bug fix. And as
the need for catFileStop shows, using the index file has added
complications.

Anyway, it still seems fine for getLocal to look at the git-annex branch,
because normally the index file is updated just before the git-annex branch
is committed, and so they'll contain the same information. It's only during
a transition that the two diverge.

This commit was sponsored by Paul Walmsley in honor of Mark Phillips.
2018-08-06 17:36:30 -04:00
mbekkema97@66b135681014f005a3a14c4011d148fcb6655f81
2010e98ebf 2018-08-06 18:18:31 +00:00
Joey Hess
e5a8d5effa
close 2018-08-06 12:50:29 -04:00
yarikoptic
0e93af4e9c Added a comment: no generic solution is possible in indirect mode BUT still would be nice to have a 99% solution 2018-08-03 21:51:22 +00:00
Joey Hess
3f00fc5f26
probably pebak 2018-08-03 14:23:46 -04:00
Joey Hess
5ff0fa81bc
why? 2018-08-03 14:19:20 -04:00
Joey Hess
a85595bda8
close 2018-08-03 13:35:05 -04:00
AlexP
178ab762eb Added a comment: any update on this? 2018-08-02 20:01:57 +00:00
webanck
eef25c7a17 rename bugs/git-annex-export_treeish_subdir_path_does_not_exist.mdwn to bugs/git-annex-export_treeish_subdir_path_does_not_exist__91____91__done__93____93__.mdwn 2018-07-31 12:43:51 +00:00
webanck
5b3008b317 Added a comment 2018-07-31 12:41:44 +00:00
webanck
0a02330537 2018-07-31 11:36:15 +00:00
andrew
f724fe67e3 2018-07-23 22:38:11 +00:00
andrew
7f56fb83ba Added a comment 2018-07-23 22:37:39 +00:00
andrew
3de7cc01db 2018-07-23 22:36:21 +00:00
andrew
4116ecf1a7 Added a comment 2018-07-23 22:35:48 +00:00
https://openid-provider.appspot.com/iakornfeld
9b77ff6e88 Added a comment: Please close 2018-07-22 19:07:16 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
9fac2028df Added a comment 2018-07-21 23:41:34 +00:00
https://openid-provider.appspot.com/iakornfeld
7b83124bd2 2018-07-21 14:44:50 +00:00
https://openid-provider.appspot.com/iakornfeld
e58b884048 2018-07-21 14:42:18 +00:00
https://openid-provider.appspot.com/iakornfeld
01c2e09587 2018-07-21 14:35:22 +00:00
Joey Hess
f77ec28571
response 2018-07-19 16:46:06 -04:00
t.z.mates
b049a6dedb Added a comment: Thanks! 2018-07-19 19:44:25 +00:00
andrew
dfb45ac63d 2018-07-19 18:23:32 +00:00
andrew
c890253c21 2018-07-19 18:22:17 +00:00
andrew
8a1aa07cc8 2018-07-19 18:15:52 +00:00
Joey Hess
5c38f02c65
urgh 2018-07-17 14:28:15 -04:00
Joey Hess
e50ed4ba48
work around git bug
Work around git bug that runs smudge/clean filters at the top of the
repository while passing them a relative GIT_WORK_TREE that may point
outside of the repository, by using GIT_PREFIX to get back to the
subdirectory where a relative GIT_WORK_TREE is valid.

git devs have been informed of the bug and may fix it, which could conveivably
break this fix, but as it is, this works back to git 1.7.6.

This commit was sponsored by Jochen Bartl on Patreon.
2018-07-17 14:27:39 -04:00
Joey Hess
5b7c84c868
reproduced 2018-07-17 11:03:59 -04:00
jlebar
08570f7330 Added a comment 2018-07-17 05:12:04 +00:00
Joey Hess
50609da787
fix User-Agent reversion
Send User-Agent and any configured annex.http-headers when downloading with
http, fixes reversion introduced when switching to http-client.

This commit was sponsored by mo on Patreon.
2018-07-16 11:56:47 -04:00
Joey Hess
bd6799ebef
followup 2018-07-16 11:47:13 -04:00
ewen
2b8f8838b5 Added a comment: User-Agent 2018-07-15 02:21:48 +00:00
ewen
f6cc088eec Renamed bug to indicate missing User-Agent header seems to be cause. 2018-07-15 02:18:46 +00:00
ewen
eb48ee9bfe rename bugs/importfeed_bad_request_for___34__episodes__63__format__61__RSS__34__.mdwn to bugs/importfeed_bad_request_without_User-Agent__58__.mdwn 2018-07-15 02:17:52 +00:00
ewen
ff682b6029 Regression in podcast feed download for one RSS feed 2018-07-15 02:17:05 +00:00
andrew
7b7ae02fe5 Added a comment 2018-07-13 15:04:14 +00:00
Joey Hess
7f2e76c462
comment 2018-07-11 15:54:18 -04:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
f55d82bc96 Added a comment 2018-07-08 19:53:09 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
d6877b7ae7 2018-07-08 18:57:54 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
ca9e5be23b More formatting fixes 2018-07-08 18:57:31 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
34cfa919aa Fix formatting 2018-07-08 18:55:35 +00:00
justin.lebar@7a36fcafc322d9a381e89f08ab6289033c6dde91
9b2ff32573 2018-07-08 18:54:03 +00:00
CandyAngel
54859ba676 Added a comment 2018-07-08 17:58:33 +00:00
andrew
85bc622552 Added a comment 2018-07-08 16:37:04 +00:00
ewen
ab12a6e9f9 Added a comment: Synology NAS 2018-07-08 06:52:08 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
586fa4800c Added a comment 2018-07-06 20:13:32 +00:00
Joey Hess
dbb7e81b4f
comment 2018-07-06 12:44:32 -04:00
Joey Hess
e5ef7d63ae
Merge branch 'master' of ssh://git-annex.branchable.com 2018-07-05 11:53:47 -04:00
Joey Hess
49cc94f61f
add docs about p2p --pair being broken in old versions 2018-07-05 11:52:52 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
78daed90d1 Added a comment 2018-07-05 15:47:14 +00:00
CandyAngel
f60e0df0e0 Added a comment 2018-07-05 13:53:47 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
fb730c3731 2018-07-05 13:30:11 +00:00
nothingmuch
3fd2a66d57 2018-07-04 19:31:00 +00:00
Joey Hess
df1ed30549
remove comment to deleted non-bug 2018-07-02 12:34:29 -04:00
Joey Hess
3160cadba3 git-annex version 6.20180626
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKKUAw1IH6rcvbA8l2xLbD/BfjzgFAlstCaQACgkQ2xLbD/Bf
 jzh5nxAAn7D9soTI0ex6AVDDo2CjOyTTDVrIcl2h5XizfuUD3ev5P0TR3BZmzpAb
 MI6uaZ8kxqZ/eGAsBTyH9PsV7QVYIdht9t89ytP4xWyTQiOgjyJeA6PnJl4zVK9z
 Y8Of3mlylaz+97+sndljpsvy/KHENrHI7HHd+qxAu7wKysJxG6fJB7CjremkjaCI
 zAwg3mIy72ZKyuR/8hL9puJN9fdfw1ulkzQR+he007e/HkurPCwgRAOYW/Aa2tpY
 Oigdb9a6/0nl/VnOS8ZyHrSPRrhLH9c4IBmsdC1Xt5NDVmID/sWgD9uPF9dsHSMF
 OM25QdSlJ5cSNg+/XCpmmhC9MjgKkuVNpZ/fWBaHFs6KYgGhtZcAayQdz5AmMS2N
 HTPWB1IxZiV5TQHQpLbdH/q3RfNtRq1G1tc24zpd/zdhzijeTM6D8n4No6LXNq8X
 7U0qcrp9TdLOpBCTf6Jrg/7qFaXddHoEW1e3KrsOmB0hlYHuNxfY4bs0+ROeXGOT
 00koezcbF8kEI0ekoDvJjtVqaUq+608YjJZ5v7dE0vbtTj0KGbl5EHwC9atUluCX
 MHyTDY89uq68g4HIDytL001ZLvE3EUGJc4jh3+OMDzuZSKB5uwJIIky+qIaQu34K
 QJrZuyAIY0sVFV6LUX9nwqTW6Nnx/bB+kZ6k0+gx+Lpf7pUpE+o=
 =kex4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKKUAw1IH6rcvbA8l2xLbD/BfjzgFAlsxnX4ACgkQ2xLbD/Bf
 jzjK1xAAnJ58ZxLyTYlCZRcKiR81UHS/Mk6+SDAjRIRbT0SsY+6gSP55XKjrcuOb
 Jatp+6cNNSgk2lBpn37mq+rYIqboFh9moDRK7JSh1mDHCVtIwdARGblFRfuwaWPi
 xHnu+Pj43+SP7OF+8qP8/kDM+js3iMS+0gvBBz8pQN/yJDROXii6u0eONOd7vbER
 iRY9QpJdj5lp3hjaWfXt5iJC0re0eOAY4eUSHPsFIASysShnn33dFPOZ2hbhRKjR
 unQHUVIUE+ehmW3w9qIqn+9v2kca7laGK11cvzYRpmu/9rrvpf+RF1h42S8822dP
 CKHvxDkBGbyqTA+F9/6zpU1i9/ARgHFDpScRcdq7ZJi9FbWabKDklHCsgxwrkdXb
 +FXgb7N5Sa4+eVDNUf4rxldtLPX53nrtZ3IqrGiCWApCvbysNyP5kE0nix02l9z2
 xzY2vlpicx7TOMoO9mZesSFNgRzuFAbbya/zDJrz+xfgSRYXRYg58yTpmhpTFvSI
 h3Fw6+MYvehvRdAweLtoQt2p/UV2MAWrTpNzFoqgf2OCQOiH97ACDHn8Yki9rnQi
 NuMsqv9WOYQs4SaygDZMKemgAxftf3uaXiBW0RzHHwwWnDjHhqsEioOvOhNNyZbz
 U3OjKrH1JZlkNHlIBQD4BsWGLlIct66ZTU3k2OxPEp+mpEG/Xi4=
 =p+cW
 -----END PGP SIGNATURE-----

Merge tag '6.20180626' - previously embargoed security release
2018-06-25 21:56:43 -04:00
yves.noirjean@3f9b06d19a920fbf5c82340c362e5971b00d4af2
5d8d4de172 Added a comment 2018-06-22 07:53:26 +00:00
Joey Hess
4a89728d64
close 2018-06-21 15:49:11 -04:00
Joey Hess
838b65bd6b
update status 2018-06-21 13:45:07 -04:00
Joey Hess
537935333f
document CVE-2018-10859 2018-06-21 11:27:56 -04:00
Joey Hess
c5166b56af
second vuln 2018-06-19 17:03:04 -04:00
Joey Hess
c81b879d39
got a CVE number 2018-06-18 17:56:18 -04:00
Joey Hess
71d39caf5c
add security page with current and past security holes 2018-06-18 14:19:58 -04:00
Joey Hess
8703fdd3b7
add 2018-06-17 16:13:45 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
7a44c2c8ef removed 2018-06-16 09:49:19 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
fc468eed88 Added a comment: this one is invalid 2018-06-16 09:48:53 +00:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
75c4c947d5 2018-06-16 09:14:38 +00:00
Joey Hess
c8559a0403
close old bug 2018-06-15 14:44:32 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
a439041e40 Added a comment 2018-06-13 10:46:25 +00:00
Joey Hess
760f66829a
display p2pstdio stderr after auth
Display error messages that come from git-annex-shell when the p2p protocol
is used, so that diskreserve messages, IO errors, etc from the remote side
are visible again.

Felt like it should perhaps use outputError, so --json-error-messages would
include these, but as an async IO action, it can't, and this would need
MessageState to be converted to a tvar. Anyway, when not using p2pstdio,
that's not done; nor is it done for stderr from external special remotes
or other commands, so punted on the idea for now.

This commit was sponsored by mo on Patreon.
2018-06-12 14:59:05 -04:00
Joey Hess
90a3afb60f
adb: Android serial numbers are not all 16 characters long, so accept other lengths.
I can't find any documentation of how long it should be. Hard to imagine
it being shorter than 4 characters though, so put that in as a conservative
lower bound.

This commit was sponsored by Nick Piper on Patreon.
2018-06-12 13:56:01 -04:00
Joey Hess
98168e8f2e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-12 12:55:41 -04:00
Joey Hess
b0492384bb
response 2018-06-12 12:54:29 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
75e4e45bea 2018-06-12 16:46:40 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
eca49304fe 2018-06-12 16:46:22 +00:00
sudoman
8cba78f266 initial but submission 2018-06-05 22:08:57 +00:00
Joey Hess
fc5888300f
fix annex-checkuuid
Fixed annex-checkuuid implementation, so that remotes configured that way
can be used. This was 100% broken from the first commit of it, oops.

This commit was sponsored by Øyvind Andersen Holm.
2018-06-04 16:52:22 -04:00
Joey Hess
f1303e9146
close 2018-06-04 16:52:10 -04:00
Joey Hess
c3e1d0550f
fix incorrect comment 2018-06-04 16:50:53 -04:00
ypid
8afefb9ebe Added a comment 2018-06-04 19:42:30 +00:00
Joey Hess
67e46229a5
change Remote.repo to Remote.getRepo
This is groundwork for letting a repo be instantiated the first time
it's actually used, instead of at startup.

The only behavior change is that some old special cases for xmpp remotes
were removed. Where before git-annex silently did nothing with those
no-longer supported remotes, it may now fail in some way.

The additional IO action should have no performance impact as long as
it's simply return.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon
2018-06-04 15:30:26 -04:00
Joey Hess
dc5550a54e
analysis 2018-06-04 13:14:20 -04:00
Joey Hess
2e6a6024c2
avoid unncessary version output differences in different contexts
Show operating system and repository version list when run outside
a git repo too.

Also made it only display the local repository version when in a git-annex
repo. Before it showed "unknown" when run in a git repo that was not
git-annex initialized. That seemed like confusing behavior.

This commit was sponsored by Jochen Bartl on Patreon.
2018-06-04 12:26:18 -04:00
Joey Hess
95f7295b67
followup 2018-06-04 12:12:56 -04:00
ypid
37ca93b834 2018-06-03 13:08:33 +00:00
ypid
2d13c23112 Fix typo in bug report 2018-06-03 12:50:27 +00:00
ypid
b00415a3ff Create bug report: Operating system should be contained in git annex version output 2018-06-03 12:48:47 +00:00
sawmke
6eecfb19e6 2018-06-02 17:24:14 +00:00
Joey Hess
f09a235c87
Merge branch 'master' of ssh://git-annex.branchable.com 2018-05-31 11:49:35 -04:00
Joey Hess
0c803eee71
list all (non-archived) done bugs, not only most recent 10 2018-05-31 11:48:53 -04:00
andrew
008fd0d536 Added a comment: bare remotes, workflow 2018-05-31 12:50:55 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
dffb0c1f5a Added a comment 2018-05-30 17:36:31 +00:00
Joey Hess
1c8ee99b46
Fix build with ghc 8.4+, which broke due to the Semigroup Monoid change
https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid

I am not happy with the fragile pile of CPP boilerplate required to support
ghc back to 7.0, which git-annex still targets for both the android build
and the standalone build targeting old linux kernels. It makes me unlikely
to want to use Semigroup more in git-annex, because the benefit of the
abstraction is swamped by the ugliness. I actually considered ripping out
all the Semigroup instances, but some are needed to use
optparse-applicative.

The problem, I think, is they made this transaction on too fast a timeline.
(Although ironically, work on it started in 2015 or earlier!)
In particular, Debian oldstable is not out of security support, and it's
not possible to follow the simpler workarounds documented on the wiki and
have it build on oldstable (because the semigroups package in it is too
old).

I have only tested this build with ghc 8.2.2, not the newer and older
versions that branches of the CPP support. So there could be typoes, we'll
see.

This commit was sponsored by Brock Spratlen on Patreon.
2018-05-30 12:28:43 -04:00
andrew
ec4c867787 Added a comment 2018-05-30 15:24:47 +00:00
ilovezfs
cfd81b83a7 2018-05-30 06:08:11 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
0b328c8a35 Added a comment 2018-05-24 19:28:28 +00:00
Joey Hess
2da2ae0919
fix migration bug and make fsck warn
* migrate: Fix bug in migration between eg SHA256 and SHA256E,
  that caused the extension to be included in SHA256 keys,
  and omitted from SHA256E keys.
  (Bug introduced in version 6.20170214)
* migrate: Check for above bug when migrating from SHA256 to SHA256
  (and same for SHA1 to SHA1 etc), and remove the extension that should
  not be in the SHA256 key.
* fsck: Detect and warn when keys need an upgrade, either to fix up
  from the above migrate bug, or to add missing size information
  (a long ago transition), or because of a few other past key related
  bugs.

This commit was sponsored by Henrik Riomar on Patreon.
2018-05-23 14:07:51 -04:00
Joey Hess
deff25549a
followup 2018-05-23 13:10:16 -04:00
anarcat
f08c6c6289 mark as done 2018-05-22 20:56:32 +00:00
anarcat
ac7fbfac03 Added a comment 2018-05-22 20:54:13 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
db2def89fe 2018-05-22 05:18:34 +00:00
Joey Hess
caaedb2993
fix http-client gzip decompression bug
Prevent haskell http-client from decompressing gzip files, so downloads of
such files works the same as it used to with wget and curl.

Explicitly setting accept-encoding to "identity" is probably not needed,
but that's what wget sends (curl does not send the header), and since
http-client is trying to be excessively smart, it seems we need to set
hAcceptEncoding to something to prevent it from inserting its own,
and this seems better than some hack like "".

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-05-21 15:10:25 -04:00
Joey Hess
f9e3bcdeb8
close 2018-05-21 15:06:29 -04:00
Joey Hess
2fabd7cdb5
remove the older move --force, which never behaved as documented and seems useless
* move: --force was accidentially enabling two unrelated behaviors
  since 6.20180427. The older behavior, which has never been well
  documented and seems almost entirely useless, has been removed.
* copy: --force no longer does anything.

This commit was sponsored by Øyvind Andersen Holm.
2018-05-21 13:21:19 -04:00
Joey Hess
ca6f5be284
followup 2018-05-21 12:51:55 -04:00
Joey Hess
e3c224913e
analysis 2018-05-21 12:14:30 -04:00
rrnewton@63c9faa1997c908b1dc04dfdca33c809660cd158
6a0379a056 tweak url 2018-05-21 05:13:10 +00:00
rrnewton@63c9faa1997c908b1dc04dfdca33c809660cd158
647745bb84 2018-05-21 05:12:20 +00:00
andrew
a34f982e7a Added a comment: thoughts? 2018-05-20 17:41:29 +00:00
https://openid-provider.appspot.com/iakornfeld
c97a6f9997 2018-05-18 14:02:29 +00:00
CandyAngel
5cbce5f308 2018-05-18 08:55:31 +00:00
spwhitton
d3117290cd Added a comment: patches welcome 2018-05-17 21:31:01 +00:00
anarcat
2c6c77bc16 Added a comment: .gitconfig was the cause, git-remote-gcrypt probably at fault 2018-05-17 20:42:37 +00:00
CandyAngel
295447a406 Added a comment 2018-05-17 20:21:47 +00:00
spwhitton
d43e44e3e5 Added a comment: analysis 2018-05-17 19:49:04 +00:00
CandyAngel
1d58205284 Added a comment 2018-05-17 19:14:25 +00:00
anarcat
78a0bf4814 reproduced with remote-gcrypt 1.1 2018-05-17 17:39:35 +00:00
anarcat
fc68caa435 problems using gcrypt remote for basic stuff 2018-05-17 17:27:27 +00:00
CandyAngel
bcf732aca5 2018-05-16 21:58:53 +00:00
https://openid-provider.appspot.com/iakornfeld
65f55e448c Added a comment: Looking at code 2018-05-15 19:01:10 +00:00
Joey Hess
8c8e1f8b7a
close 2018-05-15 12:07:35 -04:00
Joey Hess
2463d4b855
response 2018-05-15 11:54:02 -04:00
https://openid-provider.appspot.com/iakornfeld
47ff8fa976 more failures to copy/paste 2018-05-15 15:15:37 +00:00
https://openid-provider.appspot.com/iakornfeld
5ed04a326a Added a comment: Another weird bit 2018-05-15 14:59:42 +00:00
https://openid-provider.appspot.com/iakornfeld
28c1348140 fix failure to copy/paste 2018-05-15 14:56:54 +00:00
https://openid-provider.appspot.com/iakornfeld
24959e9acd 2018-05-15 14:55:14 +00:00
Joey Hess
d7021d420f
reuse hashes of dotfiles/dirs/submodules when entering view
This fixes a crash when a git submodule has a name starting with a dot.
Such a submodule might contain dotfiles that are intended to be used when
inside the view (since a dot-directory that's not a submodule was already
preserved when entering a view). So, rather than eliminating the submodule
from the view, its git ls-files --stage hash is copied over into the view.

dotfiles/dirs have their git ls-files --stage hashes similarly copied over
to the view. This is more efficient and simpler than the old method,
and also won't break if git ever adds a new type of tree item, like was
done with submodules.

Since the content of dotfiles in the working tree is no longer hashed
when entering a view, when there are unstaged modifications, they are
not included in the view branch. Entering the view branch still works,
but git checkout shows "M .dotfile", and git diff will show the unstaged
changes. This seems like an improvement over the old behavior.

Also made Command.View not delete empty directories that are submodules
when entering a view, while still deleting other empty directories.

This commit was supported by the NSF-funded DataLad project.
2018-05-14 15:35:20 -04:00
Joey Hess
a732004616
update 2018-05-14 13:18:20 -04:00
Joey Hess
6fffcccb53
followup 2018-05-14 13:15:27 -04:00
gdkags@28c74e22834edcf63c178e595b8649e5af5151d4
e646b22fd2 Added a comment: fine with me! 2018-05-10 13:02:23 +00:00
ga@2217a6e07239bc6b36af2a9134b2647fdebcabcd
61d083765e Added a comment: Arm processor on Synology device 2018-05-10 11:07:44 +00:00
yarikoptic
d801a33184 Added a comment: details 2018-05-09 01:12:31 +00:00
Joey Hess
db720f6a9c
Display error message when http download fails.
* Display error message when http download fails.

  There's nothing in the http-client library to nicely format a http
  exception, so in some cases it has to fall back to using show on it.
  Seems better than just saying "it failed" or only showing the http
  status code.

* Avoid forward retry when 0 bytes were received.

  forwardRetry was comparing Nothing to Just 0, and so thought there had
  been progress made when 0 bytes were received.

This commit was supported by the NSF-funded DataLad project.
2018-05-08 16:11:45 -04:00
Joey Hess
c0ffd02ac5
close almost all old Android app bug reports
The old git-annex Android app is now deprecated in favor of running
git-annex in termux. I suspect all or nearly all of these no longer apply.

This commit was sponsored by Jochen Bartl on Patreon.
2018-05-08 15:00:46 -04:00
Joey Hess
2948f6d916
avoid uname -o on !linux and catch any exception from it
Fix bug in last release that prevented the webapp opening on non-Linux systems.

This commit was sponsored by Jake Vosloo on Patreon.
2018-05-08 14:06:19 -04:00
Joey Hess
b2e03bb428
followup 2018-05-08 14:00:13 -04:00
Joey Hess
d1961e4498
back out incorrect IO interleaving change
Fix regression in last release that crashes when using --all or running
git-annex in a bare repository. May have also affected git-annex unused and
git-annex info.

Reversed the order of the (++) in Annex.Branch.files so --all will stream
lazily still when there are not a bunch of uncommitted journal files.
Added a todo to maybe improve this later.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-05-08 13:54:42 -04:00
yarikoptic
348c6d56f9 added my meta 2018-05-08 02:43:38 +00:00
yarikoptic
c8451f14f6 2018-05-08 01:56:04 +00:00
yarikoptic
c85cb8e9f0 initial report on problem fetching from web within docker container 2018-05-06 15:44:55 +00:00
ga@2217a6e07239bc6b36af2a9134b2647fdebcabcd
59ae9f3f85 Added a comment: Same error 2018-05-05 05:28:35 +00:00
andrew
a2e9f8a06d Added a comment 2018-05-04 15:58:59 +00:00
andrew
abf7436e43 Added a comment 2018-05-04 15:00:18 +00:00
andrew
fd135b1e40 2018-05-04 13:48:51 +00:00
yarikoptic
cdb9a11a64 initial report 2018-05-04 03:08:51 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
fb61e8986a clarify 2018-04-29 19:43:07 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
225351246b simplify 2018-04-29 19:39:48 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
1c7fcfc623 2018-04-29 19:35:07 +00:00
https://launchpad.net/~felixonmars
3befef5f2c 2018-04-29 03:24:24 +00:00
Joey Hess
b0df331b4a
adjust webapp paths when run in termux on Android
And display the special case Android UI
2018-04-25 14:17:52 -04:00
moaxey
76bcf0da6e Added a comment: I also found this log 2018-04-17 22:52:15 +00:00
moaxey
ef297b2ecb 2018-04-17 22:34:24 +00:00
yarikoptic
82ee2919a3 Added a comment 2018-04-17 03:52:55 +00:00
Joey Hess
c72e9ae568
hmm 2018-04-16 20:41:11 -04:00
Joey Hess
f4e1cd2a8a
followup 2018-04-16 16:42:38 -04:00
Joey Hess
87b834535a
copy info from comment on install/Android 2018-04-16 16:41:31 -04:00
Joey Hess
89e1a05a8f
Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale
As long as all code imports Utility.Aeson rather than Data.Aeson,
and no Strings that may contain utf-8 characters are used for eg, object
keys via T.pack, this is guaranteed to fix the problem everywhere that
git-annex generates json.

It's kind of annoying to need to wrap ToJSON with a ToJSON', especially
since every data type that has a ToJSON instance has to be ported over.
However, that only took 50 lines of code, which is worth it to ensure full
coverage. I initially tried an alternative approach of a newtype FileEncoded,
which had to be used everywhere a String was fed into aeson, and chasing
down all the sites would have been far too hard. Did consider creating an
intentionally overlapping instance ToJSON String, and letting ghc fail
to build anything that passed in a String, but am not sure that wouldn't
pollute some library that git-annex depends on that happens to use ToJSON
String internally.

This commit was supported by the NSF-funded DataLad project.
2018-04-16 16:21:21 -04:00
Joey Hess
6ddd374935
note 2018-04-16 12:21:33 -04:00
Joey Hess
8d08ccb710
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-16 12:20:36 -04:00
Joey Hess
93beff784a
add 2018-04-16 12:20:16 -04:00
yarikoptic
37f1deb722 Added a comment: old issue bites back 2018-04-16 05:53:01 +00:00
Michael
78f47b423b 2018-04-15 17:38:30 +00:00
Michael
0b5b829d42 2018-04-15 17:36:43 +00:00
Joey Hess
64980db7d9
move: Avoid drops that make bad situations worse, but otherwise allow
See the big comment at the bottom of Command.Drop for the full details.

(The --safe/--unsafe options were never released.)

This commit was sponsored by Jake Vosloo on Patreon.
2018-04-13 14:36:43 -04:00
richih@50508f31e0ee95720acd0120e16d6bdcad9d104b
747b6784ae Added a comment 2018-04-11 07:34:43 +00:00
Joey Hess
0c65439ce0
thoughts 2018-04-10 18:49:11 -04:00
Joey Hess
8f3b45b846
followup 2018-04-10 13:15:43 -04:00
richih@50508f31e0ee95720acd0120e16d6bdcad9d104b
1409a44f9c Added a comment 2018-04-10 15:49:35 +00:00
anarcat
fddf14600b Added a comment: force? 2018-04-10 14:20:08 +00:00
CandyAngel
a3fa146be4 Added a comment 2018-04-10 10:39:23 +00:00
Joey Hess
af8546990d
move: --safe/--unsafe and potential drop race fix
move: Added --safe option, which makes move honor numcopies settings.
Also --unsafe enables the default behavior, anticipating that the
default may one day change.

This commit was sponsored by Ethan Aubin.
2018-04-09 16:20:10 -04:00
jascha@bd514dc9c58dc9c665f7c949886c9efad9b4fc35
db442c5439 2018-04-09 13:30:48 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
d92ec5c1d6 Added a comment 2018-04-05 21:01:51 +00:00
CandyAngel
dc6d1ad00f Added a comment 2018-04-05 15:45:52 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
1377e75970 Added a comment: I also have this problem 2018-04-05 15:25:22 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
6c43b6084f removed 2018-04-05 15:24:31 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
39bd152085 Added a comment 2018-04-05 15:23:42 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
e257e4b6a3 removed 2018-04-05 15:19:51 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
26b603418f removed 2018-04-05 15:18:14 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
8c989eca91 Added a comment: I also can't add remotes through the web assistant 2018-04-05 15:17:53 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
5f5d64b4d2 Added a comment: I also can't add remotes through the web assistant 2018-04-05 15:17:44 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
896f42ea15 Added a comment 2018-04-05 02:11:41 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
d8af254515 Added a comment 2018-04-05 01:32:33 +00:00
Joey Hess
c769d359a7
response 2018-04-04 14:09:30 -04:00
Joey Hess
3ce13f7a2a
thoughts 2018-04-04 14:00:55 -04:00
Joey Hess
ef389722ae
don't copy old date metadata when adding new version of a file
When adding a new version of a file, and annex.genmetadata is enabled,
don't copy the data metadata from the old version of the file, instead use
the mtime of the file. Rationalle being that the user has requested to
generate metadata and so would expect to get the new mtime into metadata.

Also, avoid warning about copying metadata when all the old metadata is
date metadata. Which was rather the harder part.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-04-04 13:58:16 -04:00
Joey Hess
c6252018fa
thoughrs 2018-04-04 12:50:09 -04:00
Joey Hess
c14638886f
response 2018-04-04 12:37:43 -04:00
Joey Hess
f856b15f27
response 2018-04-04 12:08:10 -04:00
Joey Hess
7b967c3800
close 2018-04-04 11:59:15 -04:00
Joey Hess
c4f034e6b3
thoughts 2018-04-03 15:31:08 -04:00
Joey Hess
bf1002194d
followup 2018-04-02 13:20:38 -04:00
Joey Hess
a5fe62bed0
hmm 2018-03-29 14:10:10 -04:00
Joey Hess
34f8d68573
stall detectors 2018-03-29 13:44:34 -04:00
Joey Hess
fd53b80624
Merge branch 'master' of ssh://git-annex.branchable.com 2018-03-29 13:32:21 -04:00
Joey Hess
a934d466a8
close 2018-03-29 13:32:02 -04:00
yarikoptic
e0f55a7644 2018-03-28 17:35:47 +00:00
yarikoptic
b3ba0a2368 initial report 2018-03-27 15:34:03 +00:00
Joey Hess
a6f8d9ab28
bug 2018-03-25 08:02:03 -04:00
Joey Hess
380dba1a2c
response 2018-03-24 10:18:45 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
2b5b5eb8d9 Added a comment 2018-03-23 19:01:02 +00:00
yarikoptic
1f1ea95dcb Added a comment 2018-03-23 15:58:15 +00:00
poelzi
943e223e67 2018-03-23 13:37:32 +00:00
Joey Hess
fbf59554af
close 2018-03-22 13:23:08 -04:00
Joey Hess
5574e25c54
OSX app: Work around libz/libPng/ImageIO.framework version skew
By not bundling libz, assuming OSX includes a suitable libz.1.dylib.

This commit was supported by the NSF-funded DataLad project.
2018-03-22 11:53:10 -04:00
yarikoptic
66cb09b47e initial whining about 2 ssh prompts 2018-03-19 20:50:40 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
4ffd99c02c 2018-03-17 19:05:38 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
b196df9fce 2018-03-17 18:26:27 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
de1b840f36 2018-03-17 18:00:08 +00:00
vrs+annex@ea5fa24dbb279be61a8e50adb638bf8366300717
e7ed027ad2 2018-03-17 17:36:38 +00:00
Joey Hess
ec4323673e
response 2018-03-16 11:56:34 -04:00
Joey Hess
d2af6baaeb
fixed processTranscript hang problem
The pipe's FDs got inherited by ssh and it did something that kept them
open even once it exited. Probably involving passing them on to the ssh
mux daemon.

Set close on exec, and all is well.

Kept Annex.Ssh not using processTranscript even though it no longer
hangs when it does use it, just because processTranscript is overkill
there.

This commit was supported by the NSF-funded DataLad project.
2018-03-15 16:14:22 -04:00
Joey Hess
ac6f58d642
fix ssh warmup hang
Fix race condition in ssh warmup that caused git-annex to get stuck and
never process some while when run with high levels of concurrency.

So far, I've isolated the problem to processTranscript, which hangs
reading output from ssh in this situation. I don't yet understand why
processTranscript behaves that way.

Since here we don't care about the ssh output, and only want to /dev/null
it, changed to not use processTranscript, avoiding its problem.

This commit was supported by the NSF-funded DataLad project.
2018-03-15 15:04:15 -04:00
yarikoptic
941593fbf1 Added a comment 2018-03-15 12:47:01 +00:00
Joey Hess
bee328a7fe
followup 2018-03-14 19:16:20 -04:00
Joey Hess
3c85abe449
Merge branch 'master' of ssh://git-annex.branchable.com 2018-03-14 19:14:25 -04:00
Joey Hess
c55d8f826d
bug 2018-03-14 19:14:05 -04:00
yarikoptic
0b3080a946 Added a comment 2018-03-14 23:09:20 +00:00
Joey Hess
10d3b7fc62
Fix reversion introduced in 6.20171214 that caused concurrent transfers to incorrectly fail with "transfer already in progress".
Avoid creating transfer info file before transfer lock is created and
locked.

The wrong order for one thing caused transfer info to be overwritten
when a transfer was already in progress.

But worse, it caused checkTransfer to see the transfer info,
and so lock the transfer lock in order to verify the transfer was not in
progress. Which in a concurrent situation, prevented the transferrer
from locking the transfer lock, so it failed with "transfer already in
progress".

Note that the transferinfo command does not lock the transfer lock
before creating the transfer info. But, that's only run after
recvkey is running, and recvkey does lock the transfer lock, so that
seems more or less ok. (Other than being a super complicated legacy mess
that the P2P code has mostly obsoleted now.)

This commit was supported by the NSF-funded DataLad project.
2018-03-14 18:55:34 -04:00
Joey Hess
da1b1fb991
analysis 2018-03-14 17:47:16 -04:00
Joey Hess
34ba547756
comment 2018-03-14 16:18:26 -04:00
Joey Hess
ac6b9bf115
Merge branch 'master' of ssh://git-annex.branchable.com 2018-03-14 16:03:59 -04:00
Joey Hess
911611e4af
reproduced 2018-03-14 16:01:49 -04:00
Diana
1da835611f 2018-03-13 21:35:02 +00:00
Diana
4a8b758b78 2018-03-13 21:33:57 +00:00
yarikoptic
d1c0c8b2fa Added a comment 2018-03-09 19:00:27 +00:00
yarikoptic
37c1daafb6 Added a comment 2018-03-09 18:55:51 +00:00
yarikoptic
ad0a62d7a7 added my forgotten meta record 2018-03-09 15:31:10 +00:00
yarikoptic
028993c21a initial report about failed gets in -JX mode 2018-03-09 15:30:24 +00:00
Joey Hess
3dd43df9c2
Better ssh connection warmup when using -J for concurrency.
Avoids ugly messages when forced ssh command is not git-annex-shell.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-03-07 17:30:14 -04:00
https://tribut.de/
880c303fc9 Added a comment 2018-03-07 20:15:00 +00:00
https://tribut.de/
3559e641ca Added a comment 2018-03-07 20:02:07 +00:00
Joey Hess
a1a8b78b88
response 2018-03-07 15:54:07 -04:00
https://tribut.de/
79f2b0b50d 2018-03-07 16:37:31 +00:00
yarikoptic
635b6a0959 Added a comment 2018-03-06 19:07:37 +00:00
Joey Hess
dd63b4e744
followup 2018-03-06 13:51:06 -04:00
Joey Hess
a7dd4490f0
followup 2018-03-06 13:05:37 -04:00
Joey Hess
f668510754
comment 2018-03-06 12:22:50 -04:00
yarikoptic
31be21289c new line was swallowed while copy pasting -- fixed 2018-03-05 19:48:29 +00:00
yarikoptic
2467f6f52b forgot to add my own meta 2018-03-05 19:47:48 +00:00
yarikoptic
24d379106b intial question about special remotes which do not support parallel mode downloads 2018-03-05 19:31:34 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
7b75103e32 Added a comment: opened github issue with glacier-cli 2018-03-05 17:28:53 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
f4095f7db8 Added a comment: thanks for the quick response! 2018-03-05 17:19:19 +00:00
Joey Hess
07e253b1fb
Improve SHA*E extension extraction code
Do not treat parts of the filename that contain punctuation or other
non-alphanumeric characters as extensions. Before, such characters were
filtered out.

Note that in 45308ec78b "foo.ba__________r"
was munged to ".bar" and so incorrectly treated as an extension. That was
fixed by changing the filter order, but not allowing punctuation seems a
better fix.

This assumes that extensions containing punctuation are rare. "_" seems the
most likely character; I used it in ikiwiki "._comment" files. But I can't
recall seeing it anywhere else. It certianly seems that no commonly used
extensions contain punctuation. If git-annex doesn't treat "._comment"
as an extension, it's not likely to break software that expects to see that
extension like some software expects to see .epub or .mp3.

This commit was sponsored by Jack Hill on Patreon.
2018-03-05 11:25:01 -04:00
Joey Hess
6d6e3c6c49
comment 2018-03-05 10:59:18 -04:00
rameshvenk
fc7596ad8f Added a comment: dyld: Symbol not found: _inflateValidate 2018-03-04 03:59:42 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
b88042e23d removed 2018-03-03 16:55:32 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
d98f1afa9c Added a comment: fixed prev commend 2018-03-03 16:55:16 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
32adc7ccd7 Added a comment: it seems to affect regular text too. 2018-03-03 16:49:10 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
9370a74059 Added a comment: this has something to do with the dot and space 2018-03-03 16:43:27 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
e124392f96 Added a comment: I've also upgraded the repo to version 6 2018-03-03 16:23:37 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
fe8284297b Added a comment: checked 6.20180112 and it's the same 2018-03-03 16:21:07 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
ca233145bc 2018-03-03 16:15:32 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
6c2a26ff2f 2018-03-03 16:14:45 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
ccc2c54d4f 2018-03-03 13:17:56 +00:00
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9
d4fda4e3e2 2018-03-03 13:16:45 +00:00
Joey Hess
db057dcff0
fix sync bug in direct mode
sync: Fix bug that prevented pulling changes into direct mode repositories
that were committed to remotes using git commit rather than git-annex sync.

This commit was supported by the NSF-funded DataLad project.
2018-02-26 14:10:03 -04:00
Joey Hess
42f154bd7e
Fix metadata hook script to support non-ascii characters
tips/automatically_adding_metadata/pre-commit-annex: Fix to not silently
skip filenames containing non-ascii characters.

git diff-index defaults to munging non-ascii characters. Using -z makes
it not do that, and then we just change the nulls to newlines.

This commit was sponsored by Jochen Bartl on Patreon.
2018-02-26 12:58:37 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
48819cb92b 2018-02-26 10:40:06 +00:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
538cd3cfa9 2018-02-26 09:43:10 +00:00
yarikoptic
629de12e6c original discovery 2018-02-23 19:19:57 +00:00
Joey Hess
09e73a3ab6
annex.merge-annex-branches
Added annex.merge-annex-branches config setting which can be used to
disable automatic merge of git-annex branches.

I wonder if git-annex merge/sync/assistant should disable this
setting? Not sure yet, so have not done so. May be that users will not set
it in git config, but pass it via -c to commands that need it.

Checking the config setting adds a very small overhead, but it's
only checked once per command so should be insignificant.

This commit was supported by the NSF-funded DataLad project.
2018-02-22 14:25:32 -04:00
yarikoptic
a8b870311c Added a comment: --read-only flag? 2018-02-22 17:18:18 +00:00
Joey Hess
2d1dd79d02
response 2018-02-22 12:49:46 -04:00
Joey Hess
2e25185a9c
Remove temporary code added in 6.20160619 to prime the mergedrefs log.
Repositories that are upgraded from before that version to this
one will not break, but will just not see the benefit of the mergedrefs log
speeding things up, until one new ref gets merged in.
2018-02-22 12:31:27 -04:00
yarikoptic
5e0d594782 initial complaints about needing write permissions for info command 2018-02-20 00:02:11 +00:00
olaf
288e1dc77c Added a comment: I can reproduce 2018-02-19 01:05:06 +00:00
michalrus
5846c2f466 2018-02-17 14:43:36 +00:00
https://christian.amsuess.com/chrysn
db0d154f19 add wishlist item "creating importfeed does not work with socks proxy" 2018-02-14 14:12:14 +00:00
yarikoptic
9aaab2019e Added a comment 2018-02-10 02:48:14 +00:00
yarikoptic
ffee889364 2018-02-10 02:46:45 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
b64bc454dd 2018-02-09 13:39:36 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
43f7a515ec 2018-02-09 13:38:37 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
b816cded81 2018-02-09 13:18:03 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
0ccd3e4c61 2018-02-09 13:13:03 +00:00
Joey Hess
a77f00b3d9
response 2018-02-08 13:16:22 -04:00
Joey Hess
b49d5545b1
response 2018-02-06 13:06:44 -04:00
timotejs@7102fe834ef5514c095ceb7e09b525bafa7b1af4
0ac5812f0f Added a comment: Did' nyone make it work? 2018-02-06 08:15:06 +00:00
davclark
7da30e7a05 Added a comment: Still getting this error 2018-02-02 16:45:50 +00:00
dxtr
a06c7f4246 2018-01-31 14:08:57 +00:00
dxtr
8f3e2fa72c Fixed some formatting 2018-01-31 14:07:34 +00:00
dxtr
a7a37f8227 2018-01-31 14:06:50 +00:00
Joey Hess
13e5f22cac
close 2018-01-15 13:32:32 -04:00
mbekkema97@66b135681014f005a3a14c4011d148fcb6655f81
d57ea80fea Added a comment 2018-01-12 12:01:31 +00:00
Joey Hess
a28c541e23
add remote.<name>.annex-checkuuid
Added remote.<name>.annex-checkuuid config, which can be set to false to
disable the default checking of the uuid of remotes that point to
directories. This can be useful to avoid unncessary drive spin-ups and
automounting.

Note that the UUID check is still done before writing to the repository,
to avoid writing to the wrong repository if it got relocated. Check is
also done before checkPresent to avoid getting confused about what is in
which repo. This is effectively the same as the use of git-annex-shell
with a uuid to check that the remote repository is the expected one.
Did not bother with the check for retrieveKeyFile because it doesn't
matter if the wrong repo is used then.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-01-10 14:21:18 -04:00
Joey Hess
b8d568e7f9
comment 2018-01-09 16:44:10 -04:00
Joey Hess
2b66492d6e
Improve startup time for commands that do not operate on remotes
And for tab completion, by not unnessessarily statting paths to remotes,
which used to cause eg, spin-up of removable drives.

Got rid of the remotes member of Git.Repo. This was a bit painful.

Remote.Git modifies the list of remotes as it reads their configs,
so still need a persistent list of remotes. So, put it in as
Annex.gitremotes. It's only populated by getGitRemotes, so commands
like examinekey that don't care about remotes won't do so.

This commit was sponsored by Jake Vosloo on Patreon.
2018-01-09 16:22:07 -04:00
emanuele
4c3531007b Added a comment 2018-01-09 08:46:44 +00:00
sawmke
4f9f2a1c70 2018-01-07 19:01:32 +00:00
Joey Hess
1825012e60
followup 2018-01-04 14:31:31 -04:00
emanuele
b9082156b5 Added a comment: Thanks! 2018-01-03 10:51:46 +00:00
Joey Hess
edd25f04d9
unused: Write .git/annex/unused etc files with appropriate permissions for the core.sharedRepository config.
This commit was sponsored by an anonymous bitcoin donor.
2018-01-02 16:25:27 -04:00
Joey Hess
25703e1413
finally really add back custom-setup stanza
Fourth or fifth try at this and finally found a way to make it work.

Absurd amount of busy-work forced on me by change in cabal's behavior.
Split up Utility modules that need posix stuff out of ones used by
Setup. Various other hacks around inability for Setup to use anything
that ifdefs a use of unix.

Probably lost a full day of my life to this.
This is how build systems make their users hate them. Just saying.
2017-12-31 16:36:39 -04:00
Joey Hess
fcdd9ce788
repeated addurl behavior reversion fix
addurl: When the file youtube-dl will download is already an annexed file,
don't download it again and fail to overwrite it, instead just do nothing,
like it used to when quvi was used.

This commit was sponsored by Anthony DeRobertis on Patreon.
2017-12-31 14:55:51 -04:00
Joey Hess
1f5bf73af0
Revert "git-annex.cabal: Add back custom-setup stanza, so cabal new-build works."
This reverts commit 51228c2306.

No, still doesn't work when built with cabal. It did with stack; stack
must somehow make the unix package implicitly available.

With cabal, System.Posix.Process and System.Posix.Env are both missing.
2017-12-31 14:09:41 -04:00
Joey Hess
51228c2306
git-annex.cabal: Add back custom-setup stanza, so cabal new-build works.
Seems I had all the work in past commits to make this build, at least on
linux. I'm actually surprised it does, without a unix dep, Utility.Env
still builds ok somehow despite using System.Posix.Env.

This commit was sponsored by Fernando Jimenez on Patreon.
2017-12-31 13:54:41 -04:00
Joey Hess
f9002062b0
followup and open bug 2017-12-31 12:35:52 -04:00
Yurt
6f4f9a4a47 Added a comment 2017-12-20 22:33:04 +00:00
emanuele
59a5cfe1e6 Added a comment 2017-12-19 14:19:14 +00:00
emanuele
825575de5b 2017-12-19 14:10:40 +00:00
https://christian.amsuess.com/chrysn
77c20ff833 Added a comment: Issue also affects LineageOS 2017-12-17 12:04:53 +00:00
mbekkema97@66b135681014f005a3a14c4011d148fcb6655f81
b01ec4b8fa Added a comment: I just found out you're already aware of this 2017-12-15 07:16:13 +00:00
samuel.hodgkins@1f82d70f26e5a61ac6a73b6286b2bd907cac5094
68cbe10e78 2017-12-15 03:38:53 +00:00
mbekkema97@66b135681014f005a3a14c4011d148fcb6655f81
567c231429 2017-12-15 00:44:03 +00:00
andrew
d3b3a540eb Added a comment: makes sense 2017-12-12 00:01:37 +00:00
Joey Hess
9dd67e594f
add warning: to make clear this is not an error 2017-12-11 14:28:39 -04:00
Joey Hess
a71b1f0118
fixed 2017-12-11 13:43:52 -04:00
Joey Hess
e429fa597b
reproduction 2017-12-11 13:36:50 -04:00
Joey Hess
0ef99f3578
followup and closd 2017-12-11 13:09:28 -04:00
yarikoptic
3400d1d8fa Added a comment 2017-12-11 14:40:27 +00:00
yarikoptic
ab8cf0d58a Added a comment 2017-12-11 05:27:15 +00:00
andrew
c635b92b3f 2017-12-11 03:11:28 +00:00
erics
01f78e877a Added a comment 2017-12-08 21:11:41 +00:00
Joey Hess
cfdfe4df6c
lookupkey absolute path support
lookupkey: Support being given an absolute filename to a file within the
current git repository.

This commit was supported by the NSF-funded DataLad project.
2017-12-08 15:35:02 -04:00
Joey Hess
8990afaef0
fix regression in addurl --fast caused by youtube-dl support
Similar to c6e4bc0a22 but another code
path. As well as using youtube-dl unecessarily, it used the filename it
comes up with, which while nice for youtube videos, is not right for
other files.

This means more work is done for urls that youtube-dl does support,
but is probably more efficient for other urls, since it only downloads
the first chunk of content, while youtube-dl probably downloads more.

This commit was supported by the NSF-funded DataLad project.
2017-12-08 14:51:17 -04:00
benjaminpoldrack@10c3a46d1ea5d639e3539d169d55f771a8def21a
5b98da60b1 2017-12-08 13:48:52 +00:00
https://me.yahoo.com/a/x4ddlZwKw9O9IsCHmNZz7tSJn2h0H3vX#23f03
b88bc32f97 Added a comment: additional information 2017-12-08 10:17:41 +00:00
yarikoptic
6d30744766 Added a comment 2017-12-08 02:32:16 +00:00
https://me.yahoo.com/a/x4ddlZwKw9O9IsCHmNZz7tSJn2h0H3vX#23f03
7f282a134f 2017-12-07 18:38:15 +00:00
https://me.yahoo.com/a/x4ddlZwKw9O9IsCHmNZz7tSJn2h0H3vX#23f03
e8d95ee445 2017-12-07 18:37:29 +00:00
https://me.yahoo.com/a/x4ddlZwKw9O9IsCHmNZz7tSJn2h0H3vX#23f03
6bc4852d54 2017-12-07 18:32:45 +00:00
Joey Hess
c6e4bc0a22
fix regression in addurl --file caused by youtube-dl support
Now youtubeDlCheck downloads the beginning of the url's content and
checks if it's html, only when it is does it pass it off the youtube-dl
to check if it supports it.

This means more work is done for urls that youtube-dl does support,
but is probably more efficient for other urls, since it only downloads
the first chunk of content, while youtube-dl probably downloads more.

As well as the reported bug, this also fixes behavior when an url
was added with youtube-dl, but the url content has now changed from
a html page to something else. Remote.Web.checkKey used to wrongly
succeed in that situation, since youtube-dl said sure it can download
that something else.

This commit was supported by the NSF-funded DataLad project.
2017-12-06 13:22:31 -04:00
Joey Hess
6b5e55a154
reproduction recipe 2017-12-06 12:02:19 -04:00
yarikoptic
91264858e9 2017-12-06 00:50:17 +00:00
yarikoptic
c589562131 initial whining about yt: prefix 2017-12-06 00:46:33 +00:00
yarikoptic
6c3fa431d9 Added a comment 2017-12-05 18:26:43 +00:00
yarikoptic
7187d454d3 Added a comment 2017-12-05 18:20:41 +00:00
Joey Hess
ed701667aa
fix gpg subkey support typo
initremote, enableremote: Really support gpg subkeys suffixed with an
exclamation mark, which forces gpg to use a specific subkey. (Previous try
had a bug.)

This commit was sponsored by Jake Vosloo on Patreon.
2017-12-05 13:58:53 -04:00
Joey Hess
f6d0c6de30
yet another instance of git smudge/clean interface suck 2017-12-05 13:28:07 -04:00
Joey Hess
f00770d736
Removed no longer needed dependency on yesod-default.
This commit was sponsored by Nick Daly on Patreon.
2017-12-05 13:18:25 -04:00
Joey Hess
bb1299a5f1
Merge branch 'master' of ssh://git-annex.branchable.com 2017-12-05 12:44:11 -04:00
Joey Hess
42368af8f4
comment 2017-12-05 12:43:57 -04:00
andrew
1807fb2a8a Added a comment: gcrypt, git-annex and rsync requires absolute path 2017-12-05 13:49:42 +00:00
pietroastolfi92@8933106257e5e108af6f46b584f3f10acb198f1d
34346dd563 2017-11-30 16:31:29 +00:00
https://me.yahoo.com/a/5j.FKrMpxZS.luSB.5ahyosMU6RcaYq2#74c60
f02545b482 2017-11-25 00:03:24 +00:00
olaf
b992b1eaad Added a comment: Still a problem 2017-11-23 04:34:18 +00:00
Joey Hess
53bd836484
ah, I got it 2017-11-20 14:23:16 -04:00
Joey Hess
d43c3c856e
huh? 2017-11-20 14:19:20 -04:00
quantum.analyst+git-annex@7b5254bfa3fe66bdaa852f498eba084d122744b7
6ba0127d7b 2017-11-18 04:40:06 +00:00
Yurt
0f876eccb5 2017-11-17 17:49:16 +00:00
Yurt
1eaa0e954a 2017-11-17 17:47:39 +00:00
yarikoptic
0805eee64f Added a comment: thanks, what about 'find' with the same issue? 2017-11-16 19:11:51 +00:00
Joey Hess
f5edb16729
Display progress meter when uploading a key without size information
Getting the size by statting the content file.

This commit was supported by the NSF-funded DataLad project.
2017-11-14 16:40:49 -04:00
Joey Hess
b5e1534c5c
thoughts 2017-11-14 15:43:40 -04:00
yarikoptic
2f7de67829 initial whining about 2 ssh prompts 2017-11-14 19:14:30 +00:00
Joey Hess
3b44ea01f5
update; git bug fixed in pu 2017-11-13 13:11:06 -04:00
Joey Hess
85b912377b
retitle; known bug 2017-11-09 12:00:11 -04:00
Joey Hess
8c77bbf713
remove nix section to unbreak i386-ancient build 2017-11-08 14:52:36 -04:00
Joey Hess
8f50b99c81
close already fixed bug (dup) 2017-11-07 17:09:43 -04:00
Joey Hess
8527089631
response 2017-11-07 17:06:25 -04:00
Joey Hess
c67f743ffe
Merge branch 'master' of ssh://git-annex.branchable.com 2017-11-07 17:02:28 -04:00
Joey Hess
1738c801eb
comment 2017-11-07 16:39:32 -04:00
Joey Hess
193612c97a
simplify ikiwiki docs build testing and output 2017-11-07 16:36:01 -04:00
Joey Hess
f88ff8d460
Makefile improvement for sudo make install. Thanks, Eric Siegerman 2017-11-07 16:29:58 -04:00
robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311
f1505a2af8 Added a comment 2017-11-07 20:22:05 +00:00
Joey Hess
9d129367db
Web.checkKey: Fix handling of multiple urls
When there are multiple urls for a file, still treat it as being present
in the web when some urls don't work, as long as at least one url does
work.

This is consistent with the other web methods handling of multiple urls.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2017-11-07 16:15:44 -04:00
Joey Hess
c05570bd99
link to git ML post 2017-11-07 16:09:27 -04:00
Joey Hess
62ba45ae8b
followup 2017-11-07 15:57:28 -04:00
robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311
9b4d567d87 2017-11-07 19:35:18 +00:00
Joey Hess
e0084bb876
Merge branch 'master' of ssh://git-annex.branchable.com 2017-11-07 15:34:50 -04:00
Joey Hess
46254b773b
analysis
Should add a link to my git ML post when it gets through.

This commit was sponsored by Bruno BEAUFILS on Patreon.
2017-11-07 15:33:55 -04:00
webanck
54404bcd6f Added a comment: reply to comment 1 2017-11-07 19:16:09 +00:00
Joey Hess
4122d5bac3
reroduced; reopen bug report 2017-11-07 14:20:37 -04:00
Joey Hess
b64d19b2c2
respond; retitle 2017-11-07 14:05:06 -04:00
webanck
ae17c2d7af 2017-11-07 16:22:36 +00:00
webanck
4b9f3b7b97 2017-11-07 16:05:49 +00:00
webanck
c032344d98 2017-11-07 16:05:15 +00:00
webanck
834033e6a6 2017-11-07 16:03:17 +00:00
https://tribut.de/
a8e2edd41b Unchanged files are detected as modified 2017-11-05 15:59:21 +00:00
rfourquet
e2527ea17b Added a comment 2017-11-05 12:04:50 +00:00
erics
99f37bac50 2017-11-01 21:02:17 +00:00
erics
2fa72fb2cc 2017-11-01 20:59:21 +00:00
erics
ade0370775 2017-11-01 20:56:11 +00:00
Lykos153
10b6551220 grammar... 2017-11-01 15:33:58 +00:00
Lykos153
e88e70954f 2017-11-01 15:30:14 +00:00
Joey Hess
0b73e6dac5
close 2017-10-30 15:13:25 -04:00
yarikoptic
46b6b86b08 Added a comment: got it 2017-10-30 18:33:20 +00:00
Joey Hess
325c40afef
followup 2017-10-30 14:23:33 -04:00
Lykos153
856ed7ef76 Added a comment 2017-10-30 18:18:56 +00:00
Joey Hess
5d99094313
comment 2017-10-30 13:15:09 -04:00
Joey Hess
e2017b8adb
followup; close 2017-10-30 13:10:07 -04:00
Joey Hess
68a9c867be
Fix exporting of non-annexed files to external special remotes.
Actual problem is the keyName was set to "Ref \"sha\"", which led to
this follow-on failure since it contained a space.

The bad data would also get into the export database when exporting to a
non-external special remote. Looking briefly at that, I don't think the bad
data will lead to anything more than a re-upload of the file content
now that the problem has been fixed.

This commit was sponsored by Peter Hogg on Patreon.
2017-10-30 12:47:13 -04:00
Joey Hess
0743ee1bbc
managed to repro 2017-10-30 12:26:49 -04:00
Joey Hess
fb9b4724ba
moreinfo 2017-10-30 12:19:33 -04:00
Joey Hess
edafe8621e
comment 2017-10-30 11:51:22 -04:00
Lykos153
58179ad49a 2017-10-29 17:57:50 +00:00
ynikitenko
1f5d4766d6 Added a comment: thanks 2017-10-29 16:28:34 +00:00
ynikitenko
769c1d3d37 Added a comment: not so slow 2017-10-27 12:29:12 +00:00
Joey Hess
0ae2ac282e
fix gitAnnexLink to not be absolute on Windows
Windows: Fix reversion that caused the path used to link to annexed
content include the drive letter and full path, rather than being
relative. (`git annex fix` will fix up after this problem).

I've not identified the commit that brought the reversion (probably it
happened this spring when I was removing MisingH and last touched
Utility.Path). Likely commit 18b9a4b8024115db67ae309fdaf54e1553037529?

The problem is that relPathDirToFile got called two paths that had the
slashes different ways around. Since takeDrive includes the first slash,
this made two paths on the same drive seem different and it bailed.

(ifdefs around this to avoid doing extra work on non-windows)

This commit was sponsored by Jack Hill on Patreon.
2017-10-25 19:36:29 -04:00
Joey Hess
4a72b17bd0
bug 2017-10-25 15:57:08 -04:00
Joey Hess
aa0388e37c
reply 2017-10-25 15:42:15 -04:00
Joey Hess
e8eacf96d5
Add day to metadata when annex.genmetadata is enabled.
Thanks, Sean T Parsons
2017-10-25 15:11:38 -04:00
Joey Hess
38c0e09de6
response 2017-10-25 15:04:55 -04:00
yarikoptic
b5eb77f1ce asking about "Grafts" 2017-10-25 01:49:24 +00:00
ynikitenko
5387c04712 2017-10-24 19:55:06 +00:00
ynikitenko
19e9576289 Added a comment: same problem 2017-10-24 09:31:07 +00:00
seantparsons
76e0af3153 Added a comment: Since the attachment doesn't appear to be there, here's the content. 2017-10-22 20:32:22 +00:00
seantparsons
138c9efec1 2017-10-22 20:04:43 +00:00
ilovezfs
f3ba40cd43 Added a comment 2017-10-19 05:50:13 +00:00
Joey Hess
e1ac299ad0
better dup key with -J fix
This avoids all the complication about redundant work discussed in
the previous try at fixing this. At the expense of needing each command
that could have the problem to be patched to simply wrap the action in
onlyActionOn once the key is known. But there do not seem to be many
such commands.

onlyActionOn' should not be used with a CommandStart (or CommandPerform),
although the types do allow it. onlyActionOn handles running the whole
CommandStart chain. I couldn't immediately see a way to avoid mistken
use of onlyActionOn'.

This commit was supported by the NSF-funded DataLad project.
2017-10-17 18:48:53 -04:00
Joey Hess
68a49adcda
Improve behavior when -J transfers multiple files that point to the same key
After a false start, I found a fairly non-intrusive way to deal with it.
Although it only handles transfers -- there may be issues with eg
concurrent dropping of the same key, or other operations.

There is no added overhead when -J is not used, other than an added
inAnnex check. When -J is used, it has to maintain and check a small
Set, which should be negligible overhead.

It could output some message saying that the transfer is being done by
another thread. Or it could even display the same progress info for both
files that are being downloaded since they have the same content. But I
opted to keep it simple, since this is rather an edge case, so it just
doesn't say anything about the transfer of the file until the other
thread finishes.

Since the deferred transfer action still runs, actions that do more than
transfer content will still get a chance to do their other work. (An
example of something that needs to do such other work is P2P.Annex,
where the download always needs to receive the content from the peer.)
And, if the first thread fails to complete a transfer, the second thread
can resume it.

But, this unfortunately means that there's a risk of redundant work
being done to transfer a key that just got transferred.
That's not ideal, but should never cause breakage; the same
thing can occur when running two separate git-annex processes.

The get/move/copy/mirror --from commands had extra inAnnex checks added,
inside the download actions. Without those checks, the first thread
downloaded the content, and then the second thread woke up and
downloaded the same content redundantly.

move/copy/mirror --to is left doing redundant uploads for now. It
would need a second checkPresent of the remote inside the upload
to avoid them, which would be expensive. A better way to avoid
redundant work needs to be found..

This commit was supported by the NSF-funded DataLad project.
2017-10-17 17:10:50 -04:00
Joey Hess
9606f6e83a
idea 2017-10-17 13:39:02 -04:00
Joey Hess
0c7fee832a
close bug 2017-10-16 14:50:30 -04:00
Joey Hess
bfb44298fb
close bug 2017-10-16 14:13:08 -04:00
Joey Hess
85ed38a574
Avoid repeated checking that files passed on the command line exist.
git annex add, git annex lock etc make multiple seek passes,
and each seek pass checked that files existed. That was unncessary
redundant work.

Fixed by adding a new WorkTreeItem type, make seek actions use it,
and check that the files exist when constructing it.

This commit was supported by the NSF-funded DataLad project.
2017-10-16 14:10:20 -04:00
Joey Hess
a461cf2ce6
add: Replace work tree file atomically.
Before, there was a window where interrupting an add could result in the
file being moved into the annex, with no symlink yet created.

This commit was supported by the NSF-funded DataLad project.
2017-10-16 12:57:28 -04:00
madalu
c525644567 Added a comment 2017-10-12 00:58:04 +00:00
Joey Hess
c01ecc2ec1
followup 2017-10-11 12:12:35 -04:00
Joey Hess
adcc73d91a
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-11 11:13:43 -04:00
Joey Hess
4cdf257781
comment 2017-10-11 11:12:58 -04:00
Joey Hess
9aaf7e2b52
webdav: Avoid unncessisarily creating the collection at the top of the repo
when storing files there, since that collection is created by initremote.
(This seems to work around some brokenness of the box.com webdav server
which was entering a redirect loop.)

Note that the fix makes locationParent return Nothing instead of "."
when there's no parent directory between the path and the top of the webdav
repo.

This commit was sponsored by André Pereira on Patreon.
2017-10-11 11:10:33 -04:00
Joey Hess
61dccecad7
Fix build with aws-0.17.
This commit was sponsored by Denis Dzyubenko on Patreon.
2017-10-11 10:57:20 -04:00
Joey Hess
16fde7d4a6
close 2017-10-11 10:48:23 -04:00
yarikoptic
57d9b76a87 Added a comment 2017-10-10 17:56:47 +00:00
yarikoptic
fe11aaf059 Added a comment 2017-10-10 17:40:08 +00:00
Joey Hess
05bd13187d
response 2017-10-10 13:37:46 -04:00
yarikoptic
fe854fbd41 Added a comment: annex fsck reverts them back to incorrect! 2017-10-10 17:17:12 +00:00
yarikoptic
7cf8fecdec initial report 2017-10-10 17:06:10 +00:00
madalu
dc9c435c56 Added a comment 2017-10-09 15:46:09 +00:00
madalu
ca35daf0c7 Added a comment: Reproduction of bug with "pure" stack build 2017-10-09 15:43:16 +00:00
madalu
7821c45428 Added a comment 2017-10-09 14:52:54 +00:00
madalu
de91ffaab5 Added a comment: Second test (without line 134) 2017-10-09 14:40:45 +00:00
madalu
ca71c08634 Added a comment: First test 2017-10-09 14:22:22 +00:00
Joey Hess
34bb350724
webdav: Make --debug show all webdav operations. 2017-10-07 14:11:32 -04:00
Joey Hess
47aa0c7f73
response 2017-10-07 13:50:43 -04:00
madalu
0c8385ecc7 change wording 2017-10-07 16:38:21 +00:00
madalu
951e1ab816 2017-10-07 15:55:55 +00:00
madalu
5b51f21018 2017-10-06 23:46:48 +00:00
madalu
4fffbcf1e4 Added a comment 2017-10-06 23:45:13 +00:00
madalu
beca3ce2bc removed 2017-10-06 21:49:13 +00:00
yarikoptic
6760007707 Added a comment 2017-10-06 00:38:25 +00:00
yarikoptic
241e5290b6 Added a comment 2017-10-05 20:36:50 +00:00
yarikoptic
a523e7399a Added a comment: also the same for add 2017-10-05 17:00:51 +00:00
https://launchpad.net/~felixonmars
c922622a47 Added a comment 2017-10-05 14:02:03 +00:00
ilovezfs
9b77574113 2017-10-04 01:56:22 +00:00
ilovezfs
e251685a14 2017-10-04 01:43:32 +00:00
Joey Hess
b97f1df667
analysis; probably not a bug 2017-10-02 16:32:37 -04:00
Joey Hess
ffb0f6998b
followup 2017-10-02 12:36:56 -04:00
Joey Hess
2bc9fda65a
close old bug which got fixed in the meantime 2017-10-02 12:34:23 -04:00
Joey Hess
6d20ae24dc
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-02 11:59:30 -04:00
Joey Hess
c778b37e77
you requested his old closed bugs not be deleted yet 2017-10-02 11:58:31 -04:00
Joey Hess
fd0f04b1d0
forgot to add comment 2017-10-02 11:56:11 -04:00
jgoerzen
ade08227c6 Added a comment: A hint? 2017-10-02 02:05:32 +00:00
madalu
c12c37481e Added a comment 2017-09-30 03:07:30 +00:00
Joey Hess
5c32196a37
fix process and FD leak
Fix process and file descriptor leak that was exposed when git-annex was
built with ghc 8.2.1. Apparently ghc has changed its behavior of GC
of open file handles that are pipes to running processes. That
broke git-annex test on OSX due to running out of FDs.

Audited for all uses of Annex.new and made stopCoProcesses be called
once it's done with the state. Fixed several places that might have
leaked in other situations than running the test suite.

This commit was sponsored by Ewen McNeill.
2017-09-29 22:36:08 -04:00
michalrus
0f03ef3700 Added a comment 2017-09-29 20:38:59 +00:00
michalrus
1d744ca94a Added a comment 2017-09-29 20:38:31 +00:00
Joey Hess
d1a3f0bc8e
retitle 2017-09-29 15:46:50 -04:00
Joey Hess
22e0ecd938
comment 2017-09-29 15:46:39 -04:00
Joey Hess
f84e34883c
test: Fix reversion that made it only run inside a git repository.
Using annexeval to run probeCrippledFileSystem' caused Git.CurrentRepo.get
to be run. Fixed easily since probeCrippledFileSystem' had no need to use
the Annex monad.

This commit was sponsored by Ethan Aubin.
2017-09-29 15:08:18 -04:00
Joey Hess
59631bcc41
Merge branch 'master' of ssh://git-annex.branchable.com 2017-09-29 13:45:24 -04:00
Joey Hess
ddb502e064
comment 2017-09-29 13:39:59 -04:00
madalu
b68bf419f0 Fix git-annex command 2017-09-29 17:26:14 +00:00
madalu
a857b2c3d4 Added a comment 2017-09-29 17:22:43 +00:00
Joey Hess
ce7188ec36
comment 2017-09-29 12:57:16 -04:00
Joey Hess
65a76bf381
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2017.

Command line used:

for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
2017-09-29 12:55:42 -04:00
Joey Hess
80764993ee
Merge branch 'master' of ssh://git-annex.branchable.com 2017-09-29 12:43:10 -04:00
Joey Hess
c363a774b8
limit rss/atom feeds to 10 pages to avoid enormous files
Since bug reports are often long, the rss and atom feeds were 5+ mb in
size.
2017-09-29 12:42:09 -04:00
Joey Hess
0e42e9a528
followup 2017-09-29 12:24:53 -04:00
madalu
ffc1275827 Added a comment 2017-09-29 13:00:41 +00:00
Joey Hess
4d0e522b72
Warn when metadata is inherited from a previous version of a file
to avoid the user being surprised in cases where that behavior is not desired or expected

This commit was supported by the NSF-funded DataLad project.
2017-09-28 12:56:35 -04:00
Joey Hess
b4d13c75a1
followup 2017-09-28 12:02:06 -04:00
anarcat
b614f36873 i believe you meant -o here, not -e. -e is escape character, while -o is to change options. 2017-09-27 16:38:07 +00:00
madalu
596698e138 2017-09-27 15:28:40 +00:00
madalu
e81931f41b 2017-09-27 15:26:29 +00:00
madalu
9e0945dd87 2017-09-27 15:25:40 +00:00
madalu
9e721438fc 2017-09-27 15:24:22 +00:00
yarikoptic
664ce4363e Added a comment 2017-09-27 05:30:53 +00:00
Joey Hess
6cfbe33d88
thought 2017-09-26 15:20:18 -04:00
Joey Hess
72ccdbf91d
comment 2017-09-26 14:38:14 -04:00
Joey Hess
e3a151cf67
analysis 2017-09-26 14:32:31 -04:00
yarikoptic
f3701e659e original discovery 2017-09-26 18:03:47 +00:00
michalrus
b2647e354d Added a comment 2017-09-21 12:56:31 +00:00
gleachkr@7c488e398809299a1100b93f8884de43dee83674
5ec74f1cdb Added a comment: Thanks! 2017-09-16 16:46:48 +00:00
Joey Hess
dbe8c42fdc
update 2017-09-16 12:09:11 -04:00
Joey Hess
b7dafb4f66
response for gleachkr 2017-09-16 12:07:12 -04:00
gleachkr@7c488e398809299a1100b93f8884de43dee83674
63dfd6cde2 Added a comment 2017-09-16 16:02:41 +00:00
Joey Hess
260d1061cd
followup for gleachkr 2017-09-16 11:26:00 -04:00
gleachkr@7c488e398809299a1100b93f8884de43dee83674
97eacf3a7a Added a comment: More data points 2017-09-16 01:16:59 +00:00
Joey Hess
3435a47245
Merge branch 'master' of ssh://git-annex.branchable.com 2017-09-15 13:20:09 -04:00
Joey Hess
78a67f29f8
forwarded from irc 2017-09-15 13:13:43 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
849a5d4771 Added a comment: @joey: Sorry ... 2017-09-14 12:00:13 +00:00
yarikoptic
afac1c46bc Added a comment 2017-09-13 17:58:54 +00:00
Joey Hess
fd062dafc5
comment 2017-09-13 12:34:45 -04:00
yarikoptic
0e4504cd2f Added a comment 2017-09-13 14:32:57 +00:00
yarikoptic
896e516941 crossed away comment on hash levels 2017-09-13 14:27:19 +00:00
yarikoptic
15ebb707fc initial finding about incorrect permissions ignored by fsck 2017-09-13 14:25:16 +00:00
https://christian.amsuess.com/chrysn
7f0e2a4685 Added a comment: Issue also affects Samsung devices, git unaffected 2017-09-11 18:07:51 +00:00
ilovezfs
5cda73c529 2017-09-09 17:57:34 +00:00
Joey Hess
425a3a10b0
close 2017-09-09 13:08:42 -04:00
ilovezfs
aa608ab831 2017-09-09 16:30:28 +00:00
yarikoptic
b14c4776d6 initial bug report 2017-08-30 14:15:45 +00:00
Joey Hess
f27efbe3c6
respond and close 2017-08-28 13:36:08 -04:00
Joey Hess
2011716202
close bug filed about git-annex from 2014 2017-08-28 13:29:36 -04:00
Joey Hess
db2a06b66f
init: Display an additional message when it detects a filesystem that allows writing to files whose write bit is not set. 2017-08-28 13:21:18 -04:00
Joey Hess
ddc29f5bcd
close 2017-08-28 13:01:56 -04:00
Joey Hess
bfaa78ee35
response 2017-08-28 13:01:05 -04:00
Joey Hess
ee2f096e3b
Support building with feed-1.0, while still supporting older versions.
This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-08-28 12:29:28 -04:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
4dfb045549 Added a comment: Nevermind - I got it working 2017-08-27 10:18:03 +00:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
1d6617e300 fix 2017-08-27 07:18:28 +00:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
b22e6c1352 fix formatting 2017-08-27 07:17:23 +00:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
a2166d67bd Reporting a bug. 2017-08-27 07:14:54 +00:00
michalrus
a95bbe6eb5 Added a comment 2017-08-26 12:20:58 +00:00
michalrus
1c55387f8c 2017-08-26 12:20:23 +00:00
michalrus
5f73868c39 Added a comment 2017-08-26 12:19:17 +00:00
michalrus
5058b94118 Added a comment 2017-08-26 12:18:54 +00:00
michalrus
88a55baf45 Added a comment 2017-08-26 12:18:11 +00:00
michalrus
ba5a6c428a removed 2017-08-26 12:15:14 +00:00
michalrus
49b1494b26 Added a comment 2017-08-26 12:14:06 +00:00
Joey Hess
1226936edc
formatting 2017-08-24 16:38:15 -04:00
Joey Hess
a7ae7b029a
bug from email 2017-08-24 16:36:02 -04:00
loredai
d34631cbbd 2017-08-23 16:07:33 +00:00
loredai
f3b7fe82db 2017-08-23 16:04:23 +00:00
loredai
ee291f6489 2017-08-23 16:00:57 +00:00
olaf
8ee915fa90 Added a comment: It's the old remote... 2017-08-23 06:03:45 +00:00
olaf
8fffaeb0ad Added a comment: Similar(ish) bug reports 2017-08-23 05:55:51 +00:00
olaf
3730f9ae85 2017-08-23 05:47:39 +00:00
olaf
2c892d2fc2 2017-08-23 05:46:13 +00:00
olaf
00b6fa4d61 2017-08-23 04:55:45 +00:00
metst13@1d16544ec52801db7efb2895d3dc7a4458b8eb45
38caa5bec0 Added a comment: links on page 2017-08-22 05:10:11 +00:00
Rémi
9354e1be83 Added a comment 2017-08-21 14:17:14 +00:00
Rémi
be6873a563 2017-08-21 09:10:49 +00:00
Joey Hess
3577f874a3
Merge branch 'master' of ssh://git-annex.branchable.com 2017-08-20 16:51:06 -04:00
Joey Hess
c76ba5a15e
CVE-2017-12976 2017-08-20 16:50:53 -04:00
michalrus
7c6f16ad1c Added a comment 2017-08-20 16:45:09 +00:00
michalrus
014c4be6c2 Added a comment 2017-08-20 15:47:03 +00:00
michalrus
608eb67e54 Added a comment 2017-08-20 15:27:31 +00:00
michalrus
abdd6aa736 2017-08-20 15:26:34 +00:00
michalrus
9368ae0dad 2017-08-20 15:21:42 +00:00
michalrus
f330af61ac 2017-08-20 14:16:55 +00:00
doogie
d6d76c10ea 2017-08-18 20:27:52 +00:00
doogie
ed4e3bcff9 2017-08-18 20:25:29 +00:00
ilovezfs
9a68b93253 Added a comment: Exception: getCurrentDirectory:getWorkingDirectory: resource exhausted (Too many open files) 2017-08-18 18:28:01 +00:00
Joey Hess
e0d88e2d25
typo 2017-08-18 11:46:48 -04:00
Joey Hess
c24d0f0e89
add bug for security hole, with exploit details 2017-08-18 11:36:34 -04:00
Joey Hess
55495c5a98
git-annex.cabal: Deal with breaking changes in Cabal 2.0
https://github.com/haskell/cabal/issues/4655

This means that when a module is conditionally imported via ifdef
depending on the OS or build flags, the cabal file has to mirror the
same logic there to only list the module then.

Since there are lots of OS's and lots of combinations of build flags
here, it's rather difficult to know if the cabal file has been completelty
correctly updated to match the source code.

So I am very unhappy with needing to update things in two places. I've
only tested this on linux with most build flags enables; this will
probably need significant time and testing to catch every cabal file
tweak that this change to Cabal requires. And it will be a continual
source of compile failures going forward when the code is modified and
the cabal file not also updated.

DRY DRY DRY, I repeat myself, but: DRY! Sigh..

(Also, had to remove all Build.* that are standalone programs from the
Other-Modules list, because since cabal passes those modules to ghc when
building git-annex, it complains that they use module Main. Those
modules are only used when building with the Makefile anyway, so this
change shouldn't break anything.)

This commit was sponsored by Thomas Hochstein on Patreon.
2017-08-18 11:08:58 -04:00
Joey Hess
25e55e7c2f
typo 2017-08-17 19:51:39 -04:00
Joey Hess
dafafad115
external: nice error message for keys with spaces in their name
External special remotes will refuse to operate on keys with spaces in
their names. That has never worked correctly due to the design of the
external special remote protocol. Display an error message suggesting
migration.

Not super happy with this, but it's a pragmatic solution. Better than
complicating the external special remote interface and all external special
remotes.

Note that I only made it use SafeKey in Request, not Response. git-annex
does not construct a Response, so that would not add any safety. And
presumably, if git-annex avoids feeding any such keys to an external
special remote, it will never have a reason to make a Response using such a
key. If it did, it would result in a protocol error anyway.

There's still a Serializeable instance for Key; it's used by P2P.Protocol.
There, the Key is always in the final position, so it's ok if it contains
spaces.

Note that the protocol documentation has been fixed to say that the File
may contain spaces. One way that can happen, even though the Key can't,
is when using direct mode, and the work tree filename contains spaces.
When sending such a file to the external special remote the worktree
filename is used.

This commit was sponsored by Thom May on Patreon.
2017-08-17 16:18:34 -04:00
Joey Hess
5421e8f695
comment 2017-08-17 15:15:40 -04:00
https://launchpad.net/~felixonmars
b985eb2d75 Added a comment 2017-08-17 19:10:24 +00:00
Joey Hess
8cff67841c
plan 2017-08-17 14:41:21 -04:00
Joey Hess
04de2ede83
close 2017-08-17 11:49:42 -04:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
332ec5669c Added a comment 2017-08-16 18:18:27 +00:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
e15f5f9dae Added a comment 2017-08-16 17:16:14 +00:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
64bbd451f5 Added a comment 2017-08-16 17:10:58 +00:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
a6a0fa9323 2017-08-16 16:49:46 +00:00
olaf
7b2c6d45c6 Added a comment 2017-08-16 01:01:02 +00:00
Joey Hess
7713c3e0ec
idea 2017-08-15 15:45:31 -04:00
Joey Hess
48a89f0f92
hmm 2017-08-15 15:31:01 -04:00
Joey Hess
73d04d5565
responses, bug I noticed 2017-08-15 14:42:22 -04:00
Joey Hess
69dcb08d7a
Disable http-client's default 30 second response timeout when HEADing an url to check if it exists. Some web servers take quite a long time to answer a HEAD request. 2017-08-15 13:56:12 -04:00
Joey Hess
e5109468e2
forwarded 2017-08-15 13:53:51 -04:00
Joey Hess
f6128f96d1
comment 2017-08-15 13:00:33 -04:00
Joey Hess
5ef13d77c5
comment 2017-08-15 12:54:12 -04:00
yarikoptic
8427c44e11 Added a comment 2017-08-12 04:08:04 +00:00
yarikoptic
3c2aa54f21 initial whining about 2 ssh prompts 2017-08-12 04:06:19 +00:00
aer1PheiZa
7d2520eea0 Added a comment: 6.20170101 - still unable. 2017-08-07 11:58:06 +00:00
Joey Hess
718080d8b1
Merge branch 'master' of ssh://git-annex.branchable.com 2017-08-01 12:19:44 -04:00
Joey Hess
b2eaca4104
comment 2017-08-01 12:19:03 -04:00
yarikoptic
e199817b88 Added a comment 2017-07-31 19:05:04 +00:00
Joey Hess
139ad3ee5b
response 2017-07-31 14:46:20 -04:00
lykos
05692017e6 2017-07-30 16:48:50 +00:00
lykos
388f80933b 2017-07-30 16:47:01 +00:00
lykos
7aeac437a6 2017-07-30 16:46:38 +00:00
lykos
9d614da3df 2017-07-30 16:45:34 +00:00
ilovezfs
4378d0ba13 Added a comment: pipe: resource exhausted (Too many open files) 2017-07-30 16:05:10 +00:00
yarikoptic
d05acc772d initial bug report 2017-07-30 13:39:34 +00:00
Joey Hess
41f521d6c6
comment 2017-07-28 09:07:30 -04:00
ilovezfs
3154230b4e 2017-07-27 06:26:03 +00:00
yarikoptic
a983877279 initial whining 2017-07-26 19:10:11 +00:00
https://launchpad.net/~stephane-gourichon-lpad
f76690687c Added a comment: User expectations and what git annex unannex does. 2017-07-24 08:06:55 +00:00
tom.prince@6bf26c878bf6103667f28d70cf49d4fb74d33df7
701ce95d9b Added a comment 2017-07-21 18:22:29 +00:00
https://launchpad.net/~stephane-gourichon-lpad
aca2b5c431 Added a comment 2017-07-20 06:16:46 +00:00
Crystalvonwerder@a141a1e27afcd463daccce74ba4df918a01dfd9e
163e4b80ef Added a comment: Android 2017-07-18 14:43:44 +00:00
yarikoptic
047668390b initial concern about timeouts 2017-07-13 16:39:57 +00:00
yarikoptic
10622c2b14 initial whining about init --backend 2017-07-12 23:11:20 +00:00
metst13@1d16544ec52801db7efb2895d3dc7a4458b8eb45
f6598934bc Please compile an Intel 64 bit package for linux. 2017-07-08 14:21:05 +00:00
Joey Hess
81a861326d
fsck: Support --json.
One use case is to get a list of files that fsck fails on, in order to eg,
drop them from a remote.

This commit was sponsored by Nick Daly on Patreon.
2017-06-26 13:40:57 -04:00
http://schnouki.net/
787b14f1ce 2017-06-23 09:33:23 +00:00
olaf
75e97fde46 Added a comment 2017-06-22 04:55:35 +00:00
olaf
d86c61f13e Added a comment 2017-06-22 04:50:13 +00:00
Joey Hess
89df21b8b8
close 2017-06-17 13:20:31 -04:00
ilovezfs
eeaa670b61 2017-06-17 16:00:36 +00:00
t.z.mates
489d7f10f6 Added a comment 2017-06-15 23:07:48 +00:00
t.z.mates
09129a756d Added a comment: Error messages changed 2017-06-15 22:59:43 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
a93bcffcd7 2017-06-14 03:21:04 +00:00
user4
b493ac8d35 Added a comment: remote.log 2017-06-11 19:53:27 +00:00
user4
add2f406a8 2017-06-11 19:27:15 +00:00
Joey Hess
1426f7ff3a
disable closingTracked on OSX
Don't trust OSX FSEvents's eventFlagItemModified to be called when the last
writer of a file closes it; apparently that sometimes does not happen,
which prevented files from being quickly added.

This commit was sponsored by John Peloquin on Patreon.
2017-06-09 14:18:58 -04:00
Joey Hess
99a1e6efe2
close as dup 2017-06-09 13:43:53 -04:00
Joey Hess
aa2ab14a83
followup 2017-06-09 13:34:08 -04:00
Joey Hess
233f13b1e5
followup 2017-06-09 13:31:34 -04:00
Joey Hess
5be8df01cb
followup 2017-06-09 13:11:25 -04:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
e1164ce23a Added a comment 2017-06-09 01:48:15 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
e19752a653 Added a comment 2017-06-09 01:40:01 +00:00
Joey Hess
28b80599e2
Merge branch 'master' of ssh://git-annex.branchable.com 2017-06-07 16:19:45 -04:00
ano.nymous@12ebd53e5933cd1730c84027a7cb905e7c3fdd9c
6a19f79c4a Added a comment: Workaround for switching repos from WebApp 2017-06-07 19:18:51 +00:00
Joey Hess
86e4ea00b2
analysis
Also, added a comment to Assistant/Threads/Merger.hs to explain
why it only merges from /synced/ branches.
2017-06-07 13:45:18 -04:00
Joey Hess
252f254349
more 2017-06-06 16:02:11 -04:00
Joey Hess
aff0ce86da
merge and followup window path length bugs 2017-06-06 15:57:35 -04:00
Joey Hess
7b5c00eea7
followup 2017-06-06 15:42:27 -04:00
Joey Hess
eb79584bfe
followup; close 2017-06-06 15:36:10 -04:00
Joey Hess
ed639c140d
Fix bug that prevented transfer locks from working when run on SMB or other filesystem that does not support fcntl locks and hard links.
This commit was sponsored by Ethan Aubin.
2017-06-06 14:22:03 -04:00
Joey Hess
1b89913db8
close 2017-06-06 13:37:18 -04:00
Joey Hess
e23839acf3
Avoid error about git-annex-shell not being found when syncing with -J with a git remote where git-annex-shell is not installed.
This commit was sponsored by andrea rota.
2017-06-06 12:57:27 -04:00
Joey Hess
954a24b5d1
comment 2017-06-06 12:20:51 -04:00
yibe
c8e8d36e85 Added a comment 2017-06-04 20:07:31 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
4d015cf1d2 2017-06-03 19:24:58 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
c9bef943c6 2017-06-03 18:43:04 +00:00
Tom
cbe91c4ae1 2017-06-03 13:47:26 +00:00
Joey Hess
bb060f000f
error when metadata set is used with file that does not exist
When setting metadata of a file that did not exist, no error message was
displayed, unlike getting metadata and most other git-annex commands. Fixed
this oversight.

Note that, if the file exists but is not annexed, there's no error.
This is the same behavior as other git-annex commands.

This commit was supported by the NSF-funded DataLad project.
2017-06-01 11:40:47 -04:00
zkaufman
421239d344 2017-05-31 20:18:36 +00:00
http://schnouki.net/
2124d5316f Added a comment 2017-05-29 09:56:59 +00:00
ewen
e6d9c459e3 Added a comment: Standalone git-annex on Synology DS216+ NAS 2017-05-28 01:24:43 +00:00
yarikoptic
61131d87b0 Added a comment: woohoo 2017-05-26 02:03:57 +00:00
Joey Hess
e1cf095ae8
Avoid concurrent git-config setting problem when running concurrent threads.
See my comment. This only avoids the problem for -J; two git-annex
processes started at the same time could still both try to write to
.git/config and one fail. That would be very unlikely though, and it
doesn't really seem worth adding an additional layer of locking around
.git/config.

This commit was supported by the NSF-funded DataLad project.
2017-05-25 18:28:23 -04:00
Joey Hess
7db37ddde0
Fix transfer log file locking problem when running concurrent transfers.
orElse is great, but was not the right thing to use here because
waitTakeLock could retry for other reasons than the lock being held,
which made tryTakeLock fail when it shouldn't.

Instead, move the code to tryTakeLock and implement waitTakeLock using
tryTakeLock and retry.

(Also, in runTransfer, when checkSaneLock fails, dropLock to avoid leaking a
lock handle.)

This commit was supported by the NSF-funded DataLad project.
2017-05-25 17:40:23 -04:00
yarikoptic
df9ba3b5b4 Added a comment 2017-05-25 18:39:03 +00:00
Joey Hess
9bddc6d5ca
Improve progress display when watching file size, in cases where a transfer does not resume.
This commit was supported by the NSF-funded DataLad project.
2017-05-25 14:30:18 -04:00
Joey Hess
c204654fe5
response 2017-05-25 13:39:20 -04:00
yarikoptic
b9b25c13e0 original complaint 2017-05-25 14:35:44 +00:00
namsgorf@6b5ce57fbe9dc2a2c65d6817151f107dc22f438c
1f615d3b00 Added a comment 2017-05-21 13:40:08 +00:00
Joey Hess
1d45e47e3f
clear regions before ssh prompt
When built with concurrent-output 1.9, ssh password prompts will no longer
interfere with the -J display.

To avoid flicker, only done when ssh actually does need to prompt;
ssh is first run in batch mode and if that succeeds the connection is up
and no need to clear regions.

This commit was supported by the NSF-funded DataLad project.
2017-05-16 15:50:11 -04:00
Joey Hess
89f9be3230
workaround is in place
(and remove debug print)
2017-05-16 14:36:54 -04:00
Joey Hess
e858c959f7
glacier-cli python3 bug nearly for sure 2017-05-16 14:22:26 -04:00
Joey Hess
e0a8e3f414
forwardeed to git ML 2017-05-16 13:11:15 -04:00
Joey Hess
f32eef69e4
close dup 2017-05-16 12:20:40 -04:00
Joey Hess
0a92652d6b
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-16 12:20:01 -04:00
Joey Hess
67dd96c944
bisection 2017-05-16 12:19:02 -04:00
mail@4e627fd997ef5ca9f75e62ffc0aba5b27bd6aea1
23f79ee5d3 failing unit tests bug 2017-05-16 14:58:36 +00:00
http://id.clacke.se/
710071e49a 2017-05-16 00:13:36 +00:00
michal.anks@bff6982ee88f5bd889dd798be824cff38f2d8933
645e04368c glacier-cli and git-annex doesn't seem to work together right 2017-05-15 20:04:11 +00:00
http://id.clacke.se/
acd825f5fd 2017-05-15 09:31:15 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
44a3f7207e Added a comment: Related... 2017-05-15 04:43:44 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
7ee0e9d816 2017-05-15 04:40:17 +00:00
ewen
b8c6eb557c Added a comment: dtruss OS X 10.11 git annex on SMB mount 2017-05-14 05:04:29 +00:00
t.z.mates
d7987ffc13 Added a comment 2017-05-13 20:59:34 +00:00
Joey Hess
1a0390e418
pointers 2017-05-12 16:29:53 -04:00
Joey Hess
e405b9bbe4
break out bug report 2017-05-12 10:57:58 -04:00
Joey Hess
9f11769455
misplaced comment 2017-05-12 10:38:22 -04:00
Joey Hess
6992fe133b
Ssh password prompting improved when using -J
When ssh connection caching is enabled (and when GIT_ANNEX_USE_GIT_SSH is
not set), only one ssh password prompt will be made per host, and only one
ssh password prompt will be made at a time.

This also fixes a race in prepSocket's stale ssh connection stopping
when run with -J. It was possible for one thread to start a cached ssh
connection, and another thread to immediately stop it, resulting in excess
connections being made.

This commit was supported by the NSF-funded DataLad project.
2017-05-11 17:36:03 -04:00
Joey Hess
782c30b8a4
hmm 2017-05-11 16:45:30 -04:00
Joey Hess
838b55fa39
plan 2017-05-11 14:34:50 -04:00
Joey Hess
0b5fb4699b
followup 2017-05-11 13:04:35 -04:00
Cyberthal
777137dc4f Added a comment: PEBKAC 2017-05-01 22:19:05 +00:00
jesrui@51c25da8d6f34e6df8e3e7ed0277335ed7ddf6a6
2419479ba9 2017-04-30 13:36:58 +00:00
ewen
5f6fca0d8b Added a comment: git annex standalone on Synology NAS 2017-04-23 07:52:19 +00:00
ewen
fa86832091 CC me 2017-04-23 07:33:19 +00:00
ewen
60999337e4 Described steps to reproduce git annex get failure on SMB share 2017-04-23 07:31:57 +00:00
yarikoptic
2286b07aa1 Added a comment 2017-04-08 03:16:49 +00:00
Joey Hess
906427e8ec
response 2017-04-07 17:08:03 -04:00
yarikoptic
4e86b5a778 Added a comment: may be? 2017-04-07 21:01:56 +00:00
Joey Hess
1e4bee253c
comment 2017-04-07 16:25:38 -04:00
Joey Hess
b6169868da
comment 2017-04-07 16:06:14 -04:00
Joey Hess
57e923b712
gcrypt: Support re-enabling to change eg, encryption parameters.
This was never supported before. And it doesn't re-encrypt the
gcrypt repo to the new gcrypt-participants, but it does at least now not
crash, and set gcrypt-participants.

This commit was sponsored by andrea rota.
2017-04-07 14:10:34 -04:00
Joey Hess
f406d16525
enableremote: When enabling a non-special remote, param=value parameters can't be used, so error out if any are provided.
This commit was sponsored by Riku Voipio.
2017-04-07 13:14:53 -04:00
Joey Hess
78f74aa295
confused user, not a bug 2017-04-07 12:47:42 -04:00