| 1 | '''Draft - Needs testing''' |
| 2 | |
| 3 | == Copy Existing Package to new Release == |
| 4 | E.g. copy current versions from Oneiric to Precise |
| 5 | [https://gist.github.com/2569800 script from jef with hints] |
| 6 | |
| 7 | * Download the orig.tar.gz |
| 8 | * Download the debian.tar.gz |
| 9 | * Download the dsc |
| 10 | * Unpack the source |
| 11 | {{{ |
| 12 | dpkg-source -x nameofpackage.dsc |
| 13 | }}} |
| 14 | * Update the changelog |
| 15 | {{{ |
| 16 | dch -p -D precise -l precise "launchpad build for precise" |
| 17 | or |
| 18 | dch -i -D precise -l precise "launchpad build for precise" (not sure when to use -p vs -i) |
| 19 | }}} |
| 20 | * Check what dch wrote |
| 21 | {{{ |
| 22 | head debian/changelog |
| 23 | }}} |
| 24 | * build the package |
| 25 | {{{ |
| 26 | }}} |
| 27 | * push the package to launchpad |
| 28 | {{{ |
| 29 | debrelease --dput -S yourppafortesting |
| 30 | }}} |
| 31 | |
| 32 | |
| 33 | |
| 34 | This requires you have a Launchpad account, and a valid GPG key registered with Launchpad. |