Joey Hess
73769190b6
grouped commands into related sections
2011-09-15 22:22:43 -04:00
Joey Hess
cbd9ade075
remove now unnecessary git commits
2011-09-15 22:10:17 -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
7b90cb72fc
document --auto all in one place
2011-09-15 15:15:47 -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
b7bcd942c5
add news item for git-annex 3.20110906
2011-09-06 15:54:43 -04:00
Joey Hess
3778e8897d
switch to using cabal-install git-annex
2011-09-06 14:48:15 -04:00
Joey Hess
ca4eb842a4
add json to build scripts
2011-09-06 14:36:21 -04:00
Joey Hess
92f490383a
Merge branch 'master' of ssh://git-annex.branchable.com
2011-09-06 14:35:55 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl0-EtQjVUNysjom6sTlQxRUwkwD6uPx88
fcfd2776cb
2011-09-06 18:27:08 +00:00
Joey Hess
07125dca53
Improve display of newlines around error and warning messages.
2011-09-06 13:46:08 -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
ea621d0c2d
add news item for git-annex 3.20110902
2011-09-02 21:32:21 -04:00
Joey Hess
cb5dacfd40
rsync and wget use stderr for progress, so no problem
2011-09-01 16:15:57 -04:00
Joey Hess
e4a74c0dc5
close bug with some caveats
2011-09-01 16:11:21 -04:00
Joey Hess
2f4d4d1c45
basic json support
...
This includes a generic JSONStream library built on top of Text.JSON
(somewhat hackishly).
It would be possible to stream out a single json document describing
all actions, but it's probably better for consumers if they can expect
one json document per line, so I did it that way instead.
Output from external programs used for transferring files is not
currently hidden when outputting json, which probably makes it not very
useful there. This may be dealt with if there is demand for json
output for --get or --move to be parsable.
The version, status, and find subcommands have hand-crafted output and
don't do json. The whereis subcommand needs to be modified to produce
useful json.
2011-09-01 15:22:06 -04:00
Joey Hess
38eff1dc1f
Merge branch 'master' of ssh://git-annex.branchable.com
2011-08-31 19:13:23 -04:00
Joey Hess
f600444ab6
unused --remote: Reduced memory use to 1/4th what was used before.
...
Using a single strictness annotation, in just the right place.
Tried several others, none of which helped and some of which potentially
hurt. This is only the second time I've really had to deal with this in
a year of using haskell, which is, I suppose not that bad.
2011-08-31 19:13:02 -04:00
http://jefferai.org/
baa43cb9c0
2011-08-30 20:56:44 +00:00
Joey Hess
abe3b5bf78
Merge branch 'master' of ssh://git-annex.branchable.com
2011-08-30 13:32:40 -04:00
Joey Hess
b96443364e
smudge update: Not practical.
2011-08-30 13:29:07 -04:00
http://www.schleptet.net/~cfm/
9e135a6ee2
Added a comment
2011-08-30 14:31:38 +00:00
Joey Hess
5ef11350aa
link to patch
2011-08-29 16:41:47 -04:00
Joey Hess
cd199e442f
update; showstopper issue with current git
...
developed a patch for git, we'll see if they like it..
2011-08-29 16:31:47 -04:00
Joey Hess
d1154d0837
init: Make description an optional parameter.
2011-08-29 14:13:38 -04:00
Joey Hess
b2c5639dcc
update
2011-08-29 13:29:39 -04:00
Joey Hess
676c467801
close
2011-08-29 12:49:38 -04:00
Joey Hess
025e66e3d3
update to not overstate the danger or WORM
2011-08-29 12:11:05 -04:00
http://joey.kitenet.net/
2a76ad4167
Added a comment
2011-08-29 16:10:38 +00:00
cwg
eb4607aafc
2011-08-29 12:37:23 +00:00
cwg
b6758746f6
2011-08-29 12:35:19 +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
b26ee162f3
guess not everyone configures their shell to show nonzero exit codes..
2011-08-27 12:34:02 -04:00
Joey Hess
6e750764b7
The wget command will now be used in preference to curl, if available.
...
Got tired of curl's various ugly progress bars.
2011-08-27 12:31:50 -04:00
http://peter-simons.myopenid.com/
9170e1b87d
2011-08-26 10:55:43 +00:00
Joey Hess
7121526385
add news item for git-annex 3.20110819
2011-08-19 20:39:03 -04:00
Joey Hess
8a2197adfa
Added annex-cost-command configuration, which can be used to vary the cost of a remote based on the output of a shell command.
...
Also avoided crashing if the user specified cost value cannot be parsed.
2011-08-18 12:20:47 -04:00
Joey Hess
228a724d1d
improve docs for init
2011-08-17 14:44:31 -04:00
Joey Hess
3b5f722130
init no longer creates .gitattributes
2011-08-17 14:44:31 -04:00
http://joey.kitenet.net/
a131fabc0d
Added a comment: Re: squeeze-backports update?
2011-08-17 15:34:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawla7u6eLKNYZ09Z7xwBffqLaXquMQC07fU
e950947cc9
Added a comment: squeeze-backports update?
2011-08-17 12:34:48 +00:00
Joey Hess
00cc34a4c3
add news item for git-annex 3.20110817
2011-08-17 01:34:43 -04:00
http://joey.kitenet.net/
cde8221051
Added a comment
2011-08-17 04:56:30 +00:00
http://joey.kitenet.net/
dffbf49d90
Added a comment
2011-08-17 01:33:08 +00:00
Joey Hess
790b0f3879
update
2011-08-16 21:16:23 -04:00
Joey Hess
e6752cc064
Added support for getting content from git remotes using http (and https).
2011-08-16 21:12:48 -04:00
Joey Hess
c04f1f4c30
response
2011-08-16 16:11:55 -04:00
Joey Hess
f1f6a9d887
Merge branch 'master' of ssh://git-annex.branchable.com
2011-08-16 11:51:41 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkHscTHMCNvjJ6nLI1VpsBrJFI5FTwhUT4
c3f74c6959
2011-08-15 18:19:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkHscTHMCNvjJ6nLI1VpsBrJFI5FTwhUT4
9f719e5674
2011-08-15 18:18:22 +00:00
Joey Hess
829ea31b72
typo
2011-08-15 13:30:59 -04:00
Joey Hess
9980ddff30
Merge branch 'master' of ssh://git-annex.branchable.com
2011-08-14 19:58:16 -04:00
http://christian.amsuess.com/chrysn
18012c7ec8
enhancement suggestion
2011-08-12 13:09:11 +00:00
http://christian.amsuess.com/chrysn
8b847517a8
(i don't have a remote origin, but it's more common and doesn't change the example)
2011-08-10 17:00:09 +00:00
http://christian.amsuess.com/chrysn
f8282b55ce
problems with version 3 upgrade instructions
2011-08-10 16:56:51 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm4or5sJLWB0evPKp70Q2OND-JmFPnOkLA
20a8f8c85b
2011-08-09 13:04:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm4or5sJLWB0evPKp70Q2OND-JmFPnOkLA
1e934c29d6
2011-08-09 13:02:32 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm4or5sJLWB0evPKp70Q2OND-JmFPnOkLA
065e1a507b
2011-08-09 13:00:21 +00:00
Joey Hess
c5666ec481
Merge branch 'master' of ssh://git-annex.branchable.com
2011-08-08 15:41:57 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmFgsNxmnGznb5bbmcoWhoQOoxZZ-io61s
614d8f9856
Added a comment
2011-08-08 09:04:21 +00:00
Joey Hess
dede05171b
addurl: --fast can be used to avoid immediately downloading the url.
...
The tricky part about this is that to generate a key, the file must be
present already. Worked around by adding (back) an URL key type, which
is used for addurl --fast.
2011-08-06 14:57:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawliqfHEW134uawIUPwyKiyOdoF-oI5TxnQ
d2492f990f
2011-08-05 22:35:48 +00:00
Joey Hess
46ddb4e66a
response
2011-08-05 10:29:21 -04:00
Joey Hess
3211c6e335
Merge branch 'master' of ssh://git-annex.branchable.com
2011-08-05 10:27:56 -04:00
Joey Hess
578e669964
response
2011-08-05 10:27:22 -04:00
http://christian.amsuess.com/chrysn
d3f6f4fe34
fixed internal link
2011-08-04 15:25:21 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmFgsNxmnGznb5bbmcoWhoQOoxZZ-io61s
a746623a33
2011-08-01 09:54:51 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmFgsNxmnGznb5bbmcoWhoQOoxZZ-io61s
b48fec3846
2011-08-01 09:52:22 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmL8pteP2jbYJUn1M3CbeLDvz2SWAA1wtg
344f2c3ec1
Added a comment: Solution
2011-07-31 15:24:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
ad4528cce8
2011-07-31 01:20:35 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmL8pteP2jbYJUn1M3CbeLDvz2SWAA1wtg
d9cdb5eb45
2011-07-30 18:04:25 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmL8pteP2jbYJUn1M3CbeLDvz2SWAA1wtg
16c55f61f2
2011-07-30 17:28:42 +00:00
Joey Hess
45bbf210a1
Fix shell escaping in rsync special remote.
2011-07-29 15:28:21 +02:00
https://www.google.com/accounts/o8/id?id=AItOawkvSZ1AFJdY_1FeutZr_KWeqtzjZta1PNE
50edbb03eb
2011-07-28 17:40:53 +00:00
Joey Hess
1d88b966e2
fix broken img
2011-07-24 15:15:43 +02:00
Joey Hess
d8f21b7955
add news item for git-annex 3.20110719
2011-07-19 23:54:36 -04:00
Joey Hess
13187b1ba7
close
2011-07-15 12:55:05 -04:00
Joey Hess
39ae33386d
update
2011-07-15 12:53:58 -04:00
Joey Hess
7fa7601490
response
2011-07-15 12:51:06 -04:00
http://peter-simons.myopenid.com/
185f0b6870
2011-07-15 15:33:35 +00:00
Joey Hess
ded2591124
unannex: Clean up use of git commit -a.
...
This was more complex than would be expected. unannex has to use git commit -a
since it's removing files from git; git commit filelist won't do.
Allow commands to be added to the Git queue that have no associated files,
and run such commands once.
2011-07-14 17:15:37 -04:00
Joey Hess
0c46cbab09
Support the standard git -c name=value
...
This allows eg, `git-annex -c annex.rsync-options=-6 get file`
The overridden git configs are not passed on to git plumbing commands
that are run. Perhaps someone will find a need to do that, but I don't yet
and it would require storing more state to know what config settings
have been overridden and need to be passed on.
2011-07-14 16:51:20 -04:00
http://peter-simons.myopenid.com/
020787bb97
2011-07-14 12:15:42 +00:00
http://peter-simons.myopenid.com/
a4f2dd2fc6
Added a comment: Solved
2011-07-13 16:21:26 +00:00
http://peter-simons.myopenid.com/
709f75f187
2011-07-13 10:35:47 +00:00
http://peter-simons.myopenid.com/
0fee31a164
2011-07-13 10:35:18 +00:00
Joey Hess
c38dd9adc8
analysis
2011-07-10 15:37:29 -04:00
Joey Hess
7919de73af
Bugfix: Make add ../ work.
...
The complication of check-attr returning absolute paths that have to be
converted back to relative paths..
2011-07-10 13:52:53 -04:00
Joey Hess
562fd41d6c
Merge branch 'master' of ssh://git-annex.branchable.com
2011-07-10 13:05:01 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
085eeaa652
2011-07-09 01:49:09 +00:00
Joey Hess
7da059e557
update
2011-07-08 01:26:18 -04:00
http://joey.kitenet.net/
a8fe35f645
2011-07-08 03:39:22 +00:00
http://joey.kitenet.net/
151b1d85c7
Added a comment
2011-07-08 01:32:30 +00:00
Joey Hess
433b6b75e5
Merge branch 'master' of ssh://git-annex.branchable.com
2011-07-07 21:31:22 -04:00