Jajcus / pyxmpp

XMPP implementation for Python

Home Page:http://pyxmpp.jajcus.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyxmpp.__revision__ doesn't get updated with each change

Jajcus opened this issue · comments

pyxmpp.revision is constructed using a $Id$ keyword in {{{pyxmpp/init.py}}}, but in Subversion each file may have a distinct revision. Therefore, revision of {{{init.py}}} doesn't reflect the revision of repository as a whole. This makes it impossible to get the exact revision number (useful when API has been changed and we need to know which version is supported).

pyxmpp.revision was never supposed to be used that way. That is only source file revision. PyXMPP version is available in pyxmpp.version module, but it doesn't follow any repository changes (it is X.Y.Z for official releases and X.Y.Z+svn for repository snapshots newer than X.Y.Z).

--http://blog.jajcus.net/

--jajcus