[Distutils] Generic revision support to tag eggs
torsten at irlaender.de
torsten at irlaender.de
Fri Jul 27 10:10:40 CEST 2012
Hi all,
I was wondering if there is any support for adding a revision tag on eggs
other than SVN. I found Issue42 [0] in the bugtracker, which deals with this
but there is no progress since a long time.
So i want to reraise this question here. I did not look any further in the
current suggested solution to solve the issue but my first idea was: Why
so complicated with logic for finding revision tagger etc.? Because i am
really new to distutils i maybe/likeky i did not get the point. But why not
provide a simple option to the egg_info command to define a call of a command
or script which returns the revision number?
Example:
[egg_info]
tag_build = .dev
tag_command = hg tip| head -n 1|cut -d " " -f4|cut -d: -f1
This adds a very simple way of adding hg support but in general to tag
generic
revisions.
I have already written a patch which implements this to get a quick fix for
this. So i ask myself if this might be usefull for anyone else, or if my
solution is way too simple and naiv?
Please do not wonder if i do not respond on the list until the 8. August
as i am on holiday.
best wishes
Torsten Irländer
[0] http://bugs.python.org/setuptools/issue42
More information about the Distutils-SIG
mailing list