[zypp-devel] Libzypp version now in logfile
YFYI: [zypp] ZYppImpl.cc(ZYppImpl):137 libzypp: 3.2.2 built May 23 2007 19:32:40 [zypp] ZYppImpl.cc(ZYppImpl):138 defaultTextLocale: 'en_US' [zypp] ZYppImpl.cc(ZYppImpl):139 System architecture is 'i686' Upon construction ZYppImpl now logs it's version and buildtime. Provided we'd properly maintain the version info, it's easy to tell whether a certain feature/fix/bug should be visible in a log. Exp. if we release more than two zypp versions a day. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 23 May 2007 07:43:55 pm Michael Andres wrote:
YFYI:
[zypp] ZYppImpl.cc(ZYppImpl):137 libzypp: 3.2.2 built May 23 2007 19:32:40 [zypp] ZYppImpl.cc(ZYppImpl):138 defaultTextLocale: 'en_US' [zypp] ZYppImpl.cc(ZYppImpl):139 System architecture is 'i686'
Upon construction ZYppImpl now logs it's version and buildtime.
Provided we'd properly maintain the version info, it's easy to tell whether a certain feature/fix/bug should be visible in a log. Exp. if we release more than two zypp versions a day.
can we get the svn revision too? It should be doable using svn keywords. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wed, May 23, Duncan Mac-Vicar P. wrote:
On Wednesday 23 May 2007 07:43:55 pm Michael Andres wrote:
YFYI:
[zypp] ZYppImpl.cc(ZYppImpl):137 libzypp: 3.2.2 built May 23 2007 19:32:40 [zypp] ZYppImpl.cc(ZYppImpl):138 defaultTextLocale: 'en_US' [zypp] ZYppImpl.cc(ZYppImpl):139 System architecture is 'i686'
Upon construction ZYppImpl now logs it's version and buildtime.
Provided we'd properly maintain the version info, it's easy to tell whether a certain feature/fix/bug should be visible in a log. Exp. if we release more than two zypp versions a day.
can we get the svn revision too?
It should be doable using svn keywords.
$Revision$ substitution? But AFAIK you get the 'Last Changed Rev' of the file. So it is clueless if the file does not change frequently. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 23 May 2007 10:36:28 pm Michael Andres wrote:
$Revision$ substitution?
But AFAIK you get the 'Last Changed Rev' of the file. So it is clueless if the file does not change frequently.
In subversion the revision number is repository global. So it should give you the ZYpp revision number. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, May 24, Duncan Mac-Vicar P. wrote:
On Wednesday 23 May 2007 10:36:28 pm Michael Andres wrote:
$Revision$ substitution?
But AFAIK you get the 'Last Changed Rev' of the file. So it is clueless if the file does not change frequently.
In subversion the revision number is repository global. So it should give you the ZYpp revision number.
No it gives the LastChangedRevision of the file - or is there another keyword I do not know? ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> cat tt $Rev: 5622 $ $Revision: 5622 $ $LastChangedRevision: 5622 $ Comitting something else: ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> svn ci -m '' Parse.cc Sending Parse.cc Transmitting file data . Committed revision 5623. But tt's revision stays at 5622 (last change of tt) ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> svn up tt At revision 5623. ^^^^ ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> cat tt $Rev: 5622 $ $Revision: 5622 $ $LastChangedRevision: 5622 $ ^^^^ Only changing tt changes the substituted revision: ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> svn ci -m '' tt Sending tt Transmitting file data . Committed revision 5624. ^^^^ ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> cat tt $Rev: 5624 $ $Revision: 5624 $ $LastChangedRevision: 5624 $ -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Duncan Mac-Vicar P.
-
Michael Andres