/srv/irclogs.ubuntu.com/2011/02/02/#bzr.txt

maxbDo we know the estimated release date of bzr 2.4 yet?00:00
maxbaligned with Ubuntu o-series?00:01
pooliemaxb: yes, ~2 months before Otty00:02
abentleyjelmer, ping00:02
poolieso august00:02
pooliemaxb: nod for 2.100:03
poolieon the phone at the moment00:03
lifelessjelmer: I'm curious what adding tags like ssh to bugs with ssh in the title helps with00:07
jelmerabentley: hi00:17
jelmerlifeless: being able to find bugs that are related to ssh (as opposed to bugs that happened to occur over ssh)00:17
abentleyjelmer, I was having trouble testing bzrtools under 2.7 due to https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/654826 but I think I've got it licked.00:18
jelmerabentley: ah, cool00:19
pooliemaxb, thanks for your mail; that's fine with me00:21
dOxxxanybody familiar with qt around here?00:27
dOxxxand pyqt?00:27
dOxxxI have a very perplexing error with a most unhelpful traceback: TypeError: 'sip.methoddescriptor' object is not callable00:27
maxbpoolie: great - when the change lands on 2.1, I'll put up a MP for merging 2.1 into 2.2, and so on and so on00:34
spivdOxxx: sounds like something somewhere is trying to invoke a method on a class rather than an instance.00:35
dOxxxspiv: so this is where the traceback is unhelpful or, very weird:00:35
dOxxxTraceback (most recent call last):00:36
dOxxx  File "C:\dev\qbzr\mergetools\lib\commands.py", line 175, in run00:36
dOxxx    ret_code = getattr(main_window, "return_code", None)00:36
dOxxxi.e the getattr is triggering the error00:36
spivPerhaps main_window.return_code is property?00:36
spivs/is/is a/00:36
dOxxxspiv: the only mention I can find of it assigns it as a normal instance attribute00:37
dOxxxI suspect that this is due to a recent change in sip00:37
dOxxx"Added support for the __getattribute__, __getattr__, __setattr__ and __delattr__ methods."00:37
spivHmm, could be.00:37
dOxxxSubProcessWindowBase(object) sets the return_code field, but then getattr is being called on SubProcessWindow(SubprocessWindowBase, QBzrWindow). So I'm guessing mixing in the Qt class is breaking the getattr00:40
dOxxxugh00:40
dOxxxand naturally RiverBank Software doesn't provide older versions of PyQt for download.00:40
dOxxx /facepalm00:40
pooliehi spiv00:44
spivHi poolie00:47
pooliespiv, is there an RT for the production changes for bug 702024?01:02
ubot5Launchpad bug 702024 in Launchpad itself "Restarting codehosting SSH server drops existing connections" [High,In progress] https://launchpad.net/bugs/70202401:02
lifelesspoolie: yes01:07
lifelesspoolie: its 4th from top01:07
lifeless4048001:07
pooliegot it thanks01:10
pooliejust talking to spm about making it more concrete01:10
lifelesspoolie: FWIW I'll be driving it through01:11
lifelessits right in the middle of the nodowntime project01:12
pooliegreat01:12
pooliei'm just trying to make sure things don't drop01:13
pooliethere is a gap between the code train and the losa platform01:13
lifelessI'm glad you're interested01:13
lifelessI don't really see that gap01:13
=== AfC1 is now known as AfC
lamonthttps://launchpad.net/~bzr/+archive/beta <-- why no dapper love here?  it's still got 4 months of support left.....03:59
lamontso... given 2.3.0~beta5... how can I tell if someone has already run "bzr whoami --branch" ??04:01
poolielamont, cat .bzr/branch/branch.conf04:06
lamontpoolie: my fallback was: if grep -q "^email " .bzr/branch/branch.conf04:06
poolielamont, do we still have dapper machines active?04:06
lamontno04:07
lamontthat was mostly troll04:07
pooliek04:07
poolie"why no hppa builds? :-("04:07
lamontthey were running hardy04:08
lamontbzr init causes branch.conf to be created, yes?04:08
poolieyes04:14
lamontsee /pm?04:16
* spiv wonders if doc.bazaar.canonical.com is slow because of connectivity woes or if it's actually just really slow06:35
spmspiv: i think something funky with au internets is up tbh. I'm seeing odd slowness and pauses... everywhere.06:41
vilahi all !07:25
fullermd'morning.07:29
vilayeah, Open bugs # went below 1900, well done jelmer :)07:32
fullermdOoh.  Does that mean I need to break more things?07:33
vilaNot necessarily :) But we should be able to catch you faster :-p07:33
vilaspiv: pfew, I'm glad this was relevant, somehow I felt I was using only bad medias to convey this piece of wisdom to you (IRC while you were asleep, bug comment during jelmer flood, etc ;)07:40
spivvila: I cope ok with message floods, apparently :)07:55
spivOpen bugs below 1900?  Way to go robot^Hjelmer!07:56
vila;)07:57
maxbhttps://code.launchpad.net/~maxb/bzr/launchpadlib-service-root-api-compat/+merge/47885 is "review approved" but not "merge approved" - anyone got a moment to click it over to approved and send to pqm?08:15
pooliesure08:17
pooliemaxb, do you have access?08:18
maxbpqm? no08:18
poolieif you're sure the consensus is it's approved, feel free to set it yourself08:18
pooliei'll feed it in now08:18
maxbwell, I'm basing the conclusion on your irc comment :-)08:18
poolieok, it's running08:21
pooliethanks for persisting08:21
maxbnp :-)08:26
maxbJust want to get started on the 3 subsequent merges to higher series whilst it's all fresh in my mind08:27
maxband thanks for the reviewing08:27
* maxb returns to monster bugmail inbox :-)08:27
vila. o O (monster... says the user from jabberwock...)08:29
pooliehi vila08:30
poolieindeed08:30
vilahey poolie,so, 2.2.3 is in -proposed ?08:30
vila:)08:30
pooliesadly not today08:30
pooliethe rts moved along a lot though, as did my understanding of how that would work08:31
vilaELINK08:31
pooliewe have some rt tickets open asking for deployment of a few things08:31
poolielike forking lp-serve08:31
vilaha !08:32
pooliei think they are now more likely to ascend into heaven08:32
vilathe holy bitbucket ?08:32
poolieso that plus weeding out a thousand mails08:33
jelmerhey poolie, vila08:33
vilaLook at the bright side: this bits will reincarnate in even better software :-}08:33
* jelmer ducks08:33
pooliei hope you have a good view of them in your head now08:33
poolieif you do, that's great08:33
pooliei don't know if retagging for the sake of it is all that good08:34
pooliefinding dupes is good though08:34
poolieand already-fixed bugs08:34
poolieand our open-bugs graph dipped noticeably08:34
jelmerpoolie: The flood of email is a bit unfortunate :-/08:34
pooliethat's the only problem with it really08:35
pooliea web dashboard would be better08:35
poolieespecially if it had a concept of a 'seen' bit08:35
vilayup, nice dips on the graphs08:37
vilaas a rough estimate I think if jelmer can continue at this rhythm, he should finish in ~1 month ;D08:39
maxbActually as a result of the flood of email I've noticed one bug is closable and another is probably easily fixable by me08:39
maxbSo it has its upsides too :-)08:39
poolieit's kinda useful to see old bugs again08:39
pooliei'm not sure if the ratio is worthwhile08:39
pooliei'm getting to the bottom of my mailbox and seeing robert's preceding flood08:39
pooliei am Queensland :)08:39
jelmer:)08:44
poolieok i'd better go08:46
pooliehave a good day08:46
jelmerthanks, have a nice evening :)08:47
vilahave a nice evening poolie08:47
maxboh headdesk09:31
maxbthis maverick SRU is having a cursed life09:31
maxb2.2.3 has a regression in the launchpad plugin09:32
jelmermaxb: :(09:35
vilamaxb: which one ?09:43
vilaI was pretty sure I ran all the tests for 2.2.3...09:44
maxbvila: But there are no tests that exercise talking to launchpad, are there :-/09:49
vilamaxb: shudder.. no :-/09:50
vilamaxb: what is the regression ?09:50
maxbit doesn't work. period09:52
lifelessthat sounds like a regression09:53
maxbAFAICS, anything that tries to talk to the launchpad web service just fails, because the URLs are wrong09:53
vilamaxb: check your settings, the babune maverick slave uses 2.2.3 and pull from lp every day09:55
lifelessvila: pull != web service09:55
vilalifeless: with launchpad_username set ?09:56
maxblaunchpad_username is not relevant here.09:56
maxbWe mean "bzr lp-propose" and friends, which authenticate over oauth09:57
vilathen be more specific, lp: is resolved by the lp plugin09:57
maxbyes, but not via the web service :-)09:57
maxbthat goes via the xmlrpc service :-)09:57
vilathen what goes via the web service ?10:01
maxblp-mirror, lp-propose, lp-find-proposal10:02
maxbThe launchpad plugin is a bit scary10:03
maxbThere's the legacy bits which go via the xmlrpc interface in lp_registration.py10:03
maxbThen there are the new bits going via the lazr.restful service10:04
maxbAnd then there is the checking of lp-login, which goes via the web *site*10:04
maxbOh, and for further confusion, any attempt to use the lazr.restful service first starts by instantiating an xmlrpc service object in order to obtain the launchpad instance name from10:05
maxbmad mad mad10:05
fullermdAll we need to do is add an EDI interface now...10:05
vilalp-propose seems to be working from here10:07
maxbthat's odd. Is it possible that it's only obtaining a new oauth token that's broken?10:09
vilaha, no, the infamous '1.0'10:09
vilamaxb: bug #707075, err wait, you're already the assignee10:19
ubot5Launchpad bug 707075 in Bazaar "lp-propose fails with a 404 error" [Undecided,In progress] https://launchpad.net/bugs/70707510:19
vilamaxb: but then it's not a regression, the bug has been there for quite some time no ?10:21
vilamaxb: or was it triggered recently by some lp change ?10:22
vilamaxb: in any case, this doesn't sound like a good reason to delay 2.2.3 SRU, this *won't* be fixed in 2.2.3, this *can* be fixed in 2.2.410:25
vilamaxb: ha, right, just got your mail for the mp10:27
vilamaxb: I can reproduce the bug with 2.2.2, so that's not a regression10:37
maxb*blink*10:37
maxbwhat?10:37
maxbBut, the edge service root was correct?!10:37
vilahence the suspicion against lp itself10:38
maxbno, the bug does not reproduce with 2.2.2 here10:38
vila*blinks*10:39
vilaOh ! wrong terminal :-/ Sorry10:39
maxbThe bug always existed in the url config within bzr for talking to lp production - but not edge. Therefore, it only became a problem when we switched to talking to production10:39
vilaha !10:40
maxbUltimately I blame launchpadlib for doing a sucky job of api compatibility10:40
vilamaxb: approved with a tweak. ping me when I can land10:42
maxbvila: hmm. I kind of said that in the NEWS already?10:43
vilamaxb: not the bit about *production*  url config being broken10:43
vilabut not edge10:44
vilaI didn't understand until you mentioned that10:44
maxb"This was a regression exposed by the switch away from Launchpad's edge platform, in bzr 2.2.3." was my attempt to explain that difference10:44
vilayes, but at first I was wondering why edge has been working but not production10:45
vilathe answer is that production never worked but wasn't used10:45
vilawhich in turn explain why switching away from edge exposed the bug10:46
maxbok, how about "This was a latent bug in bzr's communication with Launchpad's production instance, which only became a problem when the default instance was switched from edge to production in bzr 2.2.3." ?10:46
vilaperfect !10:46
vilamaxb: and this can't be fixed in 2.0 why ? (I'm sure you mentioned it but can't find it back)10:48
vilalp_api didn't exist in 2.010:49
maxbyup10:50
maxbplus, the bug doesn't trigger with the launchpadlib in karmic, either10:50
vila>.<10:50
vilayeah for early adoption ;)10:50
maxbvila: pushed, though lp is being sluggish about updating the mp diff10:51
vilayup10:51
vilabut good enough to feed pqm10:52
viladone10:52
maxbwoot, thanks11:09
maxbi'll do 2.2 -> 2.3 at lunch11:10
vilamaxb: cool11:24
jmljelmer: hi12:11
jmljelmer: if you have commented on a bug in the last day or so and have desired me to read it, can you let me know explicitly? I've been a little bit zealous in archiving bug mail from you recently.12:12
AfCWhy is everyone complaining about bugmail from Jelmer?12:45
maxbObviously you're not subscribed to bzr bugmail :-)12:45
maxbHe is on a tagging/triaging rampage :-)12:46
maxbI skimmed 450 bugmails this morning12:46
AfCCrtl+A Ctrl+D baby12:46
AfC"Internet Kill Switch" :)12:47
jelmerjml: hi13:20
jelmerjml: No, there wasn't anything in the last day.13:20
jmljelmer: thanks.13:30
mgz"71 messages edited tags only and were marked as seen"13:32
* mgz does an evil laugh13:33
mgzworth it too, got one more bug marked fixed from reading the ones that actually included comments.13:34
mgzbug 523989 is annoying. launchpad should just normalise the field.13:56
ubot5Launchpad bug 523989 in Launchpad itself "=C2=A0 cluttering the mailed diff when changing a bugs description" [Low,Triaged] https://launchpad.net/bugs/52398913:56
AdamDVHow can I resolve/clear all conflicts? I have a bunch (around 20) conflicts that were just due to some stupid line changes, and I've since fixed the files and deleted the .moved .tTHIS .OTHER etc. Went to commit, and it says theres conflicts.15:01
mgz`bzr resolve`15:04
maxbSuppose I wanted to make an incompatible API change in bzr.dev within bzrlib.plugins.launchpad.lp_api - would that be ok?15:17
maxbor should I care about maintaining compatibility15:18
=== oubiwann is now known as oubiwann_
=== zyga is now known as zyga-food
=== beuno is now known as beuno-lunch
=== zyga-food is now known as zyga
vilamaxb: you should care :-}16:39
maxbvila: for code in a plugin?16:44
maxbI guess to phrase it another way: does anyone know of bzr plugins *depending* on the bzr launchpad plugin16:44
vilano idea, but not knowing what compatibility you want to break, I tell you the rule :)16:45
maxblp_api.login parameters, basically16:48
maxbBut, I could get around it by having a parameter that can either be a lp_registration.LaunchpadService (old) or a string (new)16:48
maxbso I should do that16:48
maxbI suppose16:49
vilayup and deprecate the former16:49
vilajames_w: so, I'm back to the timeout problem. The issue is trying to get the published sources since the last import,17:21
james_wand given there was no last import that's going to be a lot of sources17:22
vilaexactly17:22
vilaand since the API provides only create_since_date, we're doomed17:23
vilathat's your primary source for package names right ?17:23
james_wit's supposed to use very small batches, but I guess the reduction in timeout means that either those batches aren't small enough again, or that the overhead is so high that the batch size doesn't matter17:24
james_wthat's the primary source of new uploads17:24
james_wthere is list_packages.py to just get package names, but it uses the same APIs17:24
=== Ursinha is now known as Ursinha-lunch
vilajames_w: well, in my case, there never was a successful import so that's *all* published sources17:25
vilahehe17:25
james_wright17:25
james_wso you could claim there was an import 10 minutes ago17:25
=== beuno-lunch is now known as beuno
vilaright and that will catch up.... at O time ;)17:26
vilagood enough for my tests but we won't be able to start an importer from scratch, may not be a big deal but I should still file a bug about it I think17:27
maxbvila: As far as providing an import service, importing new services from a specific date would be fine. So, you'd need to combine that with some other routine which compared latest-publication-in-archive with latest-publication-in-branch for all published packages17:30
maxbAnd, you'd only need to do that if you felt you couldn't just allow people to notice out-of-date imports17:31
vilamaxb: the issue here is to establish the list of package names without lp blowing up17:31
maxbvila: cheat and download the apt Sources files? :-)17:31
vila*blink*17:32
vilathey are downloaded... but when17:32
maxbI'm suggesting that if you wanted to bootstrap an importer you would download the Sources file for each distro-pocket and force an individual importer run for each discovered package name17:33
vilamaxb: doesn't sound like cheating to me... but a good way to seed an importer. *Then* it can rely on published sources to discover the new ones, james_w ? sounds correct ?17:33
vilamaxb: got you17:33
maxbBut, you would only need to do this to catch imports missed by the importer installation you were replacing17:34
maxbjames_w: btw, might you have a chance to consider bug 694818? It relies on getting "what's actually useful in production" knowledge from your head :-)17:36
ubot5Launchpad bug 694818 in Ubuntu Distributed Development "Bitrotted scripts in UDD import-scripts source tree" [Undecided,New] https://launchpad.net/bugs/69481817:36
james_wvila, that's what I did when I started it17:55
james_wmaxb, I saw it, does it need input from me?17:55
james_wI think it's a good idea17:55
james_wyou want to know which ones can be deleted?17:55
maxbjames_w: I was assuming you were the best person to rule what was obsolete and what might need updating to work with the new store17:56
maxbI thought you might be holding on to some bits intending to update them when you next needed them17:56
james_wI'll take a look17:57
james_wbasically if they haven't been updated yet then they aren't useful :-)17:57
maxbthanks17:58
lamontBZR_PLUGINS_AT=bzrtools@/build/buildd/bzrtools-2.3.0 /usr/bin/bzr selftest -s bp.bzrtools18:30
lamontbzr: ERROR: Couldn't import bzrlib and dependencies.18:30
lamontI suspect that bzrtools has missing build-deps18:30
lamontwhere does bzrlib come from?18:31
lamontseems to be "bzr"18:32
lamontjames_w: any chance you want to look at a buildlog for me?18:33
maxbiiuc, the bzr script is supposed to execute in a python which has bzrlib and friends in its library directory18:34
tsdhHi. On http://doc.bazaar.canonical.com/plugins/en/pager-plugin.html a pager plugin is listed for bzr.  I'd really like to use that.  But the homepage that is linked from there contains only an empty directory.  Is there another way to get it?18:34
maxbtsdh: The "empty directory" is actually a bzr branch18:35
tsdhmaxb: Oh, so I should clone that URL to get the plugin?18:36
maxbyes18:36
tsdhYep, that does the trick.18:38
* tsdh feels like an idiot...18:38
LeoNerdMost webservers just don't display the .bzr directory in the bare index page18:39
=== Ursinha-lunch is now known as Ursinha
jaypipeshi all, does bzr docs have anything similar to http://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html? I'm trying to get a difference of what a bzr branch/tag name can contain vs. a git tag name...19:50
lifelessjaypipes: tags are unicode pretty much anything except newlines and 0x0019:58
james_wlamont, sure20:00
lamontjames_w: figured it out20:01
lamonttotally my fail20:01
james_wok20:01
lamontwhich was complicated by the hardy version working despite my screwup20:03
jaypipeslifeless: cheers. thx Robert20:04
lifelesslamont: hey20:08
lifelesslamont: so if you're playing with packages ATM; whats the current python-subunit in CAT?20:08
lamont   subunit | 0.0.6-1~bazaar1.0.IS.8.04 |     hardy-cat | source, all20:11
lamontwhich interestingly means all of the lucid boxes have 0.0.5-120:12
lamontunless the machine was upgraded.20:13
lifelesslamont: yeah, this is breaking praseodymium pretty hard.20:14
lifelesslamont: We need 0.0.6 for lucid20:14
lamontlifeless: I take it this is you saying "that needs to be fixed, promote 0.0.6-1~bazaar1.0.IS.8.04 to lucid-cat"?20:15
lifelesslamont: is it that easy?20:16
lamontactually, we have 10.04 version in lucid-cat-proposed --> trivial20:16
lamontif I upgrade it on pras, can you tell that it's all better trivially?  (and is it broken enough to jfdi?)20:16
lifelesslamont: there may be a dep on testtools, but I imagine your toolchain will take care of whinging if you're going ot break stuff20:16
lifelesslamont: its broken enough that whenver a pqm merge fails, pqm barfs to stderr, packs its toys up, and goes home.20:17
lamontlifeless: chroot or in the real root?20:17
lifelesslamont: real20:17
lamontnot pqm dchroot?20:17
lamontso... upgraded in the real root20:18
lamont0.9.6-0~bazaar1.0.IS.8.04 <-- python-testtools came for the ride20:19
lifelesslamont: sweet, thank you!20:19
lifelessmbarnett: ^ I think we just saved you a bunch of time20:20
lamontmbarnett: and poke me about testing and such before I make that global, kthx20:20
lifelesslamont: to test it I'll get a broken merge thrown at pqm from lp20:21
lifelesslamont: I'm sure it will be no worse than it was20:21
lamontheh. thanks20:22
lamontpls do though20:22
lifelesslamont: I'm arranging that now in #launchpad-dev20:23
lifelesslamont: the basic symptom has been we go into testfix, merge disappears20:23
lamontnice20:24
lamontfor eye-stabbing values of "nice"20:24
lifelessright20:24
lifelessand pqm mails out a whine to the errors list20:24
lifelesspqm-errors or something; its where pqm's cron mails to20:25
=== Ursinha is now known as Ursinha-bbl
mbarnettlifeless: whee!21:12
=== zyga is now known as zyga-nc10
pooliehello all22:11
jelmerg'morning poolie22:12
pooliehi jelmer22:12
lamalexHey, I've sort of backed myself into a spot I'm not sure how to get out of. I merged a branch into mine, and as I was typing bzr commit to commit the merge, i got a kernel panic and had to reboot. I forgot to commit when i came back and have been hacking for quite a while with all of those changes from the merge uncommited22:15
lamalexi want to separate my changes from the merge, is there any way to really do this?22:16
lamalexand  my other question is why doesn't bzr just do a commit after a successful merge?22:17
fullermdWell, you could make a copy of the branch and redo the merge by itself...   then try pushing that new rev onto your existing branch and seeing if update DTRT, or try using merge --uncommitted the other way, or do a manual diff of the working trees...22:17
poolielamalex, what i would do is:22:24
pooliemake a second working directory, re-do the merge in there, commit that22:24
pooliepull that into your original working directory22:24
lamalexpoolie, that's what I did22:24
lamalexwell, maybe22:24
pooliethat will insert the merge revision underneath your later changes22:24
poolieand then only the later changes will be seen as uncommitted22:25
pooliegreat22:25
Noldorinhow can i find out what branch the working copy is currently bound to>?23:38
bob2bzr info23:45

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