/srv/irclogs.ubuntu.com/2015/04/10/#launchpad.txt

orionHi. Where can I find a good guide on creating a package from a git repository and uploading it to a PPA?01:16
wgrantorion: http://packaging.ubuntu.com/html/ and https://help.launchpad.net/Packaging/PPA should tell you what you need to know.01:21
orionI don't want to use Bazzar for source control.01:23
orionI want to use git.01:24
tewardum... that packaging guide explains both... sorta.01:25
wgrantorion: The bzr parts of that guide are limited. You can ignore them if you don't want to use bzr.01:25
teward^ that01:25
wgranthttps://wiki.debian.org/PackagingWithGit has some git-specific bits.01:26
grepperthis page has a dead link: https://help.launchpad.net/Packaging/PPA/Copying  ( https://launchpad.net/~ubuntu-mobile/+archive/ppa/+copy-packages )05:13
StevenKI wouldn't copy from the ubuntu-mobile PPA :-P05:14
grepperI was trying to figure out how you can have support for more than one ubuntu version for your ppa05:15
grepperhow is that done?05:15
grepperfor example the packages I have install on 14.04 -> vivid05:16
grepper(as vivid stands now)05:16
grepperah, found a 'copy packages' link05:22
grepperthanks :)05:24
grepperI should probably move where my code lives after finding out this fact of the packages working on all these ubuntu releases. Right now its https://code.launchpad.net/~grepper/ubuntu/trusty/tovid/tovid-0.35.0_branch. Is that too problematic to bother with ?05:46
wgrantgrepper: Package branches are always associated with a particular release, so I'm not sure there's anywhere better to move it if you want a single branch for all of them.05:56
grepperokay, thanks05:57
grepperthe ppa doesn't have 'trusty' in it so its not really going to cause confusion I don't think05:57
wgrantgrepper: What do you mean?05:58
wgrantI see a package for trusty in your PPA.05:58
grepperwgrant: no, I mean there is no 'trusty' in the url as in the one I was concerned about. Its fine06:00
grepperboth are fine with me , just wanted to ask if I was doing it the right way.06:00
wgrantgrepper: Right, a single PPA can provide packages for all Ubuntu releases.06:00
wgrantIt's very rare that you'd create a separate PPA for each release.06:00
grepperright06:01
grepperis it usual to have all the package names the same regardless of target release?06:01
wgrantYes, otherwise upgrades wouldn't work.06:02
grepperokay06:02
wgrantIf the same binaries work on each release (they'd mostly stop working due to library ABI breaks), it's OK to copy them up to newer series.06:03
wgrantBut if they need to be rebuilt (eg. because libav changed its soname), you'll need to upload multiple versions.06:03
wgrantIf the source doesn't need changes, you'd often just append eg. ~ubuntu14.04.1 to the trusty version.06:03
grepperokay06:05
grepperif I upload a new version, do I need to use the web interface to copy them to each release again ?06:06
grepperor is there a command line interface to that06:06
wgrantYou can use the copy-package tool from lp:ubuntu-archive-tools.06:06
greppergreat, thanks06:08
wgranteg. copy-package --from=~grepper/ubuntu/ppa --from-suite=trusty --to-suite=utopic --include-binaries tovid06:08
grepperthanks for the example06:08
wgrant(that's just a convenient CLI wrapper around the archive.copyPackages API)06:09
cjwatsongrepper: I've fixed the dead link, thanks.09:33
=== [HeOS] is now known as HeOS
greppernp19:41
dobeyp19:42
grepperIs there a way to sign a package without getting a prompt? I tried ~/.bazaar/authentication.conf19:45
grepperthanks for the p btw19:45
greppernothing like a good p19:45
dobeyit was a math joke19:46
dobeysign as in gpg?19:46
grepperyes19:46
dobeygnome-keyring has support to function as a gpg-agent, so if you've stored the passphrase in the keyring, and the keyring is unlocked, you shouldn't get a prompt; assuming debsign finds your key correctly19:47
grepperdebsign must find it as it prompts for password and signs it19:50
grepperthough I seem to have to enter it twice, maybe that is by design19:50
dobeyprobably signing two different things19:51
grepperah19:52
grepperdunno why the gnome-keyring thing isn't working then, it has pam support enabled19:53
dobeydon't know, it works fine here19:55
grepperfixed, had to jump through a few hoops22:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!