/srv/irclogs.ubuntu.com/2011/05/11/#launchpad.txt

=== 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
LULLING_HARDIm trying to upload to my PPA and I keep getting an error: File already exists in <app>, but uploaded version has different contents.04:42
wgrantLULLING_HARD: You need to change the version number.04:43
wgrantYou can't upload the same version twice; that would be a lie.04:43
LULLING_HARDI am changing it..04:43
LULLING_HARDlike I have 1.5.3 as my version number04:44
LULLING_HARDdoes this mean I have to change it to 1.5.4 and 1.5.5 if I make a mistake?04:44
wgrantWhich PPA, and which package?04:45
LULLING_HARDSo if 1.0 gets rejected, one needs to change it to 1.1?04:47
LULLING_HARDor 1.0.104:48
wgrantYou would normally have a version like 1.0-0ppa104:48
wgrant1.0 being the upstream version.04:48
wgrantAnd -0ppa1 being the packaging version.04:48
wgranthttps://help.launchpad.net/Packaging/PPA/BuildingASourcePackage04:49
=== jtv is now known as jtv-eat
LULLING_HARDGod this drives me crazy05:02
wgrantOh?05:03
LULLING_HARDrejected, rejected, rejected05:04
LULLING_HARDfinally accepted..geez05:07
LULLING_HARDI'm going to be releasing 2.0 before I get it uploaded05:08
jbichaLP code browser is down?05:34
wgrantjbicha: Indeed. Investigating...05:34
jbichathanks05:35
wgrantjbicha: It's back up. Thanks for letting us know.05:38
wgrantjbicha: Looks like it didn't come back properly after we upgraded it a few minutes back.05:38
jbichacool, thanks for fixing it05:38
Darxushttps://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:03
wgrantDarxus: I'm not sure that's a bug. Those would be translated on the client side, by something like bzr-keywords.06:05
wgrantDarxus: Importing the values of those variables into bzr history would be wrong.06:05
Darxuswgrant: My problem is with a daily build recipe using it.  How do I get that to expand those values?06:06
Darxushttps://code.launchpad.net/~darxus/+recipe/spamassassin-daily06:06
wgrantDarxus: The daily build needs them expanded?06:06
DarxusYeah, it's inserting a header with screwed up version info without it.06:07
DarxusX-Spam-Checker-Version: SpamAssassin 3.4.0-rupdated (updated) on panic.chaosreigns.com06:07
wgranthttp://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-svn-projects.html#limited-keywords-support06:07
DarxusThe two instances of "updated" should be an svn revision and a date.06:08
wgrantSo it's supported, but you probably won't be able to use that in a Launchpad daily build.06:08
DarxusThanks.  That sucks.  What would I open a bug against, or is there one already?06:09
wgrantBug #395731 looks relevant.06:09
ubot5Launchpad bug 395731 in Bazaar "Need a way to set content-filtering rules across the project" [High,Confirmed] https://launchpad.net/bugs/39573106:09
wgrantI think.06:09
wgrantlifeless: Hi.06:09
lifelesshi06:12
lifeless'sup ?06:12
wgrantlifeless: You probably know more about bzr content filters than I do.06:12
wgrantCould you check that I am not entirely wrong?06:12
lifelessok06:13
lifelessso06:13
lifelessbzr-svn installs svn-compatible filteres06:13
lifelessif we have bzr-svn installed when the recipe is built, its plausible that it would work06:13
lifelessand/or the keywords plgin06:13
lifelessso this is solvable without arbitrary-code issues06:13
wgrantI think it probably needs bzr-svn and a config file.06:13
lifelessthe bug you reference is kindof related06:14
lifelessI think bzr-svn JFDI's it.06:14
lifelessIMBW06:14
wgrantHmm.06:14
lifelessjelmer will know06:14
lifelessanyhow; yes we should have a bug. It may be at the tip of a few bits of different work06:14
wgrantDarxus: Could you file one at https://launchpad.net/launchpad/+filebug?06:15
DarxusSure, thanks.06:15
DarxusAgainst Bazaar?06:15
wgrantLaunchpad, for now.06:16
wgrantAt the URL I gave.06:16
wgrantWe will move it if it turns out it needs bzr changes.06:16
DarxusAh, okay.06:16
Darxushttps://bugs.launchpad.net/launchpad/+bug/78091606:23
ubot5Ubuntu bug 780916 in Launchpad itself "Build recipes don't expand svn keywords" [Undecided,New]06:23
wgrantThanks.06:25
DarxusThank you.  Safe to shut the laptop and my eyes now?  :)06:26
DarxusIs there any other way I can get the build date into a perl script built by launchpad recipe?06:38
lifelessDarxus: do it in debian/rules06:44
wgrantYou may need to build-depend om bzr.06:45
wgrantBut it should be doable.06:45
lifeless`date`06:45
lifelessno need for bzr :)06:45
lifelessyou won't be in bzr-land when debian/rules runs06:46
wgrantHeh.06:46
=== LULLING_HARD is now known as not_annoying
jfiHello, there is no launchpad library (webservice client) for C?07:49
wgrantjfi: Nothing existing that I know of.07:50
jfiwgrant, bad news:) https://help.launchpad.net/API/SigningRequests is scaring me07:54
wgrantjfi: What are you wanting to do?07:55
jfiwgrant, collect the ppa stats07:56
jfiwgrant, sounds like I need to learn python07:56
wgrantYeah, Python is probably best for that, unless you want endless pain and suffering.07:57
jfiha there is a 'go' version: http://goneat.org/pkg/launchpad.net/lpad/08:03
wgrantjfi: Oh, right, that was announced today.08:04
wgrantForgot about that.08:04
=== jelmer_ is now known as jelmer
fugue88jelmer: Your recommendation for changing the branch's stack-edon target then pushing fixed my branch.  Thank you!08:14
fugue88s/-edon/ed-on/08:14
jelmerfugue88, that's great to hear.08:18
=== 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
BlinkizI 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
BlinkizIs it controlled from the changelog file in debian folder? Can I just say "all" in the field <distribution>?13:33
wgrantBlinkiz: 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:37
Blinkizwgrant, aa, great. I understand. Thanks13:42
broderhmm...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:51
wgrantbroder: I would expect you to get both, I think.13:52
wgrantbroder: Do you have an example?13:52
broderwgrant: not at this moment - i don't have my lp creds on the machine i'm using at the moment13:53
broderthe 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
broderit seems to only be coming back with one task, even for bugs where multiple tasks have been marked as in progress13:53
broderi 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:55
wgrant>>> from launchpadlib.launchpad import Launchpad13:58
wgrant>>> lp = Launchpad.login_anonymously('fewfwfwfw', 'production')13:58
wgrant>>> list(lp.projects['launchpad-project'].searchTasks(search_text="loggerhead does not handle incompatible repositories chkinventoryrepository"))13:58
wgrant[<bug_task at https://api.launchpad.net/1.0/loggerhead/+bug/701256>, <bug_task at https://api.launchpad.net/1.0/launchpad/+bug/701256>]13:58
wgrantbroder: Works OK for me.13:58
broderinteresting. yeah, it appears to be working for me as well. i'll touch base with cjwatson and see what's going on14:08
=== 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
pooliebroder: of course it will probably only match tasks in that project group15:53
broderpoolie: yeah, that's explicitly what i want16:07
pooliejfi: just so you know, if you only want to read public information, you don't need to sign your requests16:13
poolieie just curl https://api.launchpad.net/blah/blah will work fine16:13
NCommanderWhat's required to be able to edit things like status/priority on a spec?16:36
=== mpt_ is now known as mpt
jcsackettNCommander: sorry didn't see your message earlier. you mean in blueprints?17:04
jfipoolie, 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 ones17:07
jfi*not sure that I use17:07
=== matsubara is now known as matsubara-lunch
NCommanderjcsackett: yes17:15
jcsackettNCommander: 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
jcsackettlet me double check if there's something else.17:22
IdleOneHello folks, I just got spam email from a bug report I am subscribed to17:28
jcsackettNCommander: 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:29
jcsackettIdleOne: can you give me the bug number?17:30
IdleOneI mean the cause is good but still not bug related. bug 62381917:30
ubot5Launchpad bug 623819 in PolicyKit GNOME "[Maverick] policykit is not responding" [Wishlist,New] https://launchpad.net/bugs/62381917:30
NCommanderjcsackett: https://blueprints.launchpad.net/ubuntu/+spec/server-o-arm-server17:32
=== deryck is now known as deryck[lunch]
jcsackettIdleOne: thanks for the alert; the spam has been dealt with.17:34
pooliejfi: if they're accessing public readonly data that'd be a bug17:35
IdleOnethank you jcsackett.17:35
jcsackettNCommander: yeah, looks like you should be able to edit that. are you locked out of everything, or just status/priority?17:36
NCommanderjcsackett: status/priority17:37
jfipoolie, yes it sounds like a bug, it seems that it depends on the used https impl17:37
jfipoolie, LP rejects requests with curllib but not wget....17:38
poolieinteresting17:39
pooliethat is not a bug i've heard of before17:39
pooliehowever, note it does require a user-agent17:39
pooliei think the rejection message tells you this17:39
jfidon't be afraid, the bug is probably in MY code:)17:39
jfihum I dunnot set the user-agent, it is required?17:40
poolie(pseudocode) request.add_header('user-agent', 'whatever-my-program/0.0')17:41
pooliejfi, http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTUSERAGENT17:43
jfiyes17:45
jfi.... and it works with the user agent17:45
jfithanks!17:45
jfiI am very happy to not have to deal with signing the request:)17:46
poolie:)17:47
jfipoolie, FYI there is no error msg, just a response header with something like:17:47
jfiX-Lazr-Oopsid: OOPS-1957EDGEC116317:47
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=1957EDGEC116317:47
pooliereally, nothing in the body?17:47
pooliethanks for letting me know17:48
pooliehm you probably don't want to talk to edge aeither17:48
jfinothing, content-length set to 217:48
pooliehttps://bugs.launchpad.net/launchpad/+bug/78126217:51
ubot5Ubuntu bug 781262 in Launchpad itself "api request with user-agent gives oops" [Critical,Triaged]17:51
jcsackettNCommander: 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
jfipoolie, well, that's not important, maybe adding a note about this requirement will be nice:)17:53
pooliei think it is on the wiki17:53
poolieoopses are critical by policy17:54
=== 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
BjornWCan somebody tell me how to completely remove a project from LP?21:27
tsimpsonpost a question on https://answers.launchpad.net/launchpad requesting an admin delete the project21:28
tsimpson* https://answers.launchpad.net/launchpad21:28
BjornWtsimpson: thanks, would be great if there was some way of letting the project owner remove it themselves ;)21:30
tsimpsonthere's probably a bug for that somewhere21:30
lifeless(noncommercial) projects act as a shared namespace - the concept of ownership can get a bit nebulous21:31
BjornWtsimpson: I thought so, thanks.21:33
lifelessjfi: btw please don't use the edge domain!21:47
=== ariweil_ is now known as ariweil
lifelessjfi: we are deleting it21:47
lifelessthe oops you got is21:48
lifeless'Unauthorized: Anonymous requests must provide a User-Agent.'21:48
jfilifeless, right, I have fixed both, hostname and missing user-agent22:00
lifelessjfi: I've looked at why we need the user agent and I think it was just a thinko when the code was added22:01
lifelessso fixable relatively easily22:01
jfilifeless, that's really not a pb for me to the add the user-agent, I don't need a fix of that22:02
jfilifeless, the small issue was just that I thought that I need to sign the requests because the response was '401 not authorized'22:04
jfilifeless, maybe it would be nice to add the user-agent information in: https://help.launchpad.net/API/Hacking22:07
lifelessI think we should just fix it :)22:08
jfimaybe the user-agent can be used in the future to block or detect invalid client spamming the webservice?22:09
lifelessits not a trustable field22:14
lifelessit can be trivially changed22:14
=== ariweil_ is now known as ariweil
=== cinerama_ is now known as cinerama
=== yofel_ is now known as yofel

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