Could PPAs accept <distro>-proposed pockets?

Dave Walker davewalker at ubuntu.com
Fri Dec 14 14:07:42 UTC 2012


On 14 December 2012 13:50, Andreas Hasenack <andreas at canonical.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I tend to use PPAs to test-build my packages before I upload to
> proposed for SRUs.
>
> PPAs are very convenient for this. I get to test the build and it also
> makes the packages available for me in a repository.
>
> Problem is, I tend to forget to adjust the changelog line from, say,
> "precise-proposed" to "precise" before uploading to the PPA, and then
> I get this rejection email:
>
> Rejected:
> PPA uploads must be for the RELEASE pocket.
>
> Would it be possible to make the PPAs accept these <distro>-proposed
> uploads? Maybe mangle them into <distro> on-the-fly or something?

What is in the changelog doesn't necessarily need to be the same as
what is in the *.changes file, which Launchpad will interpret.
Therefore, you can put precise-proposed in the debian/changelog, but
allow it to be accepted for a PPA by building a source package with:

$ debuild -S -sa --changes-option=-DDistribution=precise

Naturally, it might make sense to alias this :)

HTH

-- 
Kind Regards,
Dave Walker



More information about the ubuntu-devel mailing list