Bug#838714: dch: avoid adding section in snapshot mode if distribution is UNRELEASED

2016-10-07 Thread Guido Günther
On Mon, Sep 26, 2016 at 12:50:03PM -0700, Linn Crosetto wrote: > On Mon, Sep 26, 2016 at 08:19:27AM +0200, Guido Günther wrote: > [...] > > This makes sense. Can you add a test to 11_test_dch_main.py to make sure > > we don't break this again in the future? > > Cheers, > > I added a test, and

Bug#838714: dch: avoid adding section in snapshot mode if distribution is UNRELEASED

2016-09-26 Thread Linn Crosetto
On Mon, Sep 26, 2016 at 08:19:27AM +0200, Guido Günther wrote: [...] > This makes sense. Can you add a test to 11_test_dch_main.py to make sure > we don't break this again in the future? > Cheers, I added a test, and have attached the v2 patch. The following are the test results with and without

Bug#838714: dch: avoid adding section in snapshot mode if distribution is UNRELEASED

2016-09-26 Thread Guido Günther
Hi Linn, On Fri, Sep 23, 2016 at 03:04:21PM -0600, Linn Crosetto wrote: > Package: git-buildpackage > Version: 0.8.3 > Severity: normal > Tags: patch > > When using gbp dch in snapshot mode, a section is added without checking > whether the distribution is set to UNRELEASED. If the distribution

Bug#838714: dch: avoid adding section in snapshot mode if distribution is UNRELEASED

2016-09-23 Thread Linn Crosetto
Package: git-buildpackage Version: 0.8.3 Severity: normal Tags: patch When using gbp dch in snapshot mode, a section is added without checking whether the distribution is set to UNRELEASED. If the distribution is UNRELEASED, the version will be incremented but the current section will be edited,