[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping only latest version of a file in repository

From: Todd Denniston
Subject: Re: Keeping only latest version of a file in repository
Date: Thu, 10 Nov 2005 09:27:08 -0500

Joachim Schlosser wrote:
> Arthur,
> > If you could take some time to explain why your build process would
> > want to store these files in version control so it can complete the
> > build process I'd like to know.
> I have a number of graphics which I create in GIMP, and also save in
> GIMP file format (.xcf). These files are versioned of course to keep
> track of what was done. For building my application, I export the
> graphics manually to PNG. So I have to do this whenever I change the
> GIMP file. The build process run by ant then includes these PNGs in
> the output. As long as I work only on 1 machine, no problem: no
> versioning of the PNGs required. When working on the project on more
> machines and with more persons, these PNGs have to go into the
> repository, otherwise everyone has to export them manually whenever
> the GIMP file changes. But now the repository grows and grows with
> files that need not to be versioned, just need to be kept for convenience.

could you not build a make/ant target that called gimp in command line mode
to do the conversion if the PNG does not exist or is older than the source?

do you not have a shared network storage location where the latest converted
versions will always be stored and have the build process either access
these directly or copy them for the build?

> See?
> Abstracting: Keeping only latest version is necessary for a product
> file that requires manual build effort.

IIRC gimp can be scripted on the command line. :)

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]