=== sinzui changed the topic of #launchpad to: https://launchpad.net/ | Help contacts: wgrant | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ === JasonO_ is now known as JasonO [04:42] Im trying to upload to my PPA and I keep getting an error: File already exists in , but uploaded version has different contents. [04:43] LULLING_HARD: You need to change the version number. [04:43] You can't upload the same version twice; that would be a lie. [04:43] I am changing it.. [04:44] like I have 1.5.3 as my version number [04:44] does this mean I have to change it to 1.5.4 and 1.5.5 if I make a mistake? [04:45] Which PPA, and which package? [04:47] So if 1.0 gets rejected, one needs to change it to 1.1? [04:48] or 1.0.1 [04:48] You would normally have a version like 1.0-0ppa1 [04:48] 1.0 being the upstream version. [04:48] And -0ppa1 being the packaging version. [04:49] https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage === jtv is now known as jtv-eat [05:02] God this drives me crazy [05:03] Oh? [05:04] rejected, rejected, rejected [05:07] finally accepted..geez [05:08] I'm going to be releasing 2.0 before I get it uploaded [05:34] LP code browser is down? [05:34] jbicha: Indeed. Investigating... [05:35] thanks [05:38] jbicha: It's back up. Thanks for letting us know. [05:38] jbicha: Looks like it didn't come back properly after we upgraded it a few minutes back. [05:38] cool, thanks for fixing it [06:03] https://code.launchpad.net/~vcs-imports/spamassassin/trunk - this import is slightly broken, values that are supposed to get expanded by SVN aren't, like $LastChangedDate$ and $LastChangedRevision$. Is this a bug in launchpad? [06:05] Darxus: I'm not sure that's a bug. Those would be translated on the client side, by something like bzr-keywords. [06:05] Darxus: Importing the values of those variables into bzr history would be wrong. [06:06] wgrant: My problem is with a daily build recipe using it. How do I get that to expand those values? [06:06] https://code.launchpad.net/~darxus/+recipe/spamassassin-daily [06:06] Darxus: The daily build needs them expanded? [06:07] Yeah, it's inserting a header with screwed up version info without it. [06:07] X-Spam-Checker-Version: SpamAssassin 3.4.0-rupdated (updated) on panic.chaosreigns.com [06:07] http://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-svn-projects.html#limited-keywords-support [06:08] The two instances of "updated" should be an svn revision and a date. [06:08] So it's supported, but you probably won't be able to use that in a Launchpad daily build. [06:09] Thanks. That sucks. What would I open a bug against, or is there one already? [06:09] Bug #395731 looks relevant. [06:09] Launchpad bug 395731 in Bazaar "Need a way to set content-filtering rules across the project" [High,Confirmed] https://launchpad.net/bugs/395731 [06:09] I think. [06:09] lifeless: Hi. [06:12] hi [06:12] 'sup ? [06:12] lifeless: You probably know more about bzr content filters than I do. [06:12] Could you check that I am not entirely wrong? [06:13] ok [06:13] so [06:13] bzr-svn installs svn-compatible filteres [06:13] if we have bzr-svn installed when the recipe is built, its plausible that it would work [06:13] and/or the keywords plgin [06:13] so this is solvable without arbitrary-code issues [06:13] I think it probably needs bzr-svn and a config file. [06:14] the bug you reference is kindof related [06:14] I think bzr-svn JFDI's it. [06:14] IMBW [06:14] Hmm. [06:14] jelmer will know [06:14] anyhow; yes we should have a bug. It may be at the tip of a few bits of different work [06:15] Darxus: Could you file one at https://launchpad.net/launchpad/+filebug? [06:15] Sure, thanks. [06:15] Against Bazaar? [06:16] Launchpad, for now. [06:16] At the URL I gave. [06:16] We will move it if it turns out it needs bzr changes. [06:16] Ah, okay. [06:23] https://bugs.launchpad.net/launchpad/+bug/780916 [06:23] Ubuntu bug 780916 in Launchpad itself "Build recipes don't expand svn keywords" [Undecided,New] [06:25] Thanks. [06:26] Thank you. Safe to shut the laptop and my eyes now? :) [06:38] Is there any other way I can get the build date into a perl script built by launchpad recipe? [06:44] Darxus: do it in debian/rules [06:45] You may need to build-depend om bzr. [06:45] But it should be doable. [06:45] `date` [06:45] no need for bzr :) [06:46] you won't be in bzr-land when debian/rules runs [06:46] Heh. === LULLING_HARD is now known as not_annoying [07:49] Hello, there is no launchpad library (webservice client) for C? [07:50] jfi: Nothing existing that I know of. [07:54] wgrant, bad news:) https://help.launchpad.net/API/SigningRequests is scaring me [07:55] jfi: What are you wanting to do? [07:56] wgrant, collect the ppa stats [07:56] wgrant, sounds like I need to learn python [07:57] Yeah, Python is probably best for that, unless you want endless pain and suffering. [08:03] ha there is a 'go' version: http://goneat.org/pkg/launchpad.net/lpad/ [08:04] jfi: Oh, right, that was announced today. [08:04] Forgot about that. === jelmer_ is now known as jelmer [08:14] jelmer: Your recommendation for changing the branch's stack-edon target then pushing fixed my branch. Thank you! [08:14] s/-edon/ed-on/ [08:18] fugue88, that's great to hear. === Naresh` is now known as Naresh === med_out is now known as medberry === yofel_ is now known as yofel === henninge is now known as henninge-lunch === mrevell is now known as mrevell-lunch === henninge-lunch is now known as henninge === shadeslayer_ is now known as shadeslayer === mrevell-lunch is now known as mrevell === Naresh`` is now known as Naresh [13:33] I have succesfully already built my deb package in pbuilder for Maverick. I now want to build for 11.04, 10.04 and 09.10. How should I create my package so that launchpad understand what distro OS it should build for? A wiki/guide maybe? [13:33] Is it controlled from the changelog file in debian folder? Can I just say "all" in the field ? [13:37] Blinkiz: It's controlled by debian/changelog, yes. You need to upload once for each series that you want it to build for, with a different verion string each time. You might want to read https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#Versioning, particularly the last three paragraphs. [13:42] wgrant, aa, great. I understand. Thanks [13:51] hmm...if i call project_group.searchTasks, i seem to only get one task per bug, even if multiple tasks match my query. is that right, or am i doing something wrong? [13:52] broder: I would expect you to get both, I think. [13:52] broder: Do you have an example? [13:53] wgrant: not at this moment - i don't have my lp creds on the machine i'm using at the moment [13:53] the use case is the backport-helper in ubuntu-archive-tools, which does something like lp.projects['ubp'].searchTasks(subscriber=lp.people['ubuntu-archive'], status='In progress') [13:53] it seems to only be coming back with one task, even for bugs where multiple tasks have been marked as in progress [13:55] i think i'll end up switching laptops later today, so maybe i'll get back to you when i have a more solid test case :) [13:58] >>> from launchpadlib.launchpad import Launchpad [13:58] >>> lp = Launchpad.login_anonymously('fewfwfwfw', 'production') [13:58] >>> list(lp.projects['launchpad-project'].searchTasks(search_text="loggerhead does not handle incompatible repositories chkinventoryrepository")) [13:58] [, ] [13:58] broder: Works OK for me. [14:08] interesting. yeah, it appears to be working for me as well. i'll touch base with cjwatson and see what's going on === jcsackett changed the topic of #launchpad to: https://launchpad.net/ | Help contacts: jcsackett | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ === TLE is now known as TLE_Kenneth === TLE_Kenneth is now known as TLE [15:53] broder: of course it will probably only match tasks in that project group [16:07] poolie: yeah, that's explicitly what i want [16:13] jfi: just so you know, if you only want to read public information, you don't need to sign your requests [16:13] ie just curl https://api.launchpad.net/blah/blah will work fine [16:36] What's required to be able to edit things like status/priority on a spec? === mpt_ is now known as mpt [17:04] NCommander: sorry didn't see your message earlier. you mean in blueprints? [17:07] poolie, it seems that unfortunely some of the requests that I need must be authentified, but for the moment I am sure that use the right ones [17:07] *not sure that I use === matsubara is now known as matsubara-lunch [17:15] jcsackett: yes [17:22] NCommander: you should have the ability to edit data if you're related to the spec, which boils down to being listed in a role on the spec, or on the spec's target. [17:22] let me double check if there's something else. [17:28] Hello folks, I just got spam email from a bug report I am subscribed to [17:29] NCommander: i don't see anything else on a scan of permissions. is there a spec you can't edit you should be able to? [17:30] IdleOne: can you give me the bug number? [17:30] I mean the cause is good but still not bug related. bug 623819 [17:30] Launchpad bug 623819 in PolicyKit GNOME "[Maverick] policykit is not responding" [Wishlist,New] https://launchpad.net/bugs/623819 [17:32] jcsackett: https://blueprints.launchpad.net/ubuntu/+spec/server-o-arm-server === deryck is now known as deryck[lunch] [17:34] IdleOne: thanks for the alert; the spam has been dealt with. [17:35] jfi: if they're accessing public readonly data that'd be a bug [17:35] thank you jcsackett. [17:36] NCommander: yeah, looks like you should be able to edit that. are you locked out of everything, or just status/priority? [17:37] jcsackett: status/priority [17:37] poolie, yes it sounds like a bug, it seems that it depends on the used https impl [17:38] poolie, LP rejects requests with curllib but not wget.... [17:39] interesting [17:39] that is not a bug i've heard of before [17:39] however, note it does require a user-agent [17:39] i think the rejection message tells you this [17:39] don't be afraid, the bug is probably in MY code:) [17:40] hum I dunnot set the user-agent, it is required? [17:41] (pseudocode) request.add_header('user-agent', 'whatever-my-program/0.0') [17:43] jfi, http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTUSERAGENT [17:45] yes [17:45] .... and it works with the user agent [17:45] thanks! [17:46] I am very happy to not have to deal with signing the request:) [17:47] :) [17:47] poolie, FYI there is no error msg, just a response header with something like: [17:47] X-Lazr-Oopsid: OOPS-1957EDGEC1163 [17:47] https://lp-oops.canonical.com/oops.py/?oopsid=1957EDGEC1163 [17:47] really, nothing in the body? [17:48] thanks for letting me know [17:48] hm you probably don't want to talk to edge aeither [17:48] nothing, content-length set to 2 [17:51] https://bugs.launchpad.net/launchpad/+bug/781262 [17:51] Ubuntu bug 781262 in Launchpad itself "api request with user-agent gives oops" [Critical,Triaged] [17:53] NCommander: it looks like those two are actually more restrictive, sorry I didn't notice earlier. you need to be the owner of the target or in the drivers for the target or goal (distribution and series, in other words). [17:53] poolie, well, that's not important, maybe adding a note about this requirement will be nice:) [17:53] i think it is on the wiki [17:54] oopses are critical by policy === matsubara-lunch is now known as matsubara === deryck[lunch] is now known as deryck === sinzui changed the topic of #launchpad to: https://launchpad.net/ | Help contacts: sinzui | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ === medberry is now known as med_out === Ursinha is now known as Ursinha-afk === ariweil_ is now known as ariweil === lifeless_ is now known as lifeless [21:27] Can somebody tell me how to completely remove a project from LP? [21:28] post a question on https://answers.launchpad.net/launchpad requesting an admin delete the project [21:28] * https://answers.launchpad.net/launchpad [21:30] tsimpson: thanks, would be great if there was some way of letting the project owner remove it themselves ;) [21:30] there's probably a bug for that somewhere [21:31] (noncommercial) projects act as a shared namespace - the concept of ownership can get a bit nebulous [21:33] tsimpson: I thought so, thanks. [21:47] jfi: btw please don't use the edge domain! === ariweil_ is now known as ariweil [21:47] jfi: we are deleting it [21:48] the oops you got is [21:48] 'Unauthorized: Anonymous requests must provide a User-Agent.' [22:00] lifeless, right, I have fixed both, hostname and missing user-agent [22:01] jfi: I've looked at why we need the user agent and I think it was just a thinko when the code was added [22:01] so fixable relatively easily [22:02] lifeless, that's really not a pb for me to the add the user-agent, I don't need a fix of that [22:04] lifeless, the small issue was just that I thought that I need to sign the requests because the response was '401 not authorized' [22:07] lifeless, maybe it would be nice to add the user-agent information in: https://help.launchpad.net/API/Hacking [22:08] I think we should just fix it :) [22:09] maybe the user-agent can be used in the future to block or detect invalid client spamming the webservice? [22:14] its not a trustable field [22:14] it can be trivially changed === ariweil_ is now known as ariweil === cinerama_ is now known as cinerama === yofel_ is now known as yofel