[Distutils] [issue42] Add VCS support

Douche setuptools at bugs.python.org
Tue Sep 9 15:09:47 CEST 2008


New submission from Douche <sdouche at gmail.com>:

This is a basic try (4h) to extract specific SVN code out of the core
and add entry points for:
- filters (.svn, .hg, ...)
- find files in repos
- get revision's number

Thoughts:
- if repos have 2 VCS entries (.svn and .hg for example), the first
valid entry point is used.
- walk_revctrl function needs more love. I keep the philosophy of
iterator but is it the good way ?

Notes:
- vcs_svn.py & vcs_hg.py are only for demo. The natural place are into
Setuptools plugins.
- filters must return a list.
- revisions must return a int or None (not 0).

Critics welcome.

----------
files: setuptools-sd-20080908.patch
messages: 160
nosy: sdouche
priority: feature
status: unread
title: Add VCS support
Added file: http://bugs.python.org/setuptools/file21/setuptools-sd-20080908.patch

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue42>
_______________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setuptools-sd-20080908.patch
Type: text/x-diff
Size: 12855 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080909/eebbfe66/attachment.patch>


More information about the Distutils-SIG mailing list