Commit graph

10703 commits

Author SHA1 Message Date
Joey Hess
eed20fe3b7
fix some file modes in calls to withTmpFileIn to honor umask
Also audited for other calls to openTempFile, and all are ok,
except for viaTmp which will need further work.

Remote.Directory fixed to set umask mode when writing to an export,
although it has another one using viaTmp that's not fixed.
Will make exports that are published via a http server running as
another user work, for example.

Remote.BitTorrent fixed to set umask mode when downloading the torrent
file. Normally this does not matter as that file does not hang around
after the download, but if a bittorrent download were started by one user,
got interrupted and then another user ran it, this will let them access
the torrent file created by the first user.
2020-09-02 14:36:08 -04:00
Joey Hess
5a9f518a42
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-09-02 12:25:52 -04:00
Joey Hess
6781be2141
bug report 2020-09-02 12:25:27 -04:00
hans.ekbrand@aabd6f2f1f93eab77ef85618d24892ebafc6e20f
6c2db1415a 2020-09-02 13:11:03 +00:00
hans.ekbrand@aabd6f2f1f93eab77ef85618d24892ebafc6e20f
5384b70bde 2020-09-02 13:10:31 +00:00
hans.ekbrand@aabd6f2f1f93eab77ef85618d24892ebafc6e20f
b16725a377 2020-09-02 13:09:04 +00:00
yarikoptic
03cea49042 Added a comment 2020-09-02 02:53:23 +00:00
Joey Hess
41ebed3941
Support git remotes where .git is a file, not a directory
Eg when --separate-git-dir was used, and core.symlinks=false.

This commit was sponsored by Brock Spratlen on Patreon.
2020-08-28 15:08:14 -04:00
Joey Hess
cde3e5eb0c
test: Stop gpg-agent daemons that are started for the test framework's gpg key
They normally shutdown when the GNUPGHOME directory is deleted, but on
NFS they keep the directory from being deleted. And also, this avoids
a number of them piling up while the test suite is running.
2020-08-28 14:28:42 -04:00
Joey Hess
be42e04aa8
close 2020-08-28 13:55:54 -04:00
Joey Hess
6bdfeea3b1
close 2020-08-28 13:54:42 -04:00
Joey Hess
5eceef899a
close 2020-08-28 13:53:15 -04:00
Joey Hess
02a35c9cee
comment 2020-08-26 13:09:47 -04:00
Joey Hess
5c1b91f8d3
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-08-26 13:06:14 -04:00
Joey Hess
b68f214312
Display a message when git-annex has to wait for a pid lock file held by another process 2020-08-26 13:05:34 -04:00
yarikoptic
a325beef64 Added a comment: dreaming of everyone using CoW FSs 2020-08-26 01:26:29 +00:00
Joey Hess
6547bfe324
comment 2020-08-25 17:43:50 -04:00
Joey Hess
7bdb0cdc0d
add gitAnnexChildProcess and use instead of incorrect use of runsGitAnnexChildProcess
Fixes reversion in 8.20200617 that made annex.pidlock being enabled result
in some commands stalling, particularly those needing to autoinit.

Renamed runsGitAnnexChildProcess to make clearer where it should be
used.

Arguably, it would be better to have a way to make any process git-annex
runs have the env var set. But then it would need to take the pid lock
when running any and all processes, and that would be a problem when
git-annex runs two processes concurrently. So, I'm left doing it ad-hoc
in places where git-annex really does run a child process, directly
or indirectly via a particular git command.
2020-08-25 14:57:49 -04:00
Joey Hess
348eaf7b6c
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-08-25 14:31:43 -04:00
Joey Hess
ca3fb4b1d2
analysis 2020-08-25 14:31:15 -04:00
kyle
6363b888af Added a comment 2020-08-25 17:51:43 +00:00
Joey Hess
d3f3e8f587
document that annex.thin beats annex.hardlink 2020-08-25 13:34:37 -04:00
Joey Hess
2ab574a72f
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-08-25 13:01:03 -04:00
Joey Hess
2ca1ff62dc
addurl --file youtube-dl reversion fix
addurl: Fix reversion in 7.20190322 that made --file not be honored when
youtube-dl was used to download media.

8758f9c561 was on the right track, but missed that | otherwise prevented
the code it added from being used.

Also, refactored out a common function.

This commit was sponsored by Graham Spencer on Patreon.
2020-08-25 12:56:45 -04:00
yarikoptic
4daf4ea06f Added a comment: pidlock to blame! 2020-08-25 16:27:11 +00:00
kyle
d20ab86b41 Added a comment 2020-08-25 15:20:46 +00:00
yarikoptic
9ae3c552ed initial report on hardlink in thin mode 2020-08-25 15:07:21 +00:00
kyle
b60723184d Added a comment: comment: works on my end 2020-08-25 15:02:45 +00:00
yarikoptic
c8e9db9fdc Added a comment 2020-08-25 15:01:19 +00:00
yarikoptic
b04378ea6a initial report on get being stuck 2020-08-25 14:47:38 +00:00
yarikoptic
29402dd78b initial report on gpgtmp .nfs busy files 2020-08-25 03:12:16 +00:00
kyle
aab3a552f9 Added a comment: thanks 2020-08-19 17:54:11 +00:00
Joey Hess
d00ce82418
fix hang if external program is not available
startExternal' throws an exception, which left the externalAsync TMVar
empty, so the next try to use it would hang.
2020-08-19 12:20:07 -04:00
kyle
ce59265a61 2020-08-18 17:44:01 +00:00
git-annex@32dadd8082caa7c4ec9b28cf7dcf78e0d9fe58a8
c68bf6fc90 Bug: addurl --file not working as expected with youtube-dl 2020-08-12 13:09:02 +00:00
raf@4b53f20230978a98fc814b6e5565d9a30567a4f8
7be4eb71f2 removed 2020-08-12 12:54:46 +00:00
raf@4b53f20230978a98fc814b6e5565d9a30567a4f8
928787af63 2020-08-12 12:47:19 +00:00
cardoso-neto
d79bb64ea4 2020-08-11 20:23:25 +00:00
kyle
a186c4a4c4 Added a comment 2020-08-10 21:34:46 +00:00
Joey Hess
c59a51a065
discard any exception thrown while trying to kill worker threads
Since there's a race here, and since Kyle saw an exception leak out,
which I have not been able to reproduce that. See my comment for what
I think might be going on.

Note that, I used tryNonAsync, because it seems a later tryNonAsync
caught the exception. I don't actually understand how it did, as I
understand exception classification, it's the data type, not the way it
was thrown. One possibility is that the async exception may have been wrapped
in some other, non-async exception, and Show displayed it the same way.
2020-08-10 16:24:51 -04:00
Joey Hess
0da4150453
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-10 16:03:59 -04:00
Joey Hess
d48049bdd8
comment 2020-08-10 16:03:46 -04:00
kyle
5236f3c773 Added a comment 2020-08-10 19:48:03 +00:00
Joey Hess
c565267118
fix order 2020-08-10 15:38:31 -04:00
Joey Hess
70d2ba03ca
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-10 15:37:54 -04:00
Joey Hess
d53b88d4e4
comment 2020-08-10 15:37:25 -04:00
Joey Hess
a354263a19
document preferred content for import/export 2020-08-10 15:35:26 -04:00
kyle
59a8698a20 Added a comment 2020-08-10 19:01:37 +00:00
kyle
8beb30e84b Added a comment 2020-08-10 18:56:03 +00:00
Joey Hess
4b05293737
comment 2020-08-10 14:42:38 -04:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
dd670639ac Added a comment 2020-08-10 18:42:15 +00:00
Joey Hess
8a94f2ccd5
response 2020-08-10 14:35:20 -04:00
Joey Hess
ff7d8b45ac
tag moreinfo 2020-08-10 14:12:07 -04:00
Joey Hess
23dc611a0d
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-10 14:09:24 -04:00
Joey Hess
cd49565b71
comment 2020-08-10 13:52:18 -04:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
b2d3789a83 Added a comment 2020-08-10 17:25:11 +00:00
Joey Hess
bcbdada8bf
fixed 2020-08-10 13:12:55 -04:00
Joey Hess
f0f3f4db90
comment 2020-08-10 12:57:05 -04:00
Joey Hess
02ba6f94a2
comment 2020-08-10 12:51:17 -04:00
Joey Hess
2cbebab554
improve docs and close bug 2020-08-10 12:37:25 -04:00
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4
e0df81c6c0 2020-08-10 14:46:20 +00:00
hdclark@be373988ada6dc692f87a8eefdd600432e54f7d4
2c369fad26 Added a comment: This occurs on 9P filesystem too 2020-08-07 20:41:10 +00:00
cardoso-neto
04e34a039e Added a comment: Understood. 2020-08-07 02:24:47 +00:00
Joey Hess
0948ef81f6
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-06 20:14:58 -04:00
Joey Hess
506ffea5e6
stop symlink check once the top of the working tree is reached
Avoid complaining that a file with "is beyond a symbolic link" when the
filepath is absolute and the symlink in question is not actually inside the
git repository.

This assumes that inodes remain stable while the command is running.
I think they always will, the filesystems where they are unstable change
them across mounts. (If inodes were not stable, it would just complain about
symlinks in the path that are not inside the working tree.)

(On windows, I don't want to assume anything about inodes, they could be
random numbers for all I know. But if they were, this would still be ok, as
long as windows doesn't have symlinks that are detected by isSymbolicLink.
Which seems a fair bet.)
2020-08-06 20:14:30 -04:00
kyle
683f527b3b Added a comment 2020-08-06 20:58:21 +00:00
Joey Hess
a358eb1faa
comment 2020-08-06 14:38:06 -04:00
Joey Hess
62214244d3
Merge branch 'master' of ssh://git-annex.branchable.com 2020-08-06 13:52:19 -04:00
Joey Hess
5d380c6c5c
when workTreeItems finds a problem with a parameter, don't go on to process it
Part of workTreeItems is trying detect a case
where git porcelain refuses to process a file, and where
git ls-files silently outputs nothing. But, it's hard to perfectly
replicate git's behavior, and besides, git's behavior could change.
So it could be that we warn, but then git ls-files does not skip over
it, and so git-annex also processes it after warning about it.

So, if we think we have a problem with a parameter, display the warning,
and skip processing it at all.

Implementing this was complicated by needing to handle the case where
all command-line parameters get filtered out this way. Which is
different than the case where there are none, because we don't want to
operate on all files in this new case..
2020-08-06 13:47:45 -04:00
Joey Hess
8312cac018
comment and moreinfo 2020-08-06 11:30:44 -04:00
Joey Hess
e2a662892e
forgot to close this earlier 2020-08-06 11:22:42 -04:00
cardoso-neto
860b1f9f17 Create bug report thread on ungraceful exit after cwd being moved/baleeted 2020-08-06 02:55:32 +00:00
Joey Hess
283d2f85d1
importfeed: Fix reversion that caused some '.' in filenames to be replaced with '_'
sanitizeFilePath was changed to sanitize leading '.', but ImportFeed was
running it on parts of the template. So eg the leading '.' in the extension
got sanitized.

Note the added case for sanitizeLeadingFilePathCharacter ('/':_)
-- this was added because, if the template is title/episode and the title
is not set, it would expand to "/episode". So this is another potential
security fix.
2020-08-05 11:35:00 -04:00
madalu
d8517d6cfc Reporting importfeed filename bug 2020-08-04 17:19:06 +00:00
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500
465842f3f6 Added a comment 2020-08-02 23:41:33 +00:00
yarikoptic
5a5e13e972 Added a comment 2020-08-02 01:31:53 +00:00
kyle
d844d0a1b7 Added a comment 2020-07-31 21:20:10 +00:00
Joey Hess
5a5873e052
fix bug caught by test suite 2020-07-31 16:11:50 -04:00
kyle
7bae35d840 prop_isomorphic_key_encode test failure 2020-07-30 17:51:20 +00:00
leej
2105c6e9a7 Added a comment 2020-07-28 14:58:00 +00:00
nicholsn
60f3626338 Added a comment: Thank you 2020-07-28 03:57:34 +00:00
kyle
8a594395f3 'beyond symlink' error for upstream link 2020-07-27 19:37:13 +00:00
Joey Hess
2e702960ab
followup and close 2020-07-27 11:33:47 -04:00
leej
e8135f27ef 2020-07-25 00:15:34 +00:00
Joey Hess
00c5f04f20
Deal with unusual IFS settings in the shell scripts for linux standalone and OSX app.
Thanks, Yaroslav Halchenko
2020-07-24 14:46:50 -04:00
Joey Hess
3627f03996
comment 2020-07-24 14:36:50 -04:00
Joey Hess
79187a6eaf
Revert "Unset IFS in shell scripts in the linux standalone build and OSX app."
This reverts commit 24125e8dc4.

yoh has a better patch I see
2020-07-24 14:33:13 -04:00
Joey Hess
24125e8dc4
Unset IFS in shell scripts in the linux standalone build and OSX app. 2020-07-24 14:31:11 -04:00
yarikoptic
d7e04e5e3a Added a comment 2020-07-24 15:22:40 +00:00
yarikoptic
4ff59a85d5 report on intolerance of IFS 2020-07-24 01:42:59 +00:00
karel-de-macil
39337c604b 2020-07-23 10:30:35 +00:00
karel-de-macil
8325db46a6 2020-07-23 10:28:43 +00:00
kyle
155b56f015 Added a comment 2020-07-22 16:12:25 +00:00
kyle
0538dc425c Added a comment 2020-07-22 16:01:05 +00:00
Joey Hess
aa492bc659
Fix a hang when using git-annex with an old openssh 7.2p2
This does mean a 2 second delay after transfers when using that ssh, but
it's an old and apparently quite weirdly broken version of ssh.
2020-07-22 11:04:33 -04:00
Joey Hess
afaae84f49
comment 2020-07-21 16:50:26 -04:00
Joey Hess
cb74cefde7
Fix a hang when using git-annex with an old openssh 7.2p2
Which had some weird inheriting of ssh FDs by sshd.

Bug was introduced in git-annex version 7.20200202.7.
2020-07-21 16:14:25 -04:00
Joey Hess
ac56a5c2a0
Fix a lock file descriptor leak that could occur when running commands like git-annex add with -J
Bug was introduced as part of a different FD leak fix in version 6.20160318.
2020-07-21 15:30:47 -04:00
Joey Hess
fd8339005a
update 2020-07-21 14:44:07 -04:00
Joey Hess
77f7157ddb
analysis 2020-07-21 10:30:46 -04:00
Joey Hess
4de4c36d2b
dup 2020-07-21 10:07:23 -04:00
Joey Hess
abd56fb019
Fix a bug in find --batch in the previous version. 2020-07-20 19:50:53 -04:00
gueux
225fd08b6d Added a comment 2020-07-20 06:45:25 +00:00
Joey Hess
889603336a
fix reversion in skipping deleted files
And add a test case for that.

This certianly loses some of the 2x performance improvement in file
seeking that seekFilteredKeys led to, because now it has to stat the
worktree files again. Without benchmarking, I expect there will still be
a sizable improvement, and also the git-annex branch precaching that
seekFilteredKeys can do will still be a win of its approach.

Also worth noting that lookupKey, when the file DNE, check if it's in an
adjusted branch with hidden files, and if so, finds the key for the
file anyway. That was intended to make git-annex sync --content be able
to process those files, but a side effect was that, when a file was
deleted but the deletion not yet staged, git-annex commands used to
still list it. That was actually a bug. This commit fixes that bug too.
(git-annex sync --content on such a branch does not use seekFilteredKeys
so was not affected by the reversion or by this behavior change)

This commit was sponsored by Jake Vosloo on Patreon.
2020-07-19 21:25:01 -04:00
Joey Hess
b5590e916e
analysis 2020-07-19 20:14:49 -04:00
Joey Hess
1489fbbdde
bug 2020-07-19 18:26:57 -04:00
kyle
f818da2f85 bug: find --batch regression 2020-07-16 21:53:14 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
059d56659b Added a comment: GIT_TRACE=1 debug shows smudge --clean is run twice per file 2020-07-16 17:06:13 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1836f7a318 2020-07-16 16:32:41 +00:00
Joey Hess
ebdbb87716
comment 2020-07-15 16:11:34 -04:00
kyle
e8197c9e74 fixed elsewhere 2020-07-15 16:35:46 +00:00
Joey Hess
aa44126bc0
Merge branch 'master' of ssh://git-annex.branchable.com 2020-07-15 11:27:38 -04:00
Joey Hess
a7156b875c
fix fsck reversion
75aab72d23 made fsck skip files whose
content is not present, but it should complain if there are not enough
copies.
2020-07-15 11:21:43 -04:00
Joey Hess
32c847d1a1
analysis 2020-07-15 11:13:02 -04:00
Joey Hess
5d59bb9554
add 2020-07-15 10:58:45 -04:00
nolan.nichols@fe8d6ffa163484d0632235838db69df04538caf1
af6088bcba 2020-07-15 03:32:24 +00:00
kyle
e55263046f tag issue 2020-07-15 00:58:03 +00:00
kyle
8c65cab4c6 recent test failures 2020-07-15 00:52:39 +00:00
kyle
ed99f652fa Added a comment 2020-07-14 19:18:10 +00:00
Joey Hess
e223ddb774
comments 2020-07-13 17:52:03 -04:00
Joey Hess
c893743819
Merge branch 'master' of ssh://git-annex.branchable.com 2020-07-13 17:13:02 -04:00
kyle
592548a843 Added a comment 2020-07-13 19:27:18 +00:00
kyle
b94481a3b9 Added a comment 2020-07-13 19:04:45 +00:00
Joey Hess
f34edf0011
close 2020-07-13 13:27:43 -04:00
Joey Hess
4dd5cfa463
Merge branch 'master' of ssh://git-annex.branchable.com 2020-07-13 13:26:28 -04:00
Joey Hess
8219dbcb95
comment 2020-07-13 13:25:10 -04:00
Joey Hess
ba345e90b5
test metadata 2020-07-13 12:53:09 -04:00
kyle
800b36ccff Added a comment 2020-07-13 16:50:37 +00:00
kyle
ed7afd4f6d Added a comment 2020-07-13 16:46:54 +00:00
Joey Hess
918b1faa3d
avoid hanging on exception 2020-07-13 12:36:15 -04:00
Joey Hess
bff5694f55
Merge branch 'master' of ssh://git-annex.branchable.com 2020-07-13 12:18:05 -04:00
Joey Hess
1b2f29b207
comment 2020-07-13 12:16:48 -04:00
kyle
575317a444 metadata --remove hang on 88a7fb5cb 2020-07-11 01:12:31 +00:00
kyle
780f8675f6 git-annex-init hang on older systems 2020-07-10 20:57:47 +00:00
Joey Hess
a7fcda861f
comment 2020-07-10 16:09:13 -04:00
barak
7397bd75ea 2020-07-10 19:52:11 +00:00
kyle
a5142499ce rsync hang 2020-07-07 15:26:38 +00:00
Joey Hess
d66fc1a464
Revert "async exception safety for coprocesses"
This reverts commit 7013798df5.
2020-07-06 15:11:28 -04:00
Joey Hess
6b8c961e1f
some analysis but stuck 2020-07-06 14:46:05 -04:00
Joey Hess
0518b62d2b
update 2020-07-06 12:58:29 -04:00
Joey Hess
27bbeea00e
close 2020-07-06 10:49:06 -04:00
petersjt014@c20995a2e26a13566cd49aef30a99a7dff732a4e
ba209702c1 Added a comment: tor remote 2020-07-03 07:33:54 +00:00
Joey Hess
a3e125c1fe
move to re-notify 2020-07-02 20:05:54 -04:00
Joey Hess
8fc9788363
fix commment 2020-07-02 20:05:36 -04:00
kyle
a379ea833e Added a comment 2020-07-02 20:07:10 +00:00
Joey Hess
629026bdbc
followup 2020-07-02 15:06:00 -04:00
Joey Hess
d8ad2204c7
comment 2020-07-02 14:43:52 -04:00
Joey Hess
f912f8e5fd
refix bug in a better way
Always run Git.Config.store, so when the git config gets reloaded,
the override gets re-added to it, and changeGitRepo then calls extractGitConfig
on it and sees the annex.* settings from the override.

Remove any prior occurance of -c v and add it to the end. This way,
-c foo=1 -c foo=2 -c foo=1 will pass -c foo=1 to git, rather than -c foo=2

Note that, if git had some multiline config that got built up by
multiple -c's, this would not work still. But it never worked because
before the bug got fixed in the first place, the -c value was repeated
many times, so the multivalue thing would have been wrong. I don't think
-c can be used with multiline configs anyway, though git-config does
talk about them?
2020-07-02 13:32:33 -04:00
Joey Hess
ec0f8a6e74
Fix reversion that broke passing git configs with -c
Reverting commit c8fec6ab0
2020-07-02 12:42:13 -04:00
Joey Hess
0b5515899b
comment 2020-07-02 12:18:02 -04:00
Joey Hess
fe1f4632a4
Merge branch 'master' of ssh://git-annex.branchable.com 2020-07-02 10:00:11 -04:00
B
d409f92318 Added a comment: Workaround 2020-07-02 12:51:41 +00:00
Joey Hess
117bd04693
more details 2020-07-01 16:20:37 -04:00
Ilya_Shlyakhter
afc705f7c8 Added a comment: adding files also fails 2020-07-01 19:51:34 +00:00
Ilya_Shlyakhter
2db76f8144 added bug report about git-annex-init on a repo in VirtualBox shared folder 2020-07-01 19:39:14 +00:00
https://bmwiedemann.zq1.de/
e3d091f12c Added a comment 2020-07-01 02:47:05 +00:00
kyle
9bd56b5494 Added a comment 2020-06-30 21:24:56 +00:00
Joey Hess
33c26988f6
comment 2020-06-30 17:21:17 -04:00
Joey Hess
4af5fc3505
fixed oops 2020-06-30 17:16:29 -04:00
Joey Hess
3935ce8be5
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-30 17:15:31 -04:00
Joey Hess
5891e10409
bug report 2020-06-30 16:40:08 -04:00
https://bmwiedemann.zq1.de/
814698bd53 Added a comment 2020-06-30 19:47:35 +00:00
kyle
80bb42a3ca stack build failure 2020-06-30 19:08:32 +00:00
kyle
59e64842a7 Added a comment 2020-06-30 16:26:17 +00:00
kyle
e4e28452a0 annex-ssh-options regression 2020-06-30 15:48:03 +00:00
https://bmwiedemann.zq1.de/
68549767e9 Added a comment 2020-06-30 15:26:10 +00:00
Joey Hess
7a4253a155
followup and close as this is intentional 2020-06-30 10:41:26 -04:00
Joey Hess
6780648bba
comment 2020-06-30 10:20:27 -04:00
https://bmwiedemann.zq1.de/
95b8b4a5af 2020-06-29 14:02:17 +00:00
Joey Hess
7203353e24
comment 2020-06-26 12:18:18 -04:00
yarikoptic
ff8e9f4b5f Added a comment 2020-06-26 14:22:25 +00:00
yarikoptic
50bf73f043 initial report on an odd fail 2020-06-26 14:17:56 +00:00
Joey Hess
b38cc371ad
close per comments 2020-06-24 12:53:13 -04:00
Joey Hess
1b1863673b
close as dup 2020-06-24 12:50:19 -04:00
Joey Hess
725b1395b0
close, fixed 3 years ago 2020-06-24 12:48:46 -04:00
Joey Hess
5eeac2a9c9
close 2020-06-24 12:40:37 -04:00
Joey Hess
f744882e34
comment 2020-06-24 12:37:10 -04:00
Joey Hess
86968e366c
open bug 2020-06-23 17:07:46 -04:00
Joey Hess
e2f739b0c8
comment and close 2020-06-22 14:38:09 -04:00
Joey Hess
b904748ee3
guess yoh meant projects/datalad here, not projects/yoh 2020-06-22 14:26:33 -04:00
Joey Hess
5098236c6b
testremote: Fix over-allocation of resources and bad caching
Including starting up a large number of external special remote processes.
(Regression introduced in version 8.20200501)
2020-06-22 14:25:49 -04:00
ink
a6fffac9ae 2020-06-20 10:45:24 +00:00
yarikoptic
6491691801 initial report on breed of children processes by testremote 2020-06-19 20:41:21 +00:00
Franky
b656c0853f 2020-06-19 02:16:19 +00:00
Franky
0b5d1e17b0 removed 2020-06-19 02:10:29 +00:00
yarikoptic
775c1cb032 Added a comment 2020-06-18 19:17:27 +00:00
Joey Hess
22ac56fece
test suite passing 2020-06-18 13:55:32 -04:00
Joey Hess
348821c9cf
analysis of deadlock 2020-06-18 12:10:54 -04:00
Joey Hess
3464fa12c7
meh 2020-06-17 15:58:39 -04:00
Joey Hess
762fd5ae5d
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-17 15:35:27 -04:00
Joey Hess
82448bdf39
fix a annex.pidlock issue
That made eg git-annex get of an unlocked file hang until the
annex.pidlocktimeout and then fail.

This fix should be fully thread safe no matter what else git-annex is
doing.

Only using runsGitAnnexChildProcess in the one place it's known to be a
problem. Could audit for all places where git-annex runs itself as a child
and add it to all of them, later.
2020-06-17 15:30:59 -04:00
Franky
bc3f9999b0 2020-06-17 19:07:00 +00:00
Franky
d72d76c06f 2020-06-17 19:01:44 +00:00
Franky
e98f9f7684 2020-06-17 19:00:36 +00:00
Franky
af5369bc92 2020-06-17 18:58:51 +00:00
Joey Hess
9583b267f5
confirmed fix 2020-06-17 12:12:41 -04:00
Joey Hess
b072b71c27
one more bugfix to external special remote creds
The creds are passedthrough in this case, so check for such first to
avoid a crash when getRemoteConfigValue sees a type it was not
expecting.
2020-06-16 18:28:26 -04:00
Joey Hess
ad81feb053
fix implicit embedcreds regression
Fix bug that made creds not be stored in git when a special remote was
initialized with gpg encryption, but without an explicit embedcreds=yes.

(Yet nother regression introduced in version 7.20200202.7. 5th so far.)
2020-06-16 18:00:19 -04:00
Joey Hess
4773713cc9
analysis of regression and fix related less serious regression 2020-06-16 15:16:36 -04:00
Joey Hess
5b8933b914
comment 2020-06-16 15:16:35 -04:00
Joey Hess
9e0bafd70b
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-16 14:38:27 -04:00
Joey Hess
3d53cbc614
comment 2020-06-16 14:38:02 -04:00
yarikoptic
d7f05a328a Added a comment 2020-06-16 18:30:07 +00:00
Joey Hess
3922f34f8e
comment 2020-06-16 14:16:02 -04:00
Joey Hess
c4f2c56f5e
checkpresentkey: fix behavior to match documentation
checkpresentkey: When no remote is specified, try all remotes, not only
ones that the location log says contain the key. This is what the
documentation has always said it did.

Still try the logged remotes first, because they are far more likely to
have the key.
2020-06-16 13:54:26 -04:00
Joey Hess
f3010afbf6
improve docs and close incorrect bug report 2020-06-16 13:45:00 -04:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
6dac582f06 Mark as done 2020-06-15 11:44:20 +00:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
1e0dd34566 Added a comment 2020-06-15 11:42:41 +00:00
calmofthestorm
d912685417 2020-06-15 05:25:37 +00:00
yarikoptic
e8edbe1ff3 Added a comment: stalls 2020-06-12 03:40:54 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
cd326962c8 Added a comment 2020-06-11 22:51:09 +00:00
Joey Hess
e5ec6609c0
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-11 17:47:16 -04:00
Joey Hess
69efc2c26b
comment 2020-06-11 17:36:17 -04:00
yarikoptic
c2f84a76bc Added a comment 2020-06-11 21:13:38 +00:00
Joey Hess
b60b8ecc78
clarify 2020-06-11 16:20:18 -04:00
Joey Hess
4e778ef849
response 2020-06-11 16:14:17 -04:00
Joey Hess
8a7c615a8f
import: Avoid using some strange names for temporary keys
The ContentIdentifier can contain almost anything, so could have characters
that are not fit for the filesystem, or might be longer than a key usually
is, or contain a newline, or .... genKeyName deals with those problems.

This should not present a back-compat issue, because this is a temporary
key used while downloading the imported file, before the real key for it
can be generated.
2020-06-11 16:07:36 -04:00
Joey Hess
0017d9a347
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-11 15:44:28 -04:00
Joey Hess
6b0cb2d732
defer cleaning keys db of old data
Avoid creating the keys database during init when there are no unlocked
files, to prevent init failing when sqlite does not work in the filesystem.
2020-06-11 15:40:13 -04:00
Joey Hess
d711dc31fa
response 2020-06-11 14:12:16 -04:00
yarikoptic
646a521473 reporting on a failed unittest on a crippled HOME. 2020-06-11 14:50:37 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
a0ffdac56e 2020-06-11 11:03:07 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
b65e596fb8 Added a comment: I wonder if this is related to the use of tor 2020-06-11 09:56:08 +00:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
9102d31721 Added a comment: git-annex-repair and git annex fsck: no errors found 2020-06-10 14:39:44 +00:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
c4a9647555 noticed confusing two rsync processes to copy one file. 2020-06-10 10:58:05 +00:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
34b088b209 Output of --debug, Formatting 2020-06-08 15:09:20 +00:00
kanakkshetri@9ea0e7639162bddc7bf9f3bb94cc32e93c793b89
634c66ea49 2020-06-08 14:24:37 +00:00
yarikoptic
08bc7a6867 reporting on SQLite3 problem rendering pidlocked system unusable 2020-06-05 02:31:21 +00:00
nicolas
3319855083 2020-06-04 13:17:39 +00:00
the13thletter
e3b487d41c Added a comment 2020-06-02 14:26:52 +00:00
yarikoptic
e8dd62689b Added a comment 2020-05-28 23:53:58 +00:00
Joey Hess
89b2542d3c
annex.skipunknown with transition plan
Added annex.skipunknown git config, that can be set to false to change the
behavior of commands like `git annex get foo*`, to not skip over files/dirs
that are not checked into git and are explicitly listed in the command
line.

Significant complexity was needed to handle git-annex add, which uses some
git ls-files calls, but needs to not use --error-unmatch because of course
the files are not known to git.

annex.skipunknown is planned to change to default to false in a
git-annex release in early 2022. There's a todo for that.
2020-05-28 15:55:17 -04:00
Joey Hess
5b28a37ea1
titles 2020-05-28 13:21:56 -04:00
Joey Hess
5ffc864718
comment 2020-05-28 13:21:40 -04:00
Joey Hess
4bf8f45efe
comment 2020-05-28 12:22:52 -04:00
Joey Hess
5e71e81fb6
close 2020-05-28 12:10:52 -04:00
Joey Hess
1572d72931
remove dup comment 2020-05-28 12:09:37 -04:00
Joey Hess
f2d91be78b
close 2020-05-28 12:08:26 -04:00
Joey Hess
e84d4c7a64
followup 2020-05-28 12:01:35 -04:00
Joey Hess
1d63d2bc83
close 2020-05-28 11:36:30 -04:00
Joey Hess
399eb4bdec
close 2020-05-28 11:32:27 -04:00
Joey Hess
484a74f073
auto-init autoenable=yes
Try to enable special remotes configured with autoenable=yes when git-annex
auto-initialization happens in a new clone of an existing repo. Previously,
git-annex init had to be explicitly run to enable them. That was a bit of a
wart of a special case for users to need to keep in mind.

Special remotes cannot display anything when autoenabled this way, to avoid
interfering with the output of git-annex query commands.

Any error messages will be hidden, and if it fails, nothing is displayed.
The user will realize the remote isn't enable when they try to use it,
and can run git-annex init manually then to try the autoenable again and
see what failed.

That seems like a reasonable approach, and it's less complicated than
communicating something across a pipe in order to display it as a side
message. Other reason not to do that is that, if the first command the
user runs is one like git-annex find that has machine readable output,
any message about autoenable failing would need to not be displayed anyway.
So better to not display a failure message ever, for consistency.

(Had to split out Remote.List.Util to avoid an import cycle.)
2020-05-27 12:40:35 -04:00
Joey Hess
3cf5f303ea
close 2020-05-27 11:03:18 -04:00
Joey Hess
7aba1aa49b
Merge branch 'master' of ssh://git-annex.branchable.com 2020-05-26 14:02:24 -04:00
Joey Hess
864ba4ecaa
disable buggy concurrency in Command.Export
Fix a crash or potentially not all files being exported when sync -J
--content is used with an export remote.

Crash as described in fixed bug report.

waitForAllRunningCommandActions inserted in several points where all the
commandActions started before need to have finished before moving on to
the next stage of the export. A race across those points could have
maybe resulted in not all files being exported, or a wrong tree being
export.

For example, changeExport starting up an action like
a rename of A to B. Then, with that action still running, fillExport
uploading a new A, *before* the rename occurred. That race seems
unlikely to have happened. There are some other ones that this also
fixes.
2020-05-26 13:54:08 -04:00
https://christian.amsuess.com/chrysn
7211cf63b6 Added a comment 2020-05-26 16:35:25 +00:00
Joey Hess
0bcecb67f5
export: Let concurrent transfers be done with -J or annex.jobs
Tested working, although I did find this bug in my testing, which also
afflicts sync -J to an export remote.
2020-05-26 11:44:07 -04:00
Joey Hess
e283c28249
comment 2020-05-26 11:21:10 -04:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
1ac2b8cc07 Added a comment 2020-05-25 11:07:08 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
91a8b271f7 Added a comment 2020-05-25 11:06:05 +00:00
https://christian.amsuess.com/chrysn
6ae6242a42 Tried --preserve-filename with a torrent, didn't work 2020-05-25 10:03:16 +00:00
arseni.lapunov@34f437c25a6a8c6d317dce0bb7c5b44d568fa595
55acb2e522 Added a comment: git-annex get fails 2020-05-22 14:28:24 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
49a01413bc 2020-05-22 11:15:27 +00:00
Joey Hess
27459c6e3f
Support building with tasty-1.3
This commit was sponsored by Ethan Aubin.
2020-05-21 15:26:44 -04:00
Joey Hess
75bfcca462
Merge branch 'master' of ssh://git-annex.branchable.com 2020-05-21 14:47:51 -04:00
Joey Hess
e63dcbf36c
fix embedcreds=yes reversion
Fix bug that made enableremote of S3 and webdav remotes, that have
embedcreds=yes, fail to set up the embedded creds, so accessing the remotes
failed.

(Regression introduced in version 7.20200202.7 in when reworking all the
remote configs to be parsed.)

Root problem is that parseEncryptionConfig excludes all other config keys
except encryption ones, so it is then unable to find the
credPairRemoteField. And since that field is not required to be
present, it proceeds as if it's not, rather than failing in any visible
way.

This causes it to not find any creds, and so it does not cache
them. When when the S3 remote tries to make a S3 connection, it finds no
creds, so assumes it's being used in no-creds mode, and tries to find a
public url. With no public url available, it fails, but the failure doesn't
say a lack of creds is the problem.

Fix is to provide setRemoteCredPair with a ParsedRemoteConfig, so the full
set of configs of the remote can be parsed. A bit annoying to need to
parse the remote config before the full config (as returned by
setRemoteCredPair) is available, but this avoids the problem.

I assume webdav also had the problem by inspection, but didn't try to
reproduce it with it.

Also, getRemoteCredPair used getRemoteConfigValue to get a ProposedAccepted
String, but that does not seem right. Now that it runs that code, it
crashed saying it had just a String.

Remotes that have already been enableremoted, and so lack the cached creds
file will work after this fix, because getRemoteCredPair will extract
the creds from the remote config, writing the missing file.

This commit was sponsored by Ilya Shlyakhter on Patreon.
2020-05-21 14:35:30 -04:00
Joey Hess
0ae63d5eec
comment 2020-05-21 13:06:46 -04:00
Joey Hess
d5b7d2a473
followup and close 2020-05-21 12:30:51 -04:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
50357aa48b Added a comment 2020-05-20 13:54:23 +00:00
Joey Hess
224208a657
comment 2020-05-19 13:18:34 -04:00
arseni.lapunov@34f437c25a6a8c6d317dce0bb7c5b44d568fa595
de86a8d579 2020-05-18 15:07:35 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
1259b73c39 2020-05-18 08:00:16 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
b4e94b2a41 2020-05-18 07:59:55 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
7ab8b9a451 2020-05-18 07:58:43 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
b0bfb1e0e5 2020-05-17 08:13:41 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
0b1e94074e 2020-05-16 15:08:34 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
42072fe9ad 2020-05-16 15:07:41 +00:00
braun.markus89@51b521a42cc994db864df308627bd6454f9c309d
fc7caa5b2b 2020-05-16 15:06:42 +00:00
jeanpmbox-456@7222359de8d1f37a7cf25a519e8faf90a9517b50
99c4eb020e Added a comment 2020-05-15 21:21:30 +00:00
jeanpmbox-456@7222359de8d1f37a7cf25a519e8faf90a9517b50
2db70d70d1 Added a comment 2020-05-15 21:14:53 +00:00
Joey Hess
6361074174
convert renameExport to throw exception
Finishes the transition to make remote methods throw exceptions, rather
than silently hide them.

A bit on the fence about this one, because when renameExport fails,
it falls back to deleting instead, and so does the user care why it failed?

However, it did let me clean up several places in the code.

This commit was sponsored by Ethan Aubin.
2020-05-15 15:08:09 -04:00
https://launchpad.net/~felixonmars
f246e78fd7 2020-05-13 20:35:29 +00:00
Joey Hess
a6adea4aaf
Merge branch 'master' of ssh://git-annex.branchable.com 2020-05-13 14:05:11 -04:00
Joey Hess
c1cd402081
make storeKey throw exceptions
When storing content on remote fails, always display a reason why.

Since the Storer used by special remotes already did, this mostly affects
git remotes, but not entirely. For example, if git-lfs failed to connect to
the endpoint, it used to silently return False.
2020-05-13 14:03:00 -04:00
Chymera
e42d2ce0c7 Added a comment 2020-05-13 04:15:53 +00:00
ryan.singer@5db89d157f0565db67eac571e2433fa96c187e32
3b231f900c Added a comment 2020-05-12 23:26:11 +00:00
Joey Hess
898770dda1
comment 2020-05-12 13:58:14 -04:00
Joey Hess
35b3c891af
followup 2020-05-12 12:48:07 -04:00
Chymera
47bd71b096 2020-05-12 07:05:23 +00:00
Joey Hess
2a8fdfc7d8
Display a warning message when asked to operate on a file inside a directory that's a symbolic link to elsewhere
This relicates git's behavior. It adds a few stat calls for the command
line parameters, so there is some minor slowdown, but even with thousands
of parameters it will not be very noticable, and git does the same statting
in similar circumstances.

Note that this does not prevent eg "git annex add symlink"; the symlink
will be added to git as usual. And "git annex find symlink" will silently
list nothing as well. It's only "symlink/foo" or "subdir/symlink/foo" that
triggers the warning.
2020-05-11 15:03:35 -04:00
Joey Hess
39d7e6dd2a
addurl --preserve-filename for other remotes
Finishing work begun in 6952060665

Also, truncate filenames provided by other remotes if they're too long,
when --preserve-filename is not used. That seems to have been omitted
before by accident.
2020-05-11 14:33:27 -04:00
Joey Hess
cabbc91b18
addurl, importfeed: Allow '-' in filenames, as long as it's not the first character 2020-05-11 13:50:49 -04:00
Joey Hess
568c2b58c2
comments 2020-05-11 12:49:50 -04:00
Joey Hess
0e2e8df8bf
bug 2020-05-11 12:38:40 -04:00
yarikoptic
2b125e0dd7 Added a comment 2020-05-09 22:10:44 +00:00
the13thletter
b8a472ba84 2020-05-08 22:10:29 +00:00
Joey Hess
6952060665
addurl --preserve-filename and a few related changes
* addurl --preserve-filename: New option, uses server-provided filename
  without any sanitization, but with some security checking.

  Not yet implemented for remotes other than the web.

* addurl, importfeed: Avoid adding filenames with leading '.', instead
  it will be replaced with '_'.

  This might be considered a security fix, but a CVE seems unwattanted.
  It was possible for addurl to create a dotfile, which could change
  behavior of some program. It was also possible for a web server to say
  the file name was ".git" or "foo/.git". That would not overrwrite the
  .git directory, but would cause addurl to fail; of course git won't
  add "foo/.git".

sanitizeFilePath is too opinionated to remain in Utility, so moved it.

The changes to mkSafeFilePath are because it used sanitizeFilePath.
In particular:

	isDrive will never succeed, because "c:" gets munged to "c_"
	".." gets sanitized now
	".git" gets sanitized now
	It will never be null, because sanitizeFilePath keeps the length
	the same, and splitDirectories never returns a null path.

Also, on the off chance a web server suggests a filename of "",
ignore that, rather than trying to save to such a filename, which would
fail in some way.
2020-05-08 16:22:55 -04:00
Joey Hess
54599207f7
note 2020-05-08 15:56:15 -04:00
Joey Hess
980de9c910
comment 2020-05-08 13:21:16 -04:00
Joey Hess
de396fac80
comment 2020-05-08 13:16:46 -04:00
ryan.singer@5db89d157f0565db67eac571e2433fa96c187e32
25b6f7ca96 2020-05-07 22:11:04 +00:00
ryan.singer@5db89d157f0565db67eac571e2433fa96c187e32
f88c26c211 2020-05-07 22:09:44 +00:00
ryan.singer@5db89d157f0565db67eac571e2433fa96c187e32
6b49594d91 2020-05-07 22:08:30 +00:00
yarikoptic
a3d196fe39 original complaint about filenames obfuscated by addurl 2020-05-07 21:07:28 +00:00
Joey Hess
1532d67c3e
S3: Support signature=v4
To use S3 Signature Version 4. Some S3 services seem to require v4, while
others may only support v2, which remains the default.

I'm also not sure if v4 works correctly in all cases, there is this
upstream bug report: https://github.com/aristidb/aws/issues/262
I've only tested it against the default S3 endpoint.
2020-05-07 13:18:11 -04:00
Joey Hess
bb88a01910
upgrade: When upgrade fails due to an exception, display it.
37b42e72e7 made it catch exceptions but
thought they were unlikely to be useful to display, which may be right when
a git command fails, but not in the case yoh found.
2020-05-07 12:22:32 -04:00
Joey Hess
5eb101b720
respond and close 2020-05-07 12:10:46 -04:00
yarikoptic
c719998eed initial report on silent fail to upgrade 2020-05-07 15:02:41 +00:00
glasserc
6a9c3a710d Added a comment: Is dead really the solution here? 2020-05-06 20:29:04 +00:00
Joey Hess
0040d2c129
sync: Avoid an ugly error message when nothing has been committed to master yet and there is a synced master branch to merge from
Now the warning gets displayed, which is better than an arcane git error.

The warning is still kind of ugly, especially when the pull later in the
sync will clear up what it warns about. But, this is an unusual situation
not likely to happen, and if there is no remote to pull from, the warning
message is needed or the sync will seem to succeed despite not merging the
synced master branch.

Would still be better if it could merge the synced master branch in this
situation, making an empty commit to master to do it seems wrong, and
otherwise it would need a whole separate code path, and would bypass using
git merge in favor of say, setting master to the syned branch. Which would
bypass git configs like arguably merge.ff and certianly
merge.verifySignatures. So don't want to do that.
2020-05-05 14:31:37 -04:00
Joey Hess
681928e828
close 2020-05-05 12:52:23 -04:00
Joey Hess
ebbd8f94e6
response 2020-05-05 12:45:35 -04:00
Joey Hess
93db6bef15
improve docs 2020-05-05 12:39:38 -04:00
Joey Hess
3e91461c0f
close too old version 2020-05-04 13:05:41 -04:00
Joey Hess
f9ed30de3b
avoid beware of the leopard situation
* Display a warning message when a remote uses a protocol, such as
  git://, that git-annex does not support. Silently skipping such a
  remote was confusing behavior.

  It sets annex-ignore, so the warning is only displayed once.

* Also display a warning message when a remote, without a known uuid,
  is located in a directory that does not currently exist, to avoid
  silently skipping such a remote.

  This is a bit more debatable, since git-annex get will say,
  try making repository available. And since it does not set annex-ignore,
  the warning will be displayed repeatedly. It's also an extreme edge case,
  I don't think I've ever seen it happen in real life.
2020-05-04 13:01:11 -04:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
e116eb642a Added a comment: Still fails with git-annex 8.20200330 via backports 2020-05-04 09:02:03 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
e81d516a0a 2020-05-03 02:39:31 +00:00
Joey Hess
e4a626018f
reproduced and some analysis 2020-05-01 14:58:24 -04:00
Joey Hess
f9f4f29cc2
fix extension 2020-05-01 14:18:57 -04:00
Joey Hess
bcf3604757
fix format 2020-05-01 12:30:58 -04:00
kyle
111b747be3 Added a comment: thanks! 2020-04-28 21:41:30 +00:00
Joey Hess
a386639a72
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-28 17:25:25 -04:00
Joey Hess
fa98025de0
fix testremote to not throw away annex state
aeca7c2207 exposed this problem, but it
was never a good idea to have a series of test cases, some of which depend on
prior ones, and throw away annex state after each.
2020-04-28 17:19:07 -04:00
kyle
acf7f20842 Added a comment 2020-04-28 20:48:18 +00:00
Joey Hess
e66f9d1c8c
comment 2020-04-28 16:45:34 -04:00
kyle
fa1bf4c8b1 testremote failures (regression) 2020-04-28 19:51:51 +00:00
Joey Hess
378b384c17
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-28 15:48:11 -04:00
Joey Hess
4a6d328ae9
Avoid a test suite failure when the environment does not let gpg be tested
Due to eg, too long a path to the agent socket, caused by running gpg in a
container where /run is not mounted, and/or some other gpg behavior like
unnecessarily making relative paths to its home directory absolute.
2020-04-28 15:47:23 -04:00
Joey Hess
24eabbbc55
followup 2020-04-28 15:15:20 -04:00
Joey Hess
57b89c635f
support required groupwanted
When the required content is set to "groupwanted", use whatever expression
has been set in groupwanted as the required content of the repo, similar to
how setting required content to "standard" already worked.
2020-04-28 13:31:26 -04:00
yarikoptic
eec1244095 Added a comment 2020-04-27 19:46:22 +00:00
Joey Hess
45d884db9b
comment 2020-04-27 14:15:06 -04:00
Joey Hess
1345f99d85
close not really a bug, and improve fsck man page 2020-04-27 12:13:35 -04:00
jgeerds
a0afbdc400 Added a comment: Pusher crashed: fd:56: hPutStr: illegal operation (handle is closed) 2020-04-27 08:52:11 +00:00
Joey Hess
05add2e19d
add comment 2020-04-23 16:21:11 -04:00
Joey Hess
c05c4e549e
sync: When some remotes to sync with are specified, and --fast is too, pick the lowest cost of the specified remotes
Do not sync with a faster remote that was not specified.

That old behavior was only documented in the changelog, and was certianly
surprising. It also meant adding --fast made it slower..
2020-04-23 16:08:45 -04:00
Joey Hess
3252c4ccca
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-23 15:21:40 -04:00
Joey Hess
2aeb79249b
external: stop storing readonly=true in remote.log
readonly=true is used to make an external special remote that does not
need the external program to be installed. It was stored in the
remote.log by default, and so every time it was specified in an
enableremote or initremote, whatever value was used became the new
default for subsequent enableremotes of that remote.

That was surprising, and I consider it to be a bug.

It does not make much sense to pass it to initremote because then how
would you populate that remote with anything? You would have to
enableremote elsewhere, and store content there. I'm assuming nobody
used it that way.

Someone might rely on passing it to enableremote once, and then that
being inherited in other clones. But that is not how it's documented to
be used. It is barely documented in git-annex at all, only in the
external special remote protocol, and the documentation there says to
"Document that this external special remote can be used in readonly
mode." (by the user of it passing readonly=true to enableremote). The
one external special remote that I know of that does document that is
<https://github.com/bgilbert/gcsannex> (the one that motivated adding
it). That one's docs do say to pass it to enableremote.

So, it seemed safe to make this behavior change. If someone was in fact
relying on one of those behaviors, all their current repos will still
work as they configured them (although they will need to deal
with the related change in 9f3c2dfeda).
In new clones, they will find enableremote fails, complaining the
external program is not in path. An easy enough problem to recover from.
2020-04-23 15:21:26 -04:00
Joey Hess
9f3c2dfeda
stop using remote.name.annex-readonly for two distinct things 2020-04-23 14:56:03 -04:00
thk
697f7b93a2 2020-04-23 15:57:17 +00:00
Joey Hess
cd1676d604
fix bug involving local git remote and out of date location log
get --from, move --from: When used with a local git remote, these used to
silently skip files that the location log thought were present on the
remote, when the remote actually no longer contained them. Since that
behavior could be surprising, now instead display a warning.

I got very confused when I encountered this behavior, since it was silently
skipping a file I needed that whereis said was on the remote.

get without --from already displayed a "unable to access these remotes"
message, which while a bit misleading in that the remote is likely
accessible, but just doesn't contain the file, at least indicated something
went wrong.

Having get --from display a warning makes it in line with get
w/o --from, so seems certianly ok. It might be there are situations where
move --from is used, on eg a whole directory, and the user only wants to
move whatever is present in the remote, and is perfectly ok with files
that are not present being skipped. So I'm less sure about the new warning
being ok there. OTOH, only local git remotes avoiding displaying a warning
in that case too, so this just brings them into line with other remotes.

(Also note that this makes it a little bit faster when dealing with a lot of
files, since it avoids a redundant stat of the file.)
2020-04-21 12:36:58 -04:00
Joey Hess
2f87c6db79
done 2020-04-21 11:30:49 -04:00
Joey Hess
87bab2d7c2
close 2020-04-21 11:29:51 -04:00
Joey Hess
cee6b344b4
cat-file resource pool
Avoid running a large number of git cat-file child processes when run with
a large -J value.

This implementation takes care to avoid adding any overhead to git-annex
when run without -J. When run with -J, there is a small bit of added
overhead, to manipulate the resource pool. That optimisation added a
fair bit of complexity.
2020-04-20 15:19:31 -04:00
Joey Hess
87b7b0f202
comment 2020-04-20 12:06:14 -04:00
Joey Hess
5446379cd9
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-20 10:03:38 -04:00
thk
ffeef75917 2020-04-19 08:15:47 +00:00
Joey Hess
1b2dd74d8d
bug 2020-04-18 23:57:48 -04:00
yarikoptic
6c9c974e55 Added a comment 2020-04-18 02:14:32 +00:00
yarikoptic
67f0407477 Added a comment 2020-04-18 02:05:52 +00:00
Joey Hess
b480ce01f7
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-17 17:47:59 -04:00
Joey Hess
2da760fcae
comment 2020-04-17 17:32:49 -04:00
yarikoptic
a2b2708ab6 Added a comment: quick follow up 2020-04-17 20:34:55 +00:00
Joey Hess
988317634b
comment 2020-04-17 14:11:17 -04:00
Joey Hess
6c39ec9b27
comment 2020-04-17 12:37:28 -04:00
yarikoptic
5dc513ccdb Added a comment 2020-04-16 03:43:13 +00:00
yarikoptic
1705d3657e Added a comment: it is many more "open files" in reality 2020-04-16 03:41:07 +00:00
Joey Hess
ddadc0c1aa
Merge branch 'master' of ssh://git-annex.branchable.com 2020-04-15 14:20:06 -04:00
Joey Hess
891e9a81eb
close bug that was apparently fixed satisfactorally 2020-04-15 14:17:21 -04:00
Joey Hess
a2fed82267
close 2020-04-15 14:15:41 -04:00
Joey Hess
7ef030b576
close old bug since git-annex no longer uses rsync like it used to 2020-04-15 14:08:48 -04:00
kyle
1a040e0c0a Added a comment 2020-04-15 18:02:29 +00:00
Joey Hess
43a9808292
disable journal read optimisation when alwayscommit=false
The journal read optimisation in aeca7c220 later got fixed in eedd73b84
to stage and commit any files that were left in the journal by a
previous git-annex run. That's necessary for the optimisation to work
correctly. But it also meant that alwayscommit=false started committing
the previous git-annex processes journalled changes, which defeated the
purpose of the config setting entirely.

So, disable the optimisation when alwayscommit=false, leaving the
files in the journal and not committing them. See my comments on the bug
report for why this seemed the best approach.

Also fixes a problem when annex.merge-annex-branches=false and there
are changes in the journal. That config indirectly prevents committing
the journal. (Which seems a bit odd given its name, but it always has..)
So, when there were changes in the journal, perhaps left there due to
alwayscommit=false being set before, the optimisation would prevent
git-annex from reading the journal files, and it would operate with out
of date information.
2020-04-15 13:24:33 -04:00
Joey Hess
9f17242f29
comment 2020-04-15 12:48:55 -04:00
Joey Hess
8ac44498d6
comment 2020-04-15 12:43:22 -04:00
Joey Hess
1aa7082c9a
better response 2020-04-15 12:17:57 -04:00
Joey Hess
b241f579c0
hm 2020-04-15 12:14:39 -04:00
Joey Hess
f4d5ec1457
correction 2020-04-15 12:12:11 -04:00
Joey Hess
520ddf1c75
comment 2020-04-15 12:10:51 -04:00
Christoph.Schmidpeter@d3e5d124c7d5459315c2a9f983ab9a70b88e1d03
61ba4d6387 2020-04-15 12:09:08 +00:00
kyle
b11931a4aa bug: alwayscommit=false creating commits 2020-04-14 22:43:34 +00:00
kyle
b60f29f17b Added a comment 2020-04-13 18:58:50 +00:00
Joey Hess
e57aebf6ad
comment 2020-04-13 14:07:23 -04:00
Joey Hess
fbd78cff64
improve documentation 2020-04-13 12:33:35 -04:00
christoph@62dc589e980f444024ff1a9808022914e056f386
893239ed8f rename bugs/fsck_lies_about_checksum__63__.mdwn to bugs/fsck_tells___39__ok__39___also_if_no_file_present.mdwn 2020-04-10 12:06:52 +00:00
christoph@62dc589e980f444024ff1a9808022914e056f386
5c8deb61e1 2020-04-10 12:04:29 +00:00
christoph@62dc589e980f444024ff1a9808022914e056f386
fec5b99901 2020-04-10 12:02:35 +00:00
Chymera
02672e4734 2020-04-08 05:18:15 +00:00
yarikoptic
0209a8f55a Added a comment 2020-04-08 01:08:10 +00:00
Joey Hess
8b75da0521
comment 2020-04-07 14:49:08 -04:00
yarikoptic
5d076ee847 Added a comment 2020-04-07 18:25:46 +00:00
Joey Hess
0b91c0e314
comment 2020-04-07 13:46:10 -04:00
kyle
c8829eedc0 Added a comment 2020-04-07 15:30:55 +00:00
yarikoptic
b7f9f3fdf5 initial remote 2020-04-06 21:35:32 +00:00
kyle
909fcbaae5 bug: wanted=anything and deleted files 2020-04-06 16:51:44 +00:00
Joey Hess
23c1809aab
respond to confused user and close non-bug 2020-04-01 20:40:43 -04:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
3388f53391 2020-04-02 00:36:08 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
6d85c0932b 2020-04-02 00:33:24 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
318f157d16 2020-04-02 00:31:01 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
ae3d84e0b2 2020-04-02 00:30:13 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
a92892bb87 2020-04-02 00:22:34 +00:00
yarikoptic
a180418843 Added a comment 2020-03-31 01:22:54 +00:00
https://openid.jorsn.eu/
5341fbc270 removed error 2020-03-30 22:41:59 +00:00
https://openid.jorsn.eu/
8eb4a82569 2020-03-30 22:41:17 +00:00
vinicius.vin@6d4d58c59c394cd744d469c9d7c41e264331dfcd
3f02d0f8ac Added a comment 2020-03-30 21:02:52 +00:00
Joey Hess
9cc1917295
close 2020-03-30 12:35:41 -04:00
yarikoptic
dd898afb40 Added a comment: Let's just close 2020-03-30 16:32:24 +00:00
Joey Hess
0f6251ac6a
followup 2020-03-30 12:03:38 -04:00
Joey Hess
1aabcd1038
moreinfo 2020-03-30 11:51:03 -04:00
Joey Hess
e6adfa1dc1
close per comments 2020-03-30 11:48:44 -04:00
Ilya_Shlyakhter
f7311ffc9d Added a comment: clarification re: upgrades 2020-03-30 15:24:01 +00:00
vinicius.vin@6d4d58c59c394cd744d469c9d7c41e264331dfcd
86bdda710f Added a comment 2020-03-27 23:04:34 +00:00
Ilya_Shlyakhter
fe8fa1a1e0 Added a comment 2020-03-27 21:12:18 +00:00
Ilya_Shlyakhter
2fd97e780b Added a comment 2020-03-27 21:11:14 +00:00
kyle
fd8a9a54e2 Added a comment: comment: resolved by 7.20191024 2020-03-27 20:49:44 +00:00
Ilya_Shlyakhter
de466ed0ad Added a comment: git add behavior 2020-03-27 20:49:19 +00:00
vinicius.vin@6d4d58c59c394cd744d469c9d7c41e264331dfcd
4cf46f56e2 2020-03-27 20:23:15 +00:00
vinicius.vin@6d4d58c59c394cd744d469c9d7c41e264331dfcd
0784136c3c 2020-03-27 20:19:10 +00:00
kyle
dfee97cd56 Added a comment 2020-03-26 23:32:56 +00:00
Joey Hess
c9ac7aa338
patch applied 2020-03-26 15:18:47 -04:00
Joey Hess
78977ce417
correct inaccurate part of comment 2020-03-26 15:08:12 -04:00
Joey Hess
42d73a3e62
comment 2020-03-26 14:48:54 -04:00
Joey Hess
173465592f
changelog for Kyle's other fix, and close bug 2020-03-26 13:18:41 -04:00
Joey Hess
b426ff6825
minimize lenth of path to gpg agent socket
Considered using the system tmp dir rather than putting it inside .t/,
but then if TEMP were set to a long path, that would be a problem.
Relative path seems the best approach, and will always be nice and
short.

The only downside of it is, if git-annex somehow changes the cwd
while running, it would break. But git-annex does not do that, and
should never do that.
2020-03-26 13:04:24 -04:00
Joey Hess
40c911e427
analysis 2020-03-26 12:41:38 -04:00
Joey Hess
a0d274fed6
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-25 13:05:47 -04:00
Joey Hess
357f783edf
add priority tags 2020-03-25 13:05:09 -04:00
yarikoptic
0397011792 initial report on failing gpg related tests inside singularity container 2020-03-25 00:01:36 +00:00
kyle
a51a94f616 bug: add --force-small submodule 2020-03-23 20:43:01 +00:00
Joey Hess
4b92bbe8d7
webdav: Made exporttree remotes faster by caching connection to the server
Followed example of Remote.S3.
2020-03-20 12:48:43 -04:00
Joey Hess
24255b3c96
confirmed, and open todo for something mentioned in this bug 2020-03-20 12:00:07 -04:00
kyle
83a5467e93 sync adjusted submodule commit 2020-03-18 02:18:03 +00:00
thk
6eacb3e170 2020-03-17 20:45:59 +00:00
thk
fb60296885 2020-03-16 20:47:16 +00:00
thk
df9957823f Added a comment: Please close 2020-03-16 20:46:27 +00:00
thk
cf48c140cf Added a comment 2020-03-16 20:42:55 +00:00
yarikoptic
6be7666f9e Added a comment 2020-03-16 19:54:42 +00:00
Joey Hess
73289afdab
comment 2020-03-16 14:37:57 -04:00
Joey Hess
079656e69c
comment 2020-03-16 14:26:34 -04:00
Joey Hess
21ff99db9a
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-16 14:17:27 -04:00
Joey Hess
949eaec915
comment 2020-03-16 14:04:55 -04:00
yarikoptic
0db8f552cc Added a comment 2020-03-16 17:57:27 +00:00
Joey Hess
19ae730d91
comment 2020-03-16 13:56:16 -04:00
Joey Hess
e77d1badd5
um 2020-03-16 13:34:11 -04:00
Joey Hess
b5899671f1
followup 2020-03-16 13:26:58 -04:00
Joey Hess
df7d8dbd08
followup 2020-03-16 13:18:50 -04:00
Joey Hess
f203475eae
comment 2020-03-16 13:12:18 -04:00
Joey Hess
c8fec6ab03
Fix a minor bug that caused options provided with -c to be passed multiple times to git. 2020-03-16 13:06:44 -04:00
Joey Hess
b166223d48
moreinfo 2020-03-16 12:45:43 -04:00
Joey Hess
0736508b62
comment 2020-03-16 12:28:08 -04:00
thk
2e506c6e1b 2020-03-16 13:03:56 +00:00
jksrecko
364647c38e Added a comment 2020-03-15 09:54:00 +00:00
thk
cb0aef71a1 2020-03-15 09:36:14 +00:00
thk
2c859b6260 Added a comment: Tor remote does not use stdin 2020-03-15 09:35:18 +00:00
jksrecko
5072930a44 Added a comment 2020-03-15 09:13:27 +00:00
Joey Hess
f4b8b46716
comment 2020-03-14 15:50:37 -04:00
Joey Hess
2dcfef4e45
comment 2020-03-14 15:46:53 -04:00
thk
2f54b19d45 2020-03-14 17:55:43 +00:00
thk
97058e2d4d 2020-03-14 17:12:24 +00:00
thk
b32e69ba45 2020-03-14 11:52:03 +00:00
thk
a1c29a35be 2020-03-11 20:19:37 +00:00
kyle
d2571ee35f repeated --config values 2020-03-11 15:25:52 +00:00
scinu
5903d925b6 Added a comment 2020-03-11 04:51:17 +00:00
Ilya_Shlyakhter
d6d7348461 added possible bug report: networkbsd flag default differs in stack.yaml and git-annex.cabal 2020-03-11 03:05:33 +00:00
Ilya_Shlyakhter
ad472941de Added a comment 2020-03-10 22:22:45 +00:00
scinu
1faaa6a031 removed 2020-03-10 22:18:17 +00:00
scinu
86fa67cd54 removed 2020-03-10 22:17:47 +00:00
scinu
8712a4d348 Added a comment 2020-03-10 22:17:20 +00:00
scinu
8d46240c58 Added a comment: layout messed up 2020-03-10 22:11:22 +00:00
scinu
a17f8e1440 Added a comment: Double symlinks 2020-03-10 22:06:48 +00:00
thk
b2f99ef77c 2020-03-10 19:59:15 +00:00
thk
c7a7bfba6e 2020-03-10 19:47:17 +00:00
Joey Hess
081ec23211
comment 2020-03-10 13:29:03 -04:00
scinu
300a6b72d1 Added a comment: more specifics 2020-03-10 03:49:04 +00:00
Joey Hess
4ce518998a
Fix upgrade failure when a file has been deleted from the working tree 2020-03-09 16:59:18 -04:00
Joey Hess
afe72d04ff
fix problems with upgrade of local remotes
Upgrade other repos than the current one by running git-annex upgrade
inside them, which avoids problems with upgrade code making assumptions
that the cwd will be inside the repo being upgraded.

In particular, this fixes a problem where upgrading a v7 repo to v8 caused
an ugly git error message.

I actually could not find a way to make Upgrade.V7 work properly
without changing directory to the remote. Once I got git ls-files to work,
the git cat-file failed because :path can only be used in the current git
repo.
2020-03-09 16:49:28 -04:00
Joey Hess
a4f99765d7
close 2020-03-09 15:47:18 -04:00
Joey Hess
cff20a3beb
response 2020-03-09 15:09:15 -04:00
Joey Hess
3c8eb47d2f
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-09 14:54:44 -04:00
Joey Hess
d930a2035c
Avoid converting .git file in a worktree or submodule to a symlink when the repository is not a git-annex repository.
This means it will still be a .git file when git-annex init runs. That's
ok, the repo probably contains no annexed objects yet, and even if it does,
git-annex init does not care if symlinks in the worktree don't point to the
objects.

I made init, at the end, run the conversion code. Not really necessary
because the next git-annex command could do it just as well. But, this
avoids commands that don't normally write to the repo needing to write to
it, which might avoid some problem or other, and seems worth avoiding
generally.
2020-03-09 14:54:14 -04:00
kyle
c0e7308d01 Added a comment: thanks 2020-03-09 18:29:26 +00:00
Joey Hess
1978a24207
Fix bug that caused unlocked annexed dotfiles to be added to git by the smudge filter when annex.dotfiles was not set. 2020-03-09 14:20:02 -04:00
Joey Hess
96ed67671d
v5 too? 2020-03-09 14:02:20 -04:00
Joey Hess
6dbde41709
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-09 13:54:33 -04:00
Joey Hess
1e46ea1c52
comment 2020-03-09 13:52:07 -04:00
Joey Hess
e57f64ce89
bug report 2020-03-09 13:45:06 -04:00
Joey Hess
798dfa2d1b
comment 2020-03-09 13:14:18 -04:00
scinu
0a725862c3 Added a comment: Problem solved (partially) 2020-03-09 17:00:52 +00:00
Joey Hess
5dbdab415e
followup 2020-03-09 12:57:07 -04:00
Joey Hess
6a91471923
GETCONFIG name fix
Fix regression that prevented external special remotes from using GETCONFIG
to query values like "name". (Introduced in version 7.20200202.7.)
2020-03-09 12:38:04 -04:00
yarikoptic
feec593983 added metadata tot he bug -- datalad 2020-03-08 15:00:14 +00:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
800e5e7ebf 2020-03-08 08:01:00 +00:00
thk
53c3b1ed5e 2020-03-07 12:16:50 +00:00
thk
5321262958 2020-03-07 11:46:33 +00:00
Ilya_Shlyakhter
82b03249cd added bug report: running git annex commands in worktree of a non-git-annex repo changes the .git 2020-03-06 22:15:51 +00:00
kyle
9fc0e8091d behavior of annexed dotfiles in clone 2020-03-06 22:05:44 +00:00
thk
75d382a9f7 2020-03-06 17:38:55 +00:00
yarikoptic
be2e839870 initial report on "Too many open files" on OSX 2020-03-05 20:26:48 +00:00
Ilya_Shlyakhter
ae61ee34c0 Added a comment: atomic/transactional upgrades 2020-03-05 19:10:16 +00:00
MartinL
daed9cb05c 2020-03-05 06:10:28 +00:00
titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16
4e8fe3d311 2020-03-05 01:01:30 +00:00
Joey Hess
5b7cf6ab9e
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-04 13:05:53 -04:00
Joey Hess
88f721549d
Linux standalone: Use md5sum to shorten paths in .cache/git-annex/locales
md5sum is part of busybox, so is probably available unless it were compiled
out. If md5sum (or cut for that matter) is not available, it will
still use the whole path to $base, otherwise hash it.

Of course it's possible for md5sum to be available sometimes and not others
on the same system; in such an event the locales would be built twice for
the same bundle. The cleanup code will delete both sets once that
version of the bundle is upgraded.
2020-03-04 13:04:56 -04:00
Ilya_Shlyakhter
8f413099de Added a comment: locale info caching for standalone git-annex 2020-03-04 17:04:43 +00:00
Joey Hess
4f01a4e2e0
response 2020-03-04 12:57:10 -04:00
Ilya_Shlyakhter
a49b255006 Added a comment: id for locale cache 2020-03-03 23:31:55 +00:00
Ilya_Shlyakhter
ab5cf216bd Added a comment: git-annex standalone and long filenames in locale cache 2020-03-03 22:36:42 +00:00
Ilya_Shlyakhter
1de3bade97 Added a comment: minimum git version 2020-03-03 21:15:07 +00:00
lhunath@3b4ff15f4600f3276d1776a490b734fca0f5c245
e5adeb65f5 Added a comment 2020-03-03 20:33:47 +00:00
yarikoptic
6e72092d0b Added a comment 2020-03-03 17:48:16 +00:00
http://id.pvgoran.name/
8f112b3157 Added a comment 2020-03-03 04:16:35 +00:00
http://id.pvgoran.name/
0061c36df9 Added a comment 2020-03-03 03:19:01 +00:00
http://id.pvgoran.name/
2a5b640ade Added a comment 2020-03-03 03:16:25 +00:00
http://id.pvgoran.name/
d9b890ba40 Added a comment 2020-03-03 02:11:30 +00:00
yarikoptic
4772acdb44 Added a comment 2020-03-02 20:54:12 +00:00
Joey Hess
41a5c47860
merge 2020-03-02 16:08:31 -04:00
Joey Hess
be8589d5e9
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-02 15:54:57 -04:00
Joey Hess
5a72e3be18
comment 2020-03-02 15:43:34 -04:00
Joey Hess
a7c09c3586
comment 2020-03-02 15:35:38 -04:00
yarikoptic
815d03475b Added a comment 2020-03-02 19:23:55 +00:00
Joey Hess
1a8087ace5
respond and close 2020-03-02 14:58:31 -04:00
Joey Hess
716e573514
split up quickcheck tests for hashes and macs
So when one fais, it's clear which one is the problem.
2020-03-02 14:34:48 -04:00
Joey Hess
ddeb7bea99
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-02 13:48:33 -04:00
Joey Hess
c578e8ebfd
close already fixed bug
and document it in the changelog for the release where it was fixed
2020-03-02 13:47:47 -04:00
Joey Hess
b279cef1a2
comment 2020-03-02 13:17:05 -04:00
yarikoptic
9a2a9fd142 reallocated from repronim to datalad and added a link to the commit which fixed it 2020-03-02 17:04:53 +00:00
Joey Hess
a1934434d5
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-02 11:55:50 -04:00
Joey Hess
2911c6887c
link 2020-03-02 11:55:34 -04:00
yarikoptic
b469d6b4f5 Added a comment 2020-02-29 06:10:19 +00:00
http://id.pvgoran.name/
b95f30f611 2020-02-29 05:51:45 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
dba1a09e97 2020-02-28 20:32:26 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
e40f7f3020 Added a comment 2020-02-28 20:20:09 +00:00
yarikoptic
39a463c34a Added a comment 2020-02-28 19:15:22 +00:00
Joey Hess
08feef9952
Merge branch 'master' of ssh://git-annex.branchable.com 2020-02-28 14:58:44 -04:00
Joey Hess
56cb514331
comment 2020-02-28 14:57:49 -04:00
yarikoptic
64531bbaf7 Added a comment 2020-02-28 18:47:27 +00:00
Ilya_Shlyakhter
5b659cebc4 Added a comment: fsck of dead keys 2020-02-28 18:44:21 +00:00
Joey Hess
7ed6392405
comment 2020-02-28 13:58:26 -04:00
Joey Hess
2723165642
comment 2020-02-28 13:54:32 -04:00
Joey Hess
8bd535b1e5
comment 2020-02-28 13:49:26 -04:00
Joey Hess
39e298f1fa
comment 2020-02-28 13:38:37 -04:00
Joey Hess
457c0c89a8
comment 2020-02-28 13:26:43 -04:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
55e95643b2 Added a comment 2020-02-28 15:44:50 +00:00
Ilya_Shlyakhter
e156a2b742 Added a comment: another example of git-annex-fsck reporting dead keys as errors 2020-02-27 21:39:57 +00:00
yarikoptic
8a3a94274f annotate when it was fixed 2020-02-27 17:31:06 +00:00
Joey Hess
eb884085b5
Merge branch 'master' of ssh://git-annex.branchable.com 2020-02-27 11:54:37 -04:00
yarikoptic
18db5a2a91 marking old issue done 2020-02-27 15:53:30 +00:00
yarikoptic
1f50eecbb8 Added a comment 2020-02-27 15:52:10 +00:00
yarikoptic
c579146a3a initial report on annex/objects/.../KEY directory left behind 2020-02-27 15:36:10 +00:00
Joey Hess
c089f395b0
Bugfix: Don't ignore --debug when it is followed by -c 2020-02-27 00:52:37 -04:00
Joey Hess
09b5a77665
retitl 2020-02-26 18:39:09 -04:00
Joey Hess
ce8a034ecd
idea, not impementing today 2020-02-26 18:38:12 -04:00
Joey Hess
535ad3ba75
comment 2020-02-26 18:30:20 -04:00
Joey Hess
66e27f9ed7
Merge branch 'master' of ssh://git-annex.branchable.com 2020-02-26 18:30:08 -04:00
Joey Hess
64639ff9b1
followup and close 2020-02-26 18:29:06 -04:00
yarikoptic
cef703ccb8 removed 2020-02-26 21:00:18 +00:00
yarikoptic
b49a0ca25a Added a comment 2020-02-26 20:58:16 +00:00
yarikoptic
34d726cba6 Added a comment: --debug output 2020-02-26 20:37:00 +00:00
yarikoptic
80b8b55b09 Added a comment: --debug output 2020-02-26 20:36:28 +00:00
yarikoptic
0651e88a56 Added a comment 2020-02-26 20:14:47 +00:00
yarikoptic
1df33a5b3b initial report on --debug , -c interaction 2020-02-26 19:59:48 +00:00
Joey Hess
fed72e0e8e
comment 2020-02-26 15:24:12 -04:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
264c0c5780 Added a comment 2020-02-26 19:15:11 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
93517d7b70 Added a comment 2020-02-26 19:11:53 +00:00
Joey Hess
30979bcc4c
comment 2020-02-26 15:06:38 -04:00
Joey Hess
e520341500
Bugfix to getting content from an export remote with -J, when the export database was not yet populated. 2020-02-26 14:57:29 -04:00
Joey Hess
cb86caf929
comment 2020-02-26 14:21:35 -04:00
Joey Hess
85d9a810e9
response 2020-02-26 14:08:11 -04:00
yarikoptic
c259aedab5 Added a comment 2020-02-26 17:42:51 +00:00
yarikoptic
f765f3a357 Added a comment: requires -c annex.retry=2 to workaround 2020-02-26 17:34:55 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
5d84564a76 removed 2020-02-26 16:39:22 +00:00
yarikoptic
720a7727a1 issue on a stalled enableremote 2020-02-26 16:20:44 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
3e3d72d803 Added a comment: strace 2020-02-26 15:51:10 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
6988256f68 Added a comment: strace 2020-02-26 15:50:50 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
26e7c935af Added a comment 2020-02-26 13:46:22 +00:00
bvaa
456bff66f8 2020-02-26 10:25:47 +00:00
Joey Hess
9dca87311a
comment 2020-02-25 16:39:07 -04:00
Joey Hess
288e07a416
comment 2020-02-25 13:46:51 -04:00
Joey Hess
b4c4e3b853
correction 2020-02-25 13:42:44 -04:00
Joey Hess
7b8ec5023e
comment 2020-02-25 13:41:42 -04:00
Joey Hess
888f6041a7
Merge branch 'master' of ssh://git-annex.branchable.com 2020-02-25 13:34:57 -04:00
Joey Hess
508b962759
comment 2020-02-25 13:34:16 -04:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
e7163c0a1f Added a comment: no traffic getting out 2020-02-25 16:55:25 +00:00
kyle
d536167a03 Added a comment: thanks 2020-02-25 01:20:35 +00:00
Joey Hess
1bb32098d6
jump right to v8, don't stop part way
* init --version: When the version given is one that automatically
  upgrades to a newer version, use the newer version instead.
* Auto upgrades from older repo versions, like v5, now jump right to v8.
2020-02-24 13:21:00 -04:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
ddd3099de9 2020-02-21 21:42:29 +00:00
kyle
c6a66353bb 2020-02-21 21:22:03 +00:00
Joey Hess
17b3c66a61
followup and merge 2020-02-20 13:35:37 -04:00
Joey Hess
be2a9e12bb
close 2020-02-20 13:22:37 -04:00
Joey Hess
029c883713
Merge branch 'master' into v8 2020-02-19 14:32:11 -04:00
Ilya_Shlyakhter
af91e5e5e7 Added a comment: git-annex build-time dependencies 2020-02-18 19:33:35 +00:00
Joey Hess
39864fe1b4
close wontfix 2020-02-17 12:53:27 -04:00
Joey Hess
f4bf2ccc7a
comment 2020-02-17 12:45:00 -04:00
Ilya_Shlyakhter
ae75b673cf Added a comment 2020-02-16 04:05:11 +00:00
yarikoptic
3d4f068796 Added a comment 2020-02-15 04:45:05 +00:00
Ilya_Shlyakhter
703a88a58e Added a comment: ssh caching 2020-02-14 20:53:30 +00:00
Joey Hess
879f52a116
annex.tune.branchhash1=true bugfix
Fix support for repositories tuned with annex.tune.branchhash1=true,
including --all not working and git-annex log not displaying anything for
annexed files.
2020-02-14 15:22:48 -04:00
Joey Hess
c265cf27a0
tag moreinfo 2020-02-14 14:53:39 -04:00
Joey Hess
352963690a
fsck --from remote -J concurrency bug
fsck --from remote: Fix a concurrency bug that could make it incorrectly
detect that content in the remote is corrupt, and remove it, resulting in
data loss.
2020-02-14 14:52:15 -04:00
Joey Hess
399319ccbc
Avoid throwing fatal errors when asked to write to a readonly git remote on http
Test suite found one of them, looking for giveup turned up several more.
2020-02-14 14:38:13 -04:00
Joey Hess
a490947068
annex.sshcaching warning improvement and allow overridding build time default
* When git-annex is built with a ssh that does not support ssh connection
  caching, default annex.sshcaching to false, but let the user override it.
* Improve warning messages further when ssh connection caching cannot
  be used, to clearly state why.
2020-02-14 14:21:03 -04:00
Ilya_Shlyakhter
eb6527197f added bug report re: warning about ssh caching keeps showing 2020-02-12 18:12:10 +00:00
Ilya_Shlyakhter
4074f1aff8 Added a comment: reasons not to have annex.genmetadata default to true 2020-02-10 18:40:54 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
c94cac580d 2020-02-07 14:37:31 +00:00
t+gitannex@1d62779e8b54f30a854739f61542a6885167b01f
9918952a5b Added a comment 2020-02-06 11:07:35 +00:00
Joey Hess
c9357bdc0e
ifdef persistent-template 2.8.0 fixes
The i386ancient build has a ghc too old for these extensions.

Build with persistent-template 2.8.0 tested.
2020-02-04 13:53:00 -04:00
Joey Hess
ee718fb35d
Makefile: Really move the fish completion to the vendor_completions.d directory. 2020-02-04 12:10:09 -04:00
Joey Hess
4920df6573
Fix build with newest version of persistent-template.
This is untested because of rain, also I am operating from truncated
copiler error messages in a bug report that also doesn't mention what the
library version is. Still, it should work.

May break builds with old ghc, in particular DerivingStrategies is
I think fairly new? The pragmas could be ifdefed if necessary. Works with
ghc 8.6.5.
2020-02-04 12:03:30 -04:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
ae2d42bad4 Added a comment: Change introduced by persistent-sqlite and persistent-template 2020-02-04 15:10:04 +00:00
annex2384@290036d126d86bcec28ee2f2ead549de1f59e90e
f720ea05a9 Added a comment: Using -o metadata? 2020-02-04 03:22:46 +00:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
841fcaeeaf Added a comment: Partial fix only. 2020-02-03 23:47:38 +00:00
Chel
8bc02e5899 Added a comment 2020-02-03 23:34:05 +00:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
c01296be69 Added a comment: Confirmed with macOS 10.14.6 building git-annex-7.20200202.7 2020-02-03 23:10:23 +00:00
Joey Hess
a75aeb5ff4
move comment to right bug and simplify another 2020-02-03 12:51:28 -04:00
Joey Hess
1cfe72c103
Merge branch 'master' of ssh://git-annex.branchable.com 2020-02-02 16:48:58 -04:00
Joey Hess
d44fb89d4f
fix Arbitrary AssociatedFile to not crash when LANG=C
Even letting through things that Data.Char.generalCategory said
wereUppercaseLetter caused the crash. Apparently what's going on is
that, in LANG=C, it does not expect to find unicode chars in a String,
except presumably ones that are surrogates.

But ascii is good enough to test the things we need to test about
associated files.
2020-02-02 16:37:25 -04:00
jeanpmbox-456@7222359de8d1f37a7cf25a519e8faf90a9517b50
3a5a510f18 Added a comment 2020-02-01 11:35:39 +00:00
Joey Hess
cffa2446e8
tagged the past 2 years of open todos and followed up to a few of them
also moved some that were really bug reports to bugs/ and closed a
couple
2020-01-30 15:22:05 -04:00
joon.ch@e354453395d8e8c33990f849b7290777ce693984
e50b2298d3 2020-01-29 18:43:02 +00:00
Joey Hess
98b4291ca8
Merge branch 'master' of ssh://git-annex.branchable.com 2020-01-27 15:38:03 -04:00
Chel
3b917ee5c8 I am talking about myself... 2020-01-26 21:09:53 +00:00
Chel
20768c716c Improved additional information 2020-01-26 21:03:47 +00:00
Chel
4e6b636f7a Bug report: Parallel fsck with same-key files 2020-01-26 20:50:11 +00:00
Chel
072e74ccec 2020-01-26 18:38:58 +00:00
jeanpmbox-456@7222359de8d1f37a7cf25a519e8faf90a9517b50
34d82c5eaa 2020-01-26 16:30:45 +00:00
jeanpmbox-456@7222359de8d1f37a7cf25a519e8faf90a9517b50
d426e414cc disable git-annex autostart in windows 2020-01-26 16:28:48 +00:00
yarikoptic
2e3159f566 failing test report 2020-01-24 14:45:34 +00:00
Joey Hess
e033010276
close 2020-01-23 16:45:27 -04:00
Joey Hess
5c3d06b070
Makefile: Move the fish completion to the vendor_completions.d directory. 2020-01-23 16:42:08 -04:00
Joey Hess
366e398bf0
close 2020-01-23 16:31:12 -04:00
Joey Hess
648cb15fb4
comment 2020-01-23 16:29:14 -04:00
Joey Hess
07a8d6dd65
comment 2020-01-23 15:33:41 -04:00
Joey Hess
342ff4666c
comment 2020-01-23 15:21:31 -04:00
Joey Hess
41d2182298
close 2020-01-23 15:15:25 -04:00
Joey Hess
7ffdc1f10c
comment 2020-01-23 15:08:46 -04:00
Joey Hess
f54286c672
close 2020-01-23 14:51:35 -04:00
yarikoptic
9d822f0d2d Added a comment 2020-01-23 17:52:02 +00:00
Joey Hess
5c3636037b
Display a warning when concurrency is enabled but ssh connection caching is not enabled or won't work due to a crippled filesystem
A warning message is unsatisfying. But erroring out is too hard a failure,
especially since it may well work fine if the user has enabled passwordless
ssh.

I did think about falling back to one ssh connection at a time in this
case, but it would have needed a rework of every ssh call, which
seems far overboard for such a niche problem. There's no single place where
git-annex runs ssh, so no one place that it could block a concurrent call
on a semaphore. And, even if it did fall back to one ssh connection at a
time, it seems to me that doing so without warning the user about the
problem just invites bug reports like "git-annex is ignoring my -J2 and
only doing one download at a time". So a warning is needed, and I suppose
is good enough.
2020-01-23 12:35:46 -04:00
Joey Hess
81b06588a1
close as fixed in DAV library 2020-01-23 11:46:57 -04:00
Joey Hess
1883f7ef8f
support git remotes that need http basic auth
using git credential to get the password

One thing this doesn't do is wrap the password prompting inside the prompt
action. So with -J, the output can be a bit garbled.
2020-01-22 16:16:19 -04:00
Joey Hess
45250c3273
closed the wrong bug 2020-01-22 15:51:35 -04:00
Joey Hess
75059c9f3b
better error message when git config fails to parse remote config
Rather than leaking the name of the temp file, just say the config parse
failed, and where the config was downloaded from.

Not closing the bug report because two issues were reported in the same
bug report, because the universe wants me to continually re-read old
unclosed bug reports to waste my time determining what still needs to be
done.
2020-01-22 13:35:54 -04:00
Joey Hess
6cc1f1dce9
Merge branch 'master' of ssh://git-annex.branchable.com 2020-01-22 12:40:20 -04:00
Joey Hess
6a43bcf6c5
comment 2020-01-22 12:39:55 -04:00
Joey Hess
d227093002
avoid ugly error message
Http remotes that do expose a git config file, but are not initialized
resulted in an ugly and unncessary error message, now sqelched.

When git-annex-shell configlist is run w/o the autoinit field, it may
not generate a uuid for the repository. So in that case, it's not
unexpected for the config it does list to not include a UUID, and
dumping out the config in a warning message is not needed.

If configlist is asked to autoinit and we don't get back a config with a
UUID in it, that suggests some problem, and what we got back may not be
a config at all but some diagnostic message, so it does make sense to
output it then.
2020-01-22 11:57:20 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
0a9be3da30 New bug for fish-completion 2020-01-22 05:33:08 +00:00
dxld
03255dcae4 Added a comment 2020-01-21 19:28:34 +00:00
Joey Hess
8cda10777a
comment 2020-01-21 14:36:29 -04:00
dxld
cdbe776d0f 2020-01-21 11:53:26 +00:00
bastibe
15bc8741c2 2020-01-20 14:57:04 +00:00
AdamSpiers
0b7d11d033 2020-01-06 15:47:14 +00:00
Joey Hess
f9782dd1b1
comment 2020-01-01 14:26:58 -04:00
Joey Hess
2cea674d1e
Merge branch 'master' into v8 2020-01-01 14:26:43 -04:00
cdl+git-annex@b0d37ee10004bd40b9b1bda4c5d4eeec3bde3981
ef6d1e3276 2019-12-31 02:05:11 +00:00
cdl+git-annex@b0d37ee10004bd40b9b1bda4c5d4eeec3bde3981
2b9172e981 2019-12-30 19:25:31 +00:00
sirio@84e81889437b3f6208201a26e428197c6045c337
1383135f75 Added a comment: Duplicate 'gcrypt-id' may be the issue? 2019-12-29 22:10:26 +00:00
kyle
507a860e2e Added a comment 2019-12-28 21:06:46 +00:00
Joey Hess
9a04e2c859
close 2019-12-27 15:08:11 -04:00
Joey Hess
ea3cb7d277
fix a case where file tracked by git unexpectedly becomes annex pointer file
smudge: When annex.largefiles=anything, files that were already stored in
git, and have not been modified could sometimes be converted to being
stored in the annex. Changes in 7.20191024 made this more of a problem.
This case is now detected and prevented.
2019-12-27 15:08:03 -04:00
Joey Hess
b9481c6ba0
comment 2019-12-27 14:52:19 -04:00
Joey Hess
ca4a200c2e
update on variant 2019-12-27 13:17:53 -04:00
Joey Hess
1b71bc4330
followup 2019-12-27 03:04:23 -04:00
Joey Hess
2b821eb225
Merge branch 'master' into sqlite 2019-12-26 15:15:42 -04:00
Joey Hess
293f95c2d6
analysis 2019-12-26 15:05:36 -04:00
yarikoptic
2dffa59f79 added projects/datalad 2019-12-24 14:10:49 +00:00
https://christian.amsuess.com/chrysn
b8ab61d5fd Added a comment: Workaround 2019-12-22 10:50:33 +00:00
https://christian.amsuess.com/chrysn
8ffc58a5d8 link from bug report to submodules to make the affecting bug visible there 2019-12-22 10:02:23 +00:00
https://christian.amsuess.com/chrysn
608d4413d9 report difficulty encountered when using submodules 2019-12-21 20:40:44 +00:00
Joey Hess
14897ec8e2
comment 2019-12-20 16:11:21 -04:00
yarikoptic
1bd6549b72 Added a comment: oh hoh, there is mimeencoding now 2019-12-20 19:54:04 +00:00
yarikoptic
98c9136d4f elaborated on my previous (marked "done") bug report about mimetypes 2019-12-20 19:50:24 +00:00
Joey Hess
f6c18f6940
Merge branch 'bs' into sqlite-bs 2019-12-18 15:14:44 -04:00
Joey Hess
d5628a16b8
Merge branch 'bs' into sqlite-bs 2019-12-18 14:51:03 -04:00
Joey Hess
83a3b1bec4
Merge branch 'master' of ssh://git-annex.branchable.com 2019-12-18 13:48:48 -04:00
kyle
d0e52837bc 2019-12-13 19:08:09 +00:00
Joey Hess
3a14bc8220
bug report 2019-12-12 22:06:42 -05:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
b962471c21 Added a comment 2019-12-12 21:11:58 +00:00
yarikoptic
0ff33261f2 initial issue report on leaking error msgs 2019-12-10 14:28:17 +00:00
Joey Hess
2f9a80d803
merging sqlite and bs branches
Since the sqlite branch uses blobs extensively, there are some
performance benefits, ByteStrings now get stored and retrieved w/o
conversion in some cases like in Database.Export.
2019-12-06 15:30:45 -04:00
yarikoptic
dda81ca26f Added a comment 2019-11-29 18:09:45 +00:00
yarikoptic
dd33f68982 refiled under dandi project - use case is https://gin.g-node.org 2019-11-29 18:06:14 +00:00
ply
8a3c543b3b Added a comment 2019-11-28 11:18:50 +00:00
ply
822962fa5f 2019-11-28 11:10:51 +00:00
yarikoptic
01ee4995c5 Added a comment: related: shouldn't git annex try external remotes to download config? 2019-11-28 01:22:53 +00:00
yarikoptic
7752e73481 initial report on inability to use remotes with authentication cached by git 2019-11-28 01:01:49 +00:00
Joey Hess
d4661959de
Merge branch 'master' into sqlite 2019-11-21 17:26:50 -04:00
xwvvvvwx
f39e5a4219 Added a comment 2019-11-21 17:32:31 +00:00
Joey Hess
24c69a3c1f
comment 2019-11-19 13:14:56 -04:00
Joey Hess
b321526473
OSX link libs into git-core directory
So that binaries in that directory can find the library next to them,
where they get modified to look.

This is a hack; it would be better for OSXMkLibs to build a list of what
libraries are needed where.

Unsure if this is needed due to a recent reversion, or is an older
problem, so updated changelog accordingly.
2019-11-14 18:31:58 -04:00
Joey Hess
842449b086
linuxstandalone: Fix a regression that broke git-remote-https. 2019-11-14 15:08:23 -04:00
Joey Hess
dfd9f4e5a1
Merge branch 'master' of ssh://git-annex.branchable.com 2019-11-14 14:04:20 -04:00
Joey Hess
667d38a8f1
Fix a crash (STM deadlock) when -J is used with multiple files that point to the same key
See the comment for a trace of the deadlock.

Added a new StartStage. New worker threads begin in the StartStage.
Once a thread is ready to do work, it moves away from the StartStage,
and no thread will ever transition back to it.

A thread that blocks waiting on another thread that is processing
the same key will block while in the StartStage. That other thread
will never switch back to the StartStage, and so the deadlock is avoided.
2019-11-14 13:51:09 -04:00
yarikoptic
45ad67c6f0 forgotten /details 2019-11-14 03:28:27 +00:00
yarikoptic
25af2da994 initial report of standalone build regression 2019-11-14 03:27:37 +00:00
Ilya_Shlyakhter
5330e3772f Added a comment: catch-all deadlock breaker 2019-11-13 22:33:59 +00:00
Joey Hess
6e59c652d2
clues 2019-11-13 18:07:44 -04:00
Joey Hess
98954aaf2c
followup 2019-11-13 15:56:59 -04:00
Joey Hess
0096db7b42
much flailing 2019-11-13 15:23:10 -04:00
yarikoptic
31444109a7 initial bug report on parallel get of the same key 2019-11-12 21:47:39 +00:00
Joey Hess
48748acc87
Merge branch 'master' of ssh://git-annex.branchable.com 2019-11-12 14:14:54 -04:00
nhatkhai
b68d19238e 2019-11-12 18:05:56 +00:00
Joey Hess
890330f0fe
make --json-error-messages capture url download errors
Convert Utility.Url to return Either String so the error message can be
displated in the annex monad and so captured.

(When curl is used, its errors are still not caught.)
2019-11-12 13:52:38 -04:00
Joey Hess
6147130e86
Merge branch 'master' into sqlite 2019-11-05 12:59:28 -04:00
Joey Hess
41825195ba
Merge branch 'master' of ssh://git-annex.branchable.com 2019-11-05 12:51:50 -04:00
Joey Hess
3cb2427dbc
fix typo 2019-11-04 14:30:27 -04:00
yarikoptic
ced983d4bf Added a comment: the issue persists 2019-11-01 18:12:27 +00:00
jonjitsu
047e6ce4a3 2019-11-01 11:55:22 +00:00
jonjitsu
32ff08f322 2019-11-01 11:54:28 +00:00
yarikoptic
b6c3b60a5b added meta tags 2019-10-31 12:55:54 +00:00
yarikoptic
e756f8d2a8 initial report on an error message from addurl 2019-10-31 12:55:03 +00:00
Joey Hess
09c7cbbaa8
update for things already fixed in this branch 2019-10-30 13:57:22 -04:00
Joey Hess
f318743f77
rename this so it does not start with a dash 2019-10-23 12:16:12 -04:00
Joey Hess
bbdeb1a1a8
sync: Fix crash when there are submodules and an adjusted branch is checked out
Reverse adjusting the branch uses treeItemToTreeContent, which was missed
when adding submodule support earlier.
2019-10-23 11:52:56 -04:00
Joey Hess
70b306ec34
start at analysis before dental appt 2019-10-22 15:46:34 -04:00
Joey Hess
13d86a9c88
reproduced 2019-10-22 15:33:00 -04:00
Joey Hess
df963469f2
comment 2019-10-22 13:12:57 -04:00
Joey Hess
abb5b675f1
comment 2019-10-22 13:10:28 -04:00
Ilya_Shlyakhter
9a46f17e2c Added a comment: skipping dotfiles 2019-10-21 20:39:09 +00:00
Ilya_Shlyakhter
b8fb0d5cb9 Added a comment: different annex.largefiles setting for git add than for git-annex add 2019-10-21 20:29:07 +00:00
Joey Hess
913ac80d33
close a bug report redundant with an existing todo
copied over the dandi tag

updated the todo, as now that sameas is done it's unblocked
2019-10-21 15:23:04 -04:00
Joey Hess
b94f2c18e1
response 2019-10-21 13:13:21 -04:00
Ilya_Shlyakhter
7c788c1f95 added bug report about unexpectedly ignoring dotfiles 2019-10-21 02:43:48 +00:00
Ilya_Shlyakhter
41b1607aec bug report of testremote failure with AWS S3 2019-10-19 21:22:27 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
7b13db551d Added a comment: Does git annex add do something different to smudge filter add? 2019-10-19 00:51:14 +00:00
Joey Hess
904b175707
Fix build with persistent-2.10.
Added an additional constraint that persistent needs.
This also builds with persistent-2.9.2 without needing any cpp.
2019-10-17 11:58:31 -04:00
Joey Hess
76bb9ca43a
close as fixed in daily build
The too old version will natrually be fixed by the release.
2019-10-17 11:02:43 -04:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
10c9ba3430 Added a comment: Issue is with persistent > 2.9.2 2019-10-17 13:30:28 +00:00
Joey Hess
bf7a22b812
analysis 2019-10-16 10:30:40 -04:00
leej
73f2750aac Added a comment: version error also reproduces on 7.20190912 from kitenet.net (downloaded 8/20/2019) 2019-10-15 23:31:40 +00:00
leej
e9fb1aa203 2019-10-15 22:38:47 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
3ac7fa3524 Added a comment: One other thing to add 2019-10-15 10:44:14 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
17f54fc008 2019-10-15 10:37:39 +00:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
a3fdc23828 2019-10-14 19:14:02 +00:00
yarikoptic
25e78d5f22 initial complaint that cannot use --duplicate and --reinject-duplicates 2019-10-14 14:56:19 +00:00
https://tribut.de/
5f36424eaa Added a comment 2019-10-14 09:33:34 +00:00
yarikoptic
79325b3e66 initial report about missing url= for git-lfs remote 2019-10-09 17:44:14 +00:00
Joey Hess
f4dd7d5191
work around windows having infected git's plumbing
Work around git cat-file --batch's odd stripping of carriage return from
the end of the line (some windows infection), avoiding crashing when the
repo contains a filename ending in a carriage return.
2019-10-08 15:27:05 -04:00
Joey Hess
8966ba2cff
git-annex-standalone.rpm: Fix the git-annex-shell symlink 2019-10-08 14:43:28 -04:00
Joey Hess
53da7f1cf8
update uninit to handle all the v7 stuff
* uninit: Remove several git hooks that git-annex init sets up.
* uninit: Remove the smudge and clean filters that git-annex init sets up.
2019-10-08 14:34:00 -04:00
Joey Hess
1113caa53e
preserve unlocked file mtime when dropping
When dropping an unlocked file, preserve its mtime, which avoids git status
unncessarily running the clean filter on the file.

If the index file has close to the same mtime as a work tree file, git will
not trust the index to be up-to-date, and re-runs the clean filter
unncessarily. Preserving the mtime when depopulating a pointer file avoids
git status doing a little (or maybe a lot) of unncessary work.

There are other places that the mtime could be preserved, including other
places where pointer files are written perhaps, but also
populatePointerFile. But, I don't know of cases where those lead to git
status doing unncessary work, so I just fixed the one I'm aware of for now.
2019-10-08 14:01:12 -04:00
Ilya_Shlyakhter
22a6fcaa24 added report of repeated git index refresh 2019-10-07 18:57:20 +00:00
Dwk
adcc7b3560 2019-10-05 01:36:53 +00:00
svw
98ba417ee6 2019-10-04 06:09:25 +00:00
emerson.f.harkin@41a492cd1104c2c1461a2bed652a04e3842771b3
bf0070d43c rename bugs/Incorrectly_linked_git_annex_shell_in_standalone_tarball.mdwn to bugs/Incorrectly_linked_git_annex_shell_in_standalone_rpm.mdwn 2019-10-03 20:29:38 +00:00
emerson.f.harkin@41a492cd1104c2c1461a2bed652a04e3842771b3
9eb899adeb 2019-10-03 20:27:56 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
18f25f34a7 Added a comment 2019-09-30 22:25:11 +00:00
Joey Hess
3066bdb1fb
fix annex.largefiles largerthan/smallerthan bug
Fix bug in handling of annex.largefiles that use largerthan/smallerthan.
When adding a modified file, it incorrectly used the file size of the old
version of the file, not the current size.

That was the only largefiles limit that didn't directly look at the file on
disk already. Added a new type to keep straight the two different ways such
a limit can be matched. I kind of wanted to extend MatchingFile or FileInfo
to indicate that the matcher is supposed to operate on files from disk or
annex, but it turned out to be too complex to implement it that way.

This also changes the LimitAnnexFiles case when lookupFileKey does not find
a key. It used to fall back to statting the file, now it always returns
False. I doubt the old code could really get to that point, but if it
somehow does, it's better for preferred content matching to be consistent.
2019-09-30 17:15:08 -04:00
Joey Hess
3b8c94fcbd
fix an old bug, open new bug I noticed while confirming the old bug was fixed 2019-09-30 16:30:29 -04:00
Joey Hess
9df7718e15
close 2019-09-30 15:40:15 -04:00
Joey Hess
f2737a5fbe
enable-tor: Run kdesu with -c option. 2019-09-30 15:14:05 -04:00
Joey Hess
2b55a2b882
remotedaemon: Don't list --stop in help since it's not supported.
Also, move out of plumbing section. When using tor, the remotedaemon is
part of the user's workflow, as it runs the tor hidden service.
2019-09-30 14:40:46 -04:00
Joey Hess
a9f078da43
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-30 14:21:23 -04:00
Joey Hess
430e33e3dd
comment 2019-09-30 13:53:50 -04:00
Joey Hess
9a22adf358
comment 2019-09-30 13:40:53 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
8587102c2c add commit SHAs and remove irrelevant logs 2019-09-29 23:49:00 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1c1a724f52 2019-09-29 23:35:29 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
774b0ce342 2019-09-29 22:24:47 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
142f99c64c 2019-09-29 21:01:01 +00:00
Joey Hess
2853df5da2
response 2019-09-27 12:59:10 -04:00
Joey Hess
6a218f7a96
comment 2019-09-27 12:55:16 -04:00
Joey Hess
add8632910
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-27 12:47:30 -04:00
Joey Hess
946ea4b961
bug 2019-09-27 11:51:52 -04:00
yarikoptic
22aa7b290d question about post-receive 2019-09-27 01:48:36 +00:00
oliv5
9220899c8a Added a comment 2019-09-26 20:39:41 +00:00
Joey Hess
06e57449a9
comment 2019-09-26 13:04:50 -04:00
Joey Hess
db1fb97699
comment 2019-09-26 12:40:08 -04:00
Joey Hess
8fa4e4ef81
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-26 12:28:58 -04:00
Joey Hess
ce8f4cb57b
comment 2019-09-26 12:26:34 -04:00
oliv5
2505722d33 Added a comment 2019-09-25 07:41:51 +00:00
Joey Hess
779caed3bc
response 2019-09-24 17:02:38 -04:00
Ilya_Shlyakhter
c0dfd3eaa3 Added a comment: about --json-error-messages 2019-09-24 19:19:20 +00:00
Joey Hess
b7c78c2869
close 2019-09-24 11:08:42 -04:00
Yaroslav Halchenko
6eb8784e7c
Embed projects/{datalad,repronim} tags for the past todo/bugs
Assignment between datalad and repronim might not be 100% right but
approx there depending on the date

Here is the command and its output:

	$> git grep -l '\[\[!meta author=\(yoh\|ben\|yarikoptic\|kyle\)\]\]' | grep -v comment | grep -v assure_correct_names___40 | while read f; do d=$(git log --date=iso $f| awk '/^Date/{print $2;}' | tail -n 1 ); p=datalad; if [[ "$d" =~ 2019-.* ]] || [[ "$d" =~ 2018-1.* ]]; then p=repronim; fi; echo $d $p: $f; sed -i -e "s,\(\[\[\!meta author.*\),\1\n\[\[\!tag projects/$p\]\],g" $f; done
	2017-10-10 datalad: doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__.mdwn
	2017-08-12 datalad: doc/bugs/2_ssh_connection_prompts_for_password.mdwn
	2018-10-22 repronim: doc/bugs/3_tests_fail_while_trying_to_build_fresh_git_annex_6.20181011+git109-gff9ba1f4d.mdwn
	2018-12-20 repronim: doc/bugs/7.20181211+git29-gab4a1bed9_fails_tests_during_neurodebian_build.mdwn
	2016-03-12 datalad: doc/bugs/OSX__58___addurl_--batch_--json_spits_out_shortened_output_string__dies_off_with_4.mdwn
	2018-11-16 repronim: doc/bugs/Please_include_version_of_used_to_build_ghc_within___34__git_annex_version__34__.mdwn
	2016-03-10 datalad: doc/bugs/R__47__O_permissions_are_stalking_me_somehow.mdwn
	2019-07-03 repronim: doc/bugs/Regression_in___96__find_--json__96___output.mdwn
	2017-01-27 datalad: doc/bugs/Too_difficult_if_not_impossible_to_explicitly_add__47__keep_file_under_git___40__not_annex__41___in_v6_without_employing_.gitattributes.mdwn
	2018-12-11 repronim: doc/bugs/Unable_to_addurl_file__58____47____47____47___on_Windows.mdwn
	2019-04-10 repronim: doc/bugs/Unable_to_get__47__addurl_to_http_link__58___download_failed__58___InvalidHeader___34__preload__34__.mdwn
	2019-09-19 repronim: doc/bugs/add_--json_should_provide_a___34__note__34___with_an_error_message_in_case_of_an_error.mdwn
	2016-11-20 datalad: doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__.mdwn
	2016-01-12 datalad: doc/bugs/addurl_--batch__--with-files_doesn__39__t_add_file_into_git_until_pipe_is_closed.mdwn
	2016-01-15 datalad: doc/bugs/addurl_--batch___40__--json_or_not__41___doesn__39__t_report_failure_correctly_if_non-annexed_file_exists.mdwn
	2016-05-23 datalad: doc/bugs/addurl_--batch_decides_to_talk_to_ssh_remotes_for_some_reason.mdwn
	2016-01-11 datalad: doc/bugs/addurl_--file__causes_file_redownload_even_if_it_already_present.mdwn
	2019-03-18 repronim: doc/bugs/addurl_fails_with_non-youtube_url_with___34__This_url_is_supported_by_youtube-dl__44___but_youtube-dl_could_potentially_access_any_address__34__.mdwn
	2016-12-04 datalad: doc/bugs/annex_add_ignores_.-prefixed_directories.mdwn
	2017-03-22 datalad: doc/bugs/annex_doesn__39__t_fixup_symlinks_when___34__git_commit_path__95__to__95__repo__34___is_used.mdwn
	2016-07-12 datalad: doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp.mdwn
	2016-04-26 datalad: doc/bugs/annex_drop_is_not___34__in_effect__34___for_load_which_was___34__addurl_--batch__34__ed_but_not_yet_committed.mdwn
	2018-09-25 datalad: doc/bugs/annex_get_-J_16_via_ssh_stalls_.mdwn
	2019-06-05 repronim: doc/bugs/annex_init_no_longer_generates_default_description.mdwn
	2018-03-27 datalad: doc/bugs/annex_metadata___40__not_--batch__39__ed__41___is_not_aware_of_files_added_via_addurls_--batch.mdwn
	2018-11-12 repronim: doc/bugs/annex_sets_remote___40__regular_http__41___to_be_ignored_while_running_in_docker_container.mdwn
	2018-02-23 datalad: doc/bugs/annex_sync___40__in_direct_mode_only__41___does_not_actually_update_local_branch__47__tree.mdwn
	2018-05-04 datalad: doc/bugs/annex_view_barfs__fatal__58___Unable_to_add___40__null__41___to_database.mdwn
	2016-09-09 datalad: doc/bugs/autoenable__61__true_seems_to_not_work_any_longer.mdwn
	2015-11-20 datalad: doc/bugs/autostart__47__git-annex.desktop_gets_resurrected.mdwn
	2016-03-29 datalad: doc/bugs/awkward_error_from_annex_whenever_operating_on_a_clone_with_submodules.mdwn
	2016-11-08 datalad: doc/bugs/cannot___34__install__34___standalone_git_annex_within_afs_mount.mdwn
	2017-03-17 datalad: doc/bugs/cannot___40__or_how__63____41___to_pass_socket_path_with_a_space_in_its_path_via_annex-ssh-options.mdwn
	2018-08-08 datalad: doc/bugs/cannot_commit___34__annex_add__34__ed_modified_file_which_switched_its_largefile_status_to_be_committed_to_git_now.mdwn
	2017-01-20 datalad: doc/bugs/clash_of_-j__in_copy_for_--json_--json-progress.mdwn
	2017-03-01 datalad: doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn
	2017-02-10 datalad: doc/bugs/could_standalone_copy_of_git_ship__47__deploy_hooks_samples_as_well_as_stock_git__63__.mdwn
	2015-11-12 datalad: doc/bugs/does_not_complain__47__fail_if_by_mistake_option_value_passed_within_arg_for__-c.mdwn
	2016-07-14 datalad: doc/bugs/drop_blows_on_lustre__58___SQLite3_returned_ErrorIO.mdwn
	2016-04-29 datalad: doc/bugs/dropkey_--batch_--json_--force_is_always_succesfull.mdwn
	2016-02-24 datalad: doc/bugs/duplicate_progress_reports_in_parallel___39__get__39__.mdwn
	2016-04-27 datalad: doc/bugs/encfs_support_--_shouldn__39__t_it_be_treated_as_crippled_already__63__.mdwn
	2019-08-03 repronim: doc/bugs/fails_to___96__get__96___in_parallel_for_a_freshly_clone_from_public_s3_bucket_where_versioning_info_was_forgotten.mdwn
	2019-09-02 repronim: doc/bugs/fails_to_init_under_a_directory_with_a___34__tricky__34___name.mdwn
	2017-07-26 datalad: doc/bugs/fails_to_verify_presence_via_http_while_wget_fetches_it_just_fine.mdwn
	2019-08-13 repronim: doc/bugs/fresh_build_for_neurodebian__58___test_failure.mdwn
	2017-09-13 datalad: doc/bugs/fsck_does_not_detect__47__fix_some_key_directories_correctly.mdwn
	2017-07-30 datalad: doc/bugs/get_--json_fails_whenever_plain_get_works___40__with_https_urls__41__.mdwn
	2018-03-09 datalad: doc/bugs/get_-JX__58____transfer_already_in_progress_..._for_some_files.mdwn
	2017-08-30 datalad: doc/bugs/get_-J___34__fails__34___to_get_files_with_the_same_key.mdwn
	2017-03-15 datalad: doc/bugs/get_-J_cannot_be_used_with_password-based_authentication.mdwn
	2018-02-10 datalad: doc/bugs/get_-J_from_ssh_remote_tries_to_lock_in_home_directory__63__.mdwn
	2019-07-11 repronim: doc/bugs/get_fails_to_place_v7_unlocked_file_content_into_the_file_tree_in_v7_in_repo_with_detached_HEAD.mdwn
	2018-05-06 datalad: doc/bugs/get_from_the_web_remote_fails___40__redirect__63____41___-_lack_of_further_debug_info.mdwn
	2018-09-22 datalad: doc/bugs/get_over_ssh_fails_with___fd__58__19__58___hClose__58___resource_vanished.mdwn
	2016-03-12 datalad: doc/bugs/git-annex__58___content_is_locked__while_trying_to_move_under_NFS_and_pidlock.mdwn
	2019-03-18 repronim: doc/bugs/git-annex_precommit_.__gets_stuck_after_likely_interrupted___96__annex_add__96___call.mdwn
	2016-06-02 datalad: doc/bugs/git_annex_adjust_--unlock_seems_to_cause_migration_of_a_file_to_another_backend.mdwn
	2017-02-06 datalad: doc/bugs/git_annex_info_fails_on_NFS__58___waitToSetLock__58___resource_exhausted___40__No_locks_available__41__.mdwn
	2017-10-25 datalad: doc/bugs/graft__47__graft_cleanup_commits_--_really_needed__63__.mdwn
	2018-03-05 datalad: doc/bugs/howto_guarantee_a_single_instance_of_a_special_remote__63__.mdwn
	2018-09-25 datalad: doc/bugs/impossible_to_login_to_the_website_at_times.mdwn
	2018-02-20 datalad: doc/bugs/impossible_to_perform___34__read-only__34___git_annex_info_without_write_permissions.mdwn
	2016-01-11 datalad: doc/bugs/inconsistent_output_upon_addurl_--batch_complicates_if_not_forbids_reliable_parsing_of_output.mdwn
	2015-12-21 datalad: doc/bugs/info_--json_lists_backend_usage_stats_as_a_list_of_lists.mdwn
	2018-10-11 repronim: doc/bugs/initial_get_-J_on_exported_S3_bucket_fails.mdwn
	2016-01-28 datalad: doc/bugs/lookupkey_started_to_spit_out___34__debug__34___messages_to_stdout.mdwn
	2016-02-09 datalad: doc/bugs/man_page_for_command_misses_actual_command_in_the_synopsis_for_git-annex-checkpresentkey.mdwn
	2018-11-08 repronim: doc/bugs/multiple_ssh_prompts__44___and_thread_blocked_indefinitely_in_an___63____63____63___transaction.mdwn
	2017-02-17 datalad: doc/bugs/mysterious_dependency_of_git_annex_status_output_of_the_added_file.mdwn
	2016-01-15 datalad: doc/bugs/new_whereis_--json_lost_information_about_web_urls_if_other_special_remotes_provide_them.mdwn
	2017-05-25 datalad: doc/bugs/parallel_get_can_fail_some_downloads_and_require_re-getting_.mdwn
	2016-05-01 datalad: doc/bugs/prematurely___40__can__39__t_check_offline__41___marks_remote_as_annex-ignore.mdwn
	2018-05-08 datalad: doc/bugs/regression_-_fails_to_drop_._Exit_code_11_wo_--debug__44___and_1_with_--debug.mdwn
	2017-12-06 datalad: doc/bugs/regression_-_yt__58___prefix_for___34__regular__34___urls.mdwn
	2019-08-23 repronim: doc/bugs/regression__58___fails_to_detect_need_for_pidlock_on_an_NSF_mount.mdwn
	2019-05-09 repronim: doc/bugs/regression__58___http_downloads_redirecting_to_ftp_are_no_longer_supported.mdwn
	2016-10-17 datalad: doc/bugs/remote_repository_must_be_version_6_as_well_to_have_copied_files_appear_correctly.mdwn
	2016-08-05 datalad: doc/bugs/reports_success_when_addurl_--batch__a_file_which_is_.gitignore__39__d.mdwn
	2017-09-26 datalad: doc/bugs/set_metadata_leaks_from_one___40__staged__41___key_to_another_during_rename_of_file.mdwn
	2016-02-15 datalad: doc/bugs/shouldn__39__t_keep_permissions_of_the_ssh_remote__63__.mdwn
	2016-03-09 datalad: doc/bugs/some_tests_fail_while_running_under_NFS.mdwn
	2018-09-18 datalad: doc/bugs/some_transfers_for_get_-J4_fail_over_ssh__47__rsync_and_require_retry.mdwn
	2018-09-25 datalad: doc/bugs/standalone_build_is_slightly_out_of_date.mdwn
	2015-10-28 datalad: doc/bugs/standalone_builds_shouldn__39__t_pollute___126____47__.ssh_with_helpers_merely_upon_annex_init.mdwn
	2016-05-25 datalad: doc/bugs/strips___95___from_extensions_in_E_backends__63__.mdwn
	2016-03-01 datalad: doc/bugs/thread_blocked_indefinitely_in_an_STM_transaction__while_moving_within__a_local_clone.mdwn
	2016-01-15 datalad: doc/bugs/treatment_of_largefiles_is_not_working_for_addurl_--fast___40__or_--relaxed__41__.mdwn
	2018-09-11 datalad: doc/bugs/unable_to_get_from_public_S3_remote_without_clear_reasoning_why.mdwn
	2018-09-25 datalad: doc/bugs/unclear_why_annex_fails_to_get_a_file_from_a_public_S3_bucket_where_it_exported_before.mdwn
	2016-02-08 datalad: doc/bugs/use_of_annex_in_submodule_replaces_.git_with_incorrect_symlink.mdwn
	2016-02-26 datalad: doc/bugs/using_regular_magic_file__warning_pollutes_stderr.mdwn
	2018-09-06 datalad: doc/bugs/v6_-_under_subdir__58___git_add___34__whines__34____44___git_commit___34__blows__34__.mdwn
	2018-09-12 datalad: doc/bugs/whereis_shouldn__39__t_just_crash_if_one_of_the_special_remotes___34__drivers__34___is_not_available.mdwn
	2019-01-21 repronim: doc/bugs/windows__58___autostart_for_annex_64bit_looks_under_x86.mdwn
	2016-01-18 datalad: doc/todo/--batch_for_add.mdwn
	2016-01-18 datalad: doc/todo/--batch_for_find.mdwn
	2016-01-05 datalad: doc/todo/--batch_for_info.mdwn
	2016-10-24 datalad: doc/todo/Allow_for_TRANSFER-SUCCESS_to_report_also_a_URL_where_key_could_now_be_obtained_from.mdwn
	2018-02-05 datalad: doc/todo/INFO_message_for_custom_special_remotes.mdwn
	2018-09-19 datalad: doc/todo/Natively_support_s3__58____47____47___urls___40__for_addurl__44___get__44___etc__41__.mdwn
	2016-07-28 datalad: doc/todo/__39__info_filename__39___to_provide_information_either_content_is_locally_present.mdwn
	2019-04-25 repronim: doc/todo/add_--json-progress_to___96__git_annex_add__96__.mdwn
	2016-04-22 datalad: doc/todo/add_option_to_whereis_to_avoid_network_interactions.mdwn
	2017-03-23 datalad: doc/todo/annex_add___40__-u__124__--update__41___mode.mdwn
	2016-08-05 datalad: doc/todo/annex_merge_--remotes.mdwn
	2017-02-06 datalad: doc/todo/be_able_to_specify_custom_commit_message_for_git-annex_branch_commit.mdwn
	2016-02-10 datalad: doc/todo/checkpresentkey_without_explicit_remote.mdwn
	2018-09-28 datalad: doc/todo/config_setting_to_force_--progress_reporting_for_some_git_calls.mdwn
	2018-09-27 datalad: doc/todo/configuration_option_for_default___34__mode__34___on_crippled_file_systems.mdwn
	2016-06-09 datalad: doc/todo/could_standalone___39__fixed__39___git-annex_binaries_be_prelinked__63__.mdwn
	2016-04-25 datalad: doc/todo/drop_--batch.mdwn
	2016-06-16 datalad: doc/todo/get_--batch.mdwn
	2017-07-21 datalad: doc/todo/git_annex_info___60__remote__62___does_not_list_all_the_parameters_for_the_remote.mdwn
	2016-06-09 datalad: doc/todo/git_annex_info_to_include_information_about_repo_version__63__.mdwn
	2019-04-05 repronim: doc/todo/globus_special_remote_as_a___34__transport__34___layer.mdwn
	2018-02-06 datalad: doc/todo/include_msg_with_possible_reason_why_command___40__e.g._add__41___failed_into_--json_output.mdwn
	2016-07-05 datalad: doc/todo/interface_to_the___34__progress__34___of_annex_operations.mdwn
	2018-05-22 datalad: doc/todo/machine_readable_information_about_reason_of_failure_in_enableremote.mdwn
	2015-11-02 datalad: doc/todo/make_addurl_respect_annex.largefiles_option.mdwn
	2016-02-15 datalad: doc/todo/make_annex_info_more_efficient.mdwn
	2016-05-19 datalad: doc/todo/make_copy_--fast__faster.mdwn
	2016-02-12 datalad: doc/todo/metadata_--batch.mdwn
	2017-02-16 datalad: doc/todo/output_of_wanted___40__and_possibly_group_etc__41___should_not_be_polluted_with___34__informational__34___messages.mdwn
	2014-12-18 datalad: doc/todo/parallel_get.mdwn
	2018-09-28 datalad: doc/todo/prevent_directly_printing_to_stderr_error_from_an_attempt_to_download_remote___47__config_file.mdwn
	2018-08-04 datalad: doc/todo/provide___39__file__39___in_--json-progress_record_for_addurl.mdwn
	2019-01-25 repronim: doc/todo/publicurl_config_for_all_special_remotes.mdwn
	2016-01-19 datalad: doc/todo/return___34__key__34___entry_in_--json_output_for_addurl___40__and_future_add__41___--batch.mdwn
	2019-01-25 repronim: doc/todo/some_way_to_get_a_list_of_options_for_a_special_remote_of_a_given_type.mdwn
	2018-04-28 datalad: doc/todo/support___126____47__.netrc_for_http_access_authentication_specs_as_was_done_when_wget_was_used.mdwn
	2018-01-12 datalad: doc/todo/support_ssh__58____47____47___or_sftp__58____47____47___urls_via___34__built-in__34___ssh_support.mdwn
	2016-08-05 datalad: doc/todo/sync_--branches__to_sync_only_specified_branches___40__e.g._git-annex__41__.mdwn
	2016-10-28 datalad: doc/todo/unlock_--json.mdwn
	2016-10-17 datalad: doc/todo/unlock_--read-only.mdwn
2019-09-21 21:26:15 -04:00
Joey Hess
829ba8e77b
comment 2019-09-20 12:44:15 -04:00
Joey Hess
2282ba0206
close 2019-09-20 12:11:55 -04:00
Ilya_Shlyakhter
cf08c30461 added an issue where commands on unlocked, changed file use its old key 2019-09-19 19:09:31 +00:00
Ilya_Shlyakhter
88fa21b0fe added note that unlocked files with annex.thin should not count as trusted copies 2019-09-19 18:59:44 +00:00
Ilya_Shlyakhter
1c93a14a2b added bug where annex.thin creates what looks like corrupt data 2019-09-19 18:53:00 +00:00
yarikoptic
7e8463ab0b initial report channeled from datalad/issues 2019-09-19 18:40:03 +00:00
Ilya_Shlyakhter
225e0ae105 removed 2019-09-18 20:40:54 +00:00
Ilya_Shlyakhter
b33a2f3fff added small bug report about message printed by git-annex-version 2019-09-18 20:25:43 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
6842443c5b Added a comment 2019-09-18 20:20:34 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
db376fe17f 2019-09-18 20:01:35 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
65f9623f02 2019-09-18 19:42:48 +00:00
Joey Hess
fb318c034c
appears already fixed 2019-09-18 13:47:01 -04:00
Joey Hess
7ae8814d42
close, fixed by ghc 2019-09-18 13:24:57 -04:00
Joey Hess
033e4a02df
close 2019-09-18 13:22:30 -04:00
Joey Hess
d979c7134f
close, fixed in git 2019-09-18 12:56:16 -04:00
Joey Hess
07a936e99b
fix misplaced comment file 2019-09-18 12:55:29 -04:00
Joey Hess
7b72a44696
comment 2019-09-18 12:44:03 -04:00
Ilya_Shlyakhter
398c7dd60e removed 2019-09-16 20:41:51 +00:00
Ilya_Shlyakhter
d9f2e3fbf9 added doc bug report for annex.addunlocked 2019-09-16 20:25:20 +00:00
Joey Hess
27bfcbc02b
followup 2019-09-16 13:43:46 -04:00
Joey Hess
a69d87e984
response 2019-09-16 13:35:22 -04:00
Joey Hess
4a28d5fd66
fixed i386ancient tarball git version to work with v7 2019-09-16 13:17:41 -04:00
Joey Hess
7ca8941b3f
comment 2019-09-13 12:52:46 -04:00
oliv5
05bc379104 2019-09-12 21:15:05 +00:00
Joey Hess
eae5e96473
Merge branch 'v7-default' 2019-09-12 13:47:55 -04:00
Joey Hess
f41c5fa4ae
comment 2019-09-11 15:50:57 -04:00
yarikoptic
c93021ac44 Added a comment 2019-09-11 18:03:12 +00:00
Joey Hess
9317c4a5b3
close all old direct mode issues
except for one issue that was not really specific to direct mode after
all
2019-09-11 13:44:17 -04:00
Joey Hess
753db08973
fixed in process library 2019-09-11 13:10:31 -04:00
Joey Hess
94c75d2bd9
init: Fix a reversion that broke initialization on systems that need to use pid locking
This brings back .git/annex/misctmp, but only for init. If an init
is interrupted while probing using that temp directory, the files it left
will get deleted 1 week later by a subsequent git-annex run.
2019-09-10 13:37:07 -04:00
Joey Hess
f9f9215d2c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-09 15:12:37 -04:00
Joey Hess
f51ebe20aa
forwarded 2019-09-09 15:11:53 -04:00
Ilya_Shlyakhter
267cc39402 Added a comment: git and submodule configs 2019-09-09 18:47:41 +00:00
Joey Hess
63e37b0beb
analysis 2019-09-09 09:44:47 -04:00
Joey Hess
5197a222aa
analysis 2019-09-09 09:43:25 -04:00
yarikoptic
029a952726 Added a comment: archaeological expedition summary 2019-09-09 12:53:17 +00:00
https://tribut.de/
fad7f3096b Added a comment 2019-09-09 09:01:26 +00:00
flixh
ecae180dfe 2019-09-07 12:45:38 +00:00
flixh
d5b5f31107 Added a comment 2019-09-07 11:44:47 +00:00
Joey Hess
e78050c808
followup 2019-09-06 12:31:01 -04:00
Ilya_Shlyakhter
37274b6853 Added a comment: another trace of concurrent copy failure 2019-09-05 06:09:13 +00:00
Ilya_Shlyakhter
eeaa2b44cd added issue re: output of error messages with --json-error-messages 2019-09-03 18:20:34 +00:00
Ilya_Shlyakhter
8acd01334c bug report where git-annex-copy fails with "thread blocked indefinitely in an STM transaction" 2019-09-02 18:26:28 +00:00
Ilya_Shlyakhter
62723b7c45 Added a comment 2019-09-02 15:49:57 +00:00
yarikoptic
c83526fed7 Added a comment: the issue persists in master 2019-09-02 14:17:14 +00:00
yarikoptic
8bc27a5cd7 removed 2019-09-02 14:14:11 +00:00
yarikoptic
3e93585ccc Added a comment: the issue remains (if there were any fixed introduced) 2019-09-02 14:13:07 +00:00
yarikoptic
f951a62210 initial report on problems with unicode directories 2019-09-02 11:52:27 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
bc2cfe2483 2019-09-01 17:10:32 +00:00
yarikoptic
8859e785c3 Added a comment 2019-08-31 13:00:57 +00:00
Joey Hess
1558e03014
Refuse to upgrade direct mode repositories when git is older than 2.22
That git fixed a memory leak that could cause an OOM during the upgrade.

Most git-annex builds have a new enough git already.
OSX git was upgraded with brew.

Linux i386ancient build's git was too old. Upgrading it to a fixed
git didn't work (due to the newer git not working with the old ssh,
https://bugs.chromium.org/p/git/issues/detail?id=7 )

Choices to deal with that were:

* Somehow make direct mode upgrade work with the old git, avoiding its
  OOM problem. One way would be to switch the repo to indirect mode
  first, and so upgrade to a repo with locked files. Not good when
  the filesystem does not support symlinks.
* backport the OOM fix from git 2.22
  (And do what about the version number so git-annex knows it's fixed?)
* backport openssh (and possibly more stuff)
* move the i386ancient build to at least Debian stretch (still backporting git)
  But this will make it no longer work with some of the ancient kernels it
  targets.

Of those, backporting the OOM fix seemed the best approach. Put "oomfix"
in the git version number to indicate it.

I have not automated building the git backport, so here's the patch I
used:

diff -ur orig/git-2.1.4/convert.c git-2.1.4/convert.c
--- orig/git-2.1.4/convert.c	2014-12-18 18:42:18.000000000 +0000
+++ git-2.1.4/convert.c	2019-08-29 20:05:04.371872338 +0100
@@ -404,7 +404,7 @@
 	if (start_async(&async))
 		return 0;	/* error was already reported */

-	if (strbuf_read(&nbuf, async.out, len) < 0) {
+	if (strbuf_read(&nbuf, async.out, 0) < 0) {
 		error("read from external filter %s failed", cmd);
 		ret = 0;
 	}
diff -ur orig/git-2.1.4/GIT-VERSION-GEN git-2.1.4/GIT-VERSION-GEN
--- orig/git-2.1.4/GIT-VERSION-GEN	2014-12-18 18:42:18.000000000 +0000
+++ git-2.1.4/GIT-VERSION-GEN	2019-08-29 20:06:39.132743228 +0100
@@ -1,7 +1,7 @@
 #!/bin/sh

 GVF=GIT-VERSION-FILE
-DEF_VER=v2.1.4
+DEF_VER=v2.1.4.oomfix

 LF='
 '
diff -ur orig/git-2.1.4/configure git-2.1.4/configure
--- orig/git-2.1.4/configure	2014-12-18 18:42:19.000000000 +0000
+++ git-2.1.4/configure	2019-08-29 20:27:45.896380015 +0100
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='git'
 PACKAGE_TARNAME='git'
-PACKAGE_VERSION='2.1.4'
-PACKAGE_STRING='git 2.1.4'
+PACKAGE_VERSION='2.1.4.oomfix'
+PACKAGE_STRING='git 2.1.4.oomfix'
 PACKAGE_BUGREPORT='git@vger.kernel.org'
 PACKAGE_URL=''

diff -ur orig/git-2.1.4/version git-2.1.4/version
--- orig/git-2.1.4/version	2014-12-18 18:42:19.000000000 +0000
+++ git-2.1.4/version	2019-08-29 20:06:17.572545210 +0100
@@ -1 +1 @@
-2.1.4
+2.1.4.oomfix
2019-08-29 15:24:41 -04:00
Joey Hess
c83c82a9c4
followup 2019-08-29 13:25:22 -04:00
Joey Hess
d6e1f09ed2
init: Catch more exceptions when testing locking. 2019-08-29 12:19:07 -04:00
Joey Hess
6b27fc58d0
v7 bug review and cleanup 2019-08-28 12:20:30 -04:00
Joey Hess
7f2bf5a802
followup 2019-08-27 15:41:31 -04:00
Joey Hess
11e3b2397c
update location log for missing content during direct mode conversion
If a direct mode file is deleted or modified, and there are no other
files containing the content, the content was lost. That's a normal
thing that can happen in direct mode, but not in v7, so the upgrade
code has to notice it in order for the location log to be accurate.
2019-08-27 13:54:21 -04:00
Joey Hess
3a0842d9f8
fix bug introduced in direct mode conversion
oops, the code was "if direct && not present" and I removed the direct
which made the wrong path be taken.
2019-08-27 12:29:05 -04:00
Joey Hess
af8a73d539
noticed a problem 2019-08-26 16:41:24 -04:00
yarikoptic
9531f5b6d4 initial report about regression failing to detect need for pidlock 2019-08-23 14:16:11 +00:00
Ilya_Shlyakhter
afe5be0463 Added a comment: another instance of git-annex-sync not being idempotent 2019-08-20 17:08:45 +00:00
Joey Hess
a6933e1629
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-16 14:09:27 -04:00
Joey Hess
7f97575941
Makefile: Changed default zsh completion location to zsh default fpath.
Systems such as Debian that have overridden the default fpath will need to
set ZSH_COMPLETIONS_PATH.

I feel that Debian is causing unncessary complexity by making this change,
and have filed a bug report about it.

This also means that when git-annex is installed with PREFIX=/usr/local
it will use /usr/local/share/zsh/site-functions which works with probably
all versions of zsh.
2019-08-16 14:08:56 -04:00
Ilya_Shlyakhter
09f79e5256 Added a comment: storing checksums for non-checksum keys in metadata 2019-08-16 16:06:29 +00:00
Ilya_Shlyakhter
41fee0b0fc removed 2019-08-16 16:03:41 +00:00
Ilya_Shlyakhter
9f62583717 Added a comment: storing checksums for non-checksum keys in metadata 2019-08-16 16:02:41 +00:00
Joey Hess
b532d69498
add missing build dep of install-completions
Since it runs git-annex to generate the completions files.
2019-08-16 11:42:00 -04:00
Joey Hess
206f9ad7c0
add comment 2019-08-16 11:36:33 -04:00
Joey Hess
fa62c32233
Fix intermittent failure of the test suite
Its repeated opening and writing to the sqlite database somehow caused
inode cache information to occasionally be lost.

This loses code coverage, since running git-annex as a child process
prevents tracking what parts of the code are exercised. I have not looked
at the code coverage in a long time. It would probably be possible to
collect code coverage for the child procesess and merge it together.
2019-08-16 11:11:55 -04:00
Joey Hess
83cdc511da
use GHC not ghc 2019-08-16 11:00:28 -04:00
https://launchpad.net/~felixonmars
14b2a257fb 2019-08-16 07:25:29 +00:00
Joey Hess
b68198d7be
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 21:44:29 -04:00
Joey Hess
61bc26dc40
comment 2019-08-15 21:44:14 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
c131c0f0c5 2019-08-15 22:46:53 +00:00
Joey Hess
7cd2120b23
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 17:45:05 -04:00
Joey Hess
be52546af6
update 2019-08-15 17:30:38 -04:00
Joey Hess
8e2396fcff
bug 2019-08-15 17:17:59 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
7a0ed9dc75 Added a comment 2019-08-15 21:15:09 +00:00
Joey Hess
94e57a7fbc
comment 2019-08-15 15:19:57 -04:00
Joey Hess
c8cca57b3b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 14:48:13 -04:00
Joey Hess
69cefe8190
followup and display rsync exit status 2019-08-15 14:47:22 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
5e5d0e54ca New bug for zsh-completion. 2019-08-15 18:09:47 +00:00
Joey Hess
708fc6567f
S3: Fix encoding when generating public urls of S3 objects.
This code feels worryingly stringily typed, but using URI does not help
because the uriPath still has to be constructed with the right
uri-encoding.
2019-08-15 12:56:46 -04:00
Joey Hess
83fc72653b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 12:37:32 -04:00
Joey Hess
e6c7778345
bug 2019-08-15 12:37:12 -04:00
Ilya_Shlyakhter
cb60968660 Added a comment 2019-08-14 18:40:50 +00:00
Joey Hess
37f5f00923
fixed 2019-08-13 16:45:24 -04:00
Joey Hess
96a5d7c4fc
comment 2019-08-13 15:15:55 -04:00
Joey Hess
d8a0b09506
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-13 15:14:22 -04:00
Joey Hess
dc672863c3
init: Install working hook scripts when run on a crippled filesystem and on Windows 2019-08-13 15:14:17 -04:00
yarikoptic
05d85c757a Added a comment 2019-08-13 18:15:36 +00:00
Joey Hess
4a4a5dd5f9
comment 2019-08-13 13:36:33 -04:00
Joey Hess
386c0ce90a
close handle so windows can stat the file
windows cannot stat a file that another process has open, which caused
this to crash with an exception
2019-08-13 13:26:25 -04:00
Joey Hess
a95de6bcc7
reply 2019-08-13 12:54:46 -04:00
yarikoptic
0e856fd3c2 Original report 2019-08-13 15:53:37 +00:00
Ilya_Shlyakhter
070fbd693e added bug report where git-annex-sync seems not idempotent 2019-08-12 20:50:07 +00:00
yarikoptic
88a78b7d90 Added a comment 2019-08-12 20:15:02 +00:00
Joey Hess
5798d063b0
make test_export_import work on adjusted branch 2019-08-09 14:00:22 -04:00