Joey Hess
984c9fc052
remove optimize subcommand; use --auto instead
...
get, drop: Added --auto option, which decides whether to get/drop content
as needed to work toward the configured numcopies.
The problem with bundling it up in optimize was that I then found I wanted
to run an optmize that did not drop files, only got them. Considered adding
a --only-get switch to it, but that seemed wrong. Instead, let's make
existing subcommands optionally smarter.
Note that the only actual difference between drop and drop --auto is that
the latter does not even try to drop a file if it knows of not enough
copies, and does not print any error messages about files it was unable to
drop.
It might be nice to make get avoid asking git for attributes when not in
auto mode. For now it always asks for attributes.
2011-09-15 13:30:04 -04:00
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
dacf53dacc
reorg
2011-04-08 17:09:50 -04:00
Joey Hess
f66b6f6360
move esoteric stuff from walkthrough to cheatsheet
2011-04-08 17:08:20 -04:00
Joey Hess
f3cf20d22a
document bup special remotes
2011-04-08 14:56:57 -04:00
Joey Hess
c0fd38bfa9
document S3 remotes
2011-03-27 22:52:13 -04:00
Joey Hess
9229d182d3
update
2011-03-09 15:59:44 -04:00
Joey Hess
ea4ea466f5
update
2011-03-03 17:23:44 -04:00
Joey Hess
1bf6ed740e
show all
2011-02-27 12:55:13 -04:00
Joey Hess
9a4e54a5e7
custom template for walkthrough inline
2011-02-27 12:52:27 -04:00
Joey Hess
98e246b49b
split the walkthrough and inline back together
2011-02-27 12:45:48 -04:00
http://sunny256.sunbase.org/
c9348f8e55
Typo fixes in walkthrough.mdwn
2011-02-15 05:50:54 +00:00
Joey Hess
ff3c127255
wording
2011-01-26 19:35:29 -04:00
Joey Hess
ba748a1198
fsck: handle untrusted repos
2011-01-26 17:44:40 -04:00
Joey Hess
a78b0555e1
New migrate subcommand can be used to switch files to using a different backend, safely and with no duplication of content.
2011-01-08 15:54:14 -04:00
Joey Hess
32b0e10390
unannex: Now skips files whose content is not present, rather than it being an error. This allows gradual conversion from one backend to another by running unannex followed by add in each repository.
2011-01-08 15:14:41 -04:00
Joey Hess
f936be30c3
message tweaked
2011-01-05 20:29:11 -04:00
Joey Hess
f48658d4ee
Now rsync is exclusively used for copying files to and from remotes. scp is not longer supported.
2010-12-31 19:11:18 -04:00
Joey Hess
14d59b40fb
Revert walkthrough annex.backend change
...
This reverts commit c74347a508
.
I'm afraid that change was just all wrong.
* The gitattributes setting is `annex.backend`. Not `annex.backends`.
* `gitattributes` files need to start with a glob, which this commit removed.
* git config's `annex.backends` is NOT the same as the gitattributes
setting, and is not a knob that we should be encouraging users tweak.
2010-12-29 20:35:51 -04:00
praet
c74347a508
2010-12-30 00:21:00 +00:00
Joey Hess
aa4f91b2d6
Add trust and untrust subcommands, to allow configuring remotes that are trusted to retain files without explicit checking.
2010-12-28 17:17:02 -04:00
Joey Hess
d1b5ef9565
update for rsync
2010-12-02 17:56:25 -04:00
Joey Hess
ca32c7859b
The git-annex-backend attribute has been renamed to annex.backend.
2010-11-28 18:58:03 -04:00
Joey Hess
9d82e815ff
change name of numcopies attribute
2010-11-28 18:55:49 -04:00
Joey Hess
1d78dc2c8d
update docs
2010-11-28 17:54:42 -04:00
Joey Hess
0893820812
fsck: Print warnings to stderr; --quiet can now be used to only see problems.
2010-11-15 18:37:49 -04:00
Joey Hess
11096c200f
fsck no longer runs unused
2010-11-15 18:22:50 -04:00
Joey Hess
354be7a00b
on dropunused and unused
2010-11-15 18:13:20 -04:00
Joey Hess
748a7475bb
dropunused
2010-11-15 18:04:19 -04:00
Joey Hess
19ee56559a
better fsck file handling
2010-11-13 16:15:45 -04:00
Joey Hess
498c8e8544
fsck: avoid global checks if files specified
2010-11-13 16:03:25 -04:00
Joey Hess
147affa252
tweak
2010-11-13 15:44:02 -04:00
Joey Hess
aec34ee1bd
tweak
2010-11-13 15:42:56 -04:00
Joey Hess
abebbcfd54
fsck improvements
2010-11-13 15:24:36 -04:00
Joey Hess
5fa25a812a
fsck improvements
...
* fsck: Check if annex.numcopies is satisfied.
* fsck: Verify the sha1 of files when the SHA1 backend is used.
* fsck: Verify the size of files when the WORM backend is used.
* fsck: Allow specifying individual files to fsk if fscking everything
is not desired.
* fsck: Fix bug, introduced in 0.04, in detection of unused data.
2010-11-13 14:59:27 -04:00
Joey Hess
10f35dceb6
tweak
2010-11-10 14:20:50 -04:00
Joey Hess
d0886a9ac7
explicity run queue to git add files
2010-11-10 13:32:46 -04:00
Joey Hess
ee6052cbf8
update for modifying files
2010-11-10 13:27:52 -04:00
Joey Hess
d56feda25d
maybe call it unlock and not checkout
...
It'd be confusing to have a git-annex subcommand with the same name as a
git subcommand.
2010-11-09 15:11:45 -04:00
Joey Hess
377bf24d9a
documentation for checkout
2010-11-07 21:02:25 -04:00
Joey Hess
d92730bef6
tweaks
2010-10-27 14:48:59 -04:00
Joey Hess
563484e135
pre-commit hook
2010-10-27 14:33:44 -04:00
Joey Hess
99eaf41da5
better messages
2010-10-25 20:48:32 -04:00
Joey Hess
0788c12ffe
improve git annex move in walkthrough
2010-10-25 20:45:50 -04:00
Joey Hess
5601a8db02
update
2010-10-23 14:14:50 -04:00
Joey Hess
6f2a6a42d1
real output
2010-10-22 15:42:59 -04:00
Joey Hess
e6048b0389
document using ssh remotes
2010-10-22 15:38:31 -04:00
Joey Hess
514b98ff55
document move subcommand
2010-10-21 17:59:32 -04:00
Joey Hess
409285d8e1
clarify
2010-10-21 16:36:01 -04:00
Joey Hess
42eab98f56
typo
2010-10-21 16:35:04 -04:00