Re: Photo gallery with git-annex?

2012-04-14 Thread Paul Stodghill
On Sat, Apr 14, 2012 at 6:47 PM, Joey Hess  wrote:

> Note that this is a potentially difficult security situation.
> One idea that has been floated is to keep the annexed files in a
> different repo, in an ikiwiki underlay. It would be easier to make
> ikiwiki skip security checks that prohibit symlinks that way.


I tried playing with underlays a bit. The problem that I ran into was (I
think) that if a file existed as a link in the working directory, then the
compiler ignored it in the underlay as well. I need to think about this
more...
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: Photo gallery with git-annex?

2012-04-14 Thread Joey Hess
Paul Stodghill wrote:
> 1. Do something with symbolic links other than ignore them.

Note that this is a potentially difficult security situation.
One idea that has been floated is to keep the annexed files in a
different repo, in an ikiwiki underlay. It would be easier to make
ikiwiki skip security checks that prohibit symlinks that way.

-- 
see shy jo
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: Photo gallery with git-annex?

2012-04-14 Thread Paul Stodghill
On Sat, Apr 14, 2012 at 2:38 PM, Joey Hess  wrote:

> I think that integrating git-annex support into ikiwiki, and then
> folding in the contrib gallery plugin could be a good way to go. ikiwiki
> already has web-based uploads (drag-n-drop-to-browser even). Tho it would
> not cover your non-public case, unless you did something tricky with
> apache htaccess.
>
> Unfortunately I have not been able to get the authors of git-annex and
> ikiwiki to sit down together and integrate their software yet.
>

Funny. :-)

I am interested in seeing ikiwiki and git-annex integrated also. My usecase
is a wiki to support a team of computational and molecular biologists. The
computational scientists would access the wiki via CLI and git. The
molecular biologists will access it via HTML. The computational scientists
would like to work out of a single repository without having to downloaded
all of the data sets (300GB and climbing quickly). That is, I would like to
be able to see (and "borrow" from) my colleague’s workflows. ikiwiki +
git-annex seems like a good place to start (unless some can think of a
better idea).

I started looking at the ikiwiki code on Friday, and I can see at least two
points at which ikiwiki needs to be modified to accommodate git-annex.

1. Do something with symbolic links other than ignore them.
2. Do something to ensure that when someone "git push"es to the server that
"git annex sync" and "get annex copy" are done to get the files to the same
machine as ikiwiki.

Am I missing something fundamental here?
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: Photo gallery with git-annex?

2012-04-14 Thread Joey Hess
Thomas Koch wrote:
> I'm thinking, how a simple web photo gallery setup could be possible with git-
> annex, a static gallery generator like lazygal (Debian packaged) and some 
> scripting.
> 
> But to make this a viable alternative to facebook for my wife, I'd 
> additionally need (or like):
> 
> - comments
> - non-public galleries with openid/facebook/twitter login
> - web based uploads?

I think that integrating git-annex support into ikiwiki, and then
folding in the contrib gallery plugin could be a good way to go. ikiwiki
already has web-based uploads (drag-n-drop-to-browser even). Tho it would
not cover your non-public case, unless you did something tricky with
apache htaccess.

Unfortunately I have not been able to get the authors of git-annex and
ikiwiki to sit down together and integrate their software yet.

-- 
see shy jo
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Photo gallery with git-annex?

2012-04-14 Thread Thomas Koch
Hi,

I'm thinking, how a simple web photo gallery setup could be possible with git-
annex, a static gallery generator like lazygal (Debian packaged) and some 
scripting.

But to make this a viable alternative to facebook for my wife, I'd 
additionally need (or like):

- comments
- non-public galleries with openid/facebook/twitter login
- web based uploads?

The above wishes actually aren't specific to a photo gallery, but could also be 
useful for a general file store.
A standalone comment system would make a lot of sense. Authorization might be 
possible with a web server plugin? Web based uploads are a hard problem.

Just thinking,

Thomas Koch, http://www.koch.ro
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home