=== bjf[afk] is now known as bjf === bjf is now known as bjf[afk] [02:48] Hello, I am trying to upload a package in my ppa and I got the following email: http://pastebin.mozilla.org/852149 [02:49] My package is built succesfully and installed in my local setup. And from the email I understand that _dput_ just doesnt upload the .orig.tar.gz file for some reason. Any suggestion [02:50] sque: How are you building the package for upload? debuild? With which arguments? [02:51] debuild -rfakeroot -k [02:51] and then dput -s ppa:sque/asterisk asterisk_1.8.0-1ppa1_i386.changes [02:51] without -s [02:52] sque: You need to give the the -S option (to only upload source, not binaries, which Launchpad will reject), and the -sa option the first time (to upload the orig.tar.gz) [02:52] dput -sa ? [02:52] sque: Those are both debuild arguments. [02:52] a ok [02:53] They alter the created .changes file, and dput will do what that says. [02:53] you were crystal clear [02:53] brb [02:58] wgrant, ty you are completly right [02:58] do I have to delete the previous uploaded files from server? [02:59] or just uploading the new .changes will be allright? [02:59] sque: They were rejected, so there's nothing there to delete. [02:59] Just upload the new one. [02:59] ok I am doing it right now, ty again [02:59] (dput may need to be given the -f option, if it says it's already uploaded) [03:01] no it does not complain [03:01] Ah, of course, since the new file is *_source.changes, not *_i386.changes. [03:01] yes [03:07] wgrant, cool it worked https://launchpad.net/~sque/+archive/asterisk/+packages , ty very much [03:07] sque: Great. [03:07] :) [03:08] And it's already building. Excellent. [03:08] I must admit this ppa thing is not that difficult, even for really new comers. [03:09] Packaging can be a bit difficult to start with. [03:09] Yes packaging is VERY difficult, tweaking and changing an existing package is not that difficult [03:10] Anyway, ty very must, good nigh [03:10] night* [03:10] Night. === wgrant changed the topic of #launchpad to: Launchpad: https://launchpad.net/ | Read https://help.launchpad.net/ for help | On-call help contact: - | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: https://dev.launchpad.net/ [03:39] is there anything in the help wiki about build recipes? [03:39] it's not very easy to find if there is... [03:39] ok https://help.launchpad.net/Packaging/SourceBuilds/Recipes [03:42] poolie: I believe recipe pages should have help links now. [03:42] But that might have been caught in the prod rollback. [03:44] mm, i wanted to use it to answer a question about "can i do x" [03:51] poolie: It didn't answer your question? [03:52] it did once i found it by searching for 'recipe' [03:52] it's not linked from the help homepage or the packaging/soyuz home packe [03:52] *page [03:53] Ah. [04:10] wgrant: it wasn't caught in rollback [04:10] wgrant: we only rolled back one rev [04:32] why launchpad is slow as hell? [04:34] right now we're still fixing things from our upgrade to postgres 8.4 [04:34] it caused a number of crucial queries to start performing very badly [04:35] more generally we have a lot of inefficient code that we're focusing on and fixing at the moment [04:35] expect continued, substantial improvement over the next 6-12 months. [04:36] there are some other things like ssl session caches not being shared between apache frontends, but you only notice that when you start a session, not per-page. [04:41] ok [04:41] and why do you use referrers or referers or referrals wathever [04:42] network.http.sendRefererHeader;0 [04:42] network.http.sendSecureXSiteReferrer;false [04:42] need to set network.http.sendRefererHeader;1 [04:52] its a form of protection against cross site attacks === nhandler_ is now known as nhandler [08:59] hi everyone [08:59] I uploaded my packages to my PPA but they don't seem to be available and I didn't get a mail nor do they show up on the builds-page [09:00] dev-zero: https://answers.edge.launchpad.net/soyuz/+faq/227 [09:02] bigjools: thanks, that's what I've been looking for [09:02] np [09:02] bigjools: but I think I did everything written there [09:03] only thing I missed is: I uploaded the signed packages before I registered the key at launchpad [09:03] that will be a problem :) [09:03] probably delete the PPA and re-create it? [09:04] no, re-upload your package [09:04] well, that doesn't work [09:04] I get this: "Package has already been uploaded to ppa on ppa.launchpad.net" [09:04] it's https://launchpad.net/~dev-zero/+archive/spice btw [09:04] dev-zero: Pass the -f option to dput. === jelmer is now known as Guest97522 [09:04] dev-zero: dput stores in a file locally that you've already uploaded that file. [09:05] Even if it was rejected. [09:05] aaah, good :) [09:05] -f overrides that, forcing it to upload again. [09:07] btw, wrt debian package writing: is there a simple way to reduce the list of dependencies? meaning: I filled in libssl-dev for build-time-deps and libssl0.9.8 for the binary package, but I would like to have a macro to say: "depend on the corresponding non-dev packages from the build-time-deps" [09:09] dev-zero: Have you read the Ubuntu Packaging Guide or the Debian New Maintainers' Guide? The ${shlibs:Depends} expansion variable should do what you want. [09:10] wgrant: yes, I did, but it seems I didn't understand the point of the shlibs:Depends macro :) [09:10] wgrant: so, during the package process debuild does a ldd and records those libs in the dependencies? [09:12] dev-zero: Sort of, yeah. [09:13] does it also "copy" version specs from Build-Depends? [09:14] ... if the soname doesn't reflect the version properly? [09:14] Not exactly, but library packages should handle that anyway. [09:14] You don't have to worry about it. [09:14] ok [09:15] wgrant: thanks and sorry for the slightly OT === Guest97522 is now known as jelmer [09:48] hmm, do I have specify that the build server should try to satisfy deps for packages from my PPA? [09:53] the buildd will look into your PPA for build dependencies automatically (if you specified them in debian/control) [09:53] dev-zero: No, that will happen automatically. But it can take up to 10 minutes for built packages to be published. [09:53] geser: ah, ok [09:54] geser: I thought there was the WAITDEP/DEP-WAIT for that [09:54] dev-zero: that's when your build-depend on a package the buildd don't know where to get it (and decides to wait) [09:55] and in my case buildd didn't even know the package [09:55] ok, got it [09:58] wgrant: as you are familiar with the buildd code: shouldn't this build got catched earlier for DEPWAIT (if it would be working; still waiting on the review of the updated regex) instead of going on with installing the other build-dependencies? http://launchpadlibrarian.net/58808116/buildlog_ubuntu-natty-i386.gedit-valencia-plugin_0.3.0-1_FAILEDTOBUILD.txt.gz [10:04] geser: That's a bit odd. [10:04] E: Package 'libvala-dev' has no installation candidate [10:04] libvala-dev is a virtual package provided by: [10:04] Using (no default, using first one) [10:05] So apt says something provides it, but doesn't list anything. [10:07] it's currently provided by libvala-0.10-dev and libvala-0.12-dev in natty, but this still doesn't explain why it's not listed in the output [10:08] Maybe our sbuild doesn't like the new apt. [10:09] I should really get the unancient sbuild branch merge. But... [10:30] hello [10:30] how will it approximately take after I upload something to a PPA until it becomes visible on the website? [10:31] EvaLuaTe: about 5-10 minutes [10:31] if it doesn't, please read this https://answers.edge.launchpad.net/soyuz/+faq/227 [10:35] bigjools, ok, thank you [10:38] bigjools, what does "Rejected: \n Source/binary (i.e. mixed) uploads are not allowed." ? [10:38] EvaLuaTe: it means you're uploading a binary .deb with your source, you need to build the package with "debuild -S" [10:40] bigjools, ohh, well I have gone through the packaging tutorial but I have noticed that most of it (if not everything) is copied from the debian one, so I thought the package I did for debian would be fine, guess I was wrong though :p [10:40] this is not a package issue, you're just not uploading source-only [10:43] bigjools, ok, so should I just upload the mypackage_source.changes after doing debuild -S? [10:43] EvaLuaTe: yes, that will work [10:46] bigjools, yeah, it worked. The problem was that I built the package just like in debian, with dpkg-buildpackage, instead of debuild -S. Thank you very much for the help! [10:46] np, good luck :) [10:47] EvaLuaTe: dpkg-buildpackage works too, but you need -S there as well. [10:48] wgrant, ohh, alright. Thanks again [10:48] have a nice day! [10:48] (debuild is just a wrapper around dpkg-buildpackage) === mrevell is now known as mrevell-lunch === mrevell-lunch is now known as mrevell [14:30] How do I merge two launchpad accounts? [14:31] hi, can a ppa be emptied of all source packages keeping just the binary ones> [14:31] shadeslayer: no [14:31] ok [14:31] ( i just thought it could be done, because i heard something similar earlier ) [14:31] Ah, just found it. Google was being unhelpful up until just now. [14:31] shadeslayer: that would break the GPL [14:31] ah ok [14:32] then i suppose we just need more space :P [14:32] request and it shall be thine [14:32] yep.... will do tomorrow :) === bjf[afk] is now known as bjf === yofel_ is now known as yofel [16:51] who would I talk to about setting up a private ppa? [17:00] shtylman: is that a commercial request? [17:02] bigjools: yes [17:02] mrevell: are you handling commercial requests? [17:02] bigjools, I am. [17:03] shtylman, Hello. [17:03] mrevell: cool, you have a customer :) [17:03] shtylman, Hi, do you already have a subscription to Launchpad? [17:05] mrevell: by subscription do you mean account? [17:06] if yes.. then yes [17:06] shtylman, Sorry, no, I mean a commercial subscription, which is available for an annual payment and required for a private PPA. See https://launchpad.net/+tour/join-launchpad#commercial [17:07] ahh... I guess that is the starting point I was looking for [17:08] shtylman, Cool :) Ping me here or email commercial@launchpad.net if you have any questions. [17:09] mrevell: will do... the price listed is per project.. can the project have multiple "mainline" branches.. or is a project the same as other open source projects with one main branch? [17:09] and are there limits to the number of private ppas? contributors.. etc? [17:10] shtylman, In Launchpad we have a concept of "series", which are multiple lines of development within the same project, so yes you can have more than one line of development within a commercial project. [17:10] gotcha [17:12] shtylman, At this stage, I think we could be a little flexible about the number of private PPAs you have with your subscription. If you could let me know more about your requirements, we can talk more ... perhaps by email or PM/ [17:13] https://launchpad.net/~kubuntu-ninjas/+archive/ppa/+build/2047827 and https://launchpad.net/~kubuntu-ninjas/+archive/ppa/+build/2047826 seem stuck to me [17:13] can someone please have a look? [17:13] ive uploaded other packages after that one and they seem to be building fine [17:14] shadeslayer: looking [17:14] thanks === deryck is now known as deryck[lunch] [17:18] bigjools: seems to be working now [17:18] thanks [17:18] must have been stuck in the queue somewhere [17:20] shadeslayer: I just noticed it's a private PPA. For those, the source has to be published before it can start building. [17:20] so you have to wait for the publisher cycle. [17:20] but it doesnt take THAT long [17:20] yes, it does [17:20] 10 minutes [17:20] hmm.... i didnt know that.... usually it took less than 5 mins [17:21] it depends on the load - if there's a lot of stuff to publish it will take longer [17:21] ohk [17:21] wgrant has a nice speedup that I hope to put in soon === LinuxJedi is now known as LinuxJedi|away [18:05] anychance anybody has an IRC bot that will file bugs in on a launchpad project for me already? [18:18] can i do a upload to my ppa for two ubuntu versions with single dput? [18:32] flacoste, ping [18:32] flacoste, would there be documentation explaining the different permission/access levels requested when using apport-collect ? === deryck[lunch] is now known as deryck [19:10] MagicFab: are you talking about the levels appearing on the oauth token authorization screen? [19:16] flacoste, yes, can't seem to find any refs to that [19:21] I'm having a problem with APIs where they are doing something they haven't. I'm blocked on some Canonical commercial stuff and lifeless said to ask for some help here. So I am. https://pastebin.canonical.com/39772/ [19:23] here's the open paste: http://paste.ubuntu.com/532529/ [19:28] joey: are you using the 1.0 API? The devel API is subject to change. [19:29] abentley: I've used devel and 1.0 with the same results [19:29] abentley: I've used edge, lpnet, and staging with the same results [19:29] abentley: I've deleted all my items in .launchpadlib, reauthenticated, and....in between nonce issues.... got the same results [19:30] abentley: I've reinstalled launchpadlib and lazr.restfulclient [19:30] joey: And the value you're actually getting is None? [19:30] abentley: yes [19:30] abentley: although I didn't do the test for it [19:31] abentley: I'll test to ensure it's none and not a blank or something [19:32] joey: I thought I saw something recently about changing from KeyErrors to None, but I'm having trouble finding it now. [19:34] abentley: well, it's NOT none .... [19:34] abentley: NotFound: Object: [19:34] abentley: I get that for real projects and also ones that don't exist [19:34] obviously with a different obj id [19:34] could be the way I'm doing the statement though [19:35] leonardr: Any idea why project = lp.projects[project_name] returns NotFound rather than raising an exception? [19:35] abentley: I get it for project, project.name, project.owner [19:36] abentley: it worked as is the last time I used it (about 1.5 to 2 weeks ago or so) [19:36] abentley: "returns NotFound"? what is NotFound, an exception object that doesn't get raised? [19:37] leonardr: It is apparently "NotFound: Object: " [19:37] abentley: are you writing a pagetest, or using launchpadlib as a client? [19:37] leonardr: client [19:37] leonardr: joey is using launchpadlib as a client. [19:38] abentley: happy to paste you the full script. [19:38] abentley, joey: NotFound is an exception object, and canonical.launchpad.systemhomes... refers to an exception raised on the server side [19:39] if the exception is returned rather than raised, i suspect a version mismatch [19:39] or an old coding style that needs to be modernized [19:39] joey: paste me the script [19:39] leonardr: https://pastebin.canonical.com/39778/ [19:39] leonardr: bac created the shell for me about a year ago and I've been customizing it as needed [19:40] leonardr: and yes, I've used 1.0 instead of devel with no luck [19:40] leonardr: and I've tried edge, lpnet, and staging [19:41] joey: there's probably some subtle problem with your setup that is resulting in a request going to /foo or /1.0/1.0/foo instead of /1.0/foo [19:41] add this code and see what requests are made: [19:41] import httplib2 [19:41] httplib2.debuglevel = 1 [19:41] k [19:43] leonardr: silly question: where does the output go? [19:43] joey: stdout [19:43] Any ideas what's up with this?... bzr: ERROR: KnitPackRepository('lp-56956304:///~canonical-isd-hackers/drupal-teams/5.x-trunk/.bzr/repository') is not compatible with CHKInventoryRepository('lp-56956304:///~ubuntu-drupal-devs/drupal-teams/7.x-dev/.bzr/repository') different rich-root support [19:43] * joey wrinkles his face. [19:43] joey: what are you passing in for service_name? [19:44] leonardr: staging presently [19:44] joey: the string "staging"? [19:44] maybe that's a #bzr question.. [19:44] leonardr: -s staging from the options which then goes to .uris and becomes the staging root [19:45] leonardr: I'm getting no output from the debug option. [19:46] ok, i'm going to try the script. what's a good sample command line? [19:46] joey -^ [19:47] leonardr: ./create-oem-project.py -s staging a98349jdfsfj93r [19:47] or some other fictitious project name [19:47] leonardr: contrast those results against an existing project [19:47] e.g. ./create-oem-project.py -s staging hedly [19:48] e.g. ./create-oem-project.py -s staging hedley [19:51] joey: the script works for me (up to the point where i get Unauthorized), so it's probably a version mismatch. can you run this code? [19:51] import launchpadlib [19:51] print launchpadlib.__version__ [19:51] import lazr.restfulclient [19:51] print lazr.restfulclient.__version__ [19:51] Can I push something to LP without it being stacked on the primary branch in the project? [19:52] abentley: 1.6.1 [19:52] 0.9.20 [19:53] MTecknology: You can explicitly stack it on something else, if you like. I don't think you can avoid stacking at all. [19:54] hm... seems it pushed finally- I guess it decided it'll be nice to me?.. [19:54] MTecknology: you can reconfigure --unstacked, though. [19:54] thanks [19:55] joey: i get the problem with the system libraries (which is what you have) but not with the later stuff [20:00] leonardr: any idea what approach I should try next? [20:00] joey, i'm working on it [21:30] What happens to a PPA if you delete it/deactivate it? Specifically, what happens from the users perspective if they have that PPA in their sources.list/sources.list.d/? === linuxjedi_ is now known as LinuxJedi [21:52] can some help why I get "ServerNotFoundError: Unable to find the server at lplibrarian.internal" when I try to access the attachments for a certain bug over the LP API? [21:54] geser: My guess would be that private bug attachments over the API only work inside the LP datacentre [21:55] tgm4883: My guess would be that it just starts to 404 [22:00] maxb: hmm, I've tried grab-attachments (from ubuntu-dev-tools) on some private bugs (apport crashes) and on 3 of them I got the same error (so your guess might by true) but on two other private bugs the script worked [22:01] maxb: do you know who might know it if your guess is true? === LinuxJedi is now known as LinuxJedi|away