/srv/irclogs.ubuntu.com/2013/10/22/#launchpad.txt

=== liam_ is now known as Guest63337
=== zenitraM^away is now known as zenitraM
=== zenitraM is now known as zenitraM^away
=== zenitraM^away is now known as zenitraM
=== zenitraM is now known as zenitraM^away
=== kostja_o1ipov is now known as kostja_osipov
DarkPlayer2wgrant: hi, which requirements do I need to fulfill to get the permission to build on armhf?13:44
czajkowskiDarkPlayer2: https://dev.launchpad.net/CommunityARMBuilds13:45
DarkPlayer2czajkowsk2: thanks13:47
DarkPlayer2lol without the 2 ;-)13:47
=== zenitraM^away is now known as zenitraM
ionelmcafter uploading the .changes file to my ppa what do i do next ?15:00
ionelmci don't see any package in the web interface15:00
cjwatsonit should show up within ten minutes or so.  If not and you haven't got a rejection mail, check whether you remembered to sign your .changes with a key registered in Launchpad15:01
ionelmcaaah15:02
ionelmci didn't register any key ...15:02
cjwatsonionelmc: https://help.launchpad.net/Packaging/UploadErrors15:02
=== zenitraM is now known as zenitraM^away
ionelmchow do i publish my gpg key?15:04
cjwatsonthere's a link in the page I just gave you15:05
ionelmccjwatson: there's no command to publish it explicitly15:05
ionelmcis it done automatically?15:06
ionelmci get this in the ui "Launchpad could not import your OpenPGP key"15:06
ionelmcit would appear this is `gpg --keyserver keyserver.ubuntu.com --send-keys XXXX` - someone might want to update this https://help.launchpad.net/Packaging/UploadErrors15:11
cjwatsonionelmc: It's documented on the +editpgpkeys page in Launchpad itself15:11
cjwatson("How to get the fingerprint" -> pop-up saying "You must ensure your key is in the Ubuntu keyserver", containing a link to instructions15:12
cjwatson)15:12
ionelmcthere's no such thing in https://help.launchpad.net/Packaging/UploadErrors15:12
ionelmccjwatson: maybe you sent me link to the wrong page ?15:13
cjwatsonionelmc: Packaging/UploadErrors links to https://launchpad.net/people/+me/+editpgpkeys which is as I described15:13
ionelmccjwatson: there's absolutely no help about actually publishing via command line, are you trolling me?15:14
cjwatsonI'm attempting to help you and resent that implication15:15
cjwatson(I'm going to clarify Packaging/UploadErrors as soon as my network connection stops being even slower than usual)15:15
cjwatson(Oh, and phone call now ...)15:15
cjwatsonThe full help page linked indirectly from +editpgpkeys is https://launchpad.net/+help-registry/import-pgp-key.html15:16
TheLordOfTimeare PPAs set up yet to build for trusty?15:17
cjwatsonAnd it's true that https://launchpad.net/+help-registry/openpgp-keys.html#publish doesn't have a --send-keys based option; I wonder if that's somewhere else15:17
cjwatsonTheLordOfTime: Yes15:17
TheLordOfTimecjwatson: awesome, wasn't sure if they were configured yet.  :)15:17
TheLordOfTimethanks.15:17
cjwatsonTheLordOfTime: I don't think any specific configuration is involved any more, once the archive is open15:18
TheLordOfTimecjwatson: well, apart from me updating whatever i'm uploading for the version-specific build-deps and such15:18
cjwatsonSure15:18
TheLordOfTime... pffffffffft the only thing I hate about PPAs and updating them with Debian's stuff is when they add a build-dep that's in Saucy and later but not earlier versions >.>15:19
TheLordOfTime(nginx ppas fall into this category)15:19
ionelmcis it just me or it's normal that +editpgpkeys asks me to relogin every minute ?15:21
ionelmci have follower the confirmation link in the email but no gpg keys appear to be attached to my account in lauchpad15:23
saiarcot895ionelmc: I think it's for security purposes that you have to relogin every time you access +editpgpkeys15:24
ionelmcodd, worked the second time15:25
ionelmcstrange enough, before i added my gpg key i got "Successfully uploaded packages." from dput - shouldn't that be an error?15:27
ionelmcwhen uploading with dput, can i make a package be available for multiple distros ?15:28
ionelmchow can i remove something that i uploaded with dput ?15:46
TheLordOfTimeionelmc: upload a newer version to the PPA, it'll overwrite15:47
TheLordOfTimeor rather, replace. (and by newer version, even if you just bump up the package revision number and not the software version number that should work, but it depends partly on your versioning schema on whether it works or not)15:48
ionelmcwhat if i want to have multiple versions uploaded ?15:48
TheLordOfTime(versioning schema = 1.2.3-1 for example)15:48
TheLordOfTimedefine "multiple versions"15:48
ionelmci want to have 1.1 and 1.2 in my ppa15:49
ionelmcbut you said 1.2 will override the prev releease15:49
TheLordOfTimeupload different source package names, program1.1 and program1.2 for example15:49
ionelmcis this a limitation of the ppa ?15:50
TheLordOfTimecjwatson: that's a limitation of debian repositories in general, isn't it, you can't upload two source packages with the same name but different versions to the same release target?15:51
TheLordOfTime(since you obviously know the system better than me :P)15:51
ionelmccause i remember mongodb having available multiple versions in the same repo15:51
TheLordOfTimeionelmc: i think they did that by having separate package names for the differing versions, but that's something cjwatson would be more familiar with15:52
ionelmcyou could install the latest or prev release if you specify "=2.2" or something like that15:52
TheLordOfTimei very rarely upload two versions of the same software to one PPA15:52
ionelmceg, i had done "apt-get install mongodb-10gen=2.2.4"15:52
ionelmcthat means they had multiple versions available in the repo for the same distro15:53
ionelmcthat wasn't a ppa, that's why i asked if it's a ppa limitation15:53
TheLordOfTimethat doesn't mean they had them both simultaneously available as separate distinct packages, that just means that 2.3.2 was uploaded to the repo for that release after 2.2.4 and was available15:53
TheLordOfTimeionelmc: i'm unfamiliar with howt he PPA systems are actually set up, but in theory you can upload 1.115:54
ionelmcisn't it the same with ppas then ?15:54
TheLordOfTimeand then 1.2 (which will supersede the 1.1. version by default)15:54
TheLordOfTimeand then people would have to specifically specify package=1.1 when they do apt-get install15:54
TheLordOfTimebut if you want them to eliminate that step i think you'd have to create separate source packages with a different name, like if the software is foo15:54
TheLordOfTimefoo = 1.1, and foo1.2 = 1.215:54
TheLordOfTimebut again, cjwatson would know more15:55
ionelmcok, so only minor releases are kept ... maintenance releases are not ?15:55
TheLordOfTimeionelmc: i can't answer that, so you'll need to be patient and wait for someone more familiar with the system to answer15:55
TheLordOfTimethey'd be able to answer better than I15:55
=== zenitraM^away is now known as zenitraM
ionelmccjwatson: still around?16:11
TheLordOfTimeionelmc: he's in a couple channels i think, doing a few things at once...16:12
cjwatsonTheLordOfTime: The repository format permits multiple packages with the same name but different versions, but since they're mostly pointless (apt will only select the newest), they generally only exist transiently16:13
cjwatsonIf you want to publish multiple versions in parallel you should use different package names16:13
=== zenitraM is now known as zenitraM^away
TheLordOfTimecjwatson: i.e. what i recommended, right?16:13
cjwatsonionelmc: It's not an error from dput because dput just dumps things into a queue and doesn't know that there's going to be an error later16:13
cjwatsonTheLordOfTime: yes16:13
cjwatsonionelmc: minor vs. maintenance is a policy question that's up to the packager16:14
cjwatsonionelmc: For most packages it's entirely pointless (in fact, a negative) to have more than one version published in parallel for a single series - it increases your support burden16:14
cjwatsonSo you have to take a positive step to offer multiple versions at once, i.e. rename the package16:14
cjwatsonTheLordOfTime: Actually not quite what you recommended - Launchpad will supersede the old version unless you rename it, there isn't a "by default" here because that implies the ability to override the default16:15
cjwatsonAnd yes, this is a policy decision in Launchpad; other Debian-format repositories might choose to keep multiple versions16:16
TheLordOfTimecjwatson: well, the general concept then, my initial suggestion was to have two source packages with different names, i.e. foo1 and foo2 for version1 and version2 or something16:17
TheLordOfTimethat was the "basic concept" i menat16:18
TheLordOfTimemeant*16:18
TheLordOfTime... grrrr FTBFS is evil *shifts attention*16:18
cjwatsonTheLordOfTime: Sure16:18
ionelmccjwatson: is there a way to have package "variants" in a ppa ?; eg: i want to upload a patched version of python but there are 3 variants of patches16:39
ionelmcmaybe it's just better to have 3 ppa instead16:39
saiarcot895ionelmc: you would either need 3 PPAs or 3 source packages16:40
cjwatson(a) such things are generally a terrible idea :-) (b) not really PPA-specific; either prepare suitable source packages or use multiple archives16:40
TheLordOfTimes/3 source packages/3 separate source packages/16:40
TheLordOfTime(just in case they didn't catch that)16:40
TheLordOfTimes/catch/assume/16:40
cjwatsonor one source package with multiple build passes with different patches applied, although that gets pretty cumbersome16:40
TheLordOfTimemhm16:41
cjwatson(and is probably a nightmare for python given how low down the dependency stack it is)16:41
ionelmcok nevermind, i go with only 1 patch :)16:41
ionelmcif i upload a custom build of python in a ppa i don't need to fiddle with the version right?16:42
ionelmcgod damn it, /boot is full again16:42
saiarcot895ionelmc: you may need to, to make sure your version doesn't conflict with a published version and that your version is installed16:44
cjwatsonClashing versions with the primary archive you're based on is a really bad idea.  Versions are cheap, use a new one16:45
cjwatsonI think LP will reject attempts to do that though I haven't yet found it in the source16:47
ionelmccjwatson: ok, so if the version from ubuntu's repo is "2.7.3-0ubuntu3.4" should i name it something like "2.7.3-mypatch1"16:48
ionelmcwhat's the "0" in "2.7.3-0ubuntu3.4" for ?16:48
ionelmcfirst message is a question, if forgot the question mark16:49
cjwatsonionelmc: We recommend you follow https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#versioning16:50
cjwatsonAnd see the Debian Policy Manual for general questions about versions16:50
cjwatsonYou should certainly not delete the "0ubuntu3.4" part16:51
ionelmcallright, thanks16:52
ionelmc"NOTICE: 'python2.7' packaging is maintained in the 'Bzr' version control system" i should not care about this right?16:54
ionelmcthere was a way to quickly add an entry to the changelog - can anyone help me with a link ?16:56
tsimpsonuse debchange or dch from the decscripts package16:57
cjwatsonYou don't need to care about the version control system containing the Ubuntu package if you aren't attempting to contribute your changes to Ubuntu17:01
ionelmchow do i make dch use my email ?17:03
cjwatsonexport DEBEMAIL=whatever@example.org17:04
ionelmcand the name?17:04
cjwatsonman dch17:04
cjwatsonit documents all this17:05
ionelmci was looking for some configuration file, like in git17:05
ionelmcall so confusing :)17:05
cjwatsonI'm telling you what exists ...17:05
ionelmccjwatson: is there a way to make dch append a message in the changelog without opening the editor17:10
ionelmci've looked in the man, did not notice an option for that17:10
TheLordOfTimewhy would you not want to edit the changelog and specify your changes, which is why the changelog exists?17:10
cjwatsonionelmc: "If the text of the change is given on the command line, debchange will run in batch mode and simply add the text, with line breaks as necessary, at the appropriate place in debian/changelog (or the changelog specified by options, as described below)."17:11
cjwatsonfirst paragraph of the DESCRIPTION section17:11
cjwatsonTheLordOfTime: it's sometimes convenient to do it from a script17:12
ionelmcoh damn, it was too obvious, that's why i didn't see it17:12
ionelmc:)17:12
ionelmccjwatson: can i make building run sooner ? it say 1h17:17
ionelmcwhat does the build score mean ? it's some sort of priority ?17:18
cjwatsonYes17:18
cjwatsonThere's a "What's this" link right next to the score that explains it, even17:19
cjwatsonI've moved a couple of builders around to level out the queues a little, but it's a shared system17:21
ionelmcnice, now it say 46minutes17:22
* cjwatson recovers a few disabled builders too17:25
cjwatsonHmm, or not, I suspect those need more empowered intervention17:28
* cjwatson -> dinner17:29
TheLordOfTimecjwatson: true.17:30
=== zenitraM^away is now known as zenitraM
esinghi, I want to report a bug for ubuntu on launchpad, but I get this bug message when trying to report the bug  "Invalid OpenID transaction"18:12
dobeyesing: clear your cookies/cache for launchpad and retry18:16
esingdobey, Clearing cache/cookies, restarting firefox doesn't help. With chromium it works though18:19
=== zenitraM is now known as zenitraM^away
esingHow do I report a bug on launchpad? I logged in and clicked on "report a bug" but Iam always forwarded to the FAQ19:36
dobeyesing: you have to report a bug against the source package for the thing you're wanting to report a bug about. easiest way is to just run "ubuntu-bug $packagename" on your computer19:44
dobeyesing: it will collect any extra info relevant to the package, and open a browser window for you to report the bug, and will attach the extra info automatically19:45
ionelmcwhat's an easy way to upload a package to my ppa for a different distro than i have installed ? (it's still ubuntu, i have precise installed)20:19
ionelmclike a way to do `apt-get source pkg` but get it from other distro20:20
ionelmcand then upload to my ppa20:20
TheLordOfTimeionelmc: create another version of the package, same source package name, but with a version that is specific to that ubuntu release?  Such as, for example, 1.2.3-3-ubuntu12.04 (for precise), and in the debian/changelog just specify "precise" instead of the other version of ubuntu?20:30
ionelmcTheLordOfTime: yeah but i want to pull the sources from, say, saucy while i work on precise20:37
ionelmccause saucy might have totally different versions or source20:37
ionelmcis there a way to do that?20:38
TheLordOfTimeionelmc: perhaps i sohuld ask exactly what you're trying to do.  Assuming for a minute you are talking about some example package, say, foobarbaz, are you trying to download the source for foobarbaz in Saucy so that you can tweak it on Precise, then upload it to a PPA for Saucy or something?20:40
TheLordOfTimeupload it back to a PPA*20:40
TheLordOfTime(for clarification)20:40
ionelmcTheLordOfTime: i have this patch that i want to apply for every version of python in every ubuntu release20:42
TheLordOfTimeionelmc: "for every version of python"20:43
TheLordOfTimethere's python2 and python3 in the repos ;)20:43
ionelmci mean i could make a vm for every ubuntu release, but it just a pain in the ass having to setup everything 4x times20:43
TheLordOfTimeionelmc: that's not what i was saying20:43
TheLordOfTimei was going to say that if you know the name of the source package you can get the .dsc files from Launchpad, and then dget -u the URL for the dsc20:44
TheLordOfTimeand then download that source package for a given release20:44
TheLordOfTimeionelmc: what's the actual source package name, though, since there's a couple python source packages in the repos :p20:44
ionelmcand then i can just debuild+dput after patch right ?20:45
ionelmcpythonX.x-minimal20:45
TheLordOfTimethat wasn't my question20:45
TheLordOfTimeionelmc: what is the "source package" not the binary package20:45
ionelmcand -dev20:45
TheLordOfTimefor example, python2.7 is the source package for python2.7-minimal and python2.7-dev20:45
ionelmcaaah20:46
TheLordOfTimeas well as libpython2.7-*20:46
ionelmcright20:46
TheLordOfTimeso i ask again, what's the source package, not the built binaries20:46
ionelmcpython2.7 and 3.3 or whatever is the 3.x20:47
ionelmcthe thing is, the changelog from python2.7's source has only precise/unstable tags20:47
TheLordOfTimewell i just told you what python2.7 was.  https://launchpad.net/ubuntu/+source/python2.7 is the list of the source packages in each release.20:48
ionelmcso it must mean that in other distros there is a **different** source package20:48
TheLordOfTimeionelmc: i think you need to research debian packaging a little more, no offense, because each release has its own section in the repositories20:48
TheLordOfTimethat's why different releases can have different versions of the same source package20:48
TheLordOfTimeanyways, if you know the source package, you can look at the list of the packages of that source package in each release, and there's dropdown arrows next to there to get more details20:49
TheLordOfTimeand a link to the .dsc20:49
TheLordOfTimeuse whichever one has the latest version tag and is *not* in proposed20:49
ionelmcok20:49
TheLordOfTimeso for example20:49
ionelmci'm more newbie than you think20:49
ionelmci don't even know what the .dsc is for :)20:49
TheLordOfTimeto get 2.7.3-5ubuntu4.3 for Quantal, open the terminal.20:49
TheLordOfTimemake a directory to store them in, somewhere.20:49
TheLordOfTimego to that directory (cd dirname    replace dirname with the actual directory name)20:50
TheLordOfTimethen do this, assuming you've got dget (it's not default): dget -u https://launchpad.net/ubuntu/+archive/primary/+files/python2.7_2.7.3-5ubuntu4.3.dsc20:50
TheLordOfTimeassuming you installed the packaging tools it should be in there20:50
TheLordOfTimeionelmc: for very good reasons, though, i'm going to ask what exactly this patch is for and why you need to apply it to *every* version of python..20:52
TheLordOfTimebecause python2 != python3 and such20:52
TheLordOfTime(and patches for one might not work on the other)20:53
=== zenitraM^away is now known as zenitraM
ionelmcTheLordOfTime: allright, thanks21:23
ionelmcTheLordOfTime: these are the patches https://github.com/wyplay/pytracemalloc/21:23
ionelmci just want to have a ppa for that, it's a hassle to apply it every time you need to trace memory usage21:24
ionelmcnow before you wonder why i would use such a nasty way of tracing memory usage, it's the best - very reliable (tracks freelists) and fast-ish compared to everything else21:25
TheLordOfTimewasn't wondering that at all, was just wondering what you were doing messing with the python packages :)21:26
TheLordOfTime'tis all21:26
esingThanks dobey, that worked21:31
ionelmcTheLordOfTime: still there?22:21
TheLordOfTimeionelmc: eating pizza, sup22:21
ionelmci got "PPA uploads must be for the RELEASE pocket. This upload queue does not permit SECURITY uploads."22:22
ionelmci pulled the .dsc from the security section22:22
ionelmcwas that a bad idea22:22
TheLordOfTimeionelmc: replace precise-security or whatever it is with just precise22:22
ionelmcwhat's the difference?22:22
TheLordOfTimejust how the actual repository prioritizes them.  just remove the -security or -updates part wwhen you make a new changelog entry before dput-ing into your ppa22:23
TheLordOfTimeprioritizes and handles them*22:23
ionelmcaah ok22:25
ionelmcTheLordOfTime: but the .dsc i want is from the precise-security, cause it is newer than precise right?22:25
TheLordOfTimeionelmc: correct, you want the newest (latest) version of the package as exists in the repositories, that would either be in precise-updates or precise-security, but ultimately the new changelog entry (for PPA uploads) is only going to be the release, not release-security (where RELEASE = precise, quantal, etc.)22:26
=== zenitraM is now known as zenitraM^away
ionelmcallright22:30
ionelmcthank you22:30
cjwatsonionelmc: the much easier answer to your question about downloading a source package from a different series is: pull-lp-source22:36
cjwatson(read its man page)22:36
ionelmccjwatson: but that's not available in precise right?22:39
ionelmc13.10 ?22:39
ionelmci hacked some shell scripts together (with dget as TheLordOfTime told me) to do it if you wanna critique: https://gist.github.com/ionelmc/710919522:40
TheLordOfTimecjwatson: didn't know about that one, available in 12.04?22:41
* TheLordOfTime is used to the old dget method :p22:41
ionelmci have to keep that list of dsc files uptodate sadly22:41
ionelmcdamn, it's available in precise22:42
cjwatsonTheLordOfTime,ionelmc: dates back to intrepid22:42
TheLordOfTimecjwatson: didn't know, thanks.22:42
cjwatsoni.e. all currently supported releases have it22:42
TheLordOfTime(yep)22:44
ionelmccjwatson: thanks22:50
ionelmclooks much better now https://gist.github.com/ionelmc/710919522:51
ionelmchow do people usually maintain ppas with patched packages ?22:51
TheLordOfTimerecipes, or the old fashioned, do everything by hand way22:51
TheLordOfTime(i prefer the hands on, do it myself way, because then I can testbuild with sbuild locally)22:52
TheLordOfTime(before pushing to the PPAs)22:52
cjwatsonI'm certainly not the person to ask, I get my patches into Ubuntu ;-)22:52
TheLordOfTime^ that22:52
TheLordOfTimei usually don't author patches myself, I just cherry-pick em from upstream...22:52
TheLordOfTimeunless you count the patch which radically redesigned how php5-fpm works for everyone and has screwed over many a new server admin22:53
TheLordOfTime:P22:53
TheLordOfTime(or rather, the patch which changed where php5-fpm listens :P)22:53

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