Commit graph

11336 commits

Author SHA1 Message Date
Joey Hess
88d2d59f83 glacier: Better handling of the glacier inventory, which avoids duplicate uploads to the same glacier repository by git annex copy.
The checkpresent hook can return either True or, False, or fail with a message
if it cannot successfully check the remote. Currently for glacier, when
--trust-glacier is not set, it always returns False. Crucially, in the case
when a file is in glacier, this is telling git-annex it's not there, so copy
re-uploads it. This is not desirable; it breaks using glacier-cli to retreive
that file later, and it wastes money/bandwidth.

What if it instead, when the glacier inventory is missing a
file, it returns False. And when the glacier inventory has a file, unless
--trust-glacier is set, it *fails*.

The result would be:

* `git annex copy --to glacier` would only send things not listed in inventory. If a file is listed in the inventory, `copy`
  would complain that --trust-glacier` is not set, and not re-upload the file.
* `git annex drop` would only trust that glacier has a file when --trust-glacier is set. Behavior unchanged.
* `git annex move --to glacier`, when the file is not listed in inventory, would send the file, and delete it locally. Behavior unchanged.
* `git annex move --to glacier`, when the file is listed in inventory, would only trust that glacier has the file when --trust-glacier is set
* `git annex copy --from glacier` / `git annex get`, when the file is located in glacier, would trust the location log, and attempt to get the file from glacier.
2013-05-29 13:52:42 -04:00
Joey Hess
a0ab3dc3c4 add skydrive 2013-05-29 12:51:54 -04:00
Joey Hess
623c4503ca close 2013-05-29 12:18:57 -04:00
Joey Hess
1190f348bd close 2013-05-29 12:13:48 -04:00
Joey Hess
3c9ccee1cd close 2013-05-29 11:37:08 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY
cfad8e999a Added a comment 2013-05-29 11:33:05 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY
5beec9b4ad 2013-05-29 11:23:43 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY
2928c167e4 2013-05-29 10:13:15 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm8wY171R5c4u_jPmB6LU6n6Px2xePM4sE
6b9b452797 2013-05-29 09:19:56 +00:00
robconnolly
ccfc46301b 2013-05-29 08:50:38 +00:00
http://yarikoptic.myopenid.com/
6f520d24f6 Added a comment 2013-05-29 02:43:29 +00:00
Joey Hess
3571ca7d36 blog for the day 2013-05-28 19:26:07 -04:00
Joey Hess
57e5be3b37 Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-28 18:25:47 -04:00
Joey Hess
3e2d50a336 Android: Added an "Open WebApp" item to the terminal's menu. Should work for Android devices that cannot auto-open the webapp on start. 2013-05-28 18:25:27 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmp1ThsNNAbSn46ju-gwFELfStlhl8usJo
c9bab8257f Added a comment: I should have read git annex unused first 2013-05-28 22:14:46 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkkyBDsfOB7JZvPZ4a8F3rwv0wk6Nb9n48
51698e7279 Added a comment 2013-05-28 19:21:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY
6a188b3ef1 2013-05-28 17:57:59 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY
c7809ac380 2013-05-28 17:44:55 +00:00
http://mey.vn/
2b61bcbfc0 Added a comment: libc6 dep version on amd64 2013-05-28 15:28:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmp1ThsNNAbSn46ju-gwFELfStlhl8usJo
43a0beba03 Added a comment: Possible quick solution with rsync 2013-05-28 10:52:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmp1ThsNNAbSn46ju-gwFELfStlhl8usJo
69977400e6 2013-05-28 09:20:27 +00:00
Richard Hartmann
8aaf2023fa Typos 2013-05-28 09:10:06 +02:00
https://www.google.com/accounts/o8/id?id=AItOawkwjBDXkP9HAQKhjTgThGOxUa1B99y_WRA
c440f3da46 Added a comment 2013-05-28 06:34:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
20d84016ff Added a comment 2013-05-28 03:23:51 +00:00
EvanDeaubl
ecfef64f03 2013-05-28 00:40:13 +00:00
Joey Hess
0ab9b9d0db Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-27 19:41:55 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmUJBh1lYmvfCCiGr3yrdx-QhuLCSRnU5c
bf96c07b2e Added a comment 2013-05-27 22:24:44 +00:00
Joey Hess
2afca7a8f6 blog for the da 2013-05-27 18:18:20 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
21177c7f90 2013-05-27 21:26:21 +00:00
Joey Hess
edc3bf2347 fix a minor fd leak 2013-05-27 16:48:41 -04:00
http://joeyh.name/
eb50fa086f Added a comment 2013-05-27 19:14:37 +00:00
http://joeyh.name/
1cd15390a0 Added a comment 2013-05-27 19:09:50 +00:00
Joey Hess
853ec68253 avoid debug logging unknown xmpp messages, which may contain sensative information 2013-05-27 15:00:07 -04:00
http://joeyh.name/
1b033f36ae Added a comment 2013-05-27 18:47:17 +00:00
Joey Hess
014af3c33c Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-27 14:37:16 -04:00
Joey Hess
d8d46c3ba3 when xmpp connection fails, show the host(s) it tried to connect to 2013-05-27 14:36:20 -04:00
http://joeyh.name/
152c1aab39 Added a comment 2013-05-27 18:35:45 +00:00
https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM
ad9ba6fc97 Added a comment 2013-05-27 18:13:43 +00:00
Joey Hess
5a678244e2 avoid duplicate srv lookup when testing xmpp 2013-05-27 13:48:24 -04:00
http://joeyh.name/
a9a7d14457 Added a comment 2013-05-27 15:31:53 +00:00
Joey Hess
eba9ee5bc6 remove debug print 2013-05-27 11:18:18 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnFjuvfPpi1kf6l54bxfFUm0Aw_Gf_IO0o
51280d3fee 2013-05-27 11:04:44 +00:00
http://sam.mingolelli.pip.verisignlabs.com/
55475186a9 initial add 2013-05-27 09:06:53 +00:00
79.207.25.10
2928fdb466 poll vote (/sdcard/annex) 2013-05-27 06:39:56 +00:00
http://joeyh.name/
d4bf0c3d0b Added a comment 2013-05-27 05:03:05 +00:00
http://edheil.wordpress.com/
73147c497a Added a comment 2013-05-27 01:57:25 +00:00
http://joeyh.name/
b1d8cf2da4 Added a comment 2013-05-27 01:48:43 +00:00
Joey Hess
1b5309d6d8 Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-26 21:45:50 -04:00
http://tiker.net/openid/
dfdabe001e 2013-05-27 01:41:39 +00:00
Joey Hess
c15a0b796e 3 more fd leaks 2013-05-26 21:27:44 -04:00