Cornelius Schumacher <cschum@suse.de> writes:
On Tuesday 18 September 2007 08:43, Martin Mohring wrote:
I would also suggest to have "obs-server-development" and "obs-server-deployment" packages, like we have e.g. for the linux kernel.
What would these packages contain? Different versions of the build service or do you think of splitting off parts only needed for development?
Maybe Adrian provides us with some Information, on which Revision .opensuse.org OBS deployment is based.
There is http://build.opensuse.org/main/about, but it doesn't seem to be up to date or overly useful. Maybe it would be nice to fix this page to actually show which versions are deployed.
I just updated the svn file property to actually update the Revision string, as I hoped the next release should at least have a meaningfull svn revision in it: 0 froh@byron:/home/SVN/opensuse-forge/trunk/buildservice $ \ svn propset svn:keywords "Revision" ./src/webclient/app/views/main/about.rhtml Then I realized this string will only be updated when this very file changes. Hmmm. So we should rather add the rpm package version to that file during build. Would this do? 0 froh@byron:/tmp/openSUSE:Tools/obs-server $ osc diff Index: obs-server.spec =================================================================== --- obs-server.spec (revision 100) +++ obs-server.spec (working copy) @@ -81,6 +81,8 @@ mkdir -p $RPM_BUILD_ROOT/srv/www/obs/ cp -a $i $RPM_BUILD_ROOT/srv/www/obs/$i done +# add version to 'about' page +echo '<p>Build: %{version}-%{release}</p>' >> $RPM_BUILD_ROOT/srv/www/obs/webclient/app/views/main/about.rhtml # configure lighttpd web service mkdir -p $RPM_BUILD_ROOT/etc/lighttpd/vhosts.d/ install -m 0644 %SOURCE7 $RPM_BUILD_ROOT/etc/lighttpd/vhosts.d/ Index: obs-server.changes =================================================================== --- obs-server.changes (revision 100) +++ obs-server.changes (working copy) @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 26 17:21:23 CEST 2007 - froh@novell.com + +- add build id to about page in front end + ------------------------------------------------------------------- Fri Jan 26 16:20:12 CET 2007 - poeml@suse.de I feel a bit hacky about it, but I wonder to which extend what we have in svn is made for being packaged and distributed yet, and what the common practice is to set up some ruby app for being packaged and distributed? S. -- Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business Partner Engineering Maxfeldstraße 5 developer.novell.com 90409 Nürnberg SUSE LINUX GmbH, GF: Volker Smid, HRB 21284 (AG Nürnberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org