[Psi-devel] build version information in global include files
Norman Rasmussen
normanr at gmail.com
Sun Aug 28 17:13:34 PDT 2005
I would like to see a Public and Private version string in some global
include files somewhere. Basically I'd like the Public half to be
under darcs control, and the private part to be in a darcs
boring/binary file.
This would help two things:
Currently there are several places the version string occurs:
- src/common.cpp,
- mac/Makefile,
- mac/Info.plist
- win32/psi_win32.rc (see 'Windows binary version information' thread)
(these files should all be pre-parsed to insert the current global values)
Then the maintainers only have to change 1 file when releasing builds.
Also we need to be able to tell who built psi, and in what
environment. Currently I have 5 builds of psi all called
'0.10-test1', and I need to be able to specify: 'remko-wc', 'rc',
'sneakin', etc, etc... for my builds. A per-environment string would
be very usefull (this should be set to something like 'official' for,
duh, official builds)
Don't say, just record the patch with darcs, because to build
remko's-wc I have to unpull all patches not present in the remote
repo. I guess I could leave the change uncommitted, *yuck*, either
way the public/private half would have to be several lines apart so
merge conflicts don't occur. (at this point you might as well make
them separate files, and add the private one to the darcs ignore list)
Thoughts?
--
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
More information about the Psi-devel-affinix.com
mailing list