Can I do scratch build on launchpad?

Asked by Ivan Romanov on 2011-02-25

Hello.

I want to build package with launchpad only for testing purposes. Then if package is pretty I can upload (or copy) this package to my stable ppa. If the package is worse i can make new package with the same name and version. Then rebuild with ppa, test it and upload to stable ppa. How I can do such?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Ivan Romanov
Solved:
2011-02-25
Last query:
2011-02-25
Last reply:
2011-02-25

You can make a testing PPA and upload to it. If you like the results, use the
Copy Package feature to copy the package to the other PPA.

You cannot upload the same version more than once to the same PPA, however.
But it's trivial to increment the version, use something like +ppa1, +ppa2 for
example.

Ivan Romanov (drizt) said : #2

Why I must increment version of package? Neverbody will use my wrong building. In fedora koji i might do for example:

[taurus@lix SRPMS]$ koji build --scratch dist-f14 qconf-1.4-1.fc14.src.rpm
Uploading srpm: qconf-1.4-1.fc14.src.rpm
[====================================] 100% 00:00:29 29.81 KiB 1018.65 B/sec
Created task: 2866279
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2866279
Watching tasks (this may be safely interrupted)...
2866279 build (dist-f14, qconf-1.4-1.fc14.src.rpm): open (ppc09.phx2.fedoraproject.org)
  2866281 buildArch (qconf-1.4-1.fc14.src.rpm, i686): open (x86-04.phx2.fedoraproject.org)
  2866280 buildArch (qconf-1.4-1.fc14.src.rpm, x86_64): open (x86-17.phx2.fedoraproject.org)

I'd like to see a something similar in launchpad. It's very painfull that i haven't possible for test my package before actually uploading to ppa.

Launchpad will never let you use duplicate versions for very good reasons. Please see the attached FAQ.

Julian Edwards suggests this article as an answer to your question:
FAQ #990: “Can I re-upload the same package sources?”.

On Friday 25 February 2011 13:54:44 you wrote:
> I'd like to see a something similar in launchpad. It's very painfull
> that i haven't possible for test my package before actually uploading to
> ppa.

I forgot to say, if you want to do build testing please use "pbuilder", not
the PPA build service.

Ivan Romanov (drizt) said : #6

Okey. It is a way. Thank you for the answer.