Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-11 Thread Guido Günther
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 r

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-10 Thread Felipe Sateler
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

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-10 Thread Guido Günther
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\.\+\-]+-(?

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-10 Thread Felipe Sateler
El miércoles 10 de junio, Guido Günther escribió: > On Fri, Jun 05, 2009 at 11:03:32AM +1000, Felipe Sateler wrote: > > El viernes 5 de junio, Guido Günther escribió: > > > On Thu, Jun 04, 2009 at 07:43:53PM +1000, Felipe Sateler wrote: > > > > Package: git-buildpackage > > > > Version: 0.4.53 > >

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-09 Thread Guido Günther
On Fri, Jun 05, 2009 at 11:03:32AM +1000, Felipe Sateler wrote: > El viernes 5 de junio, Guido Günther escribió: > > On Thu, Jun 04, 2009 at 07:43:53PM +1000, Felipe Sateler wrote: > > > Package: git-buildpackage > > > Version: 0.4.53 > > > Severity: minor > > > Tags: patch > > > > > > > > > Automa

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-04 Thread Felipe Sateler
El viernes 5 de junio, Guido Günther escribió: > On Thu, Jun 04, 2009 at 07:43:53PM +1000, Felipe Sateler wrote: > > Package: git-buildpackage > > Version: 0.4.53 > > Severity: minor > > Tags: patch > > > > > > Automatic guessing of version by parsing package's upstream tarball name > > is wrong. I

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-04 Thread Guido Günther
On Thu, Jun 04, 2009 at 07:43:53PM +1000, Felipe Sateler wrote: > Package: git-buildpackage > Version: 0.4.53 > Severity: minor > Tags: patch > > > Automatic guessing of version by parsing package's upstream tarball name > is wrong. It misses + and : and capital letters Not entirely. The first re

Bug#531819: git-buildpackage: version regex is wrong in git-import-orig

2009-06-04 Thread Felipe Sateler
Package: git-buildpackage Version: 0.4.53 Severity: minor Tags: patch Automatic guessing of version by parsing package's upstream tarball name is wrong. It misses + and : and capital letters The attached patch fixes this issue, and makes both regex use the same version pattern. -- System Inform