I'm using Launchpad to upload a .dsc, a debian.tar.gz and a .orig.tar.xz. The orig archive contains both i386 and amd64 files, and I use debian/rules to build different architecture packages. But it only builds on Trusty series. I would like to use the feature Copy packages, but I want it to be automated.
Currently, I have to connect to Launchpad, click View Package Details, click Copy Packages, and use:
> Destination PPA:
> This PPA
> Destination series:
> Utopic
> Copy existing binaries
Is there a way to automate all this "copy the existing binaries from the older series to the new series", or to do it through CLI to use it in a script ?
Thank you
Leads :
Q: Maybe
ubuntu-archive-toolscan help me do that, it seem to have a copy-package python script ?A: It doesn't work with that:
python copy-package -y -b --ppa-name=myname/myppa --to-ppa-name=myname/myppa -s trusty --to-suite=utopic -e versionofpackageQ: Maybe if I change my changelog entry from
trusty ; urgency=lowtoutopic trusty ; urgency=low?A: It doesn't work :
Unable to find distroseries: utopic trusty. Further error processing not possible because of a critical previous error.Q: Build 1
orig.tar.xzand multiple.dsc&debian.tar.gzA: I currently build an incremented version-number (i.e.
mypackage-1.1.0-0trusty0andmypackage-1.1.0-0utopic0), but the solution could be better since I have to reupload theorig.tar.xzfor each and that it takes twice the place in the PPA since the built.debaren't considered as a copy of each other but 2 packages.
orig.tar.xzif you already uploaded it before. Rundebuild -sd(ordpkg-build-package -sd) to generate a.changesfile that doesn't upload the original tarball. – saiarcot895 Jun 30 '14 at 0:58--to-suiteisn't made for "series" but for something else. I don't know. It seemed to work but nothing changed on my PPA. – MrVaykadji Jun 30 '14 at 14:21--to-suiteis for the series. I wouldn't specify the-eflag since, by default, the latest version will be chosen. Also, try splitting up--ppa-name=myname/myppato-p myname --ppa-name=myppa, since--ppa-namejust wants the name of the PPA. Also, you don't need to specify--to-*if it's the same thing as the from. – saiarcot895 Jun 30 '14 at 14:24