/srv/irclogs.ubuntu.com/2011/02/08/#launchpad.txt

pooliedoctormo, launchpadlib is pretty shallow00:08
pooliebasically what robert said: " should be pretty straight forward with liboauth and libjson & libcurl to write a client"00:08
doctormopoolie: Would it be dynamic or would it have to shadow the api?00:09
pooliewhat do you mean?00:09
poolieorthogonally, when you say 'python is slow' i'd like to know which bits in particular00:09
poolieit certainly can be slow00:10
pooliebut wrt talking to launchpad, the network is almost certainly going to be the slow bit, not the python00:10
doctormopoolie: The network is the slow bit, python just gets slow when your starting apps. The rest is fairly ok.00:13
doctormopoolie: Did the launchpad guys figure our their indexing/searching issues for bugs?00:13
poolieload time is annoying in bzr00:13
pooliei'm surprised it shows up for a gui00:14
doctormopoolie: I don't understand00:14
poolie" python just gets slow when your starting apps" -- i'm surprised that it's noticeable starting a gui00:15
poolie500ms for a command-line thing shows up; for launching a gui i think it would not be noticeable00:15
poolieor is it much more?00:15
doctormopoolie: I think it's the part where gc 1.x has to re-authenticate each time your press a button that agrivates users.00:17
doctormothe most*00:17
doctormoAnd that's all due to threading issues with gnome00:17
doctormoSo I'm trying to look at the problem from new angles.00:17
pooliedoctormo, wow, that certainly sounds like it would suck00:26
* poolie is curious about the bug00:26
lifelessdoctormo: we're still gathering feedback00:55
lifelessdoctormo: on the technical side, we can clearly go and implement something to make substring matching work - e.g. wildspeed/pg_trg etc.00:55
lifelessdoctormo: long term we're going to implement lucene, but  the big question is whether the current search rule /makes/ sense: and theres considerable evidence that it doesn't00:56
doctormolifeless: Yes, at the moment it's nonsensicle to hammer  your server.02:06
doctormolifeless: Although I'm curious as to why your going for the java lucene instead of the python ready xapian.02:06
lifelessdoctormo: lucandra02:06
lifelessdoctormo: we have 250GB of content to index02:07
lifelessdoctormo: and enough load to keep 32 cores busy - today.02:07
lifelessdoctormo: thats db only, ignoring front end, ppa, imports etc.02:07
doctormolifeless: They're both comparable for speed/size. Lucandra looks like Solr, so still java based.02:08
lifelessdoctormo: right, and pysolr is the client we'd use.02:08
doctormoFair enough02:08
doctormoI had to hack Solr to get it to do what I wanted, but perhaps it'll be good for your data sets.02:08
lifelessdoctormo: final selection hasn't been done but:02:09
lifeless - u1 are moving on cassandra02:09
lifeless - xapian has no clustering story that I'm aware of02:09
lifeless - and I know we need multiple machines capacity from day one02:10
doctormo-1 for 'story' buzzword02:10
lifelessshrug02:10
doctormolifeless: But yes, Xapian isn't threadsafe and has harsh write locks.02:12
doctormolifeless: If you want, I can peer review your search and index filters and parser configuration. Assumign you're writing one for multiple fields?02:13
lifelessdoctormo: we'll be starting search work late 2011 I suspect02:13
lifelessdoctormo: current search is sql queries + tsearch202:14
doctormolifeless: I'll let you know if I get hit by a bus then in the meantime ;-)02:14
lifelessthanks :)02:14
doctormoSQL search, yum.02:14
=== Ursinha is now known as Ursinha-away
=== bilalakhtar_ is now known as cdbs
eagles0513875|2hey guys i have a quick ppa question. is it possible to upload a .deb file directly to a ppa?09:53
bigjoolsno09:53
bigjoolssource only09:53
eagles0513875|2:-/ ok09:54
eagles0513875|2what would i need to do to upload a package to my ppa09:54
bigjoolshttps://help.launchpad.net/Packaging/PPA09:54
=== Ursinha-away is now known as Ursinha
fta2oh my, lp once again ate all my translations :P10:13
dpm:(10:18
fta2dpm, it's with a feedback loop, (i'm re-injecting the strings at each cycle), yet they still disappeared. maybe the next cycle will be ok. if not, i give up.10:51
fta2dpm, btw, i'm now able to land upstream (almost) everything for new langs. look at gl/eu/ug: http://people.ubuntu.com/~fta/chromium/translations/trunk/converter-output.html10:54
=== matsubara-afk is now known as matsubara
ahasenackhi, can someone delete this spam comment? https://bugs.launchpad.net/landscape-client/+bug/522668/comments/813:26
ahasenacklosa: ^^^13:27
mthaddonahasenack: done13:30
ahasenackmthaddon: thanks13:30
tumbleweedand another: https://bugs.launchpad.net/ubuntu/+source/rbot/+bug/604102/comments/513:35
cjwatsonI'm getting bizarre errors when trying to run 'bzr up' on LP-hosted branches: http://paste.ubuntu.com/564441/13:36
cjwatsondoes anyone know what might be going on here?13:36
cjwatson(AFAIK I don't have stale processes talking to that branch, and 'bzr break-lock' doesn't help)13:37
=== oubiwann is now known as oubiwann_
cjwatsonI don't think it's all branches though; I committed stuff to lp:~ubuntu-core-dev/netcfg/ubuntu earlier with no problem.  But lp:~ubuntu-core-dev/debian-installer/ubuntu has the same problem.13:41
maxbcjwatson: Have you tried breaking the lock? Does the problem re-occur? Are you able to state what operation left the lock behind?13:57
cjwatsonmaxb: I have tried breaking the lock and it reoccurs13:58
cjwatsonmaxb: the lock is very recent, as you can see in the log; AFAIK it must be being created during that same 'bzr up' itself13:59
maxbHm, that's pretty weird14:00
maxbWhat bzr version, ooi? Also, those ImportWarnings suggest *something* is broken, though it's a bit of a long shot to suggest that they are related14:01
cjwatsonmaxb: up-to-date natty; bzr 2.3.0~beta5-114:07
* maxb fires up natty netbook to check for getting the same ImportWarnings or not14:08
maxbgrr, is fscking14:13
maxbcjohnston: ahahaha, I had a hunch, and it was right!14:30
maxboops14:30
maxbcjwatson:14:30
maxbThe problem is the URL-encoded ~ character in your branch path14:30
maxbSomething in bzr must be comparing URLs as strings, and getting it wrong where non-canonical forms are used14:30
maxbHowever, my natty installation doesn't get those ImportWarnings, so something else is broken on yours14:31
fta2(no such warning here either)14:33
cjwatsonmaxb: it's been continuously upgraded, probably some python problem; I doubt it's relevant to this14:42
cjwatsonmaxb: so should I just rebind and let bzr recompute the branch path?14:42
cjwatsonthis has worked for ages14:42
maxbYes (or just hack .bzr/branch/branch.conf)14:42
maxbIt's clearly a bzr bug. it would be interesting to discover what broke it14:43
cjwatsonOK, that successfully works around the problem, thanks, but bzr put this there in the first place so I imagine you'll get more reports14:43
cjwatsonOut of 1029 .bzr/branch/branch.conf files on my system, 251 contain the string %7E14:49
* cjwatson applies sed14:51
=== matsubara is now known as matsubara-lunch
=== Lcawte|Away is now known as Lcawte
jdstrandhey. when I try to do 'bzr update' on my bound branch of lp:ubuntu-qa-tools, I get:15:42
jdstrand$ bzr update15:42
jdstrandUnable to obtain lock  held by jdstrand@bazaar.launchpad.net15:42
jdstrandat crowberry [process #29404], acquired 9 seconds ago.15:42
jdstrandSee "bzr help break-lock" for more.15:42
jdstrandbzr: ERROR: Could not acquire lock "(remote lock)": bzr+ssh://bazaar.launchpad.net/~ubuntu-bugcontrol/ubuntu-qa-tools/master/15:43
jdstrandif I do 'break-lock' and try again, I get the same thing15:43
jdstrandI had someone else try it as well, and they have the same problem15:43
jdstrandI'm on natty, and not sure if this is a bzr problem or launchpad problem15:43
ftajdstrand, an hour ago, cjwatson reported something similar (here)15:50
cjwatsonjdstrand: 'bzr bind lp:ubuntu-qa-tools' to fix up15:50
cjwatsonjdstrand: apparently something is getting confused by URL-encoding15:50
cjwatsonand rebinding (or sed -i 's/%7E/~/g' .bzr/branch/branch.conf) works around that15:51
ftabut i'm not seeing this (yet?) on my hundreds of active branches15:51
ftai have a bunch of %7E too15:51
cjwatsonfta: it was 251 out of 1029 for me, so it may depend on the version of bzr that bound them?15:51
ftacjohnston, ok, i guess i know the workaround now, in case i hit this in the coming days :)15:52
jdstrandhuh15:53
jdstrandinteresting15:54
jdstrandcjwatson: thanks!15:54
=== matsubara-lunch is now known as matsubara
cjohnstonuggh16:06
ChogyDanI accidentally misversioned an upload to high to my ppa.  I deleted, and it still won't accept a fixed upload.  Will launchpad eventually recognize that the other upload is deleted, and accept the new upload?16:29
maxbChogyDan: I believe it's supposed to accept lower versions if the higher has been deleted (but never duplicate versions with something already uploaded, even if they are deleted)16:52
ChogyDanmaxb: I suppose I have to keep waiting till the delete takes affect16:53
=== beuno is now known as beuno-lunch
leonardrbenji, i would like the ability to use python-keyring to remove a password from the keyring. is this a feasible addition?17:12
leonardri find myself frequently removing passwords by hand so that i can test launchpadlib17:12
benjileonardr: it should be; I think all the available backends have the ability to remove passwords17:13
benjiit might be easier for you to write a little utility script that would just do what you want for your testing needs17:13
leonardrmaybe so17:15
=== benji is now known as benji-lunch
=== dpm_ is now known as dpm
=== deryck is now known as deryck[lunch]
=== sinzui changed the topic of #launchpad to: Launchpad: https://launchpad.net/ | Read https://help.launchpad.net/ for help | On-call help contact: sinzui | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: https://dev.launchpad.net/
didrockshey17:57
didrocksI've some trouble to push some branches (software-center ones and oneconf particularly) since the last hour17:57
didrocksis there a known bzr hosting issue?17:57
maxbhttps://code.launchpad.net/~bzr/+recipe/bzr-dbus-daily  <--- "Not allowed here" for me!   Can someone with superpowers (registry admin?) take a look and figure out what private object is bogusly leaking into that page?17:58
maxbsinzui: bing, since you're in the topic :-)17:59
* sinzui looks18:00
sinzuimaxb, I can see the page so I may be able to help18:00
dpmjust to confirm what didrocks experienced, I had the same problem earlier on today (I could not push a branch)18:01
didrockssinzui: ok, seems you miss my message ^^18:01
maxbdidrocks, dpm: What was the nature of the failures? Do you have an error message?18:01
didrocksmaxb: it's just stucking when pushing18:02
sinzuididrocks: I know of may failures, but no operational issues at this time18:02
didrockslike if the connexion had some issue18:02
didrocks     2kB     0kB/s /18:02
didrocksmy I can ssh to even canonical servers without any issue, doesn't seem to be my connexion18:02
didrocksso now, I can't even bzr break-lock bzr+ssh://bazaar.launchpad.net/~ubuntu-desktop/oneconf/trunk/18:03
sinzuimaxb: can you see this https://code.launchpad.net/~jelmer/+archive/bzr-dailies18:03
didrocksthe command runs and stucked18:03
dpmsame here on bzr push lp:~dpm/po2xpi/lucid-mozilla-upstream-locales18:03
* sinzui thinks deleted archives break daily builds18:03
maxbsinzui: no, I can't18:03
sinzuimax okay I will look for a bug on this.18:04
didrocksWrite failed: Broken pipe  -> this time on bzr break-lock18:04
maxbhmm, so we can probably work around this by asking jelmer to request enough builds of the recipe that any reference to his old archive falls out of the top 5 :-)18:04
sinzuimaxb: I was thinking the same. We need two more requests18:04
sinzuimaxb: Or I cross my finders and toes and make you a member of ~registry18:05
maxbsinzui: heh. Well, it would come in useful for setting vcs-imports dev focus branches :-)18:05
sinzuimaxb: I will as for forgiveness. Since you have more experience than the Ubuntu council members on the team, I will assume the ~registry team will want a rule permit cases such as yourself18:07
maxbsinzui: I have no problem with waiting, if you'd like to ask for permission instead.18:07
didrocksok, ssh people.canonical.com is also having issues now18:07
didrocksdpm: same for you?18:08
sinzuimaxb: We have made people temporary members in the past. You are a temporary member now. I will discuss the issue with the Lp team18:08
sinzuididrocks: I will create a quick fork of the SC branch to see what happen when I push18:09
didrockssinzui: thanks18:09
maxboh. It would appear that ~registry isn't the magic bit that lets you see it, then18:09
didrockssinzui: sometimes I can connect, slowly…18:09
didrocksI have also some evo issue sometimes to connect to IMAP, seems all to be related to the DC connection18:10
=== beuno-lunch is now known as beuno
didrocksall the rest is fine on my connexion. I can ssh on my own servers reliably, listen to radio/see online video18:10
dpmdidrocks, p.ubuntu.com was slow for me as well, but I gave up thinking they were networking issues on my side18:10
didrocksdpm: maybe not, see ^^18:10
dpmhm, I see18:11
dpmlet me try the earlier push again...18:11
cjwatsondidrocks,dpm: the problem is apparently that something doesn't like URL-encoding in .bzr/branch/branch.conf18:12
cjwatsonreplace %7E with ~ in that file in your branch and it should work18:12
cjwatsonoh, wait, I'm misreading, sorry18:12
cjwatsonthat problem doesn't explain a hang on push18:12
didrockscjwatson: I have ~ in it, not %7E there18:13
didrocksok, was able to push this time18:14
didrockswill tell if the ssh connexion is still flacky there (and will try a network cable tomorrow to ensure)18:15
didrockstime for dinner, see you :)18:15
didrocks(and thanks!)18:16
=== benji-lunch is now known as benji
=== zyga is now known as zyga-afk
=== Meths_ is now known as Meths
=== deryck[lunch] is now known as deryck
kim0Trying to branch anything results in the following error19:26
kim0bzr: ERROR: Invalid http response for https://xmlrpc.launchpad.net/bazaar/: Bad status line received19:26
kim0Is that a known issue19:26
sinzuikim0: what was your command that returned that error?19:29
kim0bzr branch lp:cloud-init19:30
* sinzui tries19:30
sinzuikim0: It works for me what do you get when you run `bzr launchpad-login`19:33
kim0bzr: ERROR: Connection closed: curl connection error (Proxy CONNECT aborted)19:34
kim0hmm I think it's an issue on my side then19:34
sinzuikim0: possibly. I expected to see your Launchpad Id which I think is "kim0" and I see that profile as ssh keys registered19:35
kim0sinzui: nah, it seems I had a proxy defined .. that's it19:35
kim0sinzui: thnx, it's all good now19:36
sinzuiokay19:36
=== matsubara is now known as matsubara-afk
jwaljelmer: Hi, are you the jelmer I have been discussing bzr recipe build version numbers with?  https://bugs.launchpad.net/launchpad/+bug/68557121:56
Raydiationhm im getting: laudio_0.4-1.dsc: Version older than that in the archive. 0.4-1 <= 0.4-beta10-122:00
wgrantRaydiation: 0.4-beta10 > 0.4-1. You probably wanted to use 0.4~beta10, as '~' < ''.22:01
Raydiationoh :/22:02
Raydiationcan i delete packages from launchpad?22:02
wgrantYou can, but that doesn't help the people who have already downloaded it.22:02
wgrantapt will see that the new version is older, and not try to upgrade it.22:02
=== smokex_ is now known as smokex
jelmerjwal: hi23:07
jelmerjwal: most probably23:07
jwalSo, any ideas what could be done to fix the bug?  How do you think we might allow dependencies to be installed to help derive the "upstream" version number?23:09
jelmerjwal: to be honest, I don't have any good ideas that don't add a lot of complexity to the system23:12
jelmerjwal: I guess one of the options would be to just provide a reasonable set of dependencies by default and hope that's sufficient for the user to write a script that produces the upstream version string23:12
jelmeror perhaps we could require that certain tags be set23:13
jwaltags?23:13
jelmeryes, bzr tags in the upstream branch23:14
jwalHave you considered whether substvars might help?23:16
jwali.e. allowing debian/rules to make the version number23:16
jelmerjwal: that doesn't work, as debian/rules doesn't get executed when we build the source package23:19
jwalOk23:24
jwalSo there aren't any existing hooks when building a source package?23:26
jelmerjwal: no - all the information we have about building a source package is in the recipe23:35
jwaljelmer: In your original bug report, you mention a script that prints the version number to stdout as a possibility.  Would this script be prevented from modifying the source tree somehow?23:36
jelmerjwal: that's just an idea - but yeah, the source tree would be readonly23:37
jwaljelmer: I guess we could install the build-dependencies after merging the branches but before running this script you suggest.  Would that work?23:38
jelmerjwal: that wouldn't allow us to update the build dependencies in an automated fashion23:38
jwalInteresting, you are thinking that the build-dependencies should be derived from the upstream sources too?23:39
jelmerthere's a separate (but related) bug open about that23:39
jelmerthe build dependencies shouldn't necessarily be derived from the upstream sources but optionally be updated based on them23:40
jwalIn that case, I think your original suggestion is probably the best solution.  Sorry I caused so much confusion.23:43
jwalWho needs more than python anyway?23:43
jwal:)23:43
jelmerheh23:44
jelmerwell, there are some fairly complex build systems out there, and extracting data from them might be nontrivial with just python23:44
jelmerI also worry about dictating python be used23:45
jelmerotoh, perhaps this is overengineering to make sure we can deal with every single weird package out there - rather than actually making something that works for 95% of everybody23:45
jwalThe ability to install additional packages prior to this step could still be added later.  Any ideas on the syntax for this step?23:50
=== sinzui 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/
jwal...in the recipe23:51
jelmerjwal: I'm worried about making the process to complex - we'd end up with three sets of dependencies23:52
jelmer*too23:52
jwalthree?  is that somewhere between 2 and N?23:55
jelmerjwal: one for the recipe, one for the source package and one or more for the binary packages23:55
jwalYou think that a separate set of build dependencies will be needed for the version number as for the binary package build dependencies?23:56
jelmerjwal: that's what you're essentially proposing by putting it in the recipe23:57

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