summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* verified fix on OSXGravatar Joey Hess2016-10-05
|
* commentGravatar Joey Hess2016-10-05
|
* moreinfoGravatar Joey Hess2016-10-05
|
* responseGravatar Joey Hess2016-10-05
|
* Avoid using a lot of memory when large objects are present in the git repositoryGravatar Joey Hess2016-10-05
| | | | | | | | | | | | | | | | | | | | | | .. 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.
* add missing case for unknown size with normal outputGravatar Joey Hess2016-10-05
| | | | This was lost in previous change, causing a crash in that case.
* commentGravatar Joey Hess2016-10-05
|
* moreinfoGravatar Joey Hess2016-10-05
|
* commentsGravatar Joey Hess2016-10-05
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2016-10-05
|\
* | remove localedir file, fix buildGravatar Joey Hess2016-10-05
| |
| * Added a comment: bittorrentGravatar evilmoo@0c9697a666c2853b3b3229b6646d3a4e849f7ec82016-10-05
| |
| * Added a commentGravatar Adam2016-10-04
|/
* Linux standalone: Include locale files in the bundle, and generate locale ↵Gravatar Joey Hess2016-10-04
| | | | | | | | | | | | | | | 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.
* add LOCPATH to GIT_ANNEX_STANDLONE_ENVGravatar Joey Hess2016-10-04
|
* Linux standalone: Add back the LOCPATH=/dev/null hack to avoid the system ↵Gravatar Joey Hess2016-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* commentGravatar Joey Hess2016-10-04
|
* responseGravatar Joey Hess2016-10-04
|
* poll vote (OpenStack SWIFT)Gravatar 2a01:cb04:422:dd00:75bc:9129:cb49:31be2016-10-04
|
* Added a comment: QuestionGravatar Adam2016-10-04
|
* Added a comment: Sketch of implementation, request for commentGravatar https://launchpad.net/~stephane-gourichon-lpad2016-10-01
|
* How to deal with files that change status from "precious, please keep n ↵Gravatar https://launchpad.net/~stephane-gourichon-lpad2016-10-01
| | | | copies" to "junk, please delete it from everywhere you find it, now and forever".
* (no commit message)Gravatar pot2016-10-01
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2016-09-30
|\
* | convert TMVars that are never left empty into TVarsGravatar Joey Hess2016-09-30
| | | | | | | | | | This is probably more efficient, and it avoids mistakenly leaving them empty.
| * (no commit message)Gravatar ddenis2016-09-30
| |
| * Added a comment: inodes....Gravatar pot2016-09-30
| |
| * Added a comment: Bash on WindowsGravatar ztl87022016-09-30
| |
* | devblogGravatar Joey Hess2016-09-30
|/
* include external special remote process number in debugGravatar Joey Hess2016-09-30
| | | | Not actual pid, because System.Process does not expose that.
* allow multiple concurrent external special remote processesGravatar Joey Hess2016-09-30
| | | | | | | | | 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.
* move externalConfig into ExternalStateGravatar Joey Hess2016-09-30
| | | | | Groundwork to having multiple processes running at once for an external special remote; each needs its own externalConfig.
* remove unnecessary mvarGravatar Joey Hess2016-09-30
|
* devblogGravatar Joey Hess2016-09-29
|
* Make --json-progress output be shown even when the size of a object is not ↵Gravatar Joey Hess2016-09-29
| | | | known.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2016-09-29
|\
* | summary of progressGravatar Joey Hess2016-09-29
| |
| * Added a commentGravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f42016-09-29
|/
* Add "total-size" field to --json-progress output.Gravatar Joey Hess2016-09-29
|
* Optimised git-annex branch log file timestamp parsing. 10% speedupGravatar Joey Hess2016-09-29
| | | | | | 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.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2016-09-29
|\
* | Optimisations to git-annex branch query and setting, avoiding repeated ↵Gravatar Joey Hess2016-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | followupGravatar Joey Hess2016-09-29
| |
| * (no commit message)Gravatar yomguy2016-09-29
| |
| * (no commit message)Gravatar yomguy2016-09-29
| |
| * (no commit message)Gravatar yomguy2016-09-29
| |
| * Added a comment: Using gitolite 3.6.6 mirror not working with annexGravatar git-annex@5b470e1f6ed6d30997d729f0a8b1c841dea886f12016-09-28
|/
* remove incorrect bit about multiple concurrent transfers, and improve ↵Gravatar Joey Hess2016-09-26
| | | | description of protocol flow
* todoGravatar Joey Hess2016-09-26
|
* devblogGravatar Joey Hess2016-09-26
|