Task #244

Rewrite the deb packaging

Added by Jan Dolinár over 12 years ago. Updated over 11 years ago.

Status:ApprovedStart date:01/26/2012
Priority:ImmediateDue date:
Assignee:Jan Dolinár% Done:

50%

Category:GeneralSpent time:-
Target version:-

Description

The goal is to rewrite the stuff in uppbox/lpbuild to match current debian packaging standards.

History

#1 Updated by Jan Dolinár over 12 years ago

  • Assignee changed from Jan Dolinár to Miroslav Fidler
  • % Done changed from 0 to 50

Mirek:

Could you please check the settings in lpbuild2/lpbuild.sh and try to launch it within the nightly builds? The only requirement is that it must be launched after the source tarball is built and $SRCDIR must point to the directory where the tarball can be found. The other settings should work fine with the values I guessed. PM/IM me if in doubt...

How it works:
  • First looks into $SRCDIR and finds tarball with highest version number.
  • Checks whether this version packages were already built (exits in that case) or not.
  • Copies the contents of tarball and some other necessary files into temporary directory
  • Creates debian source packages for the five supported ubuntu distributions and immediately uploads them to launchpad.

Currently the uploads are set to go to my testing PPA, so regular users will not be affected at all. Once we have this running in the "testing mode", I'll continue with the development to tweak all the errors that might arise, hopefully ending with something eligible for inclusion to official debian repos :)

#2 Updated by Miroslav Fidler over 12 years ago

  • Priority changed from Normal to Immediate

#3 Updated by Jan Dolinár over 12 years ago

I changed the architecture slightly to allow better code reusing and to move configuration to separate file. The configuration is in nightly.cfg, each entry is documented, so it should be no problem. The lpbuild script now should be launched with the config file as parameter:
bash ~/upp.src/lpbuild2/lpbuild.sh ~/upp.src/lpbuild2/nightly.cfg

Sorry for inconvenience Mirek, I thought I'll make the changes in time, before you get time to set it up...

#4 Updated by Miroslav Fidler over 12 years ago

  • Assignee changed from Miroslav Fidler to Jan Dolinár

Jan Dolinár wrote:

I changed the architecture slightly to allow better code reusing and to move configuration to separate file. The configuration is in nightly.cfg, each entry is documented, so it should be no problem. The lpbuild script now should be launched with the config file as parameter:
bash ~/upp.src/lpbuild2/lpbuild.sh ~/upp.src/lpbuild2/nightly.cfg

Sorry for inconvenience Mirek, I thought I'll make the changes in time, before you get time to set it up...

Scripts/all is writable for you...

#5 Updated by Jan Dolinár almost 12 years ago

  • Status changed from In Progress to Ready for QA

#6 Updated by Miroslav Fidler over 11 years ago

  • Status changed from Ready for QA to Approved

Also available in: Atom PDF