Hi,
Use case: I would like to have a "Public" top-level directory in my annex, which gets files in there published over HTTP on a particular server.
How I see doing this:
- Put my annex to an http server with exported-over-http
/Public/directory. Configure a
post-updatehook with the following:$ git annex fixPush files on
/Public/to that annex.
Does it make sense? If yes, are there any gotchas I should beware of?
Thanks.
I see no need for
git annex fixhere.Web server default configurations may not allow following symlinks outside the web server document root. On apache, it can be enabled with
Options FollowSymLinks