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)]
xloem [Sun, 9 Oct 2016 13:39:38 +0000 (13:39 +0000)]
Added a comment: Workflow Summary
xloem [Sun, 9 Oct 2016 12:13:39 +0000 (12:13 +0000)]
Added a comment
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.
Added a comment: Compression level
Tafnzart [Sat, 8 Oct 2016 16:43:54 +0000 (16:43 +0000)]
Added a comment
jwm@affa977977673476597d5d5c7bda464959a9bd9b [Sat, 8 Oct 2016 05:25:28 +0000 (05:25 +0000)]
Tafnzart [Fri, 7 Oct 2016 19:34:17 +0000 (19:34 +0000)]
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
http://christian.amsuess.com/chrysn [Fri, 7 Oct 2016 10:23:26 +0000 (10:23 +0000)]
suggest bittorrent enhancements
yomguy [Fri, 7 Oct 2016 09:15:07 +0000 (09:15 +0000)]
Added a comment
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
pot [Thu, 6 Oct 2016 20:13:07 +0000 (20:13 +0000)]
pot [Thu, 6 Oct 2016 20:05:41 +0000 (20:05 +0000)]
Added a comment: 780 source files....
ddenis [Thu, 6 Oct 2016 16:59:03 +0000 (16:59 +0000)]
Added a comment
jk@3f2b4ce16bbac41470815333505aa47b91b7a9a6 [Thu, 6 Oct 2016 10:42:53 +0000 (10:42 +0000)]
Added a comment
Joey Hess [Wed, 5 Oct 2016 21:10:43 +0000 (17:10 -0400)]
devblog
Joey Hess [Wed, 5 Oct 2016 21:02:31 +0000 (17:02 -0400)]
response
Joey Hess [Wed, 5 Oct 2016 20:57:10 +0000 (16:57 -0400)]
comment
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.
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
Joey Hess [Wed, 5 Oct 2016 20:08:49 +0000 (16:08 -0400)]
verified fix on OSX
Joey Hess [Wed, 5 Oct 2016 20:02:29 +0000 (16:02 -0400)]
comment
Joey Hess [Wed, 5 Oct 2016 19:51:42 +0000 (15:51 -0400)]
moreinfo
Joey Hess [Wed, 5 Oct 2016 19:50:50 +0000 (15:50 -0400)]
response
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.
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.
Joey Hess [Wed, 5 Oct 2016 17:30:46 +0000 (13:30 -0400)]
comment
Joey Hess [Wed, 5 Oct 2016 17:01:18 +0000 (13:01 -0400)]
moreinfo
Joey Hess [Wed, 5 Oct 2016 15:33:08 +0000 (11:33 -0400)]
comments
Joey Hess [Wed, 5 Oct 2016 15:29:51 +0000 (11:29 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 5 Oct 2016 15:29:14 +0000 (11:29 -0400)]
remove localedir file, fix build
Added a comment: bittorrent
Adam [Tue, 4 Oct 2016 21:24:50 +0000 (21:24 +0000)]
Added a comment
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.
Joey Hess [Tue, 4 Oct 2016 19:32:58 +0000 (15:32 -0400)]
add LOCPATH to GIT_ANNEX_STANDLONE_ENV
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.
Joey Hess [Tue, 4 Oct 2016 15:30:41 +0000 (11:30 -0400)]
comment
Joey Hess [Tue, 4 Oct 2016 15:16:39 +0000 (11:16 -0400)]
response
2a01:cb04:422:dd00:75bc:9129:cb49:31be [Tue, 4 Oct 2016 11:57:43 +0000 (11:57 +0000)]
poll vote (OpenStack SWIFT)
Adam [Tue, 4 Oct 2016 05:27:31 +0000 (05:27 +0000)]
Added a comment: Question
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
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".
pot [Sat, 1 Oct 2016 11:41:01 +0000 (11:41 +0000)]
Joey Hess [Fri, 30 Sep 2016 23:52:14 +0000 (19:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
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.
ddenis [Fri, 30 Sep 2016 22:06:49 +0000 (22:06 +0000)]
pot [Fri, 30 Sep 2016 22:00:31 +0000 (22:00 +0000)]
Added a comment: inodes....
ztl8702 [Fri, 30 Sep 2016 19:14:34 +0000 (19:14 +0000)]
Added a comment: Bash on Windows
Joey Hess [Fri, 30 Sep 2016 19:02:27 +0000 (15:02 -0400)]
devblog
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.
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.
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.
Joey Hess [Fri, 30 Sep 2016 17:17:49 +0000 (13:17 -0400)]
remove unnecessary mvar
Joey Hess [Thu, 29 Sep 2016 21:17:14 +0000 (17:17 -0400)]
devblog
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.
Joey Hess [Thu, 29 Sep 2016 20:58:09 +0000 (16:58 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 29 Sep 2016 20:52:35 +0000 (16:52 -0400)]
summary of progress
Added a comment
Joey Hess [Thu, 29 Sep 2016 20:29:54 +0000 (16:29 -0400)]
Add "total-size" field to --json-progress output.
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.
Joey Hess [Thu, 29 Sep 2016 17:37:11 +0000 (13:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
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.
Joey Hess [Thu, 29 Sep 2016 15:33:42 +0000 (11:33 -0400)]
followup
yomguy [Thu, 29 Sep 2016 14:29:24 +0000 (14:29 +0000)]
yomguy [Thu, 29 Sep 2016 14:26:12 +0000 (14:26 +0000)]
yomguy [Thu, 29 Sep 2016 14:24:49 +0000 (14:24 +0000)]
Added a comment: Using gitolite 3.6.6 mirror not working with annex
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
Joey Hess [Mon, 26 Sep 2016 23:06:56 +0000 (19:06 -0400)]
todo
Joey Hess [Mon, 26 Sep 2016 20:53:42 +0000 (16:53 -0400)]
devblog
Joey Hess [Mon, 26 Sep 2016 20:53:27 +0000 (16:53 -0400)]
comment
Joey Hess [Mon, 26 Sep 2016 20:49:21 +0000 (16:49 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
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.
Joey Hess [Mon, 26 Sep 2016 20:39:18 +0000 (16:39 -0400)]
more profiling
Joey Hess [Mon, 26 Sep 2016 19:49:42 +0000 (15:49 -0400)]
profiling
madduck [Sun, 25 Sep 2016 13:25:03 +0000 (13:25 +0000)]
PaulK [Sun, 25 Sep 2016 03:08:41 +0000 (03:08 +0000)]
Added a comment
erics [Sun, 25 Sep 2016 02:28:19 +0000 (02:28 +0000)]
erics [Sun, 25 Sep 2016 00:33:57 +0000 (00:33 +0000)]
Added a comment
PaulK [Sat, 24 Sep 2016 04:16:52 +0000 (04:16 +0000)]
Added a comment
Added a comment: +may be "byte-target" field? ;)
Joey Hess [Fri, 23 Sep 2016 15:55:02 +0000 (11:55 -0400)]
remove cabal.config
fixes cabal sdist
Joey Hess [Fri, 23 Sep 2016 13:47:48 +0000 (09:47 -0400)]
cleanup
Joey Hess [Fri, 23 Sep 2016 13:46:19 +0000 (09:46 -0400)]
add news item for git-annex 6.
20160923
Joey Hess [Fri, 23 Sep 2016 13:45:46 +0000 (09:45 -0400)]
prep release
Joey Hess [Fri, 23 Sep 2016 13:43:03 +0000 (09:43 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
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.
Joey Hess [Thu, 22 Sep 2016 15:29:53 +0000 (11:29 -0400)]
avoid needing PartialPrelude
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.