per-item SVN support?

jonnymiller

Joined: 2007-04-17
Posts: 4
Posted: Tue, 2007-04-17 16:25

The company I work for is looking for an image cataloging solution, and currently we are using Gallery v2.2-rc-1, but one thing it lacks is the ability to track updates to the individual files, which is a common occurrence with product shots... We track everything else we do with SVN and would like to bring the images into the mix. I've heard rumor that there is a planned SVN module of some sort in the works, does anyone know what progress has been made on that?

Thanks for your time,

- Jonny

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2007-05-04 19:32

never heard of a svn module before.
perhaps you could modify the reupload module to do a svn commit when uploading a new version of an image file.

 
jonnymiller

Joined: 2007-04-17
Posts: 4
Posted: Fri, 2007-05-04 21:05

Hey great idea, I will mention it in our meeting today :)

At the risk of sounding like a complete idiot, I'm thinking what you mean is that we would modify the reupload module to, instead of overwriting the image while keeping the metadata, rather:

- first one would have to modify the upload module to create a new album and then place the file in that album
- reupload would upload a new file to the same album, and append an incremental version number to the file name (and require that the file name being uploading is same as the "last" file in the album)

It's starting to sound rather complex, but chances are that's just because I'm a designer :)

Thanks for your time mindless,

- Jonny

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2007-05-05 18:02

depends what your goals are. if you just need a revision history that you can get to via svn (and not via gallery) then you can just do svn commit of the file under g2data/albums, right where it is. that's what I was suggesting. if you need to view historical versions of a file in gallery then it would get more complex, and I'm not sure why svn would come into the picture for that case.