Bug#919125: ubuntu-dev-tools: fakesyncs using syncpackage puts -proposed in the changelog

2019-01-13 Thread Colin Watson
On Sat, Jan 12, 2019 at 03:39:17PM -0600, Simon Quigley wrote:
> Doing a fakesync using syncpackage puts e.g. disco-proposed in the
> changelog instead of disco. I suspect this is historical; the archive
> can now handle putting just disco.
> 
> Any objections to changing this?

"Historical" isn't quite the right way to put it.  Ever since I
introduced -proposed for the development series, the archive has always
automatically redirected  to -proposed for normal uploads.
However, copies using the Archive.copyPackage webservice API must still
explicitly specify pocket="Proposed" (not least because the
proposed-migration process itself uses that API, so redirecting it would
be extremely confusing).

So you can't just e.g. revert my commit
cc55071afd6fdc06b574edc356792f54e17e which introduced the -proposed
suffix here, because the suffix appearing in the changelog was really
just a side-effect of making copies work correctly.  You could perhaps
make sync_dsc strip off -proposed when running dch on the grounds of the
implicit redirection, but you'd have to take care not to break other
special cases like running syncpackage into -security and that kind of
thing which might be expected not to strip the pocket suffix.

I don't know whether the extra complexity is worth it.

-- 
Colin Watson   [cjwat...@debian.org]



Bug#919125: ubuntu-dev-tools: fakesyncs using syncpackage puts -proposed in the changelog

2019-01-12 Thread Simon Quigley
Package: ubuntu-dev-tools
Version: 0.166

Dear Maintainer,

Doing a fakesync using syncpackage puts e.g. disco-proposed in the
changelog instead of disco. I suspect this is historical; the archive
can now handle putting just disco.

Any objections to changing this?

-- 
Simon Quigley
tsimo...@debian.org
tsimonq2 on freenode and OFTC
5C7A BEA2 0F86 3045 9CC8
C8B5 E27F 2CF8 458C 2FA4



signature.asc
Description: OpenPGP digital signature