Commit graph

26503 commits

Author SHA1 Message Date
Joey Hess
4591569607
avoid looping trying to make temp dir when the name is too long
Only loop when directory creation fails due to the directory existing
already.
2015-12-06 16:29:36 -04:00
torpidus
9d46da4a29 Added a comment 2015-12-06 20:29:26 +00:00
Joey Hess
a0fcb8ec93
generalize catchHardwareFault to catchIOErrorType 2015-12-06 16:26:38 -04:00
torpidus
99fa2b5716 2015-12-06 18:51:12 +00:00
samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3
912246f4ae Fix broken link to other bug 2015-12-06 10:02:35 +00:00
samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3
6e85743a86 Report bug due to broken createSymbolicLink 2015-12-06 10:01:00 +00:00
spwhitton
d1cf30890e m 2015-12-05 19:52:38 +00:00
spwhitton
59aa9d313b Copy hints for Emacs users from propellor coding style page 2015-12-05 19:52:17 +00:00
a@b34f238966e58f7c2ea550cc4cab3005c0e33150
50cd06c332 2015-12-05 18:17:45 +00:00
Joey Hess
1b597cbee6
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-04 18:05:18 -04:00
Joey Hess
7579d50959
devblog 2015-12-04 17:57:34 -04:00
Joey Hess
2fe21d47c5
init: Configure .git/info/attributes to use git-annex as a smudge filter.
Note that this changes the default behavior of git add in a newly
initialized repository; it will add files to the annex.

Don't like that this could break workflows, but it's necessary in order for
any pointer files in the repo to be handled by git-annex.
2015-12-04 17:57:15 -04:00
Joey Hess
fb6ebdaae7
refactor 2015-12-04 17:18:26 -04:00
Joey Hess
e8ca01cbc0
comments 2015-12-04 16:46:00 -04:00
Joey Hess
e7f75b079d
don't let git-annex direct be run in a v6 repo 2015-12-04 16:33:09 -04:00
Joey Hess
ccc49861ca
add v6; keep v5 working for now and manual upgrade
Since all places where a repo is used in direct mode need to have git-annex
upgraded before the repo can safely be converted to v6, the upgrade needs
to be manual for now.

I suppose that at some point I'll want to drop all the direct mode support
code. At that point, will stop supporting v5, and will need to auto-upgrade
any remaining v5 repos. If possible, I'd like to carry the direct mode
support for say, a year or so, to give people plenty of time to upgrade and
avoid disruption.
2015-12-04 16:14:48 -04:00
Joey Hess
34ead644d9
auto-configure filter.annex.smudge and clean on init 2015-12-04 16:14:11 -04:00
Joey Hess
723e4e31a1
merge clean into smudge command
The git filter config can be used to map the single git-annex command to
the 2 actions, and this avoids "git annex clean" being used for this thing,
it might have a better use for that name later.
2015-12-04 15:32:47 -04:00
Joey Hess
983c1894eb
avoid unnecessary reading of git-annex branch data when matching on annex.largefiles
This makes git annex clean not look at the git-annex branch at all,
and so speeds it up by 50% or more.
2015-12-04 15:06:41 -04:00
Joey Hess
99b2a524a0
clean filter should update location log when adding new content to annex 2015-12-04 14:20:32 -04:00
Joey Hess
ad06f8ceed
avoid commit and messages for smudge filter 2015-12-04 14:20:22 -04:00
Joey Hess
fdfda7b7bb
annex.largefiles support for clean filter 2015-12-04 14:10:18 -04:00
Joey Hess
d349693269
smudge filter working 2015-12-04 14:03:10 -04:00
Joey Hess
2c6454a2e2
basic clean filter working 2015-12-04 13:39:14 -04:00
mellon85@e4812de7355433a8e232ce8ca4c231092d9afebb
f966984cd3 2015-12-04 17:15:34 +00:00
mellon85@e4812de7355433a8e232ce8ca4c231092d9afebb
05bd8ae9bd 2015-12-04 17:11:45 +00:00
Joey Hess
20ca89dfa3
skeleton smudge/clean filters 2015-12-04 13:03:39 -04:00
sts
b27b851436 2015-12-04 12:57:59 +00:00
OlivierBerger
bddeb020e9 Added a comment: Again, difficult to tell 2015-12-04 12:24:07 +00:00
OlivierBerger
ce1757e7e4 Added a comment: Difficult to tell 2015-12-04 10:21:26 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
a3fb7a38ce 2015-12-04 10:18:08 +00:00
encryptio@2557a3f5b4ef0cddf8f011d7dbb3e76d46ed9c79
9ca5fe58e7 Added a comment: git-annex-remote-b2 2015-12-04 03:19:29 +00:00
Joey Hess
37a5e2d419
dropunused: Make more robust when trying to drop an object that has already been dropped.
Before it crashed trying to lock the not-present content and prevented
dropping anything else. Instead, succeed.
2015-12-03 15:58:00 -04:00
rpglover64@acd6753c831cc132736943bec350391fcb2ff77d
5e3e6b9ff9 Added a comment: Thanks! 2015-12-02 20:15:57 +00:00
Joey Hess
4ff24cb990
devblog 2015-12-02 16:00:40 -04:00
Joey Hess
e9f43c07f9
webapp: Fix bugs that could result in a relative path such as "." being written to ~/.config/git-annex/autostart
and ignore any such  relative paths in the file

This was a reversion caused by the relative path changes in 5.20150113.
2015-12-02 15:57:30 -04:00
Joey Hess
f16e235983
addurl, importfeed: Changed to honor annex.largefiles settings, when the content of the url is downloaded. (Not when using --fast or --relaxed.)
importfeed just calls addurl functions, so inherits this from it.

Note that addurl still generates a temp file, and uses that key to download
the file. It just adds it to the work tree at the end when the file is small.
2015-12-02 15:12:33 -04:00
Joey Hess
dc8099872a
import: Changed to honor annex.largefiles settings. 2015-12-02 14:49:03 -04:00
Joey Hess
5ec67335f4
improve annex.largefiles documentation 2015-12-02 14:26:49 -04:00
Joey Hess
4461766da7
comment 2015-12-02 14:19:31 -04:00
Joey Hess
452e78f844
comment 2015-12-02 13:34:05 -04:00
Joey Hess
39990111fc
comment 2015-12-02 13:31:48 -04:00
Joey Hess
a0ac002c54
comment 2015-12-02 13:28:21 -04:00
Joey Hess
dae7162856
comment 2015-12-02 13:20:15 -04:00
Joey Hess
10e8cf5529
comment 2015-12-02 13:10:23 -04:00
Joey Hess
73e62a6efd
comment 2015-12-02 13:02:38 -04:00
Joey Hess
edc0a484ac
close 2015-12-02 12:59:08 -04:00
Joey Hess
e655c8f75a
welcome to the docker pid 1 zombie reaping problem 2015-12-02 12:55:04 -04:00
Joey Hess
755fbbef08
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-02 12:33:08 -04:00
Joey Hess
382f8a790a
fix name of comment 2015-12-02 12:06:04 -04:00