Commit graph

25518 commits

Author SHA1 Message Date
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
26d5525e8a Added a comment: Need advice on using gitlab with the assistant 2015-10-03 21:03:46 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
f4121e38bd 2015-10-03 20:11:53 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
ad77c8fc7b Added a comment 2015-10-03 19:18:24 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
cd11fad53a Added a comment 2015-10-03 19:03:18 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
273182ffc7 2015-10-03 18:36:49 +00:00
jephte.clain@f0da2444b164953b596ac5e3e38da30b8c04e5e3
1c08d3bf7f Added a comment 2015-10-03 09:11:02 +00:00
Joey Hess
06f1f03e7a Ported disk free space checking code to work on Solaris.
On Solaris, using f_bsize provided a value that is apparently much larger
than the real block size. The solaris docs for statvfs say
f_bsize is the "preferred" file system block size, and I guess the
filesystem prefers larger blocks, but uses smaller ones or something.
The docs also say that f_frsize is the "fundamental" block size.

Switched to using f_frsize on Linux and kFreeBSD too, since I guess
f_bsize could in theory vary the same way there too. Assuming that Solaris
is not violating the posix spec, I guess the linux man page for statvfs
is not as well written and I misunderstood it.
2015-10-02 16:31:15 -04:00
Joey Hess
cdbce512bd deal with more backward-compatible breaking renamings in conduit
This is the kind of annoying thing that makes me not want to use a library.
conduitManagerSettings was a perfectly fine name and could have been kept
forever.
2015-10-02 15:18:54 -04:00
Joey Hess
2def1d0a23 other 80% of avoding verification when hard linking to objects in shared repo
In c6632ee5c8, it actually only handled
uploading objects to a shared repository. To avoid verification when
downloading objects from a shared repository, was a lot harder.

On the plus side, if the process of downloading a file from a remote
is able to verify its content on the side, the remote can indicate this
now, and avoid the extra post-download verification.

As of yet, I don't have any remotes (except Git) using this ability.
Some more work would be needed to support it in special remotes.

It would make sense for tahoe to implicitly verify things downloaded from it;
as long as you trust your tahoe server (which typically runs locally),
there's cryptographic integrity. OTOH, despite bup being based on shas,
a bup repo under an attacker's control could have the git ref used for an
object changed, and so a bup repo shouldn't implicitly verify. Indeed,
tahoe seems unique in being trustworthy enough to implicitly verify.
2015-10-02 14:35:12 -04:00
Joey Hess
7c7fe895f9 disabling verification also disables size verification
It's not expensive to do size verification, but let's be consistent and
turn it off too.
2015-10-02 12:38:02 -04:00
Joey Hess
c6632ee5c8 avoid verification when hard linking to objects in shared repository
Such a repository is implicitly trusted, so there's no point.
2015-10-02 12:36:03 -04:00
Joey Hess
52891fc17c response 2015-10-02 12:19:02 -04:00
Joey Hess
16d7035ef7 Allow building with S3 disabled again. 2015-10-02 12:12:02 -04:00
Agenta
aaed12f503 Added a comment: not easy to access history 2015-10-02 13:16:30 +00:00
jirib@503223f0610c6c66f4e6dc738a5a0b2648c290b1
fa2fbf91a3 Added a comment: iiuc assistant depends on s3 2015-10-02 11:11:13 +00:00
jirib@503223f0610c6c66f4e6dc738a5a0b2648c290b1
8093ac1494 2015-10-02 10:20:48 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnmF_9CAtfqdZkC4e-_dCX-rK5bqh4RWkw
edf6725d9d 2015-10-02 09:25:02 +00:00
spwhitton
cee3338a81 Added a comment 2015-10-02 04:15:48 +00:00
spwhitton
01e9f099e3 Added a comment 2015-10-02 04:13:07 +00:00
Joey Hess
9bcc32de3b Merge branch 'master' of ssh://git-annex.branchable.com 2015-10-01 16:17:52 -04:00
http://joeyh.name/
d11fd1dd80 Added a comment 2015-10-01 20:14:48 +00:00
Joey Hess
6dd8d923d9 devblog 2015-10-01 16:12:35 -04:00
Joey Hess
2fb3722ce9 Do verification of checksums of annex objects downloaded from remotes.
* When annex objects are received into git repositories, their checksums are
  verified then too.
* To get the old, faster, behavior of not verifying checksums, set
  annex.verify=false, or remote.<name>.annex-verify=false.
* setkey, rekey: These commands also now verify that the provided file
  matches the key, unless annex.verify=false.
* reinject: Already verified content; this can now be disabled by
  setting annex.verify=false.

recvkey and reinject already did verification, so removed now duplicate
code from them. fsck still does its own verification, which is ok since it
does not use getViaTmp, so verification doesn't happen twice when using fsck
--from.
2015-10-01 15:56:39 -04:00
Joey Hess
b72d3fbeba rename function 2015-10-01 14:18:57 -04:00
Joey Hess
807ba6a903 refactor 2015-10-01 14:07:06 -04:00
Joey Hess
9e3ac97608 avoid deprecation warnings when built with http-client >= 0.4.18
Since I want git-annex to keep building on debian stable, I need to still
support the old http-client, which required explicit calls to
closeManager, or use of withManager to get Managers to close at appropriate
times. This is not needed in the new version, and so they added a
deprecation warning. IMHO much too early, because look at the mess I had to
go through to avoid that deprecation warning while supporting both
versions..
2015-10-01 13:48:56 -04:00
Joey Hess
cad3349001 rename fsckKey to verifyKeyContent
No behavior changes.
2015-10-01 13:29:17 -04:00
dxld@02c834b220f9ffc0410d37263aa29d9373cc455b
9825b4cb15 Added a comment: Fully p2p alternative to XMPP 2015-10-01 17:22:44 +00:00
Joey Hess
49841bbd64 remove unimplennted command-line option from design doc 2015-10-01 12:20:00 -04:00
Joey Hess
0c3a3c5187 comment 2015-10-01 11:57:59 -04:00
jephte.clain@f0da2444b164953b596ac5e3e38da30b8c04e5e3
7bab829105 Added a comment: it does not work with debian squeeze lts 2015-10-01 12:13:11 +00:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
a40f8fe098 2015-10-01 09:51:03 +00:00
jephte.clain@f0da2444b164953b596ac5e3e38da30b8c04e5e3
fdb0455dfb Added a comment: thanks 2015-10-01 04:25:03 +00:00
Joey Hess
de1bd0d6b8 add news item for git-annex 5.20150930 2015-09-30 14:41:29 -04:00
Joey Hess
d4d880c1a4 prep release 2015-09-30 14:32:45 -04:00
Joey Hess
40fdbe9be1 comment 2015-09-30 13:14:40 -04:00
Joey Hess
7010007a9f comment 2015-09-29 12:39:40 -04:00
Joey Hess
ceacddb179 response 2015-09-29 11:59:21 -04:00
Joey Hess
828bafebea mention ancient build 2015-09-29 11:41:13 -04:00
Joey Hess
56cc9b151d comment 2015-09-29 11:40:14 -04:00
Joey Hess
6f63659c4f comment 2015-09-29 11:31:16 -04:00
Joey Hess
692a8e7e32 response 2015-09-29 11:26:42 -04:00
Joey Hess
4aa055cb39 Merge branch 'master' of ssh://git-annex.branchable.com 2015-09-29 11:20:00 -04:00
Joey Hess
5034561ff1 add resolver field needed by more recent versions of stack 2015-09-28 19:08:30 -04:00
kalle@bdf75651b439b088e51f28f10f5a46ffcd2a704d
2ed24b88ae Added a comment: importfeed template 2015-09-28 19:52:16 +00:00
dah
4b156395a2 2015-09-28 18:01:58 +00:00
Don
e4bc3415b7 Added a comment: Style for man pages? 2015-09-28 10:00:45 +00:00
vanicat@12ca772398c03a22a5388f1cf15799a90cdfecfe
1218f25615 i18n bug with assistant 2015-09-27 15:39:29 +00:00
vanicat@12ca772398c03a22a5388f1cf15799a90cdfecfe
76426a4d2b 2015-09-27 12:36:38 +00:00
bgilbert@a0c64716cf22216de5eeb15a5ca4f009164c8fb3
b506fb207f Added a comment 2015-09-27 01:00:46 +00:00