On Thu, Jun 11, 2009 at 10:36:26AM +1000, Felipe Sateler wrote:
> El jueves 11 de junio, Guido Günther escribió:
> > On Wed, Jun 10, 2009 at 12:50:33PM +1000, Felipe Sateler wrote:
> > > Well, - in upstream version nambers should be reasonably common in -rc
> > > -alpha or such. And your original regex allows it in orig but not in
> > > plain upstream.
> >
> > So iff we add '-' we'd need something like:
> >
> >     ^[a-zA-Z\d\.\+\-]+-(?P<version>[0-9][a-zA-Z\d\.\-\:]+)\.tar\.(gz|bz2)
> >                                    ^^^^^
> > for the non orig.tar.gz case. Otherwise I don't see how we can make
> > sure we're at the start of the verison number (in the case of the
> > orig.tar.gz the '_' is the delimiter). Do you agree?
> 
> Hmm, good point. I think it is reasonable to expect version numbers to start 
> with a number. BTW, policy says version numbers must start with a digit.
It says only says "should" though. I've pushed a patch that should
handle the discussed cases.
 -- Guido



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to