setuptools feature: tag_git_description like tag_svn_revision

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

setuptools feature: tag_git_description like tag_svn_revision

Jasper van den Bosch
Hello all,

Might it be an idea to have an option like 'tag_git_description' similar to tag_svn_revision? A possible implementation could use git describe; such as suggested by Douglas Creager in this gist: https://gist.github.com/300803. I am currently using this for my packages, but it might be nice to integrate it into setuptools.

Jasper van den Bosch


_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig
Reply | Threaded
Open this post in threaded view
|

Re: setuptools feature: tag_git_description like tag_svn_revision

Hanno Schlichting-4
On Sun, Apr 22, 2012 at 5:22 PM, Jasper van den Bosch <[hidden email]> wrote:
> Might it be an idea to have an option like 'tag_git_description' similar to
> tag_svn_revision? A possible implementation could use git describe; such as
> suggested by Douglas Creager in this gist: https://gist.github.com/300803. I
> am currently using this for my packages, but it might be nice to integrate
> it into setuptools.

The automatic SVN support is pretty controversial in setuptools and at
least for distribute we more or less decided to not expand it further.

But there's various revision control specific packages, you can use:

http://pypi.python.org/pypi/setuptools-git
http://pypi.python.org/pypi/setuptools_bzr
http://pypi.python.org/pypi/setuptools_hg
http://pypi.python.org/pypi/setuptools_subversion (for SVN 1.7+)

If you have git specific ideas, it's best to follow up with the
maintainers of setuptools-git.

Hanno
_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig
Reply | Threaded
Open this post in threaded view
|

Re: setuptools feature: tag_git_description like tag_svn_revision

Jasper van den Bosch-2
Alright, thanks

Jasper

On Sun, Apr 22, 2012 at 5:33 PM, Hanno Schlichting <[hidden email]> wrote:
On Sun, Apr 22, 2012 at 5:22 PM, Jasper van den Bosch <[hidden email]> wrote:
> Might it be an idea to have an option like 'tag_git_description' similar to
> tag_svn_revision? A possible implementation could use git describe; such as
> suggested by Douglas Creager in this gist: https://gist.github.com/300803. I
> am currently using this for my packages, but it might be nice to integrate
> it into setuptools.

The automatic SVN support is pretty controversial in setuptools and at
least for distribute we more or less decided to not expand it further.

But there's various revision control specific packages, you can use:

http://pypi.python.org/pypi/setuptools-git
http://pypi.python.org/pypi/setuptools_bzr
http://pypi.python.org/pypi/setuptools_hg
http://pypi.python.org/pypi/setuptools_subversion (for SVN 1.7+)

If you have git specific ideas, it's best to follow up with the
maintainers of setuptools-git.

Hanno
_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig


_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig