summaryrefslogtreecommitdiff
path: root/doc/special_remotes/comment_8_af475c0dd2f0af11b354684830faca5c._comment
blob: bbfcb39dbcd5a7c41e983100b0a18cf2ad006310 (plain)
1
2
3
4
5
6
7
8
9
10
11
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawlRThEwuPnr8_bcuuCTQ0rQd3w6AfeMiLY"
 nickname="Alex"
 subject="'webhook' special remote?"
 date="2013-02-24T15:02:31Z"
 content="""
Is there any chance a special remote that functions like a hybrid of 'web' and 'hook'?
At least in theory, it should be relatively simple, since it would only support 'get' and the only meaningful parameters to pass would be the URL and the output file name.

Maybe make it something like git config annex.<foo>-webhook '<program> $ANNEX_URL $ANNEX_FILE', and fetching could work by adding a --handler or --type parameter to addurl.
"""]]