[00:07] jelmer, doesn't like the upgrade :-( [00:07] Noldorin, which upgrade? [00:07] jelmer, to newest bzr-git/dulwich [00:07] Unable to load plugin u'git' from u'C:/Program Files (x86)/Bazaar/plugins' [00:07] bzr: ERROR: exceptions.KeyError: "Key 'git' already registered" [00:08] Noldorin, the bzr log file should have more information [00:09] oh wait; randomly working now hmm [00:09] bzr doesn't like symlinks in program files :O [00:12] jelmer, so a bit more playing around seems to reveal that this problem is due to the fact parent directories are not actually created (added to the git database?) before they get used [00:13] git doesn't track directories period, neh? [00:14] fullermd, hmm, maybe that's the problem then? [00:14] no it doesn't [00:15] Noldorin: With git? One of them anyway ;) [00:15] fullermd, no with this bug jelmer and i are discussing about bzr-git :-) [00:15] fullermd, though i agree, it's a problem with git too hah [00:17] jelmer, thoughts? [00:20] Noldorin, I'm looking [00:20] ok :-) [00:33] right, so it's definitely one of the renames into tests/ failing... [00:34] *continues debugging* [00:35] * jelmer_ writes a testcase [00:44] hi alll, I'm trying to use bzrlib (from python), but I keep getting an unsupported protocol exception. I'm using the remote_branch_url example from http://wiki.bazaar.canonical.com/BzrLib, straight copy-paste. bzrlib.version_info=(2, 4, 0, 'final', 0). Any ideas? [00:46] jelmer_, the minimal mergeset that creates the issue is tests/IrcDotNet/ and tests/TraceAndTestImpactSettings.tracesettings [00:46] there are probably other equivalent minimals [00:47] yshavit: that example lacks this code: "from bzrlib.plugin import load_plugins; load_plugins()" [00:48] Noldorin, thanks [00:48] jelmer_: thanks! is there someone I should email about that? [00:49] yshavit, I'm updating the page [00:50] jelmer_: even better. Thanks for the quick help. [00:50] jelmer, sure. just some more playing around tells me (and trying to create new test branches which i dpush) that it's a highly order-dependent issue [00:51] jelmer, if you're digging through the code right now, i'll be here ready to assist :-) [00:51] (just not sure if there's much more i can do by *myself*) [00:55] Noldorin, thanks [00:56] jelmer, will be here watching TV for the next 2 hours about, so feel free to ping me with progress at any time then [00:56] heh, ok [00:56] I might get some sleep soon and look closer into this tomorrow [00:57] jelmer, heh okay, sure. i will be around tomorrow too [00:57] we are both in European time zones i suppose? [00:58] jelmer_: is there any page that's somewhere between that front page and the autogenerated pydocs? A tutorial-type thing? I can't find one on google. [00:59] yshavit, for the API? Not really. I generally just look at the tests in bzr itself for inspiration [00:59] what are you trying to do? [00:59] jelmer: ah, okay [00:59] jelmer_: for now, just merge. I've got the branch branched locally (through bzrlib) [01:00] jelmer_: but in the larger scope, I'm also trying to teach myself how to fish :) [01:12] jelmer, well, feel free to ping me tomorrow after about 1pm, if that works for you better... [05:12] hi all === maxb_ is now known as maxb [06:10] hi vila [06:22] hey poolie, hi all :) [06:31] jelmer: do we need to follow https://wiki.ubuntu.com/FreezeExceptionProcess for 2.4.1 on oneiric or is there some shortcut since we don't " introduce a new upstream version with new features and/or ABI/API changes" ? [06:31] zzzzzz [06:31] ;) [06:31] :) [06:33] jelmer, poolie: I think we qualify for "FeatureFreeze for bugfix-only updates" which says "Up through RC, if a developer believes an upload of a new upstream release that just has bug fixes in it is warranted, they may upload it." [06:33] poolie: by the way, can *you* upload ? [06:33] i probably can, yes [06:33] since you said it was already up i just wanted to understand the situation [06:34] that was a rhetoric question, AIUI jelmer should already have the branch/package ready for that [06:34] i'm not sure if it's more appropriate to request a sync or to merge and upload [06:34] ok [06:34] poolie: justasec, searching the IRC log [06:35] of course xchat history threshold is just where it shouldn't [06:35] vila, so that "biweekly meetings" thread is quite relevant to our discussion last night [06:36] Sep 13 17:30:51 vila: bzr-2.4.1-1 uploaded to debian, 2.4.1-1ubuntu1 now building.. [06:36] oh ok, cool [06:36] poolie: which thread ?!?!?! [06:37] on udd [06:37] you are subscribed? [06:37] AFAIK, yes [06:38] ubuntu-devel@lists.u.c right ? [06:38] no, https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel [06:39] right, both end up in the same mailbox here [06:40] ok [06:40] ... wth, I have a filter for it but I'm not subscribed ??? [06:41] vila, i wouldn't say bug 849715 is a really high priority unless it's trivial [06:41] damn, yes I am subscribed [06:41] Launchpad bug 849715 in bzr Upload plugin "fails when upload_location becomes unreachable and doesn't provide an escape path" [High,Confirmed] https://launchpad.net/bugs/849715 [06:41] classic case of of course per-project priority vs team priority [06:41] poolie: high in the plugin context and yes it's trivial [06:42] I agree it's not high in the team context [06:42] so you've got it? [06:42] i mean, got the mail from the udd list? [06:42] yup [06:42] marked as read [06:43] except for james's one which I didn't recognize as matching your reference [06:44] ok, read, I see your point, and I can only repeat that having goals bigger than bugs but smaller than strategic goals will help [06:46] huh, did james_w moved from UTC+1 tz to UTC-4 tz ? [06:48] hi [06:48] yes, to canada [06:48] so, bug#788072 [06:49] we've got two servers being bitten by it now [06:49] bradm, does it consistently fail? [06:49] oooooh [06:49] did something on this machine change when it started happeing? [06:49] poolie: seems to be consistent [06:50] I can't say if anything changed, its a lp builder so I don't know what else has been going on [06:50] bug #788072 [06:50] Launchpad bug 788072 in Bazaar "AttributeError: 'module' object has no attribute 'trace'" [Undecided,Incomplete] https://launchpad.net/bugs/788072 [06:50] there's been general package upgrades, I don't usually use these machines all that often so I can't say when it started [06:50] how urgent is it to fix this? [06:50] we could change it so that it at least doesn't mask the error [06:51] if we try a fix, would you be able to run bzr eg from a branch to see if it fails the same way [06:51] I think its breaking our use of puppet on the boxes, since we've got etc in bzr [06:51] for that matter, can you see if it works the same way with the latest bzr 2.3 from the ppa? [06:51] I can certainly try some stuff [06:52] bradm: AIUI, we have never been able to reproduce it and my last debug attempts with lamont pretty much convinced me it was a weird local install issue [06:53] vila, in the standup yesterday you said something about making udd robust about lp downtime [06:53] vila: fwiw, I don't know if we can rule that out, since these are both lp buildds, its possible there's something local [06:53] poolie: yup, that's my targets for today [06:53] i guess that's https://bugs.launchpad.net/udd/+bug/795321 assigned to jr, not obviously started [06:53] Ubuntu bug 795321 in Launchpad itself "udd importer should make tea while launchpad is down" [High,Triaged] [06:53] bradm: oh, new context then ! Can you add that to the bug ? [06:53] poolie: yup [06:54] i'm not sure that increasing the parallelism is all that important at the moment compared to some specific failures [06:54] this is interesting, one of them is bzr 3.2.1 [06:54] er, 2.3.1 even [06:54] silly fingers [06:55] poolie: you mean bug #724893 ? [06:55] Launchpad bug 724893 in Ubuntu Distributed Development "concurrent db access are not handled" [Critical,Confirmed] https://launchpad.net/bugs/724893 [06:55] and the other is 2.3.3 [06:55] poolie: the issue here is not to increase parallelism but that this bug can happen *now* triggered by any tweak anywhere [06:56] ok [06:56] does that show up as an actual import failure? [06:56] if so we should be able to measure how many suffer from it [06:56] poolie: what ? bug #724893 ? [06:56] Launchpad bug 724893 in Ubuntu Distributed Development "concurrent db access are not handled" [Critical,Confirmed] https://launchpad.net/bugs/724893 [06:56] yes, that [06:57] morning all [06:57] poolie: it's not package specific at all, it's a bug in the design and we are lucky that it doesn't trigger more often [06:57] let's finish with bradm first [06:57] bradm, that's worth adding too [06:57] so the short story is, if we have something we think will help, you can deploy and test it? [06:57] poolie: I'd say so, given that the existing bzr stuff is busted [06:58] ok [06:58] i assigned it to the team [06:58] hi jam [06:59] just added a comment about the 2nd server and them being lp buildds [06:59] vila, i know it's not caused by the particular package, but my question is whether the import logs will tell us how often it occurs [06:59] if it's not actually often, it doesn't need to be critical [07:00] ok, I resign, downgrade it to low if you wish, the day we'll encounter it because some totally unrelated optimization make the imports faster... we'll marked it critical [07:01] i'm just trying to understand the situation [07:02] poolie: both mass_import and import_package want to update a db, as of today, there is no contention because imports are slow enough [07:02] increasing parallelism (as I did as an experiment) revealed the bug and made it obvious [07:02] but the bug is there nevertheless [07:03] My 2c, if we don't have to stop everything and work on it, it isn't "Critical", it can be "High", it can be in our "bugs to work on next" list, but that doesn't make it *Critical*. [07:03] I don't think we still have the logs for the last debian massive import where this occured [07:03] I don't think anyone has said it isn't a bug [07:03] or worth fixing, etc. [07:04] jam: you already said that in the comment and I disagreed and still do [07:04] vila: then why aren't you working on it *right now*, if it is critical [07:04] ? [07:04] vila, jam said what? [07:04] If *you* feel it is critical, then certainly it should trump the config stuff you are doing, etc. [07:04] poolie: I said I didn't feel the bug was "Critical" [07:05] vila: I'm not trying to start the argument again. But that is what Critical is supposed to mean. At least in my understanding. [07:05] "This bug should be fixed before all High priority bugs" [07:05] jam, that is what critical ought to mean [07:05] in fact "even ahead of other work that's already in progress" [07:05] to me it means a bug that can break the whole package importer [07:05] we haven't always been great about doing it but we shouldn't dilute it ay further [07:05] and that needs to be fixed to resurrect it [07:09] poolie: anyway, let me know if you need any more info, or have something for us to try [07:10] jam: I didn't start working on it because: 1) you pointed me to wal which is more complicated than a file-based locking, 2) as mentioned repeatedly this doesn't occur *yet* and I see nothing in the pipe that will trigger it (once 2.4 (and its optimizations) is deployed on jubany, I may reconsider) [07:11] bradm, ok, i will, i'm not personally going to start on it now [07:11] vila, il'l see if i can get your config things unblocked soon [07:11] poolie: no worries [07:11] oneiric's borked, biab [07:11] jam: I'd appreciate if you could make more constructive suggestions about config instead of considering a pet project, there are numerous, real and deep issues around this area [07:13] poolie: looks like this bug has been around for a bit and it seems to only be hitting 2 servers, so its not ultra high priority [07:13] ok [07:13] it would be nice to know why only those two [07:13] if you know when the problem started perhaps you can attach the dpkg.log [07:15] poolie: the server I'm seeing started within the last day or so I'm guessing from some puppet stuff [07:16] poolie: but the last thing in dpkg.log was apache stuff about 2 weeks ago [07:16] halp! puppet! [07:16] bradm: why are those builds still using bzr < 2.3.4 (not strictly related but well, who knows, may be some upgrade went wrong) [07:17] vila: I don't know, but they're fully up to date according to the current sources.list on them [07:17] bradm: 8-/ no -updates there ? [07:18] another random lp buildd has 2.3.1 as well [07:18] err wait, what ubuntu release are they based on ? [07:18] vila: hardy [07:18] ha, ok, thanks [07:19] hmm, I think jelmer has backported 2.4 for hardy-cat recently [07:19] these definately have hardy-cat on them [07:19] or is it jelmer_ :) [07:19] interesting, and hardy-cat-buildd [07:20] dunno about that last one but I'm pretty sure jelmer is already trying to address some buildd issues so I think he targeted the right one [07:20] vila: if there is a hardy-cat versoin of 2.4 its not on our servers [07:20] vila: I do see lucid-cat 2.4 [07:21] bradm: https://launchpad.net/~canonical-bazaar/+archive/cat-proposed IIUC [07:22] vila: interesting - I don't know the mechanics by which that makes it into our hardy-cat suites, lamont would know more I'd say [07:23] right, so let's postpone that part of the discussion for when jelmer and lamont are around [07:23] for sure [07:23] I'm just a lowly GSA seeing a problem on one server ;) [07:23] bradm: sure, thanks for chiming in here [07:24] no worries, let me know if you need more info or anything [07:24] bradm: do you have a direct access to one of the failing servers to try some diagnosis ? [07:24] vila: sure [07:24] vila: I'll be EODing shortly, but I can do some stuff [07:25] bradm: no problem, start reading the comments in bug #788072 and see if you can follow the proposed steps starting in comment #2 [07:25] Launchpad bug 788072 in Bazaar "AttributeError: 'module' object has no attribute 'trace'" [Medium,Confirmed] https://launchpad.net/bugs/788072 [07:27] vila: BZR_PDB=1 bzr st looks the same as bzr st [07:27] bradm: i.e. python -c 'import bzrlib._chunks_to_lines_pyx ; print bzrlib._chunks_to_lines_pyx.__file__' with a bzrlib reachable from your pYTHONPATH [07:27] vila: I can't get anything from bzr version or bzr plugins -v other than the error [07:28] good, you're in the right context then (hopefully) [07:28] bradm: i.e. python -c 'import bzrlib._chunks_to_lines_pyx ; print bzrlib._chunks_to_lines_pyx.__file__' with a bzrlib reachable from your pYTHONPATH [07:28] bradm: python -V (just to be sure) [07:29] $ python -V [07:29] Python 2.5.2 [07:29] ok [07:29] bradm: and the python import above ? [07:30] $ PYTHONPATH=/var/lib/python-support/python2.5 python -c 'import bzrlib._chunks_to_lines_pyx ; print bzrlib._chunks_to_lines_pyx.__file__' [07:30] /var/lib/python-support/python2.5/bzrlib/_chunks_to_lines_pyx.so [07:30] * vila blinks [07:30] and if you remove the PYTHONPATH ? [07:30] $ PYTHONPATH=/usr/lib/python-support/python-bzrlib/python2.5/ python -c 'import bzrlib._chunks_to_lines_pyx ; print bzrlib._chunks_to_lines_pyx.__file__' [07:30] Traceback (most recent call last): [07:30] File "", line 1, in [07:30] ImportError: No module named _chunks_to_lines_pyx [07:30] $ python -c 'import bzrlib._chunks_to_lines_pyx ; print bzrlib._chunks_to_lines_pyx.__file__' [07:30] Traceback (most recent call last): [07:31] File "", line 1, in [07:31] ImportError: No module named _chunks_to_lines_pyx [07:31] that's the issue, the install is broken [07:31] well [07:31] the install and the context are not what bzr is expected may be more accurate and less offensive ;) [07:32] awesome, I can poke some other servers to see the difference tomorrow [07:32] bradm: find / -name _chunks_to_lines_pyx.so -print ? Or something equivalent [07:32] bradm: but if you can relate this missing files with failing servers, yeah, that would narrow down the problem space [07:33] $ sudo find / -name _chunks_to_lines_pyx.so -print [07:33] /var/lib/python-support/python2.4/bzrlib/_chunks_to_lines_pyx.so [07:33] /var/lib/python-support/python2.5/bzrlib/_chunks_to_lines_pyx.so [07:33] /usr/lib/python-support/python-bzrlib/python2.5/bzrlib/_chunks_to_lines_pyx.so [07:33] /usr/lib/python-support/python-bzrlib/python2.4/bzrlib/_chunks_to_lines_pyx.so [07:34] interesting, similar on another working server except it doesn't have a /var/lib/python-support/python2.4/bzrlib [07:34] if it has python-2.5 we don't care [07:34] right, since we're using python 2.5 [07:34] but the /var/lib/python-support part... I'm not sure we ever search there, let me check [07:35] oho, interesting [07:36] on a working server: [07:36] $ PYTHONPATH=/usr/lib/python-support/python-bzrlib/python2.5/ python -c 'import bzrlib._chunks_to_lines_pyx ; print bzrlib._chunks_to_lines_pyx.__file__' [07:36] /var/lib/python-support/python2.5/bzrlib/_chunks_to_lines_pyx.so [07:36] python -c 'from distutils.sysconfig import get_python_lib ; print get_python_lib()' [07:36] $ python -c 'from distutils.sysconfig import get_python_lib ; print get_python_lib()' [07:36] /usr/lib/python2.5/site-packages [07:37] same on a working system [07:37] on a failing server ? ha, rats [07:38] okey, I've got a 4 year old boy wanting some attention, I'll have to take this up again tomorrow [07:38] bradm: ok, no worries, that may be something in this area, some missing symlink here or there, hard to guess [07:39] bradm: take care of your boy :) [07:39] vila: will do - thanks for the help, its given me somewhere to look :) [07:41] vila, i'm reading the stacks patch now [07:44] poolie: \o/ [08:08] vila, i answered [08:08] can you tell me: why a registry? [08:10] poolie: 1) you asked for it :) 2) it simplifies many issues including centralizing the way to get a stack, overriding by a plugin, etc [08:12] it doesn't address (yet) more convenient ways to build stacks (more on that soon, but roughly a stack is already a list of tuples (store, section_matcher(context)) plus one optional mutable store, to reach one read/write by store we need to centralize the way stores are acquired so they can be shared, the stack registry is a first step [08:12] poolie: i.e. it's harder to track all stores if everybody build stacks at call sites instead of using a registry [08:13] poolie: we've been there (no registry) in other areas and always ended up fixing the issues by introducing a registry, [08:14] the only exception I can think of is transports but we already encountered issues that a registry could address (replacing or behind transport.get_transport) [08:18] why is a registry better for that than just having named functions? [08:19] poolie: because we all agree it was better when we start using registries ? [08:20] started [08:20] uh [08:20] i don't think it's just universally better [08:20] it solves some particular problems [08:20] it's not obvious to me those problems exist in this case [08:21] i don't think people ought to build the stacks inline, but the simplest solution to that seems to be to have functions that build them [08:24] vila? [08:24] poolie: searching the relevant mp [08:27] i need to stop soon [08:27] can we just talk? [08:28] ok [08:28] here is fine [08:29] I can't find it back, but *I* don't care about whether we use a registry or named functions at this point, I seem to recall that you suggested a registry for stacks in some discussion so I took that route [08:29] does accessing branches with bzr+ssh://user:pass@host/ type urls work in the way one might hope? === lool- is now known as lool [08:30] along this route I indeed found that a registry was addressing some issues so I followed up on this route [08:31] from a pure syntactic point of view, as explained in the cover letter, this makes sense too, [08:31] so this proposal is only about introducing the registry [08:32] it doesn't show *how* it helps addressing the other issues to keep it small [08:32] ok [08:32] what are the issues? [08:33] mwhudson: yes [08:33] single point of access to control which stack is returned for a single context (this became a blocker when jelmer mentioned that subversion.conf was already implementing some additional feature that requires more flexibility when building branch stacks) [08:34] this can addressed differently but since this is now needed *and* that a stack registry provides *one* way to address it, I just went ahead [08:34] s/can/can be/ [08:34] jam: thanks [08:34] single point of access to control which stores are used so they can be shared, [08:35] mwhudson: of course, it leaves your password in bash history, kills babies, etc. :) [08:35] jam: yeah yeay [08:35] is this to say that bzr-svn wants to hook into the creation of some stacks? [08:35] yes [08:35] jam: you can use authorization.conf too right? [08:35] mwhudson: You might look at authentication.conf, but I'm pretty sure it doesn't support passwords for ssh [08:35] so one other possible way to do this would be for it to override Branch.get_config? [08:35] since we figure "you already have ssh/config to set up a key" [08:35] which is more secure anyway [08:35] otherwise migrating the branch options to the new config scheme will break the UUID default values for options [08:36] jam: is there a chance that a user:pass in a url might end up in a traceback or other console output? [08:36] jam: presumably that's fixable though [08:36] mwhudson: I *believe* we are good about omitting :pass from anything we log [08:36] poolie: yes, but that makes it harder to migrate the options [08:36] poolie: and also harder to control which stores are used [08:37] mwhudson: http://paste.ubuntu.com/688966/ [08:37] "does not appear in base" means it doesn't show up in stuff like tracebacks [08:37] jam: ah nice [08:38] we strip it from the URL, and then hide it around as necessary [08:38] poolie: s/harder/different/ if you prefer but the proposal is an incremental progress in *one* direction [08:39] wull [08:39] *well, it's adding some complexity [08:39] which one ? [08:39] it's reasonable to ask why it's there [08:39] for who ? [08:40] adding a registry rather than just having functions [08:40] so the point of a registry is, in short, so that plugins can control how stacks are created for some particular purposes? [08:41] but you objected (rightly) that these functions are not good examples of how to build stacks and indeed they don't address the issues I mentioned above [08:41] which issues? [08:41] taking command line overrides into account needs a central place, not requiring eveybody to modify these functions [08:42] "which issues?" : overriding by plugins, centralizing store access [08:43] couldn't handling command line options be done by just saying there's a global stack, which most others build upon, that includes per-command options? [08:44] I never talked about per-command options, [08:44] i meant per-process [08:44] command line overides [08:44] can you elaborate about build upon > [08:44] can you elaborate about build upon ? [08:45] to me it means having helpers to create the appropriate list of (stores, section_matcher(context)) [08:45] basically just that branch_stack() should return stack(BranchStore(branch), LocationStore(), global_stack()) [08:45] and one central place to ensure the command-line overrides always dominate [08:46] then global_stack can include system-wide, per-user, and command-line parts [08:46] wrong [08:46] command-line overrides should come first [08:46] ok, i see [08:46] that's true [08:46] how does a registry help with this? [08:46] or do you want stacks to be able to be build recursively ? [08:46] it provides this central point [08:46] place [08:47] but how is it more central than the config module holding some functions? [08:48] (I think recursive stacks are neat, but introduce complexity for users as well as devs so I'm more against than for) [08:48] some functions all implementing the same rules ? [08:49] but, it's not *more* central, it's just *as* central [08:49] and again, it's just one way, there are others, this one just seem to be the easiest and fastest... [08:49] <_arch> Hi [08:50] poolie: what is this added complexity you're seeing there ? [08:50] even get_config() or get_config_stack() are still possible, they are just implemented by querying the registry, [08:50] how is that complex ? [08:50] it's basically just one more level of indirection to go through the registry [08:51] it's not enormously complex, i just don't think you're communicating why it's helpful [08:51] it's not obvious to me how it's going to help with plugins [08:51] i assume the point of having it is to enable things from plugins? [08:52] perhaps one way to move this along would be for you to give some illustrative cases of what plugins want to do with this and how they would do it through the registry? [08:53] <_arch> I have a problem: During commit, I want to inject my new revision number to each modified file [08:53] hi _arch, you want http://doc.bazaar.canonical.com/plugins/en/keywords-plugin.html [08:53] <_arch> I checked that out but I'm not sure if it helps. The $Revision-Id$ has a bunch of stuff I don't want apparently. [08:54] poolie: how will plugins implement command-line overrides ? [08:54] vila i'd probably just do that in the core [08:54] poolie: do you want them to explicitly change their stack builder ? [08:55] poolie: but how will they get the feature from the core ? [08:55] <_arch> So I figured I'll try to write a quick start_commit hook myself which injects the revno to the modified files [08:55] poolie: how would you output the help associated with a stack ? [08:55] <_arch> however I seem to have absolutely no clue of where to begin :) [08:55] poolie: how would support the plugin specific configs with 'bzr config' ? [08:55] vila, i'm interested in the answers but i'm also suggesting that if in future you explain some cases like this in the mp, it might be better understood [08:56] that doesn't match my understanding of small piece easy to propose :-/ [08:57] " but how will they get the feature from the core ?" - i'm not sure what you mean, but if you mean "how will they see values from the command line", i'd expect that all of the *_stack() functions will return a stack that looks at the command line [08:57] I'm not addressing rewriting 'bzr config' for now [08:57] poolie: indeed, that puts the responsibility on the plugin authors [08:57] i'm not sure if there needs to be help for a stack or whether that needs to be exposed to the user as such [08:57] you should do this and this and don't forget this, instead of: register your stack [08:57] i would not expect it needs any plugin changes [08:58] ... [08:58] " doesn't match my understanding of small piece easy to propose "-- i think generally, saying "previously, you couldn't do X. now, it works like so" is pretty helpful to establishing the change is worthwhile [08:58] that can be either in the mp or in a bug [08:58] but we have no idea today that plugins implement config files, nor do we have any way to know they do [09:00] _arch, are you saying the problem is that bzr-keywords just puts in too much text? like the revision id and you just want the number? [09:00] <_arch> yeah [09:00] maybe then the easiest thing is to just add another option to bzr-keywords? [09:00] you should be able to just go off the existing code [09:01] <_arch> Hmm, true. I'll check that out, thanks [09:01] if you fix it, please push up a branch so we can merge it [09:01] ask here if you need any help [09:01] vila, that might be true we don't know whether plugins are looking at config files but i don't see why it's actually a problem [09:01] <_arch> Right I'll check out the source and see if I can make something out of it. [09:02] poolie: no, I said *we* don't know that plugins use their own config files and/or if they introduce new features for our own config files [09:03] ok [09:03] is this a bug? [09:03] and if jelmer didn't mention that subversion.conf use [UUID] sections I would have break it by migrating the branch options [09:03] bug #832036 [09:03] Launchpad bug 832036 in Bazaar "Needs a config stack registry" [High,In progress] https://launchpad.net/bugs/832036 [09:04] we're running into circles [09:04] yeah, but that's basically the same problem [09:04] that bug does not describe an actual problem [09:04] ok, we don't have problems [09:05] better un-migrate the global options and forget about that [09:05] is that sarcasm? [09:06] obviously I'm not able to explain the issues in a way we can agree upon [09:06] :/ [09:06] sorry [09:07] no, it's just that I suck at this particular point and therefore cannot progress, so it's wasted time [09:07] ok [09:07] let's shelve this until it's clear it's solving a pressing problem for plugins [09:07] does it block anything else? [09:08] https://bugs.launchpad.net/bzr/+bugs?field.tag=config i.e. 40 bugs, plus all the ones I failed to file [09:09] i think 832036 is a good example of a bad bug, because it specifies a solution, not a problem [09:09] are you saying this blocks all those bugs? [09:09] i have some trouble believing it [09:10] oh, there are surely alternate ways to address them, someone just have to analyze them and find a relevant fix [09:11] ok so of those bugs [09:11] the one i care most about is 832042 [09:12] is that sarcasm ? [09:12] nup, it's true [09:12] well, more precisely [09:12] if these changes have a performance impact, i care about fixing it [09:13] yes they do have one and I've added -Econfig_stats to track progress [09:13] istm an easy way to fix 832042 would be to just create the config stacks early on in the object they correspond to [09:14] the global-ish ones which have no obvious owner can go onto the library_state [09:14] you need a central place to share the stores (not mentioning how it interacts with library_state) [09:17] hm [09:18] i think you can either have them on library_state, or inherited from one object to another [09:18] it seems pretty possible [09:19] i'v closed 832036 and i pushed down some of the others [09:21] then we should also revert all stack related stuff or it will make it harder to address these bugs [09:22] i don't see how that really follows [09:22] i think the stacks are just fine [09:23] you don't want to address sharing both stores and config files don't you ? Nor maintain both get() and get_user_option() and get_xxx APIs right ? [09:25] i don't really understand the question [09:25] i do need to stop [09:26] i'm sorry this is frustrating [09:26] I mean, I don't mind getting rid of this stuff if we can't agree upon, but in this case that's a non-sense to keep it because it means we have a fragmented API and this is definitely something that makes it harder to fix the remaining bugs [09:26] if you can think more about actual "X doesn't work as it should" bugs rather than what you want to write, i think that will help communicate it [09:27] that's what the devnotes doc was about :-/ [09:28] ha, I have some bugs mentioned with the corresponding issues in my uncommitted version [09:28] hm, so [09:29] i can see there's something in there about plugins wanting to add new files [09:30] i think for a particular mp just pointing to configuration.txt is not enough, because the specific connection is not clear [09:30] see also the part about not being able to delete some options ? [09:30] or the already existing fragmentation in the API ? [09:31] i really do not see how the registry would help with deprecating options [09:31] the stack registry ? unrelated, [09:31] i think if you filed a bug saying "there is no way to gracefully deprecate an option" we can agree on whether that's true, whether it's important, and then on whether a particular mp is a decent way to solve it [09:31] but the option registry can be used to say one option deprecates another one (or vice versa) [09:32] right [09:32] so [09:32] far from the top of my TODO list [09:32] <_arch> poolie: have you used the keywords plugin? Am I supposed to add the keyword template (like, $Revision-Id$) to each of my files? [09:32] _arch, i haven't used it recently, but yes, add it where you want the text to come out [09:32] vila, ok, so, i'm -1 on the registry until the reason is clear [09:33] i think it would overall be most excited about you doing bug 795321 or maybe bug 832042 [09:33] Launchpad bug 795321 in Ubuntu Distributed Development "udd importer should make tea while launchpad is down" [High,In progress] https://launchpad.net/bugs/795321 [09:33] Launchpad bug 832042 in Bazaar "config files are read for each option" [High,In progress] https://launchpad.net/bugs/832042 [09:33] or bug 836782, which is just pushing #is perhaps [09:33] Launchpad bug 836782 in Ubuntu Distributed Development "bzr-builddeb requires dpkg-dev >= 1.15.7" [High,In progress] https://launchpad.net/bugs/836782 [09:33] or rebuilding it? [09:33] <_arch> poolie: and once the file is pushed the keyword is going to be replaced by whatever it's supposed to be? i.e, in place of $Revision-Id$, there's going to be the revid? [09:34] i think it will be expanded within the keyword [09:35] ok, good night all [09:35] <_arch> Right, there's something wrong then :) [09:35] <_arch> thanks [09:43] jelmer: how long does it take for a package to move from debian incoming to unstable? [09:45] Riddell: it happens several times a day (if it doesn't have to go through NEW) [09:45] hmm those bzr packages are still there (according to the incoming.d.o and packages.d.o websites) [09:46] Riddell: http://packages.debian.org/sid/bzr-explorer already has 1.2.1-1 [09:47] you're right, http://packages.debian.org/search?keywords=bzr-explorer is slacking [09:47] or maybe it's my browser cache [09:47] weird [09:50] jelmer: I'll sync bzr-explorer and qbzr, and make the necessary changes to bzr to upload that [09:51] Riddell: I was about to do an upload of bzr to oneiric too [09:52] go ahead then [09:53] jelmer: [09:54] Riddell: thanks [09:57] is there a reason why printing text in builting.py is often done with self.outf.write() rather than note() ? [10:33] Riddell: the FIXME in trace.note are probably part of the answer [10:50] * Riddell discovers bzr rocks [10:51] that'll keep our translators amused finding suitable localised equivalents :) [11:08] Riddell: self.outf.write goes to stdout and is in terminal encoding. note() I think goes to stderr and is officially UTF-8 encoded. Further note() also goes to .bzr.log [11:18] hmm, so use of note() in commands might break if you're not using a utf-8 language? [11:18] what is the "cannot import name info" message I get all the time? [11:19] oh it's a plugin at fault [11:22] Riddell: ~/.bzr.log is your friend :) [11:43] Riddell: .bzr.log and -Derror === zyga is now known as zyga-food [13:34] mgz: ping [13:34] pong-to-avoid-what-I-should-be-doing [13:36] mgz: I just upgraded bzr and did "bzr st" outside of a working tree [13:36] and got the giant-explosion of IndexError. [13:36] traceback in the message you just put on the lp:~gz/bzr/root_drive_file_url_841322 mp implies the branch didn't land correctly [13:36] File "C:\dev\bzr\bzr.dev\bzrlib\urlutils.py", line 391, in [13:36] _win32_extract_drive_letter [13:36] if len(path) < 3 or path[2] not in ':|' or path[3] != '/': [13:36] IndexError: string index out of range [13:36] that's still `< 3` not `< 4` [13:37] double check the branch is at the right revision? [13:38] mgz: I'm at 6125.. Looks like update *didn't* [13:38] bzr: ERROR: Operation denied because it would change the main history, which is not permitted by the append_revisions_on [13:38] ly setting on branch "C:/dev/bzr/bzr.dev/". [13:38] how did we manage that? [13:39] mgz: so it looks like my branch is out-of-date. [13:39] Sorry for the noise. I'll poke at the other stuff [13:40] ugh, not sure, don't think I have that setting on so pull works here [13:41] mgz: looks like discrepancy between PQMs [13:42] specifically, 'bzr.dev's rev 6124 is now by "Patch Queue Manager" instead of "Canonical.com Patch Queue Manager" [13:42] so it seems we landed (and I pulled) 2 revisions on the old PQM, which are now gone from history in the new PQM [13:42] vila, poolie, jelmer: ^^ Did you see this? [13:43] http://paste.ubuntu.com/689201/ [13:43] I'm a little concerned that we lost revisions, but I guess if a plain "bzr pull" works, then we shouldn't have. [13:44] jam: yes, mentioned a couple of days ago, occurred during the migration to the new pqm, was considered minor enough to deal with it [13:44] jam: you have append_revisions_only set locally ? [13:44] jam: pqm doesn't [13:44] vila: Yes, I have it set here [13:45] jam: again see log for discussions about why we considered not doing that [13:45] that way I don't screw stuff up locally [13:45] vila: irc log? [13:45] yup [13:45] around pqm migration, I raised the issue as soon as I discover it on bzr.dev [13:46] vila: so we did already merge them into the actual trunk. I was trying to look at the changes, and didn't specifically see it. [13:47] jam: yes, the first succesful submission based on the trunk pushed by the old pqm carried all the diffs [13:48] vila: I'm fine with the solution, I just wanted to make sure we didn't lose anything. so good enough. [13:48] jam: nothing has been lost bar the cleaner history [13:49] vila: yeah. no problem. I often start my day by running "bzr up" but not actually reading the output. So I didn't see that it wasn't updating. [13:49] jam: yeah, same reaction here, I even blew the whistle before checking, but I did not check very deeply given that this didn't seem necessary (I was lucky enough to do a 'bzr missing' at the right time) [13:49] I did 'bzr missing' but wasn't 100% sure it wasn't lying :) [13:56] mgz: so in the end, Yay for you! I don't get the traceback anymore. :) [13:56] good good :) [14:07] hi all! [14:09] I just posted bug 850004, is it maybe already solved in trunk? [14:09] Launchpad bug 850004 in Bazaar "Problem with non-ASCII letters" [Undecided,New] https://launchpad.net/bugs/850004 [14:12] that sounds like a bug for me. [14:13] 2.4.0 was entirely broken, and 2.4.1 seems also broken :( [14:14] there's nothing obviously wrong from your log or traceback [14:16] does S:/v5_x/projects/10074_YYY-Lüftersteuerung/.bzr/repository/pack-names actually exist? [14:17] and if not, which is the first parent directory that does? [14:17] yes, it exists [14:18] well the letter ü is (according to the log) sometimes coded in a wrong way, this may propably be the reason for this error [14:19] it's right in all the bits in that bug, and the error isn't related to non-ascii characters, so I think that may be a red herring [14:20] blackarchon: paste me the output of `dir S:/v5_x/projects/10074_YYY-Lüftersteuerung/.bzr/repository/pack-names` run in the cmd prompt please? [14:20] !paste [14:20] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [14:23] mgz: http://paste.ubuntu.com/689235/ === zyga-food is now known as zyga [14:24] okay, fun. I'll try and repo here. [14:24] note I have to use \ instead of / [14:25] one last thing for you to try, run the command bzr-explorer is passing, but at the command line [14:26] I should run "bzr explorer S:/v5_x/projects/10074_YYY-Lüftersteuerung" on the command line? [14:26] hi jelmer [14:27] hi Noldorin [14:27] any progress on the issue? :-) [14:27] blackarchon: so, `bzr commit -m "Vor 2. Wegschicken zu Hr. xxx" YYY-Lüftersteuerung.sch` [14:27] Noldorin: sorry, been distracted with other things so far [14:27] jelmer, no prob [14:27] it's high on my todo list though [14:27] jelmer, just thought i'd let you know i'm here to assist you when ready :-) [14:27] sure [14:29] mgz: If i run "bzr explorer S:/v5_x/projects/10074_YYY-Lüftersteuerung" [14:29] I get an error [14:30] unable to change to - closing page [14:30] paste me that, then try the command I suggested? [14:31] mgz: sorry, my fault - the command was fine [14:31] just had a typo [14:32] I hope you're not having to retype Lüftersteuerung each time :) [14:34] mgz: http://paste.ubuntu.com/689241/ [14:36] interesting. do `bzr add YYY-Lüftersteuerung.sch` too? [14:36] why should adding a file help if it is already added? [14:37] it's not clear what the state of the branch is, it might be there really isn't anything to do. [14:38] if you were committing in bzr-explorer, and it gave you an error, I was presuming you had outstanding changes that still needed to be comitted. [14:39] ok - well, the problem is that committing seems to work. at the moment, I have 6 revisions in this standalone tree. But I also get these errors while committing. [14:39] that's wrong I guess, either you already did that or reverted them, or bzr left things in a funny state. [14:40] okay. [14:40] so it seems to do something right, but not all. [14:40] can you make a new change of some kind to that file, try the commit from the command line (you can always uncommit after trying) and see if you get the same error? [14:40] ok [14:42] it looks like this may just be an problem in the explorer commit reporting code. [14:43] this went fine without an error on the command line [14:44] great, thanks for testing all of that, will help me try and reproduce it locally. [14:45] but there seems to remain a little discrepancy in umlaut handling: http://paste.ubuntu.com/689250/ [14:45] is this really not a problem? [14:45] yes, that does look funny but is actually correct. [14:45] ok :) [14:46] and thanks for your time! :) [14:46] some parts of the code use a unicode string where ü is u'\xfc' and some use a utf-8 byte string where it's '\xc3\xbc' [14:47] well this seems like a problematic approach [14:48] it is, but I think your bug is a different problem. [14:50] ok [14:52] jelmer, hi, can you fix bzr-git trunk to work with dulwich 0.8.0? current trunk attempts to import HttpGitClient which i think is not implemented in dulwich 0.8 === mtaylor_ is now known as mtaylor [15:00] vila: is https://code.launchpad.net/~jr/bzr/i18n-unoverride-no-i18n-tests/+merge/75181 ok now? [15:02] Riddell: didn't I approve it already ? [15:03] oh no, [15:06] Riddell: gha the diff makes no sense (not enough context), let me review that locally [15:23] Riddell: ok ,so, this is better. One thing that comes to mind reading the patch though is that there are two idioms to test i18n: either you allow installing one or you install one without asking [15:24] how can I export a repo with multiple branches to git? [15:24] Riddell: and I don't really understand what the two TestInstall tests do. Are they just smoke tests ? [15:25] Riddell: shouldn't test_custom_languages fails if there is no translations avaiable for nl:fy ? [15:26] vila: I don't know, I didn't write those tests [15:27] vila: yes the two ways to test i18n are documented with this merge proposal [15:28] Riddell: oh, so sorry, they are indeed documented [15:30] Riddell: alright, so, TestTranslate alreday calls self.overrideAttr(i18n, '_translations', ZzzTranslations()), the tests don't need to do it again. I know, you didn't write them either, but better fix them if they need to serve as examples [15:32] vila: how about adding this to the end? self.assertTrue(isinstance(i18n._translations, i18n._gettext.GNUTranslations) ? [15:32] Riddell: for the TestInstall ones ? [15:32] yes [15:32] sounds good ! [15:33] Riddell: can use assertIsInstance there. [15:34] Riddell: does that mean that i18n.install('nl:fy') succeeds even if the translations are not available ? [15:34] Riddell: if that's true, yeah, that will make the test intent clearer (and mgz remark applies too ;) [15:38] I'm not sure, investigating [15:42] vila: it'll produce a NullTranslation always, only if the language is there will is make a GNUTranslation [15:43] so I've pushed a change to test for NullTranslation [15:43] Riddell: ha ha, won't that break if that translation *is* available ? Or should you have a test for a known always available translation and one for a known never available one ? [15:44] no because GNUTranslations inherits from NullTranslations [15:44] ok, but mgz mentioned assertIsInstance (provided by testtools maybe ?) [15:45] Riddell: and TestTranslate alreday calls self.overrideAttr(i18n, '_translations', ZzzTranslations()), the tests don't need to do it again. I know, you didn't write them either, but better fix them if they need to serve as examples [15:45] bah copying my tyops now :-/ [15:46] Riddell: assertIsInstance is provided by TestCase (not testtools) [15:46] Riddell: and will give a better error message than assertTrue(isinstance(...)) [15:49] vila: pushed [16:02] jelmer, had LP support for collocated branches arrived yet? [16:02] i knwo 2.5b1 is being released tomorrow [16:03] which has support === BasicPRO is now known as BasicOSX === davi` is now known as Guest14971 [16:22] jelmer, let me know if you want me to send you my powershell script... [16:22] for testing the issue === deryck is now known as deryck[lunch] === deryck[lunch] is now known as deryck [17:14] hey bzr folks- need some help [17:14] (i'm tying my question- don't hassle me about asking to ask) [17:15] i've got a branch which i want to merge into my trunk, but i want to squash the history of the old branch, as to basically not have it [17:15] Aw, man, you take all the fun out of it... [17:15] :) [17:15] there is some private info in the history i don't want exposed to the world [17:15] lamalex, a normal merge does that [17:16] just make sure it doesn't pull [17:16] You could merge, revert --forget-merges to dump the intermediate revs, then commit. [17:16] Noldorin, but can't i go and do a bzr log -n0 and see the history of the branch? [17:16] fullermd, ah ha, that sounds like a sane way [17:16] i was trying to do a bzr diff > and then patch it [17:16] Oh no. What will taht do to my reputation? [17:16] but there are all kinds of renamed files and whatnot [17:16] it was messy [17:17] lamalex, oh, i forgot about that [17:17] lamalex, fullermd has a decent solution :-) [17:17] indeed [17:18] oh my god that worked perfectly [17:18] fullermd, you're a genius [17:19] bzr send --no-bundle may also work [17:19] i'm not sure though [17:19] fullermd, do you work for canonical btw? [17:19] * fullermd buffs his nails on his shirt and looks haughtily down on everyone. [17:19] Oh, no. They'd make me run Linux and code in Python. Who wants that? [17:21] ha [17:21] zing [17:21] isn't it odd, some people /like/ coding in python [17:21] * lamalex shudders [17:22] many, in fact :-P [17:22] Stockholm syndrome is a terrible thing :( [17:22] some people like coding in obj-c [17:22] which is even worse [17:22] It could be worse though. I know a guy who LIKES COBOL. [17:23] He has such scornful pity for the poor fools who don't like it, too. It's incredible to watch. [17:28] fullermd: you imply he's still alive ? [17:28] Well, I dunno if you'd classify COBOL programmers as "alive" in any meaningful sense... [17:29] well, zombies walk but they don't TALK [17:29] * fullermd _wishes_ he didn't talk... [17:29] on the other hand, I heard you could do subroutines and even pass parameters in COBOL these days... [17:30] He's actually so far off in his own world, it's impossible to argue with him about anything. [17:30] and did they fix the compiler saying: 'You miss a period here, it's a fatal error, but I will assume there is one so I can show your all your other errors' ? [17:31] He can actually say, with a straight face, that COBOL is totally relevant because it's kept up with the times, since it has all the modern bells and whistles like (I'm not making this up) while and for loops. [17:32] that also reminds me of this guy writing perl scripts to generate visual basic that inject data in excel documents... [17:32] fortunately I only *heard* about him [17:32] I use a perl script to generate my window manager config on the fly... [17:33] fullermd: pff, you miss the vb part, too easy, doesn't count [17:33] At one time I had perl in my shell rc file too. Only has sed and awk now, though. [17:34] (at this point of course we x-ref the classic Know Your Sysadmin :p) [17:38] :) [19:15] hi jelmer [20:27] hi [20:27] hi poolie [20:28] are you up early? :) [20:29] i am [20:30] how are you? [20:31] good thanks. saw you had the flu, over i hope? [20:31] yes, fine now [20:33] cool. we're just about to get into that season here, not looking forward to that... [21:04] poolie: Didja know Martin Poole is a character on a Canadian TV show? http://www.imdb.com/character/ch0184436/ [21:06] i did not [21:06] poolie: it was rather bizarre watching for me. [21:19] statik, hi? [21:19] hi poolie [21:40] jelmer, hey [22:00] Noldorin: hi [22:00] how's it going..? [22:11] Noldorin: it's alright [22:11] how are you? [22:11] good good [22:11] g'morning poolie, statik [22:11] haven't had chance to do much more investigating [22:11] jelmer, how about you? [22:11] Noldorin: been busy with other things all day too [22:11] I'm going to have a look now, but might fall asleep before I have a chance to... [22:12] hi jelmer [22:12] well, it's a great day to bisect intermittent kernel bugs [22:12] but i think i will anyhow [22:13] poolie: check out revision, recompile kernel, reboot, repeat? [22:13] yeah [22:13] i'm going to start just with the various sub-versions of packaged kernels [22:16] for bug 833479 fwiw [22:16] Launchpad bug 833479 in linux (Ubuntu) "e1000e connection drops out" [High,Incomplete] https://launchpad.net/bugs/833479 [22:18] jelmer, can i just confirm you started the process for 2.4.1 into oneiric? [22:19] poolie: yep - the package built fine, it's just waiting to be uploaded now [22:19] great [22:19] that was really pretty smooth [22:19] jelmer, ok sounds good :-) [22:19] jelmer, looking forward to the 2.5b1 release tomorrow too [22:26] jelmer, something tells me the fix is going to be very small....just difficult to figure out [22:26] Noldorin: I think the fix will be trivial once we have a test that reproduces the issue [22:29] jelmer, you were away earlier today, but i offered to send you my powershell script... [22:29] if you like [22:29] but you know how to reproduce it anyway i think [22:29] Noldorin: thanks, but I don't have powershell here (Linux) [22:30] unless your script reproduces the issue in less revisions that the original branch? [22:31] jelmer, afriad not. everything happens at r47... [22:31] it should still happen with the contents of r46 and the problematic changes [22:33] that's what i mean yeah [22:33] my script shows that [22:33] we discussed it yesterday :-) [22:35] Noldorin: I mean, if you commit the entire set of contents of r46 in a new branch as r1 and then make the same problematic changes that triggered the bug in your r47 [22:37] anyway, time for some sleep. g'night [22:42] night [23:53] GRiD, hi? [23:53] hi