git-annex.git
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

9 years agodevblog
Joey Hess [Fri, 30 Sep 2016 19:02:27 +0000 (15:02 -0400)]
devblog

9 years agoinclude external special remote process number in debug
Joey Hess [Fri, 30 Sep 2016 18:42:48 +0000 (14:42 -0400)]
include external special remote process number in debug

Not actual pid, because System.Process does not expose that.

9 years agoallow multiple concurrent external special remote processes
Joey Hess [Fri, 30 Sep 2016 18:29:02 +0000 (14:29 -0400)]
allow multiple concurrent external special remote processes

Multiple external special remote processes for the same remote will be
started as needed when using -J.

This should not beak any existing external special remotes, because running
multiple git-annex commands at the same time could already start multiple
processes for the same external special remotes.

9 years agomove externalConfig into ExternalState
Joey Hess [Fri, 30 Sep 2016 17:36:50 +0000 (13:36 -0400)]
move externalConfig into ExternalState

Groundwork to having multiple processes running at once for an external
special remote; each needs its own externalConfig.

9 years agoremove unnecessary mvar
Joey Hess [Fri, 30 Sep 2016 17:17:49 +0000 (13:17 -0400)]
remove unnecessary mvar

9 years agodevblog
Joey Hess [Thu, 29 Sep 2016 21:17:14 +0000 (17:17 -0400)]
devblog

9 years agoMake --json-progress output be shown even when the size of a object is not known.
Joey Hess [Thu, 29 Sep 2016 20:59:48 +0000 (16:59 -0400)]
Make --json-progress output be shown even when the size of a object is not known.

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 29 Sep 2016 20:58:09 +0000 (16:58 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agosummary of progress
Joey Hess [Thu, 29 Sep 2016 20:52:35 +0000 (16:52 -0400)]
summary of progress

9 years agoAdded a comment
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 [Thu, 29 Sep 2016 20:45:48 +0000 (20:45 +0000)]
Added a comment

9 years agoAdd "total-size" field to --json-progress output.
Joey Hess [Thu, 29 Sep 2016 20:29:54 +0000 (16:29 -0400)]
Add "total-size" field to --json-progress output.

9 years agoOptimised git-annex branch log file timestamp parsing. 10% speedup
Joey Hess [Thu, 29 Sep 2016 18:04:53 +0000 (14:04 -0400)]
Optimised git-annex branch log file timestamp parsing. 10% speedup

This sped up git annex find --not --in web from 6.64s to 5.69s.
The optimised parser is probably more like 50% faster than the general one
it replaced.

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 29 Sep 2016 17:37:11 +0000 (13:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agoOptimisations to git-annex branch query and setting, avoiding repeated copies of...
Joey Hess [Thu, 29 Sep 2016 17:36:48 +0000 (13:36 -0400)]
Optimisations to git-annex branch query and setting, avoiding repeated copies of the environment.

Speeds up commands like  "git-annex find --in remote" by over 50%.

Profiling showed that adjustGitEnv was 21% of the time and 37% of the
allocations of that command. It copied the environment each time with
getEnvironment.

The only repeated use of adjustGitEnv is in withIndexFile, which tends to
be run at least once per file. So, it was optimised by keeping a cache of
the environment, which can be reused.

There could be other better ways to optimise this. Maybe get the while
environment once at startup. But, then it would have to be serialized back
out each time running a child process, so I doubt that would be a net win.

It might be better to cache a version of the environment that is
pre-modified to use .git-annex/index. But, profiling doesn't show that
modifying the enviroment is taking any significant time.

9 years agofollowup
Joey Hess [Thu, 29 Sep 2016 15:33:42 +0000 (11:33 -0400)]
followup

9 years ago(no commit message)
yomguy [Thu, 29 Sep 2016 14:29:24 +0000 (14:29 +0000)]

9 years ago(no commit message)
yomguy [Thu, 29 Sep 2016 14:26:12 +0000 (14:26 +0000)]

9 years ago(no commit message)
yomguy [Thu, 29 Sep 2016 14:24:49 +0000 (14:24 +0000)]

9 years agoAdded a comment: Using gitolite 3.6.6 mirror not working with annex
git-annex@5b470e1f6ed6d30997d729f0a8b1c841dea886f1 [Wed, 28 Sep 2016 18:12:56 +0000 (18:12 +0000)]
Added a comment: Using gitolite 3.6.6 mirror not working with annex

9 years agoremove incorrect bit about multiple concurrent transfers, and improve description...
Joey Hess [Mon, 26 Sep 2016 23:19:32 +0000 (19:19 -0400)]
remove incorrect bit about multiple concurrent transfers, and improve description of protocol flow

9 years agotodo
Joey Hess [Mon, 26 Sep 2016 23:06:56 +0000 (19:06 -0400)]
todo

9 years agodevblog
Joey Hess [Mon, 26 Sep 2016 20:53:42 +0000 (16:53 -0400)]
devblog

9 years agocomment
Joey Hess [Mon, 26 Sep 2016 20:53:27 +0000 (16:53 -0400)]
comment

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 26 Sep 2016 20:49:21 +0000 (16:49 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agoOptimisations to time it takes git-annex to walk working tree and find files to work...
Joey Hess [Mon, 26 Sep 2016 20:47:59 +0000 (16:47 -0400)]
Optimisations to time it takes git-annex to walk working tree and find files to work on. Sped up by around 18%.

key2file and file2key were top cost centers according to profiling.
The repeated use of replace was not efficient. This new approach is quite a
lot more efficient.

This commit was sponsored by Denis Dzyubenko on Patreon.

9 years agomore profiling
Joey Hess [Mon, 26 Sep 2016 20:39:18 +0000 (16:39 -0400)]
more profiling

9 years agoprofiling
Joey Hess [Mon, 26 Sep 2016 19:49:42 +0000 (15:49 -0400)]
profiling

9 years ago(no commit message)
sven.rieke@2bfe1de15de1bb402f962e41f9e5bfc1be1cf8d1 [Sun, 25 Sep 2016 15:01:28 +0000 (15:01 +0000)]

9 years ago(no commit message)
sven.rieke@2bfe1de15de1bb402f962e41f9e5bfc1be1cf8d1 [Sun, 25 Sep 2016 15:00:18 +0000 (15:00 +0000)]

9 years ago(no commit message)
madduck [Sun, 25 Sep 2016 13:25:03 +0000 (13:25 +0000)]

9 years agoAdded a comment
PaulK [Sun, 25 Sep 2016 03:08:41 +0000 (03:08 +0000)]
Added a comment

9 years ago(no commit message)
erics [Sun, 25 Sep 2016 02:28:19 +0000 (02:28 +0000)]

9 years agoAdded a comment
erics [Sun, 25 Sep 2016 00:33:57 +0000 (00:33 +0000)]
Added a comment

9 years agoAdded a comment
PaulK [Sat, 24 Sep 2016 04:16:52 +0000 (04:16 +0000)]
Added a comment

9 years agoAdded a comment: +may be "byte-target" field? ;)
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 [Sat, 24 Sep 2016 02:43:22 +0000 (02:43 +0000)]
Added a comment: +may be "byte-target" field? ;)

9 years agoremove cabal.config
Joey Hess [Fri, 23 Sep 2016 15:55:02 +0000 (11:55 -0400)]
remove cabal.config

fixes cabal sdist

9 years agocleanup
Joey Hess [Fri, 23 Sep 2016 13:47:48 +0000 (09:47 -0400)]
cleanup

9 years agoadd news item for git-annex 6.20160923
Joey Hess [Fri, 23 Sep 2016 13:46:19 +0000 (09:46 -0400)]
add news item for git-annex 6.20160923

9 years agoprep release
Joey Hess [Fri, 23 Sep 2016 13:45:46 +0000 (09:45 -0400)]
prep release

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 23 Sep 2016 13:43:03 +0000 (09:43 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agouse System.Directory not Utility.Directory
Joey Hess [Thu, 22 Sep 2016 15:34:55 +0000 (11:34 -0400)]
use System.Directory not Utility.Directory

This module does not use isSymbolicLink so avoid depending on extra
Utility.* stuff, to make it more easily reused elsewhere.

9 years agoavoid needing PartialPrelude
Joey Hess [Thu, 22 Sep 2016 15:29:53 +0000 (11:29 -0400)]
avoid needing PartialPrelude

9 years agouse takeDirectory instead of parentDir
Joey Hess [Thu, 22 Sep 2016 15:25:01 +0000 (11:25 -0400)]
use takeDirectory instead of parentDir

No need for a trailing slash in the directory here, so avoid pulling in an
extra module.

9 years agoavoid using split unnecessarily
Joey Hess [Thu, 22 Sep 2016 15:22:41 +0000 (11:22 -0400)]
avoid using split unnecessarily

I'd like to get rid of all uses of Data.String.Utils eventually..

9 years agoAdded a comment: thanks for considering this!
https://anarc.at/openid/ [Thu, 22 Sep 2016 12:43:12 +0000 (12:43 +0000)]
Added a comment: thanks for considering this!

9 years agoAdded a comment: simpler use case
JasonWoof [Thu, 22 Sep 2016 00:40:08 +0000 (00:40 +0000)]
Added a comment: simpler use case

9 years agoAdded a comment
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7 [Wed, 21 Sep 2016 22:49:56 +0000 (22:49 +0000)]
Added a comment

9 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 21 Sep 2016 22:02:53 +0000 (18:02 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

9 years agopin concurrent-output to a version that works on windows
Joey Hess [Wed, 21 Sep 2016 22:01:46 +0000 (18:01 -0400)]
pin concurrent-output to a version that works on windows

9 years agoRevert "stack.yaml: Update to lts-7.0 (ghc 8)"
Joey Hess [Wed, 21 Sep 2016 22:00:24 +0000 (18:00 -0400)]
Revert "stack.yaml: Update to lts-7.0 (ghc 8)"

This reverts commit e1816031037ea10c536daaf968522a1abba9082b.

This broke the i386ancient autobuilder due to its use of
--flag git-annex:XMPP --flag=git-annex:dbus

-- Failure when adding dependencies:
fdo-notify: needed ((>=0.3)), stack configuration has no specified version
(latest applicable is 0.3.1)
gnutls: needed ((>=0.1.4)), stack configuration has no specified version
(latest applicable is 0.2)
network-protocol-xmpp: needed (-any), stack configuration has no specified
version (latest applicable is 0.4.8)

OSX autobuilder also seems hosed by it, so too soon.

De-revert later..

9 years agodevblog
Joey Hess [Wed, 21 Sep 2016 21:56:50 +0000 (17:56 -0400)]
devblog

9 years agoupdate
Joey Hess [Wed, 21 Sep 2016 21:56:40 +0000 (17:56 -0400)]
update

9 years agocomment
Joey Hess [Wed, 21 Sep 2016 21:53:59 +0000 (17:53 -0400)]
comment

9 years agoAdded a comment: re: regular ssh remote
dave@2ab82f485adf7e2ce787066e35f5f9789bff430b [Wed, 21 Sep 2016 21:30:25 +0000 (21:30 +0000)]
Added a comment: re: regular ssh remote

9 years agoaddurl, importfeed: Improve behavior when file being added is gitignored.
Joey Hess [Wed, 21 Sep 2016 21:21:48 +0000 (17:21 -0400)]
addurl, importfeed: Improve behavior when file being added is gitignored.

9 years agoAdded a comment: re: mangling is normal
dave@2ab82f485adf7e2ce787066e35f5f9789bff430b [Wed, 21 Sep 2016 21:12:16 +0000 (21:12 +0000)]
Added a comment: re: mangling is normal

9 years agocomment
Joey Hess [Wed, 21 Sep 2016 20:46:45 +0000 (16:46 -0400)]
comment