Commit graph

23051 commits

Author SHA1 Message Date
rfourquet
e2527ea17b Added a comment 2017-11-05 12:04:50 +00:00
ynikitenko
93bd227b21 Added a comment: tutorial up to date? 2017-11-03 20:23:12 +00:00
ynikitenko
404c2e9c54 Added a comment: Is it essential to clone from the server? 2017-11-03 11:28:03 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
15e233a763 Fixed typo: changed "an" to "a" in "an new feature" 2017-11-03 00:19:25 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
e1321076cf Fixed typo: changed "copy" to "copies" in "two copy" 2017-11-03 00:07:33 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
72e28dca89 Fixed typo: added "that" to "to require [that] more than one copy of a file exists" 2017-11-02 22:46:47 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
0997912077 Fixed typo: added "to" to "the --size parameter can adjust it [to] test using smaller files" 2017-11-02 22:25:47 +00:00
erics
482c99c4fd FreeBSD port is in devel/*hs-*git-annex (the URL was correct; the text wasn't) 2017-11-02 22:18:53 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
e8f58d9a66 Fixed typo: "repisitory" 2017-11-02 20:39:05 +00:00
ynikitenko
18808923c4 Added a comment: difference with git-annex-fix? 2017-11-02 19:57:48 +00:00
ynikitenko
72305354fb Added a comment: Works 2017-11-02 19:21:43 +00:00
erics
99f37bac50 2017-11-01 21:02:17 +00:00
erics
2fa72fb2cc 2017-11-01 20:59:21 +00:00
erics
ade0370775 2017-11-01 20:56:11 +00:00
erics
8160f093d5 Added a comment: Woops, just found the "contributing" page... 2017-11-01 19:33:08 +00:00
erics
88b489da2b Added a comment: Adventures with stack 2017-11-01 19:19:52 +00:00
Lykos153
10b6551220 grammar... 2017-11-01 15:33:58 +00:00
Lykos153
e88e70954f 2017-11-01 15:30:14 +00:00
Lykos153
9782cb9c14 rename todo/Test_cases_for_exportree_special_remotes.mdwn to todo/Test_cases_for_exporttree_special_remotes.mdwn 2017-11-01 14:15:50 +00:00
Lykos153
8ef0a35852 Fix type exportree 2017-11-01 14:08:54 +00:00
Lykos153
96e41466ba 2017-11-01 13:52:49 +00:00
ynikitenko
6a3298b06d 2017-10-31 20:04:20 +00:00
Joey Hess
11f76af7e8
response 2017-10-31 13:18:52 -04:00
Joey Hess
4ecc852ca0
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-31 13:14:18 -04:00
Joey Hess
fc8f1a7a1a
close bug; copy benchmarking info to new page 2017-10-31 13:13:40 -04:00
yarikoptic
d780958ee0 Added a comment: thanks 2017-10-30 20:04:48 +00:00
Joey Hess
d4429bcf00
close; export 2017-10-30 15:16:09 -04:00
Joey Hess
0b73e6dac5
close 2017-10-30 15:13:25 -04:00
Joey Hess
194c413727
followup 2017-10-30 15:12:23 -04:00
Joey Hess
16b05b7195
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-30 14:53:46 -04:00
Joey Hess
1e20b0e782
followup 2017-10-30 14:53:15 -04:00
Joey Hess
1adcad345a
close 2017-10-30 14:47:19 -04:00
Joey Hess
75ec0227f8
unlock, lock: Support --json. 2017-10-30 14:44:11 -04:00
yarikoptic
46b6b86b08 Added a comment: got it 2017-10-30 18:33:20 +00:00
Joey Hess
325c40afef
followup 2017-10-30 14:23:33 -04:00
Lykos153
856ed7ef76 Added a comment 2017-10-30 18:18:56 +00:00
Joey Hess
5d99094313
comment 2017-10-30 13:15:09 -04:00
Joey Hess
e2017b8adb
followup; close 2017-10-30 13:10:07 -04:00
Joey Hess
68a9c867be
Fix exporting of non-annexed files to external special remotes.
Actual problem is the keyName was set to "Ref \"sha\"", which led to
this follow-on failure since it contained a space.

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

This commit was sponsored by Peter Hogg on Patreon.
2017-10-30 12:47:13 -04:00
Joey Hess
0743ee1bbc
managed to repro 2017-10-30 12:26:49 -04:00
Joey Hess
fb9b4724ba
moreinfo 2017-10-30 12:19:33 -04:00
Joey Hess
81926f638e
responses 2017-10-30 12:10:39 -04:00
Joey Hess
24883e01cd
Fix export of subdir of a branch.
Seems I forgot to fully test that feature when documenting it.

git rev-parse needs a colon after a branch to de-reference the tree
it points to, rather than the commit. But that had it adding an extra
colon when the user specified "branch:subdir". So, check if there is a
colon before adding one.

This commit was sponsored by Francois Marier on Patreon.
2017-10-30 12:02:22 -04:00
Joey Hess
edafe8621e
comment 2017-10-30 11:51:22 -04:00
Lykos153
58179ad49a 2017-10-29 17:57:50 +00:00
ynikitenko
1f5d4766d6 Added a comment: thanks 2017-10-29 16:28:34 +00:00
ynikitenko
769c1d3d37 Added a comment: not so slow 2017-10-27 12:29:12 +00:00
Joey Hess
024b52a624
add news item for git-annex 6.20171026 2017-10-26 14:03:07 -04:00
Joey Hess
d1d027ca10
better describe autobuild 2017-10-26 13:47:47 -04:00
Edward Betts
3a927a0345
correct spelling mistakes
A few spelling fixes for the git-annex devblog.
2017-10-26 10:51:17 -04:00
Joey Hess
5aa9e2f4c0
devblog 2017-10-25 19:47:14 -04:00
Joey Hess
0ae2ac282e
fix gitAnnexLink to not be absolute on Windows
Windows: Fix reversion that caused the path used to link to annexed
content include the drive letter and full path, rather than being
relative. (`git annex fix` will fix up after this problem).

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

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

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

This commit was sponsored by Jack Hill on Patreon.
2017-10-25 19:36:29 -04:00
Joey Hess
4a72b17bd0
bug 2017-10-25 15:57:08 -04:00
Joey Hess
aa0388e37c
reply 2017-10-25 15:42:15 -04:00
Joey Hess
e8eacf96d5
Add day to metadata when annex.genmetadata is enabled.
Thanks, Sean T Parsons
2017-10-25 15:11:38 -04:00
Joey Hess
38c0e09de6
response 2017-10-25 15:04:55 -04:00
Joey Hess
833b3f06cd
build for windows with forked win32 package that has terminateProcessId
Get ugly reversion out of CHANGELOG.

Also, relocated the windows stack.yaml to top, and updated windows build
instructions.

This commit was sponsored by Henrik Riomar on Patreon.
2017-10-25 14:45:23 -04:00
Joey Hess
9f2b7dfc3e
rename this, to fix cloning on windows 2017-10-25 14:04:16 -04:00
Joey Hess
dd6d0cc9af
fix path
git-annex is installed into . by Build/NullSoftInstaller, so use that
for running git-annex test
2017-10-25 00:23:18 -04:00
yarikoptic
b5eb77f1ce asking about "Grafts" 2017-10-25 01:49:24 +00:00
ynikitenko
5387c04712 2017-10-24 19:55:06 +00:00
ynikitenko
19e9576289 Added a comment: same problem 2017-10-24 09:31:07 +00:00
seantparsons
76e0af3153 Added a comment: Since the attachment doesn't appear to be there, here's the content. 2017-10-22 20:32:22 +00:00
seantparsons
138c9efec1 2017-10-22 20:04:43 +00:00
jajpater
0b9dc04a51 Added a comment: Publishing subdir is publishing files but not subdir? 2017-10-20 10:22:25 +00:00
jajpater
003fc0ad01 Added a comment: Works when first using git annex get 2017-10-20 09:59:29 +00:00
jajpater
16cb3ec4fe Added a comment: Also fails when using UUID but differently 2017-10-20 09:47:25 +00:00
jajpater
2e9588356e Added a comment: Problem with publishing subdir. Subdir does not exist, but it does. 2017-10-20 09:21:34 +00:00
ilovezfs
f3ba40cd43 Added a comment 2017-10-19 05:50:13 +00:00
Joey Hess
9fe30b81b7
add news item for git-annex 6.20171018 2017-10-18 15:41:42 -04:00
Joey Hess
6efd2dfc89
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-18 13:35:28 -04:00
Joey Hess
aa5c76c6cd
Merge remote-tracking branch 'gueux/plasma5' 2017-10-18 13:33:33 -04:00
Félix Sipma
79cfae8eaf use plasma 5 location for ServiceMenus files on linux 2017-10-18 14:27:56 +02:00
ghen1
641f898343 2017-10-18 03:40:38 +00:00
Joey Hess
112d63e82a
devblog 2017-10-17 19:07:38 -04:00
Joey Hess
e1ac299ad0
better dup key with -J fix
This avoids all the complication about redundant work discussed in
the previous try at fixing this. At the expense of needing each command
that could have the problem to be patched to simply wrap the action in
onlyActionOn once the key is known. But there do not seem to be many
such commands.

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

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

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

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

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

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

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

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

This commit was supported by the NSF-funded DataLad project.
2017-10-17 17:10:50 -04:00
Joey Hess
594359351c
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-17 13:39:27 -04:00
Joey Hess
9606f6e83a
idea 2017-10-17 13:39:02 -04:00
https://launchpad.net/~barthelemy
65847905ca 2017-10-17 10:17:32 +00:00
85.144.94.148
7e563243ff poll vote (/sdcard/annex) 2017-10-16 21:50:31 +00:00
Joey Hess
d845d8a667
windows autobuilder no longer firewalled 2017-10-16 15:07:51 -04:00
Joey Hess
ffbd9001b5
link to bug 2017-10-16 14:53:18 -04:00
Joey Hess
0c7fee832a
close bug 2017-10-16 14:50:30 -04:00
Joey Hess
bfb44298fb
close bug 2017-10-16 14:13:08 -04:00
Joey Hess
85ed38a574
Avoid repeated checking that files passed on the command line exist.
git annex add, git annex lock etc make multiple seek passes,
and each seek pass checked that files existed. That was unncessary
redundant work.

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

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

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

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

This commit was sponsored by André Pereira on Patreon.
2017-10-11 11:10:33 -04:00
Joey Hess
61dccecad7
Fix build with aws-0.17.
This commit was sponsored by Denis Dzyubenko on Patreon.
2017-10-11 10:57:20 -04:00
Joey Hess
16fde7d4a6
close 2017-10-11 10:48:23 -04:00
matyasbot@fd008517d046c382e18306c0b3db48eb58d45dee
f8fc55c794 Added a comment: pull didn't do anything either 2017-10-11 14:23:29 +00:00
matyasbot@fd008517d046c382e18306c0b3db48eb58d45dee
19a0b07b53 2017-10-11 14:16:57 +00:00
yarikoptic
57d9b76a87 Added a comment 2017-10-10 17:56:47 +00:00
yarikoptic
fe11aaf059 Added a comment 2017-10-10 17:40:08 +00:00
Joey Hess
05bd13187d
response 2017-10-10 13:37:46 -04:00
yarikoptic
fe854fbd41 Added a comment: annex fsck reverts them back to incorrect! 2017-10-10 17:17:12 +00:00
yarikoptic
7cf8fecdec initial report 2017-10-10 17:06:10 +00:00
juh
b76967f0f7 2017-10-10 12:18:38 +00:00
madalu
dc9c435c56 Added a comment 2017-10-09 15:46:09 +00:00
madalu
ca35daf0c7 Added a comment: Reproduction of bug with "pure" stack build 2017-10-09 15:43:16 +00:00
madalu
7821c45428 Added a comment 2017-10-09 14:52:54 +00:00
madalu
de91ffaab5 Added a comment: Second test (without line 134) 2017-10-09 14:40:45 +00:00
madalu
ca71c08634 Added a comment: First test 2017-10-09 14:22:22 +00:00
Marco
92577980fc keybase encrypted git anyone? 2017-10-09 09:37:48 +00:00
xloem
7613a5e81c Added a comment: IPFS Deduplication 2017-10-07 19:46:12 +00:00
Joey Hess
34bb350724
webdav: Make --debug show all webdav operations. 2017-10-07 14:11:32 -04:00
Joey Hess
47aa0c7f73
response 2017-10-07 13:50:43 -04:00
madalu
0c8385ecc7 change wording 2017-10-07 16:38:21 +00:00
madalu
951e1ab816 2017-10-07 15:55:55 +00:00
madalu
5b51f21018 2017-10-06 23:46:48 +00:00
madalu
4fffbcf1e4 Added a comment 2017-10-06 23:45:13 +00:00
madalu
beca3ce2bc removed 2017-10-06 21:49:13 +00:00
yarikoptic
6760007707 Added a comment 2017-10-06 00:38:25 +00:00
yarikoptic
241e5290b6 Added a comment 2017-10-05 20:36:50 +00:00
yarikoptic
a523e7399a Added a comment: also the same for add 2017-10-05 17:00:51 +00:00
https://launchpad.net/~felixonmars
c922622a47 Added a comment 2017-10-05 14:02:03 +00:00
ilovezfs
9b77574113 2017-10-04 01:56:22 +00:00
ilovezfs
e251685a14 2017-10-04 01:43:32 +00:00
Joey Hess
a83ff189d9
add news item for git-annex 6.20171003 2017-10-03 13:19:25 -04:00
Joey Hess
b90e91ccaf
response 2017-10-03 13:18:10 -04:00
StephaneGourichon
14ffdd7792 Fix markup that caused broken link. 2017-10-03 02:52:24 +00:00
Gary
d4c952eadd 2017-10-03 01:03:55 +00:00
Joey Hess
b97f1df667
analysis; probably not a bug 2017-10-02 16:32:37 -04:00
Joey Hess
4891038b41
update 2017-10-02 14:07:10 -04:00
Joey Hess
3cd47f9978
info: Improve cleanup of stale transfer info files.
In my git-annex repos, I found some stale transfer info files
without lock files.

Pass a mode to tryLockExclusive, so it will create the lock file if
not present, and so not fail to clean up such transfer info files.

Normally, transfer info files are accompanied by a lock file.
But, when alwaysRunTransfer is used, the locking can fail
and it will still write the transfer info file. Perhaps there are other
cases too? Note that mkProgressUpdater's meter
writes to the transfer info file too, and it might be possible for
that meter to fire after runTransfer has cleaned up.

This commit was sponsored by andrea rota.
2017-10-02 13:55:26 -04:00
Joey Hess
a99cca6889
response 2017-10-02 12:54:59 -04:00
Joey Hess
161595361c
comment 2017-10-02 12:48:07 -04:00
Joey Hess
a77ae7aa51
answer 2017-10-02 12:42:57 -04:00
Joey Hess
ffb0f6998b
followup 2017-10-02 12:36:56 -04:00
Joey Hess
2bc9fda65a
close old bug which got fixed in the meantime 2017-10-02 12:34:23 -04:00
Joey Hess
6d20ae24dc
Merge branch 'master' of ssh://git-annex.branchable.com 2017-10-02 11:59:30 -04:00
Joey Hess
c778b37e77
you requested his old closed bugs not be deleted yet 2017-10-02 11:58:31 -04:00
Joey Hess
fd0f04b1d0
forgot to add comment 2017-10-02 11:56:11 -04:00
jgoerzen
ade08227c6 Added a comment: A hint? 2017-10-02 02:05:32 +00:00
80d8aa@c71d4a9510ad0353dbcf7df399c2e6bde0012474
e7fc0b1af1 Added a comment: Use existing ssh keys 2017-09-30 17:07:39 +00:00
madalu
c12c37481e Added a comment 2017-09-30 03:07:30 +00:00
Joey Hess
5c32196a37
fix process and FD leak
Fix process and file descriptor leak that was exposed when git-annex was
built with ghc 8.2.1. Apparently ghc has changed its behavior of GC
of open file handles that are pipes to running processes. That
broke git-annex test on OSX due to running out of FDs.

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

This commit was sponsored by Ewen McNeill.
2017-09-29 22:36:08 -04:00
Joey Hess
b14ad56275
Merge branch 'master' of ssh://git-annex.branchable.com 2017-09-29 20:56:45 -04:00
michalrus
0f03ef3700 Added a comment 2017-09-29 20:38:59 +00:00
michalrus
1d744ca94a Added a comment 2017-09-29 20:38:31 +00:00
Joey Hess
799a432b68
comment 2017-09-29 16:26:13 -04:00
Joey Hess
aebe0da529
comment 2017-09-29 15:52:41 -04:00