git-annex.git
9 years agofollowup
Joey Hess [Tue, 18 Oct 2016 15:28:28 +0000 (11:28 -0400)]
followup

9 years agoAssistant, repair: Improved filtering out of git fsck lines about duplicate file...
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.

9 years ago(no commit message)
johannes@12f1850a57e13cc234b5ebf88a5d3ac68915a6c2 [Tue, 18 Oct 2016 10:09:44 +0000 (10:09 +0000)]

9 years agoAdded a comment: fsck filename
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5 [Tue, 18 Oct 2016 04:05:51 +0000 (04:05 +0000)]
Added a comment: fsck filename

9 years agoAdded a comment: why option vs manual chmod
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 [Mon, 17 Oct 2016 23:11:10 +0000 (23:11 +0000)]
Added a comment: why option vs manual chmod

9 years agohmm
Joey Hess [Mon, 17 Oct 2016 21:12:31 +0000 (17:12 -0400)]
hmm

9 years agodevblog
Joey Hess [Mon, 17 Oct 2016 20:50:00 +0000 (16:50 -0400)]
devblog

9 years agoresponse
Joey Hess [Mon, 17 Oct 2016 20:39:42 +0000 (16:39 -0400)]
response

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 17 Oct 2016 20:37:59 +0000 (16:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agoclose
Joey Hess [Mon, 17 Oct 2016 20:36:35 +0000 (16:36 -0400)]
close

9 years agocomment
Joey Hess [Mon, 17 Oct 2016 20:30:43 +0000 (16:30 -0400)]
comment

9 years agoimportfeed: Drop URL parameters from file extension.
Joey Hess [Mon, 17 Oct 2016 20:02:05 +0000 (16:02 -0400)]
importfeed: Drop URL parameters from file extension.

Thanks, James MacMahon.

9 years agoImprove style of offline html build of website.
Joey Hess [Mon, 17 Oct 2016 19:55:49 +0000 (15:55 -0400)]
Improve style of offline html build of website.

9 years agoAdded a comment: re: comment 1
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5 [Mon, 17 Oct 2016 19:54:45 +0000 (19:54 +0000)]
Added a comment: re: comment 1

9 years agofollowup
Joey Hess [Mon, 17 Oct 2016 19:45:01 +0000 (15:45 -0400)]
followup

9 years agoresponse
Joey Hess [Mon, 17 Oct 2016 19:40:21 +0000 (15:40 -0400)]
response

9 years agoresponse
Joey Hess [Mon, 17 Oct 2016 19:38:52 +0000 (15:38 -0400)]
response

9 years agoclose
Joey Hess [Mon, 17 Oct 2016 19:30:33 +0000 (15:30 -0400)]
close

9 years agoresponse
Joey Hess [Mon, 17 Oct 2016 19:29:49 +0000 (15:29 -0400)]
response

9 years agoupgrade: Handle upgrade to v6 when the repository already contains v6 unlocked files...
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.

9 years agorefactor
Joey Hess [Mon, 17 Oct 2016 18:58:33 +0000 (14:58 -0400)]
refactor

9 years agonote
Joey Hess [Mon, 17 Oct 2016 18:21:55 +0000 (14:21 -0400)]
note

9 years agocomment
Joey Hess [Mon, 17 Oct 2016 18:17:27 +0000 (14:17 -0400)]
comment

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 17 Oct 2016 18:08:17 +0000 (14:08 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agolock: Fix edge cases where data loss could occur in v6 mode.
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.

9 years agooriginal whining
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 [Mon, 17 Oct 2016 16:17:59 +0000 (16:17 +0000)]
original whining

9 years agoadded meta for myself
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 [Mon, 17 Oct 2016 15:59:32 +0000 (15:59 +0000)]
added meta for myself

9 years agoinitial suggestion
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 [Mon, 17 Oct 2016 15:58:54 +0000 (15:58 +0000)]
initial suggestion

9 years agoGit Annex Assistant occasionally replaces files with dangling symlinks.
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5 [Sat, 15 Oct 2016 18:42:07 +0000 (18:42 +0000)]
Git Annex Assistant occasionally replaces files with dangling symlinks.

9 years agoAdded a comment: Dumb old me....
https://launchpad.net/~helpunclejackoff [Sat, 15 Oct 2016 10:12:17 +0000 (10:12 +0000)]
Added a comment: Dumb old me....

9 years agoAdded a comment
https://launchpad.net/~stephane-gourichon-lpad [Fri, 14 Oct 2016 07:23:51 +0000 (07:23 +0000)]
Added a comment

9 years agoAdded a comment: git-annex-undo removes files, possibly destroying information? Pleas...
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.

9 years agofix typo
edward [Thu, 13 Oct 2016 21:16:59 +0000 (21:16 +0000)]
fix typo

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 13 Oct 2016 18:04:51 +0000 (14:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agocomment
Joey Hess [Thu, 13 Oct 2016 18:02:15 +0000 (14:02 -0400)]
comment

9 years agoAdded a comment: real happy about optimisations!
https://anarc.at/openid/ [Wed, 12 Oct 2016 15:38:14 +0000 (15:38 +0000)]
Added a comment: real happy about optimisations!

9 years agoadd news item for git-annex 6.20161012
Joey Hess [Wed, 12 Oct 2016 13:38:41 +0000 (09:38 -0400)]
add news item for git-annex 6.20161012

9 years agoreleasing package git-annex version 6.20161012
Joey Hess [Wed, 12 Oct 2016 13:38:03 +0000 (09:38 -0400)]
releasing package git-annex version 6.20161012

9 years agoAdded a comment
barthalion@8758f91921f1def00205716519c57234f128c328 [Tue, 11 Oct 2016 21:00:53 +0000 (21:00 +0000)]
Added a comment

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 11 Oct 2016 20:03:07 +0000 (16:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agodevblog
Joey Hess [Tue, 11 Oct 2016 20:01:32 +0000 (16:01 -0400)]
devblog

9 years agofix tree graft-in bug
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.

9 years agoadd test case for sync_in_adjusted_branch_deleted_recently_added_files
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.

9 years agoAdded a comment: related work
fiatjaf [Tue, 11 Oct 2016 13:35:08 +0000 (13:35 +0000)]
Added a comment: related work

9 years agodevblog
Joey Hess [Mon, 10 Oct 2016 19:03:27 +0000 (15:03 -0400)]
devblog

9 years agosync: Fix bug in adjusted branch merging that could cause recently added files to...
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.

9 years agomore analysis
Joey Hess [Mon, 10 Oct 2016 18:23:24 +0000 (14:23 -0400)]
more analysis

9 years agoreproduce recipe
Joey Hess [Mon, 10 Oct 2016 16:54:21 +0000 (12:54 -0400)]
reproduce recipe

9 years agoAdded a comment: Build on Debian 7.11 AMD64
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

9 years ago(no commit message)
https://launchpad.net/~helpunclejackoff [Sun, 9 Oct 2016 18:42:14 +0000 (18:42 +0000)]

9 years agoMove the env description to the right place
https://launchpad.net/~helpunclejackoff [Sun, 9 Oct 2016 18:41:50 +0000 (18:41 +0000)]
Move the env description to the right place

9 years ago(no commit message)
https://launchpad.net/~helpunclejackoff [Sun, 9 Oct 2016 18:36:52 +0000 (18:36 +0000)]

9 years agoAdded a comment: Workflow Summary
xloem [Sun, 9 Oct 2016 13:39:38 +0000 (13:39 +0000)]
Added a comment: Workflow Summary

9 years agoAdded a comment
xloem [Sun, 9 Oct 2016 12:13:39 +0000 (12:13 +0000)]
Added a comment

9 years agoReporting missing file in locally installed doc causing reduced reading comfort.
https://launchpad.net/~stephane-gourichon-lpad [Sun, 9 Oct 2016 07:16:25 +0000 (07:16 +0000)]
Reporting missing file in locally installed doc causing reduced reading comfort.

9 years agoAdded a comment: Compression level
barthalion@8758f91921f1def00205716519c57234f128c328 [Sat, 8 Oct 2016 18:31:00 +0000 (18:31 +0000)]
Added a comment: Compression level

9 years agoAdded a comment
Tafnzart [Sat, 8 Oct 2016 16:43:54 +0000 (16:43 +0000)]
Added a comment

9 years ago(no commit message)
jwm@affa977977673476597d5d5c7bda464959a9bd9b [Sat, 8 Oct 2016 05:25:28 +0000 (05:25 +0000)]

9 years ago(no commit message)
Tafnzart [Fri, 7 Oct 2016 19:34:17 +0000 (19:34 +0000)]

9 years agorename forum/bittorrent__58___support_offline_operation_and_verification.mdwn to...
http://christian.amsuess.com/chrysn [Fri, 7 Oct 2016 13:47:53 +0000 (13:47 +0000)]
rename forum/bittorrent__58___support_offline_operation_and_verification.mdwn to todo/bittorrent__58___support_offline_operation_and_verification.mdwn

9 years agosuggest bittorrent enhancements
http://christian.amsuess.com/chrysn [Fri, 7 Oct 2016 10:23:26 +0000 (10:23 +0000)]
suggest bittorrent enhancements

9 years agoAdded a comment
yomguy [Fri, 7 Oct 2016 09:15:07 +0000 (09:15 +0000)]
Added a comment

9 years agoAdded a comment: Re: attaching a torrent file to a downloaded and annexed directory
http://christian.amsuess.com/chrysn [Fri, 7 Oct 2016 09:11:56 +0000 (09:11 +0000)]
Added a comment: Re: attaching a torrent file to a downloaded and annexed directory

9 years ago(no commit message)
pot [Thu, 6 Oct 2016 20:13:07 +0000 (20:13 +0000)]

9 years agoAdded a comment: 780 source files....
pot [Thu, 6 Oct 2016 20:05:41 +0000 (20:05 +0000)]
Added a comment: 780 source files....

9 years agoAdded a comment
ddenis [Thu, 6 Oct 2016 16:59:03 +0000 (16:59 +0000)]
Added a comment

9 years agoAdded a comment
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6 [Thu, 6 Oct 2016 10:42:53 +0000 (10:42 +0000)]
Added a comment

9 years agodevblog
Joey Hess [Wed, 5 Oct 2016 21:10:43 +0000 (17:10 -0400)]
devblog

9 years agoresponse
Joey Hess [Wed, 5 Oct 2016 21:02:31 +0000 (17:02 -0400)]
response

9 years agocomment
Joey Hess [Wed, 5 Oct 2016 20:57:10 +0000 (16:57 -0400)]
comment

9 years agoSupport using v3 repositories without upgrading them to v5.
Joey Hess [Wed, 5 Oct 2016 20:29:32 +0000 (16:29 -0400)]
Support using v3 repositories without upgrading them to v5.

An easy change now that supportedVersions is a list. Since v3 and v5 are
identical other than version number, just add v3 to the list.

This commit was sponsored by andrea rota.

9 years agoWhen auto-upgrading a v3 remote, avoid upgrading to version 6, instead keep it at...
Joey Hess [Wed, 5 Oct 2016 20:23:09 +0000 (16:23 -0400)]
When auto-upgrading a v3 remote, avoid upgrading to version 6, instead keep it at version 5.

Fixes a bug introduced with v6 mode that I didn't notice until now.
Probably not many v3 repos left out there, and upgrading them to v6 mode
is not disastrous, only a little premature.

This commit was sponsored by Riku Voipio

9 years agoverified fix on OSX
Joey Hess [Wed, 5 Oct 2016 20:08:49 +0000 (16:08 -0400)]
verified fix on OSX

9 years agocomment
Joey Hess [Wed, 5 Oct 2016 20:02:29 +0000 (16:02 -0400)]
comment

9 years agomoreinfo
Joey Hess [Wed, 5 Oct 2016 19:51:42 +0000 (15:51 -0400)]
moreinfo

9 years agoresponse
Joey Hess [Wed, 5 Oct 2016 19:50:50 +0000 (15:50 -0400)]
response

9 years agoAvoid using a lot of memory when large objects are present in the git repository
Joey Hess [Wed, 5 Oct 2016 19:21:36 +0000 (15:21 -0400)]
Avoid using a lot of memory when large objects are present in the git repository

.. and have to be checked to see if they are a pointed to an annexed file.

Cases where such memory use could occur included, but were not limited to:
  - git commit -a of a large unlocked file (in v5 mode)
  - git-annex adjust when a large file was checked into git directly
Generally, any use of catKey was a potential problem.

Fix by using git cat-file --batch-check to check size before catting.
This adds another git batch process, which is included in the CatFileHandle
for simplicity.

There could be performance impact, anywhere catKey is used. Particularly
likely to affect adjusted branch generation speed, and operations on
unlocked files in v6 mode. Hopefully since the --batch-check and
--batch read the same data, disk buffering will avoid most overhead.
Leaving only the overhead of talking to the process over the pipe and
whatever computation --batch-check needs to do.

This commit was sponsored by Bruno BEAUFILS on Patreon.

9 years agoadd missing case for unknown size with normal output
Joey Hess [Wed, 5 Oct 2016 19:10:24 +0000 (15:10 -0400)]
add missing case for unknown size with normal output

This was lost in previous change, causing a crash in that case.

9 years agocomment
Joey Hess [Wed, 5 Oct 2016 17:30:46 +0000 (13:30 -0400)]
comment

9 years agomoreinfo
Joey Hess [Wed, 5 Oct 2016 17:01:18 +0000 (13:01 -0400)]
moreinfo

9 years agocomments
Joey Hess [Wed, 5 Oct 2016 15:33:08 +0000 (11:33 -0400)]
comments

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 5 Oct 2016 15:29:51 +0000 (11:29 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agoremove localedir file, fix build
Joey Hess [Wed, 5 Oct 2016 15:29:14 +0000 (11:29 -0400)]
remove localedir file, fix build

9 years agoAdded a comment: bittorrent
evilmoo@0c9697a666c2853b3b3229b6646d3a4e849f7ec8 [Wed, 5 Oct 2016 03:53:05 +0000 (03:53 +0000)]
Added a comment: bittorrent

9 years agoAdded a comment
Adam [Tue, 4 Oct 2016 21:24:50 +0000 (21:24 +0000)]
Added a comment

9 years agoLinux standalone: Include locale files in the bundle, and generate locale definition...
Joey Hess [Tue, 4 Oct 2016 20:37:43 +0000 (16:37 -0400)]
Linux standalone: Include locale files in the bundle, and generate locale definition files for the locales in use when starting runshell.

Currently only done for utf-8 locales because the charset can easily be
told for those. Other locales don't include the charset in their name.

The locale definition is generated under git-annex.linux/locales.
So, this only works if the user can write there.

If locale generation fails for any reason, it's silently skipped.

The git-annex-standalone.deb installs the bundle under /usr, so this locale
generation won't work for non-root users.

9 years agoadd LOCPATH to GIT_ANNEX_STANDLONE_ENV
Joey Hess [Tue, 4 Oct 2016 19:32:58 +0000 (15:32 -0400)]
add LOCPATH to GIT_ANNEX_STANDLONE_ENV

9 years agoLinux standalone: Add back the LOCPATH=/dev/null hack to avoid the system locale...
Joey Hess [Tue, 4 Oct 2016 16:52:36 +0000 (12:52 -0400)]
Linux standalone: Add back the LOCPATH=/dev/null hack to avoid the system locale-archive being read.

Version mismatches between the system locale-archive and the glibc in the
bundle have been observed to cause git crashes.

Unfortunately, this causes locales to not be used in the linux standalone
bundle, as was the case until version 6.20160419.

glibc hardcodes the path to /usr/lib/locale/locale-archive and does not
let an environment variable cause a different locale-archive file to be used.

The only other option to include locales in the bundle would be to include
exploded locale definition directories in the bundle for a number of
locales, generated by localedef. But these take at least 300 kb per locale,
and there are a great many locales; it would be hundreds of megabytes to
include them all.

(Hmm, we could include localdef in the bundle, and check LANG in runshell
and compile the locale directories on the fly. This would need
/usr/share/i18n/ and /usr/lib/locale-archive to be included in the bundle.
It's.. doable.)

I know this is going to once again cause users of the bundle to complain
that eg, ls doesn't show their unicode filenames right. Better than strange
crashes though.

9 years agocomment
Joey Hess [Tue, 4 Oct 2016 15:30:41 +0000 (11:30 -0400)]
comment

9 years agoresponse
Joey Hess [Tue, 4 Oct 2016 15:16:39 +0000 (11:16 -0400)]
response

9 years agopoll vote (OpenStack SWIFT)
2a01:cb04:422:dd00:75bc:9129:cb49:31be [Tue, 4 Oct 2016 11:57:43 +0000 (11:57 +0000)]
poll vote (OpenStack SWIFT)

9 years agoAdded a comment: Question
Adam [Tue, 4 Oct 2016 05:27:31 +0000 (05:27 +0000)]
Added a comment: Question

9 years agoAdded a comment: Sketch of implementation, request for comment
https://launchpad.net/~stephane-gourichon-lpad [Sat, 1 Oct 2016 17:25:47 +0000 (17:25 +0000)]
Added a comment: Sketch of implementation, request for comment

9 years agoHow to deal with files that change status from "precious, please keep n copies" to...
https://launchpad.net/~stephane-gourichon-lpad [Sat, 1 Oct 2016 13:36:52 +0000 (13:36 +0000)]
How to deal with files that change status from "precious, please keep n copies" to "junk, please delete it from everywhere you find it, now and forever".

9 years ago(no commit message)
pot [Sat, 1 Oct 2016 11:41:01 +0000 (11:41 +0000)]

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 30 Sep 2016 23:52:14 +0000 (19:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agoconvert TMVars that are never left empty into TVars
Joey Hess [Fri, 30 Sep 2016 23:51:16 +0000 (19:51 -0400)]
convert TMVars that are never left empty into TVars

This is probably more efficient, and it avoids mistakenly leaving them
empty.

9 years ago(no commit message)
ddenis [Fri, 30 Sep 2016 22:06:49 +0000 (22:06 +0000)]

9 years agoAdded a comment: inodes....
pot [Fri, 30 Sep 2016 22:00:31 +0000 (22:00 +0000)]
Added a comment: inodes....

9 years agoAdded a comment: Bash on Windows
ztl8702 [Fri, 30 Sep 2016 19:14:34 +0000 (19:14 +0000)]
Added a comment: Bash on Windows