uldhjjr@93cfe672bbbdd7277ecac9e6da1d9730a3f017ef [Thu, 27 Oct 2016 09:03:19 +0000 (09:03 +0000)]
Added a comment: Нейминг
Joey Hess [Wed, 26 Oct 2016 20:48:35 +0000 (16:48 -0400)]
devblog
Joey Hess [Wed, 26 Oct 2016 20:41:34 +0000 (16:41 -0400)]
Run ssh with ServerAliveInterval 60
So that stalled transfers will be noticed within about 3 minutes,
even if TCPKeepAlive is disabled or doesn't work.
Rather than setting with -o, use -F with another config file,
so that any settings in ~/.ssh/config or /etc/ssh/ssh_config overrides this.
Joey Hess [Wed, 26 Oct 2016 20:18:52 +0000 (16:18 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 19:38:22 +0000 (15:38 -0400)]
enable forwardRetry for command-line transfers
If a transfer fails for some reason, but some data managed to be sent, the
transfer will be retried. (The assistant already did this.)
Possible impacts:
* More ssh prompts if ssh needs to prompt for a password to connect to a
host, or is prompting about some other problem like a ssh key mismatch.
* More data transfer due to retrying, epecially when a remote does not
support resuming a transfer.
In the worst case, a lot of data will be transferred but it fails before
the end, and then all that data gets transferred again plus one byte more;
repeat until it manages to get the whole file.
Joey Hess [Wed, 26 Oct 2016 18:25:54 +0000 (14:25 -0400)]
remove duplicate of top of page
Joey Hess [Wed, 26 Oct 2016 18:24:13 +0000 (14:24 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 18:20:26 +0000 (14:20 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 18:17:47 +0000 (14:17 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 18:13:00 +0000 (14:13 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 18:04:59 +0000 (14:04 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 17:57:20 +0000 (13:57 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 17:49:32 +0000 (13:49 -0400)]
comment
Joey Hess [Wed, 26 Oct 2016 17:44:08 +0000 (13:44 -0400)]
cose
Joey Hess [Wed, 26 Oct 2016 17:35:36 +0000 (13:35 -0400)]
response
Joey Hess [Wed, 26 Oct 2016 17:28:16 +0000 (13:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 26 Oct 2016 17:27:18 +0000 (13:27 -0400)]
comment
Gus [Wed, 26 Oct 2016 17:19:52 +0000 (17:19 +0000)]
Question asked
Joey Hess [Wed, 26 Oct 2016 17:17:19 +0000 (13:17 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 26 Oct 2016 17:16:41 +0000 (13:16 -0400)]
Improve ssh socket cleanup code to skip over the cruft that NFS sometimes puts in a directory when a file is being deleted.
https://launchpad.net/~stephane-gourichon-lpad [Wed, 26 Oct 2016 12:29:50 +0000 (12:29 +0000)]
Added a comment: Not a priority in itself, still feels like a missing piece.
openmedi [Tue, 25 Oct 2016 18:02:56 +0000 (18:02 +0000)]
Added a comment
jonan [Tue, 25 Oct 2016 10:51:29 +0000 (10:51 +0000)]
https://launchpad.net/~stephane-gourichon-lpad [Tue, 25 Oct 2016 07:25:47 +0000 (07:25 +0000)]
Added a comment: This needs to commit first. Any alternative?
IgorGanapolsky [Tue, 25 Oct 2016 01:43:58 +0000 (01:43 +0000)]
Added a comment: Assistant doesn't launch in Android N
IgorGanapolsky [Mon, 24 Oct 2016 18:05:51 +0000 (18:05 +0000)]
Added a comment: Cannot install c2hs
IgorGanapolsky [Mon, 24 Oct 2016 18:05:25 +0000 (18:05 +0000)]
removed
IgorGanapolsky [Mon, 24 Oct 2016 18:04:50 +0000 (18:04 +0000)]
Added a comment: Cannot install c2hs
http://christian.amsuess.com/chrysn [Mon, 24 Oct 2016 13:00:56 +0000 (13:00 +0000)]
Added a comment
initial desire
JohnKozak [Sun, 23 Oct 2016 21:05:57 +0000 (21:05 +0000)]
JohnKozak [Sun, 23 Oct 2016 18:30:21 +0000 (18:30 +0000)]
https://launchpad.net/~stephane-gourichon-lpad [Sun, 23 Oct 2016 18:23:34 +0000 (18:23 +0000)]
Added a comment: Dead project, or just working smoothly? Also, which hat color?
JohnKozak [Sun, 23 Oct 2016 18:17:01 +0000 (18:17 +0000)]
removed
JohnKozak [Sun, 23 Oct 2016 18:16:27 +0000 (18:16 +0000)]
Added a comment: It would be nice to be able to specify multiple --to options
https://launchpad.net/~stephane-gourichon-lpad [Sat, 22 Oct 2016 17:55:13 +0000 (17:55 +0000)]
Added a comment: Lower-case extension backends: +1
Joey Hess [Fri, 21 Oct 2016 16:51:59 +0000 (12:51 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Yaroslav Halchenko [Thu, 20 Oct 2016 03:53:29 +0000 (23:53 -0400)]
ENH: refreshed standalone-build patch and added locales into its build-depends
https://launchpad.net/~stephane-gourichon-lpad [Fri, 21 Oct 2016 09:21:16 +0000 (09:21 +0000)]
Added a comment: git-annex-undo: 3 issues and fix suggestions
ewen [Fri, 21 Oct 2016 06:12:49 +0000 (06:12 +0000)]
Added a comment
Marco [Wed, 19 Oct 2016 03:42:42 +0000 (03:42 +0000)]
Added a comment: 1und1 Online Speicher
Added a comment: synced/* branches necessary on bare repo?
Joey Hess [Tue, 18 Oct 2016 21:06:38 +0000 (17:06 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 18 Oct 2016 20:56:38 +0000 (16:56 -0400)]
test: Deal with gpg-agent behavior change that broke the test suite.
gpg-agent started deleting its socket file on shutdown, and this tickled an
ugly behavior in removeDirectoryRecursive,
https://github.com/haskell/directory/issues/60
Running removeDirectoryRecursive again on exception avoids the problem.
Joey Hess [Tue, 18 Oct 2016 20:16:47 +0000 (16:16 -0400)]
remove unused imports
openmedi [Tue, 18 Oct 2016 17:38:53 +0000 (17:38 +0000)]
Added a comment
openmedi [Tue, 18 Oct 2016 17:37:38 +0000 (17:37 +0000)]
Added a comment
Joey Hess [Tue, 18 Oct 2016 15:28:28 +0000 (11:28 -0400)]
followup
Joey Hess [Tue, 18 Oct 2016 15:19:41 +0000 (11:19 -0400)]
Assistant, repair: Improved filtering out of git fsck lines about duplicate file entries in tree objects.
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5 [Tue, 18 Oct 2016 04:05:51 +0000 (04:05 +0000)]
Added a comment: fsck filename
Added a comment: why option vs manual chmod
Joey Hess [Mon, 17 Oct 2016 21:12:31 +0000 (17:12 -0400)]
hmm
Joey Hess [Mon, 17 Oct 2016 20:50:00 +0000 (16:50 -0400)]
devblog
Joey Hess [Mon, 17 Oct 2016 20:39:42 +0000 (16:39 -0400)]
response
Joey Hess [Mon, 17 Oct 2016 20:37:59 +0000 (16:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 17 Oct 2016 20:36:35 +0000 (16:36 -0400)]
close
Joey Hess [Mon, 17 Oct 2016 20:30:43 +0000 (16:30 -0400)]
comment
Joey Hess [Mon, 17 Oct 2016 20:02:05 +0000 (16:02 -0400)]
importfeed: Drop URL parameters from file extension.
Thanks, James MacMahon.
Joey Hess [Mon, 17 Oct 2016 19:55:49 +0000 (15:55 -0400)]
Improve style of offline html build of website.
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5 [Mon, 17 Oct 2016 19:54:45 +0000 (19:54 +0000)]
Added a comment: re: comment 1
Joey Hess [Mon, 17 Oct 2016 19:45:01 +0000 (15:45 -0400)]
followup
Joey Hess [Mon, 17 Oct 2016 19:40:21 +0000 (15:40 -0400)]
response
Joey Hess [Mon, 17 Oct 2016 19:38:52 +0000 (15:38 -0400)]
response
Joey Hess [Mon, 17 Oct 2016 19:30:33 +0000 (15:30 -0400)]
close
Joey Hess [Mon, 17 Oct 2016 19:29:49 +0000 (15:29 -0400)]
response
Joey Hess [Mon, 17 Oct 2016 19:19:47 +0000 (15:19 -0400)]
upgrade: Handle upgrade to v6 when the repository already contains v6 unlocked files whose content is already present.
Closes https://github.com/datalad/datalad/issues/1020
The use of runWriter in scanUnlockedFiles broke due to this change;
it failed with blocked indefinitely in mvar, because the database write
handle was taken while linkFromAnnex needed to also write to it (to update
the inode cache). So, switched to using a separate runWriter for each call
to addAssociatedFileFast. A little less efficient, but not greatly; the
writes should all still be cached.
Joey Hess [Mon, 17 Oct 2016 18:58:33 +0000 (14:58 -0400)]
refactor
Joey Hess [Mon, 17 Oct 2016 18:21:55 +0000 (14:21 -0400)]
note
Joey Hess [Mon, 17 Oct 2016 18:17:27 +0000 (14:17 -0400)]
comment
Joey Hess [Mon, 17 Oct 2016 18:08:17 +0000 (14:08 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 17 Oct 2016 16:56:26 +0000 (12:56 -0400)]
lock: Fix edge cases where data loss could occur in v6 mode.
In the case where the pointer file is in place, and not the content
of the object, lock's performNew was called with filemodified=True,
which caused it to try to repopulate the object from an unmodified
associated file, of which there were none. So, the content of the object
got thrown away incorrectly. This was the cause (although not the root
cause) of data loss in https://github.com/datalad/datalad/issues/1020
The same problem could also occur when the work tree file is modified,
but the object is not, and lock is called with --force. Added a test case
for this, since it's excercising the same code path and is easier to set up
than the problem above.
Note that this only occurred when the keys database did not have an inode
cache recorded for the annex object. Normally, the annex object would be in
there, but there are of course circumstances where the inode cache is out
of sync with reality, since it's only a cache.
Fixed by checking if the object is unmodified; if so we don't need to
try to repopulate it. This does add an additional checksum to the unlock
path, but it's already checksumming the worktree file in another case,
so it doesn't slow it down overall.
Further investigation found a similar problem occurred when smudge --clean
is called on a file and the inode cache is not populated. cleanOldKeys
deleted the unmodified old object file in this case. This was also
fixed by checking if the object is unmodified.
In general, use of getInodeCaches and sameInodeCache is potentially
dangerous if the inode cache has not gotten populated for some reason.
Better to use isUnmodified. I breifly auited other places that check the
inode cache, and did not see any immediate problems, but it would be easy
to miss this kind of problem.
original whining
added meta for myself
initial suggestion
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5 [Sat, 15 Oct 2016 18:42:07 +0000 (18:42 +0000)]
Git Annex Assistant occasionally replaces files with dangling symlinks.
https://launchpad.net/~helpunclejackoff [Sat, 15 Oct 2016 10:12:17 +0000 (10:12 +0000)]
Added a comment: Dumb old me....
https://launchpad.net/~stephane-gourichon-lpad [Fri, 14 Oct 2016 07:23:51 +0000 (07:23 +0000)]
Added a comment
https://launchpad.net/~stephane-gourichon-lpad [Fri, 14 Oct 2016 07:02:42 +0000 (07:02 +0000)]
Added a comment: git-annex-undo removes files, possibly destroying information? Please explain.
edward [Thu, 13 Oct 2016 21:16:59 +0000 (21:16 +0000)]
fix typo
Joey Hess [Thu, 13 Oct 2016 18:04:51 +0000 (14:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 13 Oct 2016 18:02:15 +0000 (14:02 -0400)]
comment
https://anarc.at/openid/ [Wed, 12 Oct 2016 15:38:14 +0000 (15:38 +0000)]
Added a comment: real happy about optimisations!
Joey Hess [Wed, 12 Oct 2016 13:38:41 +0000 (09:38 -0400)]
add news item for git-annex 6.
20161012
Joey Hess [Wed, 12 Oct 2016 13:38:03 +0000 (09:38 -0400)]
releasing package git-annex version 6.
20161012
Added a comment
Joey Hess [Tue, 11 Oct 2016 20:03:07 +0000 (16:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 11 Oct 2016 20:01:32 +0000 (16:01 -0400)]
devblog
Joey Hess [Tue, 11 Oct 2016 19:36:40 +0000 (15:36 -0400)]
fix tree graft-in bug
When adding a tree like a/b/c/d when a/b already exists, fixes the bug that
the tree that got created was a/b/a/b/c/d
Just need to flatten out the top N directories of the tree that's being
grafted in, so we get the c/d part. This was complicated by the Tree
data type being a rose tree rather than a regular tree.
This commit was sponsored by Nick Daly on Patreon.
Joey Hess [Tue, 11 Oct 2016 18:22:49 +0000 (14:22 -0400)]
add test case for sync_in_adjusted_branch_deleted_recently_added_files
This commit was sponsored by Denis Dzyubenko on Patreon.
fiatjaf [Tue, 11 Oct 2016 13:35:08 +0000 (13:35 +0000)]
Added a comment: related work
Joey Hess [Mon, 10 Oct 2016 19:03:27 +0000 (15:03 -0400)]
devblog
Joey Hess [Mon, 10 Oct 2016 19:00:45 +0000 (15:00 -0400)]
sync: Fix bug in adjusted branch merging that could cause recently added files to be lost when updating the adjusted branch.
The modification flag was not being set when making modifications deep
in a tree, so parent trees were not updated to contain the modified tree.
Seems to have exposed another bug where the wrong filename gets grafted in.
This commit was sponsored by Brock Spratlen on Patreon.
Joey Hess [Mon, 10 Oct 2016 18:23:24 +0000 (14:23 -0400)]
more analysis
Joey Hess [Mon, 10 Oct 2016 16:54:21 +0000 (12:54 -0400)]
reproduce recipe
https://launchpad.net/~stephane-gourichon-lpad [Mon, 10 Oct 2016 06:43:49 +0000 (06:43 +0000)]
Added a comment: Build on Debian 7.11 AMD64
https://launchpad.net/~helpunclejackoff [Sun, 9 Oct 2016 18:42:14 +0000 (18:42 +0000)]
https://launchpad.net/~helpunclejackoff [Sun, 9 Oct 2016 18:41:50 +0000 (18:41 +0000)]
Move the env description to the right place
https://launchpad.net/~helpunclejackoff [Sun, 9 Oct 2016 18:36:52 +0000 (18:36 +0000)]