Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2013-05-04 12:24:45 -04:00
commit e9c542f7c6
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM"
nickname="Bruno"
subject="comment 1"
date="2013-05-04T05:30:26Z"
content="""
> The camera repository is put in the \"source\" preferred content group, so it will only hang onto photos and videos until they're uploaded off the Android device.
This is very nice but I'm wondering if I take a picture that I want to share using an Android app like Facebook, would the picture get deleted before I could share it?
Would there be a way to access old pictures? For example, to show them to people you meet.
"""]]

View file

@ -0,0 +1,12 @@
First off, thanks so much for your hard work, git-annex is amazing.
I just started using the [web as a special remote](http://git-annex.branchable.com/tips/using_the_web_as_a_special_remote/) feature with the SHA256E backend, and I noticed that although the annexed file has the correct backend prefix (SHA256E) it does not have the extension of the file in the URL. The URL is `https://...IMG_1234.JPG` but the annexed file is `SHA256E-...832c99` with no extension.
This is fine for most use cases, but I actually access an S3 remote directly from another app (independent of git-annex) to render photos, and in that app I'm using the extensions to figure out file types, so not having that info is slightly inconvenient.
Is there any way to either:
1. tell git-annex to preserve the extension of a file on the web in the annexed file, or
2. alternatively, change the annexed filename (add the extension manually) without screwing anything up?
Any help would be much appreciated, thanks!