Commit graph

25590 commits

Author SHA1 Message Date
sunny256
cd11fa0a4b Added a comment: Yay, man! 2015-10-04 23:28:43 +00:00
Joey Hess
2ac487f91d devblog 2015-10-04 16:12:41 -04:00
Joey Hess
933fef6ae0 Merge branch 'winprocfix' 2015-10-04 15:46:25 -04:00
Joey Hess
36f2201f8b response 2015-10-04 15:34:30 -04:00
Joey Hess
eb6e94a655 response 2015-10-04 15:32:54 -04:00
Joey Hess
72b6d3e4f8 comment 2015-10-04 15:28:12 -04:00
Joey Hess
549e23188a review 2015-10-04 15:26:20 -04:00
Joey Hess
d9a3ae23c5 remove workaround 2015-10-04 15:04:52 -04:00
Joey Hess
0f6e4ec946 Merge branch 'master' of ssh://git-annex.branchable.com 2015-10-04 14:56:23 -04:00
Joey Hess
65bb52bc3b force installing older warp; current fails to build 2015-10-04 14:51:23 -04:00
dah
02dd57e6bd Added a comment 2015-10-04 18:25:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnmF_9CAtfqdZkC4e-_dCX-rK5bqh4RWkw
25f5448a3e Added a comment 2015-10-04 17:58:48 +00:00
jirib@503223f0610c6c66f4e6dc738a5a0b2648c290b1
39bc6ddfbb Added a comment: no statfs64 on OpenBSD 2015-10-04 13:47:30 +00:00
jirib@503223f0610c6c66f4e6dc738a5a0b2648c290b1
2ae347a8e8 2015-10-04 13:37:53 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
e924ef4a29 2015-10-04 11:09:51 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
4e5960a1f4 2015-10-04 11:09:02 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
3e44801a8b 2015-10-04 11:08:07 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnmF_9CAtfqdZkC4e-_dCX-rK5bqh4RWkw
ab512febc2 Added a comment 2015-10-04 07:49:02 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
d5749e10dd Added a comment 2015-10-03 21:29:29 +00:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
81b454e9f6 Added a comment 2015-10-03 21:27:46 +00:00
encryptio
68b611b15f Added a comment 2015-10-03 21:09:31 +00:00
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