Commit graph

19305 commits

Author SHA1 Message Date
Joey Hess
7790e059b2
finish v6 git-annex lock
This was a doozy!
2015-12-11 15:28:34 -04:00
Joey Hess
50e83b606c
only make 1 hardlink max between pointer file and annex object
If multiple files point to the same annex object, the user may want to
modify them independently, so don't use a hard link.

Also, check diskreserve when copying.
2015-12-11 14:00:21 -04:00
Joey Hess
c608a752a5
Merge branch 'master' into smudge 2015-12-11 13:50:31 -04:00
Joey Hess
4407df6314
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-11 12:15:29 -04:00
Joey Hess
0f126440ca
webdav: When testing the WebDAV server, send a file with content. The empty file it was sending tickled bugs in some php WebDAV server. 2015-12-11 12:13:20 -04:00
Joey Hess
48bc7a9057
comment 2015-12-11 11:27:33 -04:00
Joey Hess
4ea479f776
comment 2015-12-11 11:23:57 -04:00
Joey Hess
9e34ed66f7
comment 2015-12-11 11:20:35 -04:00
Joey Hess
b12fc8cf1b
add Blackblaze B2 extranal special remote to the list 2015-12-11 11:06:02 -04:00
Joey Hess
bbfd454edc
comment 2015-12-11 11:04:48 -04:00
Joey Hess
eee5bede24
clean up 2015-12-11 11:03:22 -04:00
Joey Hess
c910b4e255
wip 2015-12-11 10:42:18 -04:00
yminus
3e59d498c4 Added a comment 2015-12-10 22:25:26 +00:00
Joey Hess
e2c8dc6778
v6 git-annex unlock
Note that the implementation uses replaceFile, so that the actual
replacement of the work tree file is atomic. This seems a good property to
have!

It would be possible for unlock in v6 mode to be run on files that do not
have their content present. However, that would be a behavior change from
before, and I don't see any immediate need to support it, so I didn't
implement it.
2015-12-10 16:12:48 -04:00
Joey Hess
9dffd3d255
add generalized linkAnnex' 2015-12-10 16:08:19 -04:00
http://joeyh.name/
a6dec1c9db Added a comment 2015-12-10 18:58:46 +00:00
Joey Hess
108f711d37
todo 2015-12-10 14:54:03 -04:00
Joey Hess
f80a3d8cd0
check InodeCache in inAnnex et al
This avoids querying the database when the content file doen't exist
(or otherwise fails the provided check). However, it does add overhead of
querying the database, and will certianly impact performance.
2015-12-10 14:51:04 -04:00
Joey Hess
2b8f6b8b2f
check inode cache in prepSendAnnex
This does mean one query of the database every time an object is sent.
May impact performance.
2015-12-10 14:50:52 -04:00
Joey Hess
3d936fdb59
Merge branch 'master' into smudge 2015-12-10 14:07:11 -04:00
Joey Hess
b376047cc3
comment 2015-12-10 12:31:26 -04:00
fbicknel@01ede624a1a56b3998b823e9b60da0ff81cccb16
4b31d9c404 Added a comment: Complete removal 2015-12-10 16:16:43 +00:00
Joey Hess
d283fa4fe9
comment 2015-12-10 11:22:28 -04:00
Joey Hess
79dd48546a
response 2015-12-10 11:20:01 -04:00
Joey Hess
2f25b8360f
response 2015-12-10 11:15:06 -04:00
https://openid.stackexchange.com/user/27ceb3c5-0762-42b8-8f8a-ed21c284748f
7a03f55aa0 Added a comment: The downside 2015-12-10 03:45:09 +00:00
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd
b9312e3554 2015-12-09 23:01:21 +00:00
Joey Hess
d0449ac1e4
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-09 18:14:19 -04:00
Joey Hess
3964d3388b
devblog 2015-12-09 18:13:31 -04:00
Joey Hess
bf98d2bd77
Merge branch 'master' into smudge 2015-12-09 17:58:59 -04:00
Joey Hess
ce73a96e4e
use InodeCache when dropping a key to see if a pointer file can be safely reset
The Keys database can hold multiple inode caches for a given key. One for
the annex object, and one for each pointer file, which may not be hard
linked to it.

Inode caches for a key are recorded when its content is added to the annex,
but only if it has known pointer files. This is to avoid the overhead of
maintaining the database when not needed.

When the smudge filter outputs a file's content, the inode cache is not
updated, because git's smudge interface doesn't let us write the file. So,
dropping will fall back to doing an expensive verification then. Ideally,
git's interface would be improved, and then the inode cache could be
updated then too.
2015-12-09 17:54:54 -04:00
openmedi
ef664f089f Added a comment 2015-12-09 20:18:48 +00:00
Joey Hess
3311c48631
move InodeSentinal from direct mode code to its own module
Will be used outside of direct mode for v6 unlocked files, and is already
used outside of direct mode when adding files to annex.
2015-12-09 15:52:11 -04:00
Joey Hess
8a818088a3
link/copy pointer files to object content when it's added 2015-12-09 15:27:29 -04:00
Joey Hess
751120c171
avoid pre-commit hook messing up new-style unlocked files in v6 repo 2015-12-09 15:18:54 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
5ef6ed8b9a Added a comment: anyone saw/worked on backend for watchdox service? (not free one but needed :-/) 2015-12-08 19:45:03 +00:00
Joey Hess
37c9026c6e
todo 2015-12-08 13:07:45 -04:00
Joey Hess
e1961bf806
add news item for git-annex 5.20151208 2015-12-08 11:28:19 -04:00
Joey Hess
e276f4abb2
response 2015-12-08 11:13:55 -04:00
ben
4f3dd0b7b2 Added a comment: Problems initializing glacier remote 2015-12-08 10:39:30 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
a690782429 I started using a repo on S3, so that partially answered my question about how files are stored on S3. 2015-12-08 10:02:06 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
c92917d24a Added a comment 2015-12-08 09:44:49 +00:00
cantora@432fae6be728a32ac472387df86a8922f059d4a6
c71a6e3a0d Added a comment: How to view configuration of special remotes? 2015-12-08 08:29:12 +00:00
Joey Hess
50398c69a1
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-07 17:25:20 -04:00
Joey Hess
d9ec9a56d4
devblog 2015-12-07 17:24:44 -04:00
Joey Hess
9923b8dc77
long walk led to long list of things to do 2015-12-07 17:24:16 -04:00
Joey Hess
712c9fc590
require "annex/objects/" before key in pointer files
This removes ambiguity, because while someone might have "WORM--foo" in a
file that's not intended to be a git-annex pointer file,
"annex/objects/WORM--foo" is less likely.

Also, 664cc987e8 had a caveat about symlink
targets being parsed as pointer files, and now the same parser is used for
both.

I did not include any hash directories before the key in the pointer file,
as they're not needed. However, if they were included, the parser would
still work ok.
2015-12-07 15:45:08 -04:00
Joey Hess
2cbcb4f1a8
update associated files database on smudge and clean 2015-12-07 14:41:22 -04:00
Joey Hess
62a2fba1cd
Merge branch 'master' into smudge 2015-12-07 12:29:34 -04:00
sts
bf02216690 Added a comment 2015-12-07 08:12:26 +00:00
Joey Hess
bd6f694687
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-06 16:56:16 -04:00
Joey Hess
2936153fc4
fix temp filename
Was not putting it inside the temp dir, but next to it!

This was just wrong, and it led to a longer filename that desired being
used, leading to some bug reports.
2015-12-06 16:54:01 -04:00
torpidus
9d46da4a29 Added a comment 2015-12-06 20:29:26 +00: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
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
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
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
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
Joey Hess
6cd222fbe8
remove redundant and unnecessary todo
Mostly because of the --
2015-12-02 12:00:41 -04:00
SamuelTardieu
4cd2c24dac 2015-12-02 15:09:50 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
8e41dda419 Added a comment: Am pretty sure this is a filesystem issue 2015-12-01 12:45:50 +00:00
Joey Hess
982cbab13f
response 2015-11-30 16:15:44 -04:00
Joey Hess
fa7a017b7e
respond to all of a user's bug reports at once.. they had copied a repo and so had duplicated annex.uuid 2015-11-30 16:11:45 -04:00
Joey Hess
91cbf87180
response 2015-11-30 15:54:11 -04:00
Joey Hess
906cf4ea27
um 2015-11-30 15:50:55 -04:00
Joey Hess
de1c3c3e48
response 2015-11-30 15:45:05 -04:00
Joey Hess
977087313e
pebkac 2015-11-30 15:41:06 -04:00
Joey Hess
602f392e6d
comment 2015-11-30 15:38:39 -04:00
Joey Hess
5effa61e0b
sigh @ OSX 2015-11-30 15:25:41 -04:00
Joey Hess
829b03ce4f
sigh @ encfs... 2015-11-30 15:22:00 -04:00
Joey Hess
d6b744ce89
comment 2015-11-30 15:09:32 -04:00
Joey Hess
a5fe92935c
comment 2015-11-30 15:04:56 -04:00
Joey Hess
5ce8f9b9c0
comment 2015-11-30 15:02:58 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
7b7a9e2468 2015-11-30 18:49:49 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
ba819fb2a6 Added a comment: Got Nixos server configured as a ssh remote (FYI) 2015-11-30 16:11:26 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
8c7b1fe1ac Added a comment: Is android 6.0 supported? 2015-11-30 16:05:13 +00:00
vho
86484fa537 Added a comment 2015-11-30 15:23:22 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
712735505e removed 2015-11-30 08:16:27 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
300733bf3e Added a comment: just FYI 2015-11-30 08:05:35 +00:00
eren.m.dursun@73116dce47e54243c7ee1637f1289afb02f07f4b
8eff96c736 Added a comment: Re: Compatibility with recent version of Git for Windows 2015-11-29 19:24:04 +00:00
gaetan.lehmann@b47e4a12fac33bef53eafb0b41be69cae45edc1e
4f38779416 2015-11-27 19:17:50 +00:00
gaetan.lehmann@b47e4a12fac33bef53eafb0b41be69cae45edc1e
78fb99c324 2015-11-27 19:16:53 +00:00
parhuzamos
4b82d1c2d0 Typo. 2015-11-27 14:27:06 +00:00
parhuzamos
8997c1ed74 2015-11-27 14:26:35 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
1426eb340a removed 2015-11-26 21:44:22 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
4fb7a02de4 Added a comment: Comment 3 2015-11-26 21:04:13 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
30b0eda3b0 removed 2015-11-26 20:59:18 +00:00
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963
5c4efd3763 Added a comment: Also with standalone git-annex 2015-11-26 20:58:50 +00:00
spwhitton
9309099e26 Added a comment 2015-11-26 01:34:17 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
80cc59bc8a removed 2015-11-26 00:35:30 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
674a86750f Added a comment: location of Mapping of file to tahoe uri? 2015-11-26 00:35:11 +00:00
vvghadge@ec0c34f6cadf7a32fc6cf0b2bee34c3ce9c568f2
29adb9a8d6 Added a comment: location of Mapping of file to tahoe uri? 2015-11-26 00:35:00 +00:00
jwiegley
d9e9efd002 2015-11-25 21:28:22 +00:00
miladiir
8a4c1ba67d 2015-11-24 19:42:52 +00:00
miladiir
e5d90bee40 2015-11-24 19:41:12 +00:00
Joey Hess
3f63666727
file map analysis 2015-11-24 11:39:47 -04:00
Joey Hess
d2e83db759
comment 2015-11-24 10:32:53 -04:00
Joey Hess
aad6561eea
a few updates I forgot to make yesterday as I refined my design 2015-11-24 10:32:16 -04:00
Joey Hess
9ca38f4eda
reply 2015-11-24 10:21:53 -04:00
https://id.koumbit.net/anarcat
d1f42c8843 Added a comment: niiice 2015-11-24 01:07:33 +00:00
Joey Hess
cf0130894e
notes on merge 2015-11-23 18:10:50 -04:00
Joey Hess
fe55caa2ae
upgrading 2015-11-23 17:57:47 -04:00
Joey Hess
408659b00b
Merge branch 'master' of ssh://git-annex.branchable.com 2015-11-23 16:56:00 -04:00
Joey Hess
33fb0de1a3
smudge design 2015-11-23 16:53:05 -04:00
Joey Hess
59c2001d2f
git-lfs lacks partial checkout support
git-lfs's smudge filter downloads contents of files from the server when
not available locally. So, checking out a branch will always populate all
files.
2015-11-23 12:44:54 -04:00
rpglover64@acd6753c831cc132736943bec350391fcb2ff77d
a7339f7582 2015-11-23 01:07:38 +00:00
jckuester@11e9fceb442172b6db63320bb545797a47a4c103
3be53125ce Added a comment: error during "git clone git://git.kitenet.net/git-annex" 2015-11-22 15:38:57 +00:00
neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd
0502e07b1c Added a comment 2015-11-21 17:52:26 +00:00
Joey Hess
2466115c09
Merge branch 'master' of ssh://git-annex.branchable.com 2015-11-21 13:37:36 -04:00
jtgeibel@4ad445b2ef940dedb1b6d9b19e3888e56b33541b
9fc340a8c5 Added a comment: Git tag 2015-11-21 00:38:14 +00:00
Joey Hess
4d398011cf
copy license info for logo onto logo page 2015-11-20 16:25:08 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
4af048acf4 2015-11-20 14:06:20 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
8d2b3acd07 2015-11-20 13:55:51 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
fc42550a4b 2015-11-20 13:48:13 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
539b6b0d8c removed 2015-11-20 13:32:50 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
8f64840cd0 Added a comment: Nope, git-annex drop is still not reducing size of .git/annex 2015-11-20 13:32:11 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
4573ded96b Added a comment: Nope, git-annex drop is still not reducing size of .git/annex 2015-11-20 13:31:53 +00:00
CandyAngel
6cb6788289 Added a comment 2015-11-20 08:37:39 +00:00