Commit graph

2396 commits

Author SHA1 Message Date
Joey Hess
0c972961bb update 2013-12-27 12:04:51 -04:00
Joey Hess
526a7bb2b4 improve comments 2013-12-27 02:56:52 -04:00
Joey Hess
3289155e28 don't send PREPARE before INITREMOTE
That complicated special remote programs, because they had to avoid making
PREPARE fail if some configuration is missing, because the remote might not
be initialized yet. Instead, complicate git-annex slightly by only sending
PREPARE immediately before some other request other than INITREMOTE (or
PREPARE of course).
2013-12-27 02:49:10 -04:00
Joey Hess
6d504b57e7 make some requests optional, simplify and future-proof protocol more 2013-12-27 02:11:06 -04:00
Joey Hess
0de9135bc0 external special remote documentation and example script 2013-12-26 18:15:18 -04:00
Joey Hess
38694ed582 simplify PROGRESS
Only one transfer will be running at a time, per external special remote.
2013-12-26 16:18:38 -04:00
Joey Hess
8803e36814 future-proofing 2013-12-25 20:04:31 -04:00
Joey Hess
1dc930063a basic data types and serialization for external special remote protocol
This is mostly straightforward, but did turn out quite nicely stronly
typed, and with a quite nice automatic tokenization and parsing of received
messages.

Made a few minor changes to the protocol to clear up ambiguities and make
it easier to parse. Note particularly that setting remote configuration
is moved to a separate command, which allows a remote to set arbitrary data.
2013-12-25 17:54:57 -04:00
Richard Hartmann
b11d88dd17 doc/: s/amoung/among/gi
Qouth ye olde [Wiktionary](http://en.wiktionary.org/wiki/amoung)

Archaic spelling of among.
2013-12-18 22:09:18 +01:00
http://joeyh.name/
4c5dc8df0e removed 2013-12-18 20:12:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnN99WKdpXGRJD8xpJxfsoumA9ZVCBjxrE
5b0dcfc4f5 Added a comment: nice 2013-12-18 18:12:18 +00:00
178.12.110.165
59f6cbdef6 poll vote (/sdcard/annex) 2013-12-18 01:06:53 +00:00
Joey Hess
f833f92cd0 remove done todo about upgrading 2013-12-17 16:31:34 -04:00
Joey Hess
0419f241a4 I think I've convinced myself that the assistant is safe on windows despite the lack of lsof 2013-12-17 14:07:37 -04:00
http://joeyh.name/
5ff2706c06 Added a comment 2013-12-16 20:42:24 +00:00
Joey Hess
081cfba131 Merge branch 'master' of ssh://git-annex.branchable.com 2013-12-16 16:33:17 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmicVKRM8vJX4wPuAwlLEoS2cjmFXQkjkE
72363ca72f Added a comment: not useful for "plain directory" special remote? 2013-12-16 20:10:19 +00:00
Joey Hess
81d051cad5 simplify 2013-12-16 11:36:19 -04:00
Joey Hess
145de01ebe use messages for query responses to allow communicating error 2013-12-16 10:30:28 -04:00
Joey Hess
87662ec14c rename HAS to CHECKPRESENT for consistency with hook special remote 2013-12-13 15:32:06 -04:00
Joey Hess
cb6a703660 refine protocol
More complicated, but less asynchronous, which will make it easier for
special remote programs to use it, at the expense of some added complexity
in git-annex.
2013-12-11 17:26:27 -04:00
Joey Hess
8223066716 update 2013-12-11 14:06:14 -04:00
Joey Hess
05e84b15cc clarify 2013-12-11 14:05:00 -04:00
Joey Hess
f4d847297c update 2013-12-11 14:04:03 -04:00
Joey Hess
d180b8e5af reorder 2013-12-11 14:02:49 -04:00
Joey Hess
37df2e3ebf layout 2013-12-11 14:02:10 -04:00
Joey Hess
22c6fe501d add ERROR 2013-12-11 14:01:33 -04:00
Joey Hess
75fda11f74 update 2013-12-11 13:56:59 -04:00
Joey Hess
e800e04d2d fixfix 2013-12-11 13:53:21 -04:00
Joey Hess
8b6d3ab2b5 fix display of | 2013-12-11 13:52:51 -04:00
Joey Hess
172f3287c5 update 2013-12-11 13:34:16 -04:00
Joey Hess
bf0bc0b001 add design document 2013-12-11 13:31:11 -04:00
Joey Hess
c254627748 update 2013-12-05 17:31:01 -04:00
Joey Hess
618f17b5d1 Revert "cat build.log"
This reverts commit 70ab15cfc6.
2013-12-05 17:25:25 -04:00
Joey Hess
70ab15cfc6 cat build.log 2013-12-05 17:24:07 -04:00
gernot
ee2c180390 Added a comment: Paperkey 2013-12-05 11:37:04 +00:00
Joey Hess
3260618e78 shamir secret sharing idea 2013-12-04 17:43:03 -04:00
Joey Hess
bc786b6f06 split off a page 2013-12-02 13:24:47 -04:00
2a02:cc41:100f:0:9c6e:e97:f36a:5074
07c32c5277 poll vote (DCIM directory (photos and videos only)) 2013-11-25 22:16:34 +00:00
Richard Hartmann
be43bb8f70 doc: perl -p -i -e s/certianly/certainly/ 2013-11-25 21:40:19 +01:00
Joey Hess
95feec24d1 create directory for upgraded versio early as a locking mechanism 2013-11-24 15:03:50 -04:00
Joey Hess
919a301818 update 2013-11-24 01:10:45 -04:00
217.113.234.250
c0157a27fd poll vote (/sdcard/annex) 2013-11-20 10:13:50 +00:00
Joey Hess
c579ee2fec starting 2013 survey 2013-11-13 16:01:35 -04:00
Joey Hess
778d22e311 update to highlight current month 2013-11-12 17:41:48 -04:00
Joey Hess
ec2c2adb10 one more git-remote-gcrypt ref 2013-11-07 12:29:13 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmWBvsZvSsAL8P2ye3F0OBStjFCVnOImzM
a0a3235f87 Added a comment: Making "git-annex add" commit largefiles, too? 2013-10-31 00:26:23 +00:00
Joey Hess
8820091b4c webapp: remind user when using repositories that lack consistency checks
When starting up the assistant, it'll remind about the current
repository, if it doesn't have checks. And when a removable drive
is plugged in, it will remind if a repository on it lacks checks.

Since that might be annoying, the reminders can be turned off.

This commit was sponsored by Nedialko Andreev.
2013-10-29 16:50:38 -04:00
Joey Hess
496c8b7abb add post-repair actions 2013-10-29 14:25:20 -04:00
Joey Hess
59d8273220 devblog 2013-10-27 16:58:10 -04:00
Joey Hess
7ed8e87a34 assistant: Support repairing git remotes that are locally accessible
(eg, on removable drives)

gcrypt remotes are not yet handled.

This commit was sponsored by Sören Brunk.
2013-10-27 15:38:59 -04:00
Joey Hess
a8330625f5 update 2013-10-23 15:14:20 -04:00
Joey Hess
e32b62b50e update 2013-10-23 15:05:57 -04:00
Joey Hess
435ea52f3c repair command: add handling of git-annex branch and index 2013-10-23 13:00:45 -04:00
Joey Hess
cd89b0cebe update 2013-10-22 18:12:45 -04:00
Joey Hess
1eaec2f9aa UI tweaks 2013-10-22 16:30:23 -04:00
Joey Hess
3e61749d08 index file recovery 2013-10-22 12:58:04 -04:00
Joey Hess
6d664ed1bb update 2013-10-21 16:47:16 -04:00
Joey Hess
18487c779f corrupt branch resetting (but not yet reflog walking) 2013-10-21 16:20:54 -04:00
Joey Hess
09127d4e49 update 2013-10-20 18:00:38 -04:00
Joey Hess
4f871f89ba git-recover-repository 1/2 done 2013-10-20 17:50:51 -04:00
Joey Hess
39a3758154 Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-19 11:54:15 -04:00
Joey Hess
c66caf7b5b update 2013-10-19 11:54:08 -04:00
http://nullroute.eu.org/~grawity/
e35ebaae43 Added a comment 2013-10-19 15:50:47 +00:00
Joey Hess
88c172bbee update 2013-10-18 15:27:20 -04:00
Joey Hess
f5709e7fca update 2013-10-18 15:26:19 -04:00
Joey Hess
6bbbe6fa5d update 2013-10-18 15:20:44 -04:00
Joey Hess
30ca7805d6 update 2013-10-18 15:11:17 -04:00
Joey Hess
50684ea7bf Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-18 14:04:13 -04:00
Joey Hess
c027dcf9f4 detailed design for git repository repair 2013-10-18 14:00:27 -04:00
107.1.64.82
7530307a84 poll vote (/sdcard/annex) 2013-10-18 15:22:26 +00:00
80.81.0.171
4ac6d1b3d7 poll vote (/sdcard/annex) 2013-10-18 12:25:56 +00:00
Joey Hess
e5e4b80b09 add support for weekly, monthly, and yearly schedules that run on no specific day 2013-10-15 13:27:21 -04:00
Joey Hess
7b82f431ba need to improve Recurrance 2013-10-14 16:40:48 -04:00
Joey Hess
293f3d2a59 update 2013-10-14 16:29:34 -04:00
Joey Hess
1a4c1d0917 devblog 2013-10-13 17:21:05 -04:00
Joey Hess
e7a134208c update 2013-10-11 17:33:51 -04:00
Joey Hess
1b7b397bdf update 2013-10-10 18:09:06 -04:00
Joey Hess
33c8e6b14c highlight current month 2013-10-10 16:55:14 -04:00
Joey Hess
feef7d3800 devblog 2013-10-05 17:26:17 -04:00
Joey Hess
891242ad26 another lock file 2013-10-03 17:05:53 -04:00
Joey Hess
93dbb7842e watcher: Detect at startup time when there is a stale .git/lock, and remove it so it does not interfere with the automatic commits of changed files. 2013-10-03 16:57:21 -04:00
Joey Hess
7286fbd93e gcrypt basically done 2013-10-01 19:12:08 -04:00
Joey Hess
76421872d1 notes 2013-09-17 20:08:44 -04:00
77.22.198.109
519774e5da poll vote (/sdcard/annex) 2013-09-17 19:43:26 +00:00
41.151.39.112
e330985122 poll vote (Whole /sdcard) 2013-09-13 20:06:42 +00:00
http://droggl.myopenid.com/
67f1181694 Added a comment 2013-09-11 11:55:27 +00:00
Joey Hess
90bdd70f13 split out roadmap 2013-09-06 14:06:15 -04:00
107.1.64.82
3ecb852b4a poll vote (/sdcard/annex) 2013-09-06 14:41:58 +00:00
82.243.233.186
f0dd323d46 poll vote (Tahoe-LAFS) 2013-09-06 05:55:49 +00:00
109.190.97.30
a3fe5c1971 poll vote (Tahoe-LAFS) 2013-09-05 23:14:29 +00:00
Joey Hess
a48a4e2f8a automatically derive an annex-uuid from a gcrypt-uuids 2013-09-05 16:02:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnxlx1UrzVhdy6_gFjzmF42x6QXxBUxg00
9551dca9c8 poll vote (/sdcard/annex) 2013-09-05 12:16:43 +00:00
2.244.15.209
b04957628d poll vote (/sdcard/annex) 2013-09-05 11:06:19 +00:00
Joey Hess
fc7b5cfe7d Merge branch 'encryption' 2013-09-05 00:09:11 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU
7740afd10f Added a comment: New YouTube problems 2013-09-05 03:45:16 +00:00
Joey Hess
f8082933e7 clarify 2013-08-29 14:32:25 -04:00
guilhem
53ce59021a Allow revocation of OpenPGP keys.
/!\ It is to be noted that revoking a key does NOT necessarily prevent
the owner of its private part from accessing data on the remote /!\

The only sound use of `keyid-=` is probably to replace a (sub-)key by
another, where the private part of both is owned by the same
person/entity:

    git annex enableremote myremote keyid-=2512E3C7 keyid+=788A3F4C

Reference: http://git-annex.branchable.com/bugs/Using_a_revoked_GPG_key/

* Other change introduced by this patch:

New keys now need to be added with option `keyid+=`, and the scheme
specified (upon initremote only) with `encryption=`. The motivation for
this change is to open for new schemes, e.g., strict asymmetric
encryption.

    git annex initremote myremote encryption=hybrid keyid=2512E3C7
    git annex enableremote myremote keyid+=788A3F4C
2013-08-29 14:31:33 -04:00
Joey Hess
484daf5b39 fix pagespec 2013-08-28 17:43:18 -04:00
Joey Hess
719e6e3709 move post to other blog 2013-08-28 17:41:55 -04:00
Joey Hess
47acd6aee5 new devblog for new year of crowdfunded development 2013-08-28 17:40:09 -04:00
Joey Hess
5ff6fce61a fix 2013-08-28 17:27:39 -04:00
Joey Hess
07a8a59dc6 blog for the day 2013-08-28 17:21:52 -04:00
Joey Hess
c4fcb20d02 blog for the day 2013-08-26 22:03:37 -04:00
Joey Hess
22d649d6e3 blog for the day 2013-08-25 21:46:04 -04:00
Joey Hess
2794f4fb48 blog for the day 2013-08-24 16:03:32 -04:00
Joey Hess
f274b6bbd0 blog for the day 2013-08-22 18:57:02 -04:00
GLITTAH
0f2cbdfad5 Added a comment 2013-08-20 22:42:48 +00:00
Joey Hess
42eeac1451 blog for the day 2013-08-20 16:03:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlpSOjMH7Iaz56v6Pr9KCFSpbvMXvg-y9o
45109f35f5 Added a comment: That's amazing... 2013-08-17 11:18:05 +00:00
94.211.35.149
821a482608 poll vote (Tahoe-LAFS) 2013-08-17 09:06:23 +00:00
80.83.50.102
c4fbda6c1f poll vote (OpenStack SWIFT) 2013-08-16 13:51:39 +00:00
Joey Hess
624cfebb0c catchup blog 2013-08-15 11:06:31 +02:00
145.120.12.49
8140a62cb0 poll vote (/sdcard/annex) 2013-08-12 09:41:14 +00:00
Joey Hess
a91dfef16c Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-06 13:35:27 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm72W-CH7bzZ8uHvaw1KJGrToPSQDNBnIA
a613117b82 Added a comment: bup splitting 2013-08-05 17:13:14 +00:00
Joey Hess
9a75457f70 blog for the day 2013-08-04 19:18:42 -04:00
http://adamspiers.myopenid.com/
5202e1a940 Added a comment: This makes me happy :-) 2013-08-04 00:46:26 +00:00
Joey Hess
17f05d6572 blog for the day 2013-08-02 20:38:57 -04:00
Joey Hess
b191d5c595 gitignore support for the assistant and watcher
Requires git 1.8.4 or newer. When it's installed, a background
git check-ignore process is run, and used to efficiently check ignores
whenever a new file is added.

Thanks to Adam Spiers, for getting the necessary support into git for this.

A complication is what to do about files that are gitignored but have
been checked into git anyway. git commands assume the ignore has been
overridden in this case, and not need any more overriding to commit a
changed version.

However, for the assistant to do the same, it would have to run git ls-files
to check if the ignored file is in git. This is somewhat expensive. Or it
could use the running git-cat-file process to query the file that way,
but that requires transferring the whole file content over a pipe, so it
can be quite expensive too, for files that are not git-annex
symlinks.

Now imagine if the user knows that a file or directory tree will be getting
frequent changes, and doesn't want the assistant to sync it, so gitignores
it. The assistant could overload the system with repeated ls-files checks!

So, I've decided that the assistant will not automatically commit changes
to files that are gitignored. This is a tradeoff. Hopefully it won't be a
problem to adjust .gitignore settings to not ignore files you want the
assistant to autocommit, or to manually git annex add files that are listed
in .gitignore.

(This could be revisited if git-annex gets access to an interface to check
the content of the index w/o forking a git command. This could be libgit2,
or perhaps a separate git cat-file --batch-check process, so it wouldn't
need to ship over the whole file content.)

This commit was sponsored by Francois Marier. Thanks!
2013-08-02 20:37:03 -04:00
Joey Hess
e6123b0187 reorder 2013-08-01 17:57:53 -04:00
Joey Hess
bb74db6ef0 blog for the day 2013-08-01 17:33:04 -04:00
Joey Hess
4e6f498cb8 update 2013-08-01 15:25:47 -04:00
https://launchpad.net/~mikapflueger
b640a5941b Added a comment: Thank you so much! 2013-08-01 01:13:53 +00:00
Richard Hartmann
0afe0273cb Typo 2013-08-01 01:16:27 +02:00
Joey Hess
3a1e458e0a blog for the day 2013-07-31 16:47:30 -04:00
http://joeyh.name/
890bf1a750 Added a comment 2013-07-31 20:03:13 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU
9545d3420c Added a comment: Horns? 2013-07-31 19:53:51 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU
209a0ca0fa removed 2013-07-31 19:53:15 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU
3cce0d51e6 Added a comment: Horns? 2013-07-31 19:52:42 +00:00
Joey Hess
19adb2a7cf blog for the day 2013-07-30 17:06:18 -04:00
Joey Hess
fdb6593b90 blog for the day 2013-07-28 18:35:07 -04:00
Joey Hess
750fe0cbf2 update 2013-07-27 20:55:50 -04:00
Joey Hess
3611de5864 blog for the day 2013-07-27 19:07:37 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlUbH3eytydcwlWqv8oauE2Jg4NwcV9uA0
ecc23cda38 Added a comment: A good day to be the sponsor! 2013-07-27 12:31:28 +00:00
Joey Hess
70d3116c43 blog for the day 2013-07-26 19:52:14 -04:00
Joey Hess
375f8fafd6 update 2013-07-26 01:20:09 -04:00
Joey Hess
8b5549b8ca blog for the day 2013-07-25 16:15:04 -04:00
http://joeyh.name/
d10dfefa28 Added a comment 2013-07-25 18:22:51 +00:00
http://edward.myopenid.com/
152e4eac00 fix typo: Once way -> One way 2013-07-25 10:51:26 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlnoH5btjn_BLib3_IhES5uMhrzuOiwCYo
e6482b2ad7 Added a comment: windows port 2013-07-25 07:50:19 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm7AuSfii_tCkLyspL6Mr0ATlO6OxLNYOo
372d88c349 Added a comment: for OSX, package managers (homebrew and macports) are really second-class 2013-07-24 07:24:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmnG4EuvZWse5hvgrl0XAK-U61e-0iGaao
010c04ce25 Added a comment: Broken dependencies on Debian wheezy 2013-07-24 07:21:18 +00:00
Sagi
9b18f13d81 Added a comment: Why not use OTR? 2013-07-23 23:53:12 +00:00
Joey Hess
633089e38c there is no month 4 2013-07-23 18:53:26 -04:00
Joey Hess
914323dc06 blog for the day 2013-07-23 18:51:04 -04:00
Joey Hess
b0d0f13f44 improve 2013-07-23 18:49:40 -04:00
Joey Hess
96634ceea6 fix link 2013-07-23 18:48:09 -04:00
Joey Hess
17016017d8 roadmap for next year's work 2013-07-23 18:46:09 -04:00
Joey Hess
4ad7726d67 blog for the day 2013-07-22 17:59:39 -04:00