Commit graph

131 commits

Author SHA1 Message Date
http://yarikoptic.myopenid.com/
6eb93581fd Added a comment: feature request: unlock --drop 2013-05-30 20:26:52 +00:00
Joey Hess
2205b6c944 link direct mode 2013-04-18 15:59:57 -04:00
http://joeyh.name/
bac2bd36c6 Added a comment 2013-03-12 11:15:12 +00:00
https://www.google.com/accounts/o8/id?id=AItOawniXLhO9mLn-7EDfawdENZ2fQwlGy5w_oc
2669c3ed97 Added a comment: unrecognized command 2013-03-12 06:32:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawla7u6eLKNYZ09Z7xwBffqLaXquMQC07fU
721796a3e2 Added a comment: Hint for Debian/Ubuntu 2012-11-07 13:10:15 +00:00
David Bremner
0ba27bac7e fix example commands in comment 2012-10-28 20:33:00 -03:00
bremner
c2a2d226af Added a comment: finding data that isn't unused, but should be. 2012-10-17 20:32:12 +00:00
Joey Hess
71fd18a97f wired preferred content up to get, copy, and drop --auto 2012-10-08 13:16:53 -04:00
http://lj.rossia.org/users/imz/
071aad8925 Added a comment: sorta why git-annex exists in the first place -- not only the slow index 2012-09-25 22:04:01 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmB-gCGEs--zfmvYU-__Hj2FbliUXgxMDs
f869624f9c Added a comment: Fixed 2012-07-13 19:27:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmB-gCGEs--zfmvYU-__Hj2FbliUXgxMDs
50a26cce89 Added a comment: Path problems 2012-07-13 19:15:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
56468d41f2 Added a comment 2012-05-27 23:35:19 +00:00
http://joeyh.name/
6de910312c Added a comment 2012-05-27 22:08:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
b8d36b6667 Added a comment 2012-05-27 21:42:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
3f5b0fc6cd removed 2012-05-27 21:42:40 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
7b09d83db2 Added a comment 2012-05-27 21:41:58 +00:00
http://joeyh.name/
dd6f92bf63 Added a comment 2012-05-27 21:33:11 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
94649c1270 Added a comment 2012-05-27 21:13:50 +00:00
http://joeyh.name/
9ccf933ffa Added a comment 2012-05-27 20:53:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
d39c0d5420 removed 2012-05-27 20:33:22 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
085e02012f Added a comment: cannot get files 2012-05-27 20:33:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkaT0B6s9jQuMzQUYRVBgWqtO7BhT_ZSaE
737a273ea7 Added a comment: cannot get files 2012-05-27 20:33:01 +00:00
Joey Hess
7d6b36dffb deseq 2012-05-02 13:22:04 -04:00
Joey Hess
f165e4aa99 add section on syncing to the walkthrough 2011-12-31 14:50:40 -04:00
Joey Hess
3b1c80d795 fix 2011-12-23 12:58:39 -04:00
Joey Hess
6fcf76bcd1 slight simplification 2011-12-23 12:57:52 -04:00
Joey Hess
a0227e81f9 put in explicit fetch ; merge in walkthrough for now
and link to centralized repository tutorial
2011-12-23 12:55:11 -04:00
Joey Hess
67c9f84a1f fix broken links 2011-11-08 12:23:03 -04:00
Joey Hess
ef3457196a use SHA256 by default
To get old behavior, add a .gitattributes containing: * annex.backend=WORM

I feel that SHA256 is a better default for most people, as long as their
systems are fast enough that checksumming their files isn't a problem.
git-annex should default to preserving the integrity of data as well as git
does. Checksum backends also work better with editing files via
unlock/lock.

I considered just using SHA1, but since that hash is believed to be somewhat
near to being broken, and git-annex deals with large files which would be a
perfect exploit medium, I decided to go to a SHA-2 hash.

SHA512 is annoyingly long when displayed, and git-annex displays it in a
few places (and notably it is shown in ls -l), so I picked the shorter
hash. Considered SHA224 as it's even shorter, but feel it's a bit weird.

I expect git-annex will use SHA-3 at some point in the future, but
probably not soon!

Note that systems without a sha256sum (or sha256) program will fall back to
defaulting to SHA1.
2011-11-04 15:51:01 -04:00
Joey Hess
617bdc740f reorg 2011-10-17 13:56:36 -04:00
Joey Hess
29032cb70e When displaying a list of repositories, show git remote names in addition to their descriptions. 2011-09-30 15:02:29 -04:00
Joey Hess
73f3a00c1c typo 2011-09-19 12:21:53 -04:00
Joey Hess
8ea48c3e39 update docs 2011-09-18 20:56:37 -04:00
Joey Hess
aedf84f7d6 wording 2011-09-15 15:39:48 -04:00
Joey Hess
a0d3a343b5 copy --auto
Only does copy when numcopies is not yet satisfied.
2011-09-15 15:28:58 -04:00
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
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