Commit graph

195 commits

Author SHA1 Message Date
Joey Hess
949b3f69d0 optimize: A new subcommand that either gets or drops file content as needed to work toward meeting the configured numcopies setting.
This is currently rather simplistic, though still useful.
In the future, it could become smarter about what content is stored where,
etc.
2011-09-14 13:47:22 -04:00
Joey Hess
03d6209e1c addurl: Always use whole url as destination filename, rather than only its file component.
First, this ensures that git annex addurl, when run repeatedly with the
same url, doesn't create duplicate files, which it did before when it
fell back to the longer filename.

Secondly, the file part of an url is frequently not very descriptive on its
own.

The uri scheme, auth, and port is intentionally left out, as clutter.
2011-09-07 19:04:51 -04:00
Joey Hess
14f75ced75 remove now unnecessary commit after get 2011-09-05 11:59:53 -04:00
Joey Hess
dbef6a045c remove now-unnecessary commit after drop 2011-09-05 11:59:52 -04:00
http://joey.kitenet.net/
f0777d9b5a Added a comment 2011-09-05 15:59:27 +00:00
DavidEdmondson
c5c525d930 Added a comment: Is it necessary to commit after the 'drop'? 2011-09-05 15:43:26 +00:00
Joey Hess
bbba6c19bd update documentation for new, neutered key-value backends
Backends are now only used to generate keys (and check them); they
are not arbitrary key-value stores for data, because it turned out such
a store is better modeled as a special remote. Updated docs to not
imply backends do more than they do now.

Sometimes I'm tempted to rename "backend" to "keytype" or something,
which would really be more clear. But it would be an annoying transition
for users, with annex.backends etc.
2011-08-28 16:28:38 -04:00
Joey Hess
a140f7148f documentation for using the web 2011-07-01 16:05:06 -04:00
Joey Hess
6ba866ca73 updates for web remote and removing URL backend 2011-07-01 15:39:30 -04:00
Joey Hess
e3384eb476 tweak fsck wording so file is at the end of the line 2011-06-23 19:56:24 -04:00
Joey Hess
c3d96ee38a adjust walkthrough for git-annex branch
don't just pull master.. pull everything
2011-06-22 17:47:55 -04:00
Joey Hess
b1acf41036 update documentation that mentioned .git-annex/ 2011-06-22 17:26:34 -04:00
Joey Hess
90dd245522 get --from is the same as copy --from
get not honoring --from has surprised me a few times, so least surprise
suggests it should just behave like copy --from. This leaves the difference
between get and copy being that copy always requires the remote to copy
from, while get will decide whether to get a file from a key/value store or
a remote.
2011-06-09 18:54:49 -04:00
Joey Hess
25b13673f0 improve unused command's output
Display the name of the remote being checked, with "." for the current
remote, echoing the way describe takes that to change its description.
2011-05-28 22:20:22 -04:00
Joey Hess
57428c356e heh 2011-05-16 13:33:33 -04:00
Joey Hess
0a7bcd47ae IA: do not create bucket at initremote time
This way, the metadata sent when uploading a file is applied to the bucket
then.
2011-05-16 13:10:26 -04:00
Joey Hess
8fa17eaba0 tweak 2011-05-16 12:12:03 -04:00
Joey Hess
267eeb995b tweak 2011-05-16 11:55:33 -04:00
Joey Hess
b4301c208f cleanup 2011-05-16 11:52:33 -04:00
Joey Hess
2a8efc7af1 Added filename extension preserving variant backends SHA1E, SHA256E, etc. 2011-05-16 11:46:34 -04:00
Joey Hess
1d2984441c add a few tweaks to make it easy to use the Internet Archive's variant of S3
In particular, munge key filenames to comply with the IA's filename limits,
disable encryption, support their nonstandard way of creating buckets, and
allow x-amz-* headers to be specified in initremote to set item metadata.

Still TODO: initremote does not handle multiword metadata headers right.
2011-05-16 11:20:35 -04:00
Joey Hess
275c728509 cleanup 2011-05-16 02:18:28 -04:00
Joey Hess
8564498b5d cleanup 2011-05-16 02:15:00 -04:00
Joey Hess
647f7cf47c added documentation for using the Internet Archive as a remote via S3
Renamed Amazon_S3 page to just S3.
2011-05-16 02:07:59 -04:00
Joey Hess
c91764b257 move other comments 2011-05-15 20:35:39 -04:00
Joey Hess
7846cc7e50 Merge remote-tracking branch 'branchable/master' 2011-05-15 20:35:00 -04:00
Joey Hess
af54d40d5b move conversation to a real bug report 2011-05-15 20:33:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
4c312d8d8f Added a comment 2011-05-15 21:38:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
120bc4208d Added a comment 2011-05-15 20:50:27 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
4d140e3901 Added a comment 2011-05-15 20:25:25 +00:00
http://joey.kitenet.net/
59ae1df7a0 Added a comment 2011-05-15 19:40:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
9708940ced Added a comment 2011-05-15 18:53:27 +00:00
http://joey.kitenet.net/
7010b9e5c5 Added a comment 2011-05-15 16:47:53 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
dfdfbe5f22 Added a comment 2011-05-15 09:16:53 +00:00
http://joey.kitenet.net/
1b2e0c183d Added a comment 2011-05-15 00:09:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
a9ba88dfbd Added a comment 2011-05-14 23:13:15 +00:00
http://joey.kitenet.net/
385268da2e Added a comment 2011-05-14 19:23:45 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
9a42ab53be Added a comment 2011-05-14 19:03:44 +00:00
http://joey.kitenet.net/
81bca602da Added a comment 2011-05-14 16:13:58 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
99c6dd556f Added a comment 2011-05-14 09:06:54 +00:00
Joey Hess
552aee694c layout 2011-05-13 14:58:48 -04:00
http://joey.kitenet.net/
f7174d09b6 Added a comment 2011-05-12 01:01:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
62cd26c64a Added a comment 2011-05-12 00:07:31 +00:00
Joey Hess
3c319cd844 avoid always decrypting cipher
Last change moved cipher decryption to remote setup time.
Fixed this with a bit of a hack.
2011-05-01 15:13:54 -04:00
Joey Hess
1f84c7a964 S3: When encryption is enabled, the Amazon S3 login credentials are stored, encrypted, in .git-annex/remotes.log, so environment variables need not be set after the remote is initialized. 2011-05-01 14:05:10 -04:00
Joey Hess
86f7feb278 initremote: show gpg keys 2011-04-17 18:18:27 -04:00
Joey Hess
dd207994bc reword again
On second thought, "unlocking" is confusable with git-annex unlock.
2011-04-17 12:36:12 -04:00
Joey Hess
f486768b16 tweak wording 2011-04-17 11:31:56 -04:00
Joey Hess
d2e74efdb2 document encryption 2011-04-16 19:35:02 -04:00
Joey Hess
c739c7d787 change name of buprepo
Instead of remote=, use buprepo=

Anyone already using bup will need to re-run git annex initremote.
2011-04-09 12:41:17 -04:00
Joey Hess
3650f42bcf typo 2011-04-08 20:47:23 -04:00
Joey Hess
1bfd8d659a typo 2011-04-08 20:46:40 -04:00
Joey Hess
5d7ef05d95 local bup remotes 2011-04-08 20:44:52 -04:00
Joey Hess
9de1f5d9cf typo 2011-04-08 17:15:14 -04:00
Joey Hess
280b9677d6 expand 2011-04-08 17:13:50 -04:00
Joey Hess
f3953d5d4f reword 2011-04-08 17:12:29 -04:00
Joey Hess
dacf53dacc reorg 2011-04-08 17:09:50 -04:00
Joey Hess
80b6c6d4be tweak 2011-04-08 16:54:53 -04:00
Joey Hess
f2324c9415 bupdates 2011-04-08 16:51:49 -04:00
Joey Hess
44c65f40b7 bup is now supported as a special type of remote. 2011-04-08 16:44:43 -04:00
Joey Hess
f3cf20d22a document bup special remotes 2011-04-08 14:56:57 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
e8796f439d 2011-04-03 08:58:20 +00:00
Joey Hess
a33ba92e80 Merge remote-tracking branch 'branchable/master' 2011-04-02 22:34:42 -04:00
Joey Hess
248bbf76ca typo 2011-04-02 22:34:05 -04:00
http://joey.kitenet.net/
e08fa92dfa Added a comment 2011-04-03 02:32:17 +00:00
Joey Hess
59923c6cf7 tweak 2011-04-02 21:52:57 -04:00
Joey Hess
c7c0a229c8 Merge remote-tracking branch 'branchable/master' 2011-04-02 21:36:51 -04:00
Joey Hess
868300d4c1 unused/dropunused: support --from 2011-04-02 21:35:02 -04:00
http://dieter-be.myopenid.com/
c5f8284af1 Added a comment 2011-04-02 20:24:34 +00:00
Joey Hess
3adb48f46a more S3 docs 2011-03-29 18:21:05 -04:00
Joey Hess
72f94cc42e progress 2011-03-29 17:20:22 -04:00
Joey Hess
475f707361 initremote now creates buckets 2011-03-29 16:21:21 -04:00
Joey Hess
e62f9816ab doc update for S3 2011-03-29 15:12:07 -04:00
Joey Hess
b1db436816 started on initremote 2011-03-28 23:22:31 -04:00
Joey Hess
235720d27e tweak 2011-03-28 22:05:11 -04:00
Joey Hess
58af574934 generalize special remote configuration storage 2011-03-28 19:08:12 -04:00
Joey Hess
3162a724f1 S3 updates; gpg keys 2011-03-28 13:48:17 -04:00
Joey Hess
3bdc5eb290 will need gpg encryption for s3 2011-03-28 08:40:05 -04:00
Joey Hess
1878745a46 more s3 docs 2011-03-28 02:13:26 -04:00
Joey Hess
c0fd38bfa9 document S3 remotes 2011-03-27 22:52:13 -04:00
http://joey.kitenet.net/
da198e87fb bit about bare repos 2011-03-23 15:31:54 +00:00
http://joey.kitenet.net/
d0a7513bbb Added a comment 2011-03-23 15:28:00 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
745f48297d Added a comment 2011-03-23 02:07:49 +00:00
http://joey.kitenet.net/
0e8f304dec Added a comment 2011-03-23 00:38:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
686b12ae30 Added a comment 2011-03-22 23:41:53 +00:00
http://joey.kitenet.net/
9d96ef4dda Added a comment 2011-03-19 15:35:38 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
5e76dab6fe Added a comment 2011-03-19 01:18:49 +00:00
Joey Hess
efd555848d remove bad information
You do not need to pull from a remote to make git-annex aware of it.
Pulling only makes git know about remote/master branches, but git-annex
does not care about that. When git-annex encounters a remote in .git/config
that has no recorded annex.uuid, it connects to it to get the uuid
automatically, and will immediately start using it.

A later part of this walkthrough shows how to pull from a remote
in order to get its location tracking info, so that git-annex can retrieve
files from it. That's the right place to document the need to pull from
a remote periodically.
2011-03-18 16:13:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
12a2f366c2 2011-03-18 18:07:52 +00:00
Joey Hess
27472710c7 initial pass at doc update 2011-03-15 22:19:44 -04:00
Joey Hess
9229d182d3 update 2011-03-09 15:59:44 -04:00
http://m-f-k.myopenid.com/
232553af01 be more clear about the rsync usage 2011-03-06 16:32:16 +00:00
Joey Hess
eeadc2e3e0 formatting 2011-03-03 17:24:46 -04:00
Joey Hess
1de12a2918 document describe command 2011-03-03 16:58:52 -04:00
Joey Hess
98e246b49b split the walkthrough and inline back together 2011-02-27 12:45:48 -04:00