Commit graph

8144 commits

Author SHA1 Message Date
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