[00:01] jam: do you want to talk about parth's patch ? [00:06] jelmer: feed-pqm will take the lp commit message and Just Work [00:06] poolie: I'm going to mail the bzr list about savannah now, unless you want to? [00:08] go for it [00:18] lifeless: does it make sense that we should not have to import xml when doing bzr status on a 2a branch, or am I missing something. [00:19] lifeless: I haven't had feed-pqm working yet [00:19] * jelmer tries to remember what was wrong last time [00:19] lifeless: I cant work out if the inventories are stored in xml or bencode [00:20] jelmer: please give it a shot and file a bug [00:20] jelmer: I want to stabify to death pqm-submit. [00:20] GaryvdM: in 2a? neither. [00:20] GaryvdM: commit objects are stored in bencode I think. [00:20] early CHK formats used xml commit objects [00:21] lifeless: Cool [00:30] lifeless: :-) [00:30] lifeless: will do [00:59] morning [01:02] Morning igc [01:02] hi GaryvdM [01:06] +1 re pqm [01:06] hi igc [01:06] hi poolie [01:06] igc, can you catch up with jam sometime to hand over windows build stuff? [01:06] poolie: sure [01:19] \o/ I'm down to inbox 72 [02:05] bbs, grabbing lunch === magcius_ is now known as magcius [04:13] is there a way to "undo" a rename? [04:13] I did bzr mv --auto and it's pretty far off [04:14] eric_f, mv --after to put it back the way you want [04:28] lifeless, does anything else need to happen on 2.1.2 and 2.2b3? [04:29] could you try to push the former into SRUs and backports? [04:29] poolie: I've put 2.1.2 forward for lucid already [04:30] I haven't done anything for backports, as you say its probably finding the right person to tickle [04:30] poolie: I put the 2.1.2 lucid SRU forward on friday [04:30] great [04:31] there is a bug asking for a backport... [04:33] I believe so [04:33] you've commented on it before. [04:36] What does an asterisk by a file mean in the 'bzr status' command? [04:37] My Google search only turned up a bug report that it wasn't documented, but not what it actually means. [04:37] it means it's either gained or lost the execute bit since the last commit [04:37] Ah, thank you. [04:38] Someone wielding chmod -R 777 wildly would probably cause that to show up on a lot of files, correct? [04:47] yes [04:47] Jaearess: yes [04:50] spiv: sigwinch is done, yes? [04:52] lifeless: gosh I hope so! [04:52] just updating kanban [05:17] Hmm. [05:17] That was odd. [05:17] My internet connection mostly dropped out... except I could still reach Google. [05:17] spiv: ! [05:17] Then Mary came home and the rest returned! [05:17] spiv: anyhow, while I'm looking at Kanban [05:18] So, you were asking about sigwinch: yes that should be done -- we no longer register a sigwinch handler :) [05:18] do you want to confirm that you're (removing relocking, doing merge-subdirs) [05:18] which are the two things in kanban with your name on them [05:18] Yes, confirmed. [05:18] if you're not doing either, we should put it back in the backlog [05:19] I'm not actively doing removing relocking. [05:19] But it is a background task I nibble at from time to time. [05:19] right [05:19] I don't think we've got a good way to really show 'not significant time' tasks [05:19] which I think that that falls under, no ? [05:20] 16:18 < bob2> yay, exetel plugged their international link back in [05:20] spiv: ^ [05:21] lifeless: ah, although it affected some .au stuff for me as well! [05:23] probably peered stuff [05:31] sign MS [05:31] please, if you're going to make a free virus scanner, don't make it broken. [05:31] you've got the dang OS source code in front of you. [05:40] Sure, but who can read it? [05:43] fullermd: their staff can, one hopes [05:45] Aw. You're so coot when you're optimistic :) [05:47] ha! [05:47] fullermd: http://preachsecurity.blogspot.com/2009/06/microsoft-security-essentials-road-test.html [05:47] fullermd: "Overall some things that I noticed is that the engine's real time protection is a little lacking, as it rarely (only once) caught the piece of malware as it was being unzipped, and typically only when I attempted to actually run the file." [05:56] oh and https://support.mozilla.com/en-US/forum/1/542294 [05:57] for added value 'ms virus scanner breaks firefox. Yay.' [06:00] lifeless: most clergy have their holy books right in front of them, and really can't decipher them in any meaningful way, either. ;) [06:00] mneptok: I'm not sure fiction counts as source code ;P [06:01] lifeless: tell that to HURD developers. [06:01] LOL [07:23] hi all [07:23] poolie: ping, quick chat ? [07:24] poolie just popped out for a bit [07:24] try him again in 20 [07:24] gnight [07:25] lifeless: thks, g'night === radoe_ is now known as radoe [08:25] hi vila [10:16] hey guys,, had a weird thing just happpen [10:18] i was changing permissions for access to a bzr repo/working copy to run on a server, the two users in question were in the same group, so i rann chmod -R 775 bzrrep/ where the working copy and standalone repo is on the server, [10:18] then as the second user i tried bzr up(i'd just pushed up a change from my local machine) but i'd failed to update permisisons .bzr.log, it ran the update and also gave an error saying permissino denied on that log file,,, problem is nwo when i run bzr st as either user in the working copy, everything is marked as modified. [10:19] i don't think it was doing that before now, though i didn't happen to check [10:19] Well, you set the +x flag on every file in the WT; presumably most of them didn't have it before, so that WOULD be a modification... [10:19] ohh, format: pack-0.92 is that out of date. [10:19] ahhhh [10:19] fullermd, of course, duh [10:20] so ye, it's got that change marked,, any wya to get it to disregard that change? [10:20] Disregard? No. You could use revert (or another chmod) to undo it. [10:20] or would i be better checking it out to a parallel directory location as the new user i want to switch over to using? [10:51] is there a command to update bazaar to a newer version? i'm using windows [10:52] bzr help commands didn't show it, neither did few minutes of googling:p === nlisgo_ is now known as nlisgo === thunderstruck is now known as gnomefreak [14:17] flam: no, windows doesn't work like that. download and run the new msi. or a debiant install cd. [14:18] -t [14:42] hi, sorry for silly question, but i have problems w/ group permissions while using bzr+ssh [14:43] i set umask in /etc/profile to 002 and it works in shell, but while pushing repo to server the repo is rw-r--r-- any clue? [15:10] starenka__: google points to this: https://lists.canonical.com/archives/bazaar/2007q3/027560.html [15:11] thanks. i made a "wrapper" script in /usr/bin/local/bzr which sets umask and runs bzr [15:11] it works like a charm [17:12] jam: ping [17:17] hi parthm [17:17] jam: hi, i was thinking some more about the `bzr st` bad ignore pattern [17:18] i am somewhat divided between warning / error but am leaning towards error. if we have a bad pattern other commands like `add` and `ignored` would fail anyway. [17:19] i am not sure if there are others. so it may be better to fail quickly and have the user fix it sooner than later. [17:21] there could also be a case that a user ends up pushing a bad pattern to their server/lp. as .bzrignore is already added. its just a `bzr ci` and `bzr push`. [17:21] so failing on `st` may be a good idea. [17:22] parthm: why would add and ignore have to fail? [17:22] the point is that, especially right now, people may have a bad config [17:23] having it fall over when it used to work is bad [17:23] having it fall over *in general* is bad [17:23] I don't feel super strongly [17:23] but we've done the 'error early' in the past [17:23] and generally it has provided worse user experience [17:24] as a minor misconfiguration in X [17:24] suddenly blocks Y and Z from working at all [17:25] jam: `ignore` works, it issues a warning and discards the bad pattern. [17:26] even if the pattern was already in the file? [17:26] `ignored` fails as we compile all ignored patterns (99 at a time) into one pattern. so we cant selectively ignore. [17:27] you certainly *could* [17:27] jam: yes. if a file has a bad pattern, `ignore` would still work. so it issues a warning about the pattern on the command line. if the tree is processed, then a followup error is shown about the existing bad pattern. [17:28] parthm: the problem is that if we filter out the bad pattern from the disk content we make it harder to get the right pattern [17:28] since the old one is gone [17:28] it may be a fair trade [17:28] but something to be thought about [17:28] jam: we don't filter out the bad pattern from the file. filtering is only for the command like. we display an error message for the pattern in file. [17:30] jam: http://pastebin.com/fMWtEUjc [17:30] so for compiling, we could certainly attempt the 100-way compile and if it fails rollback === deryck is now known as deryck[lunch] [17:31] jam: i am not sure i understand. are you talking about `ignored`? [17:31] yes [17:31] but also statu [17:31] status [17:31] add, etc [17:32] jam: what do you mean by try the compile and rollback? [17:40] parthm: try to compile all 100, if it fails, compile them individually to find the one that failed [17:41] jam: thats whats done in the current patch. the current patch allow the operation to happen, if there is an exception, it processes the file to find the bad pattern and displays it along with the error message. [17:41] so why does ignored *have* to fail? [17:42] jam: so are you suggesting we retry after filtering out the bad pattern at runtime? [17:42] That is what I've been suggesting, yes [17:44] jam: IMO once the user has a bad pattern in the file he would sooner or later end up with a problem so it may be better to just error out pointing to the pattern. [17:44] i don't think existing installation would have a bad pattern as it would make bzr crash. [17:44] parthm: the difference is whether someone can still finish what they were trying to do [17:44] *before* they have to fix everything [17:44] or if they have to drop their train of thought [17:45] and go handle this thing [17:46] jam: i agree with your point on 'train of thought' but the results of a command e.g. `ignored` may not be what the user expects due to the skipped pattern. [17:47] parthm: that is why we give a big warning [17:49] jam: i suppose being a ui thing there is no obviously right answer :) [17:50] jam: i will paste this chat on the merge proposal and probably others can chime in with their views. [17:58] How can I add stuff to the bzr wiki? [17:59] C-S: You should be able to create a login and edit it. [17:59] C-S: What do you have in mind? [18:00] parthm: I just added qbzr and bzr-explorer to the FreeBSD port system. That needs to be reflected in the downloads sections of qbzr and bzr-explorer. [18:00] C-S: cool :) [18:01] parthm: indeed. bzr-git and bzr-svn are under way :-) [18:01] C-S: yay! [18:01] parthm: which means we will have all necessary tools easily installable on FreeBSD! [18:02] parthm: here is an example: http://www.freshports.org/devel/bzr-explorer/ [18:02] C-S: thats pretty neat. it should make things very convenient for a lot of users. the plugins you mention have dependencies and not the most convenient to install. [18:03] parthm: right, that makes it much easier. bzr-svn requires subvertpy for example and bzr-git dulwich. The FreeBSD ports system installs them automatically as needed [18:03] parthm: I had to port subvertpy too, of course. [18:04] C-S: you can probably mention this on the bzr mailing list. there may be interested parties there too. [18:04] parthm: You can have a look at the respective Makefile where all the dependencies are mentioned: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/bzr-explorer/Makefile?rev=1.1;content-type=text%2Fplain [18:05] parthm: good idea. I am not on these lists though. Do you have a link? [18:05] C-S: i was a FreeBSD user for quite some time. been on ubuntu for about 2 years now. [18:05] parthm: FreeBSD is a beauty. You should consider a switch :-) [18:06] parthm: I'm massacring bzr-grep for fun, please review when I'm done [18:06] parthm: cool. I am already working on a port for bzr-grep. Are you the maintainer? [18:06] mgz: sounds good :) [18:06] C-S: yes. i am the maintainer for bzr-grep [18:07] parthm: if yes. please post your releases on launchpad. that makes it much easier for me to grab the latest copy. [18:07] parthm: otherwise, I have to download via bzr and release 0.3.0 myself. [18:07] parthm: that is annoying. [18:07] parthm: second, that way, I'll have a second backup download site [18:08] C-S: do you mean a tarball? [18:08] parthm: right [18:08] parthm: by the way. bzr-grep is absolutely great [18:08] C-S: will do. [18:08] C-S: good to know :) [18:08] parthm: cool. Many many thanks. You make my life easier. [18:09] parthm: as you know, people of FreeBSD don't want to release updates via bzr or some VCS. It just doesn't make sense for the average user [18:09] parthm: so, tarball would be great :-) [18:09] C-S: i agree. [18:10] parthm: Great. So, I wait for your tarball and will then continue on the port. [18:10] while I have you right here: [18:10] line = line.decode(_te, 'replace') [18:10] why? [18:10] and... wha? [18:10] this is a raw line from a file we're greping through, [18:10] C-S: when i was a casual bzr user i myself preferred installing it via apt-get on ubuntu. have been thinking of creating a ppa. [18:10] that we want to print *to* the terminal [18:10] why are we *de*coding it in the terminal encoding? [18:10] parthm: sorry, but what is a ppa? [18:11] parthm: something like a package? [18:11] C-S: ppa is the package system for ubuntu. [18:11] parthm: Ok. Sure, I agree, packages/ports are so much easier for most people. [18:12] mgz: thats probably a bug then. my unicode-fu is not the best :( ... could you file a bug? [18:12] parthm: and you usually have bugs in development, so it makes sense to stay with the official release as long as posible. [18:12] parthm: anyway. many thanks. [18:12] I'll just fix it when I'm done with this consolidation [18:12] C-S: thanks for the freebsd ports :) [18:13] parthm: sure. Its a pleasure. [18:13] I might break some things, am touching a lot of code branches, but if I do, it's your tests fault :P [18:13] mgz: great :) [18:13] mgz: yes ... i think the tests should be sufficient. if not will add some more :) [18:18] mgz: what are you looking into regarding bzr-grep? [18:19] well, what I *started* looking at and what I'm doing are... nothing like each other [18:19] I'm currently deleting code. [18:19] I wanted to do some unicode things. [18:19] hmmm: [18:19] a = '\x1b[35m\x1b[35mfile0.txt\x1b[0m\x1b[1;36m:\x1b[0m\x1b[1;31mfoo\x1b[0m is \ [18:19] x1b[1;31mfoo\x1b[0mbar1\n' [18:19] b = '\x1b[35mfile0.txt\x1b[0m\x1b[1;36m:\x1b[0m\x1b[1;31mfoo\x1b[0m is \x1b[1;31 [18:19] mfoo\x1b[0mbar1\n' [18:20] I think I better go back to longer ansi sequences for the moment, to avoid confusing the tests [18:20] Can't you use an \e to help those [18:20] ? [18:20] oo, but I've duped the lead in. [18:20] * mgz fixes that [18:21] mgz: the unicode support is probably not the best in bzr-grep. this was before i really actually understood unicode :P .. not that i get it fully yet. [18:21] well, it's largely not your fault anyway, you're kinda stuffed on knowing what the file contents are [18:22] anyway, so what I'm doing currently is making bzr-grep a bit slower so I can delete some code, and make it faster [18:22] what it comes out the other end like, I have no idea [18:22] mgz: i am glad to have another pair of eyeballs on bzr-grep. thanks. [18:23] okay, I'm just gonna change the test on that bit, saves an ansi switch [18:23] bom ta dom ta dom [18:24] well, its getting late here. goodnight. [18:25] night! === csgeek_ is now known as csgeek === deryck[lunch] is now known as deryck === TheLyle is now known as IslandUsurper [19:25] mgz: ping [19:25] boingy. [19:27] vila: any fun progress on leaks? [19:27] yeah, a robust socket server in a thread, with fresh tests [19:28] Oh, and clear road ahead to turn my experiments into production [19:28] mgz: see my pm ? [19:46] can anyone tell me how to dig around in a bzr .pack file [20:21] ompaul: in general, the contents aren't going to be very friendly to generic digging, is there something specific you are trying to do? [20:25] just curious to see what happened historically [20:25] ompaul: trying to see the history of individual files? [20:25] jam, I have a 30 meg pack file [20:26] out of 42megs [20:26] kind of like s2n :) [20:26] ompaul: you might be interested in https://edge.launchpad.net/bzr-repodetails [20:26] ompaul: we collapse pack files over time [20:27] ok [20:27] thanks [20:27] so that 30M is probably the bulk of your history [20:27] it is since day one [20:27] jam, thank you for that [20:28] * ompaul wanders off to share this new clue file [20:53] vila: hi [20:54] vila: what did you find to be the cause of the leaks? [20:54] * vila waves [20:54] the cause was known for a long time: http server threads, [20:54] I've found some server in the sftp area [20:55] The main source of problems was uncaught exceptions in these threads especially when I started closing their socket from *another* socket [20:56] hi vila, go to bed :) [20:57] jam: hey ! Yeah, yeah, bed, good [20:57] vila: ok cool [20:57] vila: uhm, the paste web server has code to kill threads [20:57] hi jam [20:57] lifeless: ouch, somebody creamed you in bym [20:57] yeah [20:57] lifeless: *kill* threads ? Via a C extension ? [20:57] took them 6 waves of 48 ichis [20:58] and then 2 more waves to get resources [20:58] vila: ctypes; have a look at it [20:58] lifeless: yeah, I find that putting ProjectX in there actually helps a lot [20:58] 2 X's is as much dps as the other 41 Ichis, and if you stagger them correctly, they usually help to take out a tower or two [20:58] lifeless: that would complement what I just did quite nicely.. I'll check [20:58] (if a snipe focuses them they go down in 2 hits, though) [20:59] jam: i think she was pissed that in 4 waves I made a pretty deep dent in her yard [20:59] lifeless: who? [20:59] april [20:59] the person who attacked me [just a random neighbour] [20:59] sorry, can't help, not in my neighbor list :) [21:00] :) [21:00] jam: I was looking at kanban [21:00] yesterday; I'm wondering if its a little stale [21:01] are you stil working on win32 installer scripts, historydb, fetch perf and annotation caches ? [21:02] lifeless: the historydb stuff is pretty much done, so I moved it over [21:02] the rest, yes [21:07] abentley: do you know how to deal with "bzr: ERROR: Format Checkout reference format 1 cannot be initialised by this version of bzr." and a broken branch when using reconfigure-pipeline? [21:08] well, I've got my branch back, but I have no idea what the error was telling me to start with [21:13] ah, API issues due to colo change [21:14] fixed by pulling bzr-pipeline, thanks abentley [21:20] james_w, happy to help :-) [21:34] I logged into a client's box to try to un-fubar some of their recent work. @ a 'bzr pull' I get "bzr: ERROR: exceptions.ImportError: cannot import name LogicalLockResult" ( more -> http://pastebin.com/EbC5jCf5) [21:34] New one on me ... though I notice they've bzr 2.2b3. Sound familiar to anyone? [21:42] bendj: sounds like api skew, where some of there modules are up to date, and some are not. [21:42] Since 2.2b3 isn't packaged yet (I believe) you might try deleting the existing install, and installing from scratch again. [21:43] jam: k. brb ... [21:55] ok [21:55] some to overhaul branch cloning a it [21:55] *bit* [21:55] jam: cleaned house, dropped back to a 2.1.0 tarball, up'd to 2.2b3 trunk, reinstalled modules. back in business ... except for one plugin: dulwich [21:56] getting, [21:56] Pulling /usr/local/lib/python2.6/site-packages/bzrlib/plugins/dulwich from bzr+ssh://bazaar.launchpad.net/~vcs-imports/dulwich/trunk/ [21:56] Not a branch: "bzr+ssh://bazaar.launchpad.net/~vcs-imports/dulwich/trunk/". [21:56] bendj: "bzr pull --remember lp:dulwich" [21:57] I'm guessing the trunk location moved [21:58] jam bingo. thanks! now back to our regularly schedule un-fubaring ... [22:15] lifeless: hi [22:15] hi [22:16] lifeless: are you aware of a good way to store version info in a single file? [22:16] you mean like bzr version-info ? [22:16] lifeless: I'd like it to be available from both __init__.py and setup.py [22:17] but there doesn't seem to be a good way to do that that doesn't break BZR_PLUGINS_AT and 'bzr plugin-info' [22:17] jelmer: The least terrible option I've heard is to keep it in package/version.txt and read it from setup.py and __init__.py. But clearly there are plenty of pitfalls there. [22:18] exarkun: yuck :-( [22:18] jelmer: how does it break things? [22:18] lifeless: they don't support relative imports [22:18] so 'import info' from __init__.py doesn't work [22:18] what! [22:18] it sure should [22:19] it doesn't work when using BZR_PLUGINS_AT [22:19] sounds like a bug in BZR_PLUGINS_AT [22:19] theres no reason it shouldn't work [22:19] ok, that's easy then [22:19] lifeless: there is one: it's a bug :-( [22:20] I fixed a bug in plugin-info a short while back to permit doing this [22:20] so it *was* working [22:20] vila: sounds like BZR_PLUGINS_AT isn't finished then. [22:20] it works when not using BZR_PLUGINS_AT [22:21] the problem is that during the import of the plugin's __init__.py the module path is not set, so plugins that are fully lazy work (the module path *is* set *after* the __init__.py file load :-/ [22:21] I've been using it for quite some time and I remembered 'bzr plugin-info' was broken [22:21] but it works now :) [22:22] lifeless: it escaped the tests... I have some idea about a possible workaround but no time to investigate [22:22] namely: force a dummy module with the right path into sys.modules [22:22] but I don't know if python will like that... [22:22] vila: should I file a bug? [22:22] jelmer: sure [22:22] vila: I have no idea what BZR_PLUGINS_AT is doing, but I suspect its about 1000 time more complex than needed [22:23] :) [22:23] lifeless: if you can cut the number of lines by 1000, I'll give you a bottle of champagne :) [22:23] vila: :P [22:24] lifeless: I went with the lightest way I could think of relying on... some python provided load_module which obviously doesn't address this "detail" :-) [22:26] vila: load_module in plugin.py ? [22:27] lifeless: yeah, it uses imp.locad_module and then set the mod._path__, this 'mod' is then inserted into sys.modules by python I think [22:28] s/locad/load/ [22:50] vila: do you need help with it [22:50] lifeless: to try that ? No, I need time :-/ [22:51] I thought I was the only one blocked by it and went with creating a symlink in bzrlib/plugins instead (temporary :-/) [22:51] yeah, I know, I should have filed a bug, bad vila [22:52] go sleep