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

This commit is contained in:
Joey Hess 2013-06-07 22:31:27 -04:00
commit 639dd42a44
4 changed files with 44 additions and 1 deletions

View file

@ -4,4 +4,4 @@ Same as the desktop webapp, users will be able to enter a directory they
want the first time they run it, but to save typing on android, anything
that gets enough votes will be included in a list of choices as well.
[[!poll open=yes expandable=yes 47 "/sdcard/annex" 3 "Whole /sdcard" 4 "DCIM directory (photos and videos only)" 1 "Same as for regular git-annex. ~/annex/"]]
[[!poll open=yes expandable=yes 47 "/sdcard/annex" 4 "Whole /sdcard" 4 "DCIM directory (photos and videos only)" 1 "Same as for regular git-annex. ~/annex/"]]

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawl9J51AO9t75xN5k0sJgg8taUo4y0a4hpQ"
nickname="Daniel"
subject="comment 4"
date="2013-06-07T23:02:29Z"
content="""
I'm trying to find a way to prevent developers from adding certain file types to the main repo. Is there something like a pre-add hook that could be used?
I found this in another forum but I'm not sure how it was intended to be implemented.
```
git check-attr addtoannex \"$FILE\" | grep -q \": set$\"
if [ $? -eq 0 ]; then
git annex add \"$FILE\"
else
git add \"$FILE\"
fi
```
[http://git-annex.branchable.com/forum/Let_watch_selectively_annex_files/](http://git-annex.branchable.com/forum/Let_watch_selectively_annex_files/)
"""]]

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8"
nickname="develop"
subject="comment 10"
date="2013-06-07T09:39:59Z"
content="""
I'm not even sure if chunksize is exposed to the hooks at all.
As it is, the hook will check the filesize, and if the filesize is more than 30mbyte it will exit 1.
Chunking may be implemented down the road. I do believe joeyh might have some plans that will touch this issue, so I'd rather wait. Than re-invent the wheel yet again.
"""]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawleVyKk2kQsB_HgEdS7w1s0BmgRGy1aay0"
nickname="Milan"
subject="chunksize"
date="2013-06-07T09:09:56Z"
content="""
Hi! Does this backend support chunksize option? If yes, is it possible to set it after the remote has been added to the repository?
Thanks, Milan.
"""]]