Commit graph

13182 commits

Author SHA1 Message Date
Joey Hess
07d172e01d cleanup 2013-08-22 18:56:08 -04:00
Joey Hess
42ec386cac Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-22 18:51:23 -04:00
Joey Hess
46b6d75274 Youtube support! (And 53 other video hosts)
When quvi is installed, git-annex addurl automatically uses it to detect
when an page is a video, and downloads the video file.

web special remote: Also support using quvi, for getting files,
or checking if files exist in the web.

This commit was sponsored by Mark Hepburn. Thanks!
2013-08-22 18:50:43 -04:00
http://olivier.berger.myopenid.com/
f4e7da8f5c Added a comment: Added use cases to "special remotes" 2013-08-22 20:23:13 +00:00
http://olivier.berger.myopenid.com/
b1c6b8dce7 Adding a use case from joeyh's comment http://git-annex.branchable.com/special_remotes/rsync/#comment-910be826fc1e7a3c01840d4063059907 2013-08-22 20:21:47 +00:00
http://joeyh.name/
549c7f28dd Added a comment 2013-08-22 18:44:15 +00:00
guilhem
38b428dc29 Added a comment 2013-08-22 18:42:28 +00:00
http://joeyh.name/
602f497212 Added a comment: quvi thoughts. excited! 2013-08-22 18:22:51 +00:00
http://joeyh.name/
7dd949ec90 Added a comment 2013-08-22 18:02:00 +00:00
Joey Hess
96fc3a63ac Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-22 13:57:38 -04:00
Joey Hess
412dcb8017 Fix bug that caused typechanged symlinks to be assumed to be unlocked files, so they were added to the annex by the pre-commit hook. 2013-08-22 13:57:07 -04:00
http://joeyh.name/
7b75c4634c Added a comment 2013-08-22 17:25:48 +00:00
http://joeyh.name/
1d0d2d18c5 Added a comment 2013-08-22 17:05:49 +00:00
guilhem
756a7e6dba Added a comment 2013-08-22 16:56:55 +00:00
Joey Hess
2fc7092095 dups 2013-08-22 12:43:25 -04:00
Joey Hess
c0e97b0c60 typo 2013-08-22 12:22:11 -04:00
Joey Hess
dc9885e67f Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-22 12:17:58 -04:00
Joey Hess
303415ccd3 reassign bug from git-annex to current world at large 2013-08-22 12:17:17 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8
bfdebeaba3 2013-08-22 16:05:23 +00:00
Joey Hess
74034ec781 Better error message when trying to use a git remote that has annex.ignore set. 2013-08-22 12:01:53 -04:00
Joey Hess
9ab3010100 Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-22 11:37:38 -04:00
Joey Hess
d1ea1f2474 Unescape characters in 'file://...' URIs. (Thanks, guilhem for the patch.) 2013-08-22 11:36:48 -04:00
guilhem
b4a32c7506 Unescape characters in 'file://...' URIs.
That allows, in Git remotes, such URIs to contain spaces or UTF-8
characters. Closes http://git-annex.branchable.com/bugs/Unable_to_use_remotes_with_space_in_the_path/ .
2013-08-22 11:33:16 -04:00
http://joeyh.name/
2750b96361 Added a comment 2013-08-22 15:29:12 +00:00
http://joeyh.name/
ff133111f2 Added a comment 2013-08-22 15:25:02 +00:00
http://joeyh.name/
3b5bffaa6f Added a comment 2013-08-22 15:18:35 +00:00
Joey Hess
5436fea39b add test case for unused with unstaged link 2013-08-22 10:29:50 -04:00
Joey Hess
338e7e805d Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-22 10:21:00 -04:00
Joey Hess
6fd2935a5a unused: Pay attention to symlinks that are not yet staged in the index. 2013-08-22 10:20:03 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlfIVXjkzrYE9qJAO2A0H7K6tKGMaSgc3U
857be29b2a Added a comment: Problems with cryptocipher 2013-08-22 01:36:55 +00:00
Joey Hess
d603f536bd Set --clobber when running wget to ensure resuming works properly. 2013-08-21 18:19:01 -04:00
Joey Hess
0912e752b5 Revert "Delete empty downloaded file when wget fails, to work around reported resume failure."
This reverts commit 98886e3fbf.

Better fix forthcoming
2013-08-21 18:17:48 -04:00
Joey Hess
ec3fce7497 Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-21 16:14:13 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkjQhXk8KAh9yD0p1R6QzT-Sw7FtHE3d54
32a3102bcf Added a comment 2013-08-21 20:07:58 +00:00
Joey Hess
1e5c0e1c20 Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-21 16:07:57 -04:00
Joey Hess
98886e3fbf Delete empty downloaded file when wget fails, to work around reported resume failure.
<RichiH> i richih@eudyptes (git)-[master] ~git/debconf-share/debconf13/photos/chrysn % rm /home/richih/work/git/debconf-share/.git/annex/tmp/SHA256E-s3044235--693b74fcb12db06b5e79a8b99d03e2418923866506ee62d24a4e9ae8c5236758.JPG
<RichiH> richih@eudyptes (git)-[master] ~git/debconf-share/debconf13/photos/chrysn % git annex get P8060008.JPG
<RichiH> get P8060008.JPG (from website...) --2013-08-21 21:42:45--  http://annex.debconf.org/debconf-share/.git//annex/objects/1a4/67d/SHA256E-s3044235--693b74fcb12db06b5e79a8b99d03e2418923866506ee62d24a4e9ae8c5236758.JPG/SHA256E-s3044235--693b74fcb12db06b5e79a8b99d03e2418923866506ee62d24a4e9ae8c5236758.JPG
<RichiH> Resolving annex.debconf.org (annex.debconf.org)... 5.153.231.227, 2001:41c8:1000:19::227:2
<RichiH> Connecting to annex.debconf.org (annex.debconf.org)|5.153.231.227|:80... connected.
<RichiH> HTTP request sent, awaiting response... 404 Not Found
<RichiH> 2013-08-21 21:42:45 ERROR 404: Not Found.
<RichiH> File `/home/richih/work/git/debconf-share/.git/annex/tmp/SHA256E-s3044235--693b74fcb12db06b5e79a8b99d03e2418923866506ee62d24a4e9ae8c5236758.JPG' already there; not retrieving.
<RichiH>   Unable to access these remotes: website
<RichiH>   Try making some of these repositories available:
<RichiH>    3e0356ac-0743-11e3-83a5-1be63124a102 -- website (annex.debconf.org)
<RichiH>     a7495021-9f2d-474e-80c7-34d29d09fec6 -- chrysn@hephaistos:~/data/projects/debconf13/debconf-share
<RichiH>     eb8990f7-84cd-4e6b-b486-a5e71efbd073 -- joeyh passport usb drive
<RichiH>     f415f118-f428-4c68-be66-c91501da3a93 -- joeyh laptop
<RichiH> failed
<RichiH> git-annex: get: 1 failed
<RichiH> richih@eudyptes (git)-[master] ~git/debconf-share/debconf13/photos/chrysn %

I was not able to reproduce the failure, but I did reproduce that
wget -O http://404/ results in an empty file being written.
2013-08-21 16:05:51 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkjQhXk8KAh9yD0p1R6QzT-Sw7FtHE3d54
360785b644 Added a comment 2013-08-21 20:05:31 +00:00
Joey Hess
dc0992f7e2 Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-21 15:44:08 -04:00
Joey Hess
22728c6676 bug 2013-08-21 15:43:37 -04:00
guilhem
8b51afa933 2013-08-21 16:34:57 +00:00
Joey Hess
b93dca121e Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-21 12:18:07 -04:00
http://marco.paga.myopenid.com/
a9332ae541 Added a comment: Please post the log 2013-08-21 15:49:00 +00:00
Joey Hess
cc64c94a65 bug report 2013-08-21 11:43:32 -04:00
GLITTAH
0f2cbdfad5 Added a comment 2013-08-20 22:42:48 +00:00
Joey Hess
552e1d5262 Merge branch 'master' of ssh://git-annex.branchable.com 2013-08-20 16:03:36 -04:00
Joey Hess
42eeac1451 blog for the day 2013-08-20 16:03:04 -04:00
Joey Hess
0f921307e7 mirror: New command, makes two repositories contain the same set of files.
This is a simple approach for setting up a mirroring repository.

It will work with any type of remotes.

Mirror --from is more expensive than mirror --to in general.
OTOH, mirror --from will get the file from any remote that has it, not only
the named mirror remote. And if the named mirror remote is not the fastest
available remote with a file, that can speed things up.

It would be possible to make the assistant or watch command do a more
dynamic mirroring, that didn't need to scan every time.
2013-08-20 15:46:35 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkjQhXk8KAh9yD0p1R6QzT-Sw7FtHE3d54
ad7527a420 Added a comment 2013-08-20 16:18:25 +00:00
Joey Hess
f5623af6ec close 2013-08-20 11:10:35 -04:00
Joey Hess
b46afa29ac implement import --deduplicate and import --clean-duplicates
Note that --deduplicate currently checksums each file twice,
once to see if it's a known key, and once when importing it.

Perhaps this could be revisited and the extra checksum gotten rid of,
at the cost of not locking down the file when adding it.
2013-08-20 11:00:52 -04:00