Re: Photo gallery with git-annex?
On Sat, Apr 14, 2012 at 20:38, Joey Hess j...@kitenet.net wrote: Tho it would not cover your non-public case, unless you did something tricky with apache htaccess. Checking a .htaccess into git is trivial and would actually help with the mental model of the gallery, I guess. One problem I see is that these images would be unstripped, i.e. with full EXIF information, including GPS data. This is a _huge_ security concern and would prevent me from ever using this directly. OTOH, a downsampled web access annex with all EXIF data removed may be an option. Unfortunately I have not been able to get the authors of git-annex and ikiwiki to sit down together and integrate their software yet. Take them out into the woods and shoot them^W^Wtell them they won't get power until they agree to work together. Richard ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: Photo gallery with git-annex?
On Sun, Apr 15, 2012 at 00:47, Joey Hess j...@kitenet.net 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. Why not define a list of trusted _targets_ for symlinks? Toss .git/annex/objects in there and you're done. Richard ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: Photo gallery with git-annex?
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
Re: Photo gallery with git-annex?
On Sat, Apr 14, 2012 at 2:38 PM, Joey Hess j...@kitenet.net 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 pushes 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?
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?
On Sat, Apr 14, 2012 at 6:47 PM, Joey Hess j...@kitenet.net 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