[00:07] mwhudson: the puller has to write to submit requests :) [00:07] oh truw [00:07] i was thinking on the wrong level [00:20] mwhudson: that's it [00:21] i think i can safely promise that if the direction is read or write it will only mean that we're actually reading or writing [00:23] jelmer: is that new dulwich branch pushed yet? [00:24] mwhudson: dankje [00:24] poolie: you can? do you mean reading or writing to a socket? [00:24] mwhudson: argh, wrong channel [00:24] :) [00:24] mwhudson: I meant yes [00:24] wrong language too [00:24] ok [00:24] lifeless: can't I? yes. [00:24] fun and games with hardware: [00:24] https://bugs.edge.launchpad.net/ubuntu/+source/dmraid/+bug/372170 [00:24] Ubuntu bug 372170 in dmraid "intel isw raid metadata at odd offset" [Undecided,In progress] [00:25] my new machine :( [00:25] jelmer: r296 is good now? [00:25] mwhudson: yep [00:25] jelmer: thanks [00:29] lifeless: ping [00:29] kingos: hi [00:29] lifeless: hi. sorry to keep bugging you ... [00:30] lifeless: any update on that bug of mine? I have some colleagues who would massively appreciate an increase in performance of our bzr setup! [00:30] kingos: no - swamped with network issues - three critical bugs [00:30] kingos: I do want to get to it [00:30] lifeless, igc, jml, others: spiv is still away today [00:30] lifeless: ah ok thanks. are you the only person who could help? [00:31] poolie: thanks. [00:31] kingos: I don't think I am [00:31] kingos: vila might be in a position to help sooner though [00:31] lifeless: I imagine it will be quite tricky, something to do with *ghosts* I imagine from my infrequent reading of email lists (not that I know what they are)! [00:34] I would have a go myself if I had the first idea where to start. [00:38] which bug is this? [00:39] bug #356028 [00:39] Launchpad bug 356028 in bzr "bzr check fails with KeyError" [Undecided,New] https://launchpad.net/bugs/356028 [00:40] we have a problem with our repository that is stopping us from upgrading. [00:40] jelmer: I mailed you a consistency issue the other day [00:40] jelmer: is it the same one as inkscape triggers? [00:46] lifeless: no, I'm not sure what that one is exactly [00:46] lifeless: did you see my reply? [00:47] no [00:47] * lifeless looks [00:47] how do we move the inkscape one forward [00:48] lifeless: somebody with enough knowledge of the internals needs to have a look at why bzr thinks it needs the lhs parent even if that's not necessary for the delta [00:49] jelmer: can I help you learn that knowledge? [00:49] lifeless: lhs parent of a text [00:54] lifeless: I'd rather focus on bzr-git for now, not sure I want to dive into pack internals === dereine is now known as dereine[OFF] [00:58] brb, fooding [01:13] morning [01:41] abentley: is BB down? [01:53] hello igc [01:53] hi poolie [02:10] poolie: I can't skype yet on this new machine [02:11] poolie: and as we haven't stood up; let me say I'm working on https://bugs.edge.launchpad.net/bzr/+bug/360791, and after that I plan to go and redo check; check is part of the upgrade process and its way to slow [02:11] Ubuntu bug 360791 in bzr/1.14 "get_stream on stacked branch causes "Error received from smart server: ('NoSuchRevision',)"" [Critical,In progress] [02:12] I don't know that I can make it hugely faster, but I want to stab at it [02:23] that makes sense [02:24] last time i looked it was very inefficient, reading things several times [02:24] it's pretty old code [02:24] so i think you'll find some tasty fruit [02:24] i'm reading the subtree related threads [02:24] i mean nested tree [02:39] igc: restarted. [02:39] abentley: thanks [02:41] poolie: did I tell you, my new machine is 4-core on die? [02:41] yes [02:45] still buzzing about that bit :) [02:45] hyperthreading on top of that [02:47] lifeless: *8* cpu whatsists!?!? [02:47] spm: yup [02:47] *awesome*! [02:47] spm: i7 920 [02:48] now I just need to get eucalpytus up locally, then I can use ec2test @ home :P [02:48] ha! [02:50] BasicOSX: uhm [02:50] BasicOSX: 1.13.2 is looking rather close to bzr.dev ? [02:52] BasicOSX: rev 4113 looks to me like you merged _all_ of bzr.dev, or bzr1.14 or something [03:02] * poolie tries to avoid being distracted to read about i7s [03:04] :> [03:04] I have a fix for bug 360971 [03:04] Launchpad bug 360971 in gnome-app-install "gnome-app-install crashed with ValueError in _refilter() (dup-of: 339148)" [Undecided,New] https://launchpad.net/bugs/360971 [03:04] Launchpad bug 339148 in gnome-app-install "gnome-app-install crashed with ValueError in _refilter()" [High,Incomplete] https://launchpad.net/bugs/339148 [03:04] erm [03:04] not that [03:05] I have a fix for bug 360791 [03:05] Launchpad bug 360791 in bzr/1.14 "get_stream on stacked branch causes "Error received from smart server: ('NoSuchRevision',)"" [Critical,In progress] https://launchpad.net/bugs/360791 [03:05] yes, that [03:11] yay way to go [03:17] lifeless: i got approval for the patch recommending use of lp reviews so if you don't yell i'm going to merge it [03:17] if there are questions or problems we can improve it later on [03:17] thumper: ^^ [03:18] dogfood tastes good [03:19] poolie: I saw the patch :) [03:20] poolie: I would like more docs myself; its fine to say we shouldn't document it in that file, but we _should_ link to appropriate docs [03:20] well, i did link to 2 or 3 existing docs [03:20] poolie: oh, I may have missed that [03:20] if there are more that should be linked, or written and linked, let's do it [03:20] i also filed a bug asking for more detail, [03:21] bug 372057 [03:21] Launchpad bug 372057 in launchpad-code "code review help doesn't mention making proposals by mail" [Undecided,New] https://launchpad.net/bugs/372057 [03:21] np [03:25] jml: is there a 'reviews I need to do' page in lp? [03:25] lifeless: not cross-project. [03:26] a) is there a bug asking for one? Is there one per-project that lists 'reviews I need to do' then? [03:26] lifeless: there's https://code.launchpad.net/bzr/+active-reviews, for example [03:26] (maybe without the hyphen) [03:26] lifeless: yes, there's definitely a bug asking for one. [03:26] rockstar was working on it [03:26] I might well have filed it :) [03:27] lifeless: https://code.edge.launchpad.net/bzr/+activereviews [03:27] ok [03:27] jml: if you could toss me the bug asking for it, I'll me-too it [03:28] mwhudson, I'm working on it right now. :) [03:28] lifeless: https://bugs.edge.launchpad.net/launchpad-code/+bug/325985 [03:28] Ubuntu bug 325985 in launchpad-code "Page that shows reviews I *must* do and reviews I *can* do" [Medium,Triaged] [03:45] lunchish stuff then check() [03:51] * igc lunch [04:04] how can there get to be reviews one *must* do ??? [04:05] * SamB wonders if this involves a phb:employer-of RDF relation [04:06] * SamB wonders why you people eat lunch at such odd times [04:06] SamB: reviews someone has specifically asked *you* to do, as opposed to asked a team you are in to do [04:07] mwhudson: OHHH [04:07] I see [04:07] that sounds an awful lot simpler to implement than what I was thinking ;-) [04:07] heh [04:08] "if you haven't done this review by the end of next week we will kidnap your first born child" ? [04:08] so it's "reviews wanted of *me*" vs "reviews where I'll *do*" [04:09] push vs pull [04:10] yar [04:17] igc, hi? [04:18] hi poolie [04:18] lifeless, mwhudson: lp-needs is ok by me [04:20] igc, can we have a chat? [04:21] poolie: of course [04:22] poolie: http://paste.ubuntu.com/165270/ [04:22] poolie: just call me on pots or skype when you're ready [04:22] poolie: could you very quickly eyeball that [04:22] ok [04:22] poolie: I'm seeking a 'sounds plausible' or 'eww' [04:22] lifeless, others: btw [rfc] how about deleting the very old pre-brisbane-core performance documents from the tree? [04:23] poolie: many are still relevant; I do agree we should houseclean a little [04:23] yes, of course keeping the relevant ones [04:23] that pastebin seems plausible [04:24] the other things i have in mind are: [04:24] there are some checks that may be format-specific, some that may be done more efficiently in a format-specific way, but some should be done regardless of format (this is vague) [04:25] and also that it may be useful for it to not abort on the first error if possible but rather tell us if there's more than one [04:25] as far as ui i'd like it to be more clear by default if everything is ok [04:25] at the moment normal output sometimes disturbs people [04:26] so something like "checked %d revisions in %d branches; everything's ok" [04:26] and then otoh if there is a problem giving data that will help with a bug report with few roundtrips wbn [04:26] naturally ;) [04:26] i have all those things in mind [04:27] at the moment I'm trying to architect a flow that will be easy to code and debug, but scale well etc [04:27] which is what that doc trys to get at [04:27] I will add those other things to the doc though, because explicit better than implicit [04:27] lifeless: should check become an alias for reconcile --dry-run one day? [04:29] igc: maybe; reconcile was written with the idea that there are 'small issues' and 'big issues' and reconcile is the 'big issue hammer' [04:30] but perhaps this is wrong [04:33] poolie: I believe http://code.aaronbentley.com/bzr/bzrrepo/nested-trees-loom is the public branch for nested trees === verterok_ is now known as verterok [04:50] poolie: you seem to be repeatedly mailng the same mail [04:51] poolie: I'm up to 4 copies, letting you know now ;P [05:06] sorry [05:07] i kept getting "failed to send the message" [05:58] poolie: when you get a chance, can you land http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Ce01316480903232138n34d2e189w71e7e8ee1f7e255a%40mail.gmail.com%3E please? [06:13] How do you people have the user accounts on their server configured for a central bzr repo accessible via ssh? [06:13] I'm curious how file permissions work in this case [06:14] My goal is to setup an AWS EC2 machine with an EBS to house a central repo for my company's code. There is just two of us with SSH access to the EC2 machine and we want to setup central (master) bzr branches there [06:40] igc, oh thanks [07:08] hi all [07:09] lifeless: 3 things [07:09] vila: yo! [07:09] eferraiuolo: hi; uhm I use lp :) [07:09] 1) Most important first: have fun with your new i7 :-) [07:09] vila: 6 minutes for parallel test [07:10] vila: I suspect your machine is faster or something [07:10] lifeless: 3 here :) i7 965 @3.2 GHz [07:10] ah, i got the 920 [07:10] 2.6G [07:11] hmm, doesn't explain the whole difference then, may be the SSD helps too [07:11] oh, if youhave an ssd that is likely it [07:11] eferraiuolo: what he said; otherwise add accounts for all the other people, make a group-owned directory for the repository and off you go [07:11] I'll try on a tmpfs [07:11] and 12GB RAM... [07:12] but 4 should be far enough :) [07:12] lifeless: 2) Testing and lock noise stipple, can you give a bit of feedback ? [07:12] 3) PQM and unicode [07:13] vila: I got 3GB, for trichannel mode [07:13] for 2- what you and john said sounds fine [07:14] I'm fine with a method to tell the test suite we're about to get rid of a lock [07:14] as for break-lock, I think it should fire a release hook event [07:14] lifeless: it seems that pqm gives ANSI_X3.4-1968 as fs encoding, that means all UnicodeFilenameFeature depending tests are skipped, I thought you filed an RT ticket about that ? [07:15] lifeless: ok [07:15] firing a release hook event in break-lock would make tests that do a break-lock line up, I think? [07:16] vila: I did, let me check [07:16] I should look into that but, a priori, we don't try to balance lock/unlocks precisely (as in cheking the actual locks), we just count the locks [07:16] * * * * * LANG=en_GB.utf8 PQM_CONFIG=/home/pqm/pqm-config/bzr-pqm.conf USER=pqm HOME=/home/pqm PYTHONPATH=/home/pqm/pqm:/home/pqm/source/bzr.dev:/home/pqm/lib/python /home/pqm/pqm/bin/pqm --run --cron [07:17] vila: counting is a rough approximation [07:17] vila: its hard to have the count line up and the physical locks not match [07:17] lifeless: I understand that, on the other hand.. yeah, what you said :) [07:17] specifically, to get a release we have to have locked it first [07:18] lifeless: break lock firing a release sounds appealing, I'll try that first [07:19] so all the releases can be trusted to have had to have a matching acquire; the question then becomes can we have an acquire that doesn't hook properly; or similar [07:19] lifeless: setting LANG doesn't seem to be enough or is not taken into account then: [07:19] yeah [07:19] I suspect dchroot-run or something is mangling it [07:19] Unable to represent path u'\u05e9\u05dc\u05d5\u05dd' in filesystem encoding "ANSI_X3.4-1968" [07:19] ...non_ascii.TestNonAscii.test_ignored(iso-8859-1) SKIP 1ms [07:19] spm: ^ [07:20] and that's from the "normal" run, not the ascii one [07:20] yah [07:20] whee. fun. [07:20] spm: there was a ticket about this, so I'm just going to ask ;) [07:20] I'll tend to consider that encoding problem rather critical as it means we can have some serious regressions go unnoticed [07:21] lifeless: :-) So... what's the problem per-se? as I'm coming a bit cold at this. I gather is a LANG/dchroot issue? [07:21] spm: we set lang around pqm [07:22] it doesn't seem to propogate down to the running tests [07:22] spiv: ... and python think the file system encoding is ANSI_X3.4-1968 (similar to ascii AIUI) [07:22] spm: what we need is LANG set to something present in the chroot, when make is invoked in the chroot [07:22] eerk, s/spiv/spm/ [07:23] vila: is cool - we're used to it - well I am, can't speak for Andrew :-) [07:23] lifeless: hmmmm..... [08:09] lifeless: how about modifying the "precommit_hook=/home/pqm/bin/kill-chroot-processes.sh /srv/pqm.ubuntu.com/chroot-amd64 && /home/pqm/bin/dchroot-run make check" to add the LANG ==> dchroot-run LANG=blah make check ??? [08:11] spm: lets do that [08:12] spm: but please do it with vila [08:12] so that he can send a patch through immediately; cause if it fails it will need to be rolled back [08:13] lifeless: sounds like a plan. [08:13] vila: still around? and able to submit a patch on demand? :-) [08:14] spiv: what kind of patch ? [08:16] AAArgh [08:16] vila: whatever it was that caused the UTF fail earlier. I'll just modify the pqm submit [08:16] spiv: what kind of patch ? [08:16] I wasn't going to say anything :-) [08:16] shudder 'sp' still matches both 'spiv' and 'spm' vila.... [08:16] :-D [08:17] Obviously, the alphabet is conspiring against you. [08:17] vila: you're submitting to pqm against bzr trunk? [08:17] right, so a patch that fails if the fs encoding doesn't support unicode [08:18] I can submit against anything, if you can set up a test branch I can submit against that (but it needs some public access>) [08:18] * vila tries rewiring visual control *before* press-enter control [08:20] vila: cool. ok have modifed for sftp://escudero.canonical.com/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev - so submit to pqm against that whenever you're ready? [08:21] vila: anything really; just want to check that trunk isn't *already* broken [08:21] vila: because if it is it will reject all merges until its fixed. [08:22] lifeless: Oh, I see, I was able to reproduce the problem locally (at least I hope so) and fixed 3 failures where pqm failed on the first, so I'm pretty sure we are safe [08:22] vila: pretty sure != safe :) [08:22] lifeless: indeed [08:22] lifeless: Just wanted to let you know I received your irc message and yes, I was working 1.13.2 and 1.14.1 at the same time so I could have messed something up. I had to work late tonight, just got home (2:22am) and have to be back at work at 8am so I won't be able to look at it until to night. [08:24] BasicOSX: thanks; thats fine. I'm not sure it is safe to do anything anyway. [08:24] spm: submission sent with commit message 'testing pqm unicode support' [08:25] BasicOSX: but it might be something we want to add a step to into the guide ;P [08:25] 1. Do not work on 2 releases at the same time, BasicOSX did this is borked the 1.13.2 release. [08:26] That seems direct and short-n-sweet [08:27] vila: ta [08:27] What I hate about commercial develop, product goes out the door when marketing says it's time to go. /blah... off to bed [08:28] BasicOSX: s/commercial// and s/marketing/sponsor/ :-) This is not always a bad thing but the consequences are rarely well understood [08:32] spm: pqm.bazaar-vcs.org says: Coming up [08:32] 1. [08:32] Wed May 6 08:24:24 2009 UTC: Vincent Ladeuil , Request for non-PQM managed branch. [08:34] spm: if it's simpler I can send the patch against bzr.dev, it's a one-liner, if it fails, your solution is wrong, if it succeeds, your solution is right and I'll send a submission to revert my patch [08:38] vila: that sounds fair. I can easily remove items in the queue... [08:39] spm: ok, resubmitted [08:44] vila: and old submission removed [08:44] vila: how long does pqm take to test bzr these days? [08:45] pfew, no idea, it's fire and forget for me :) [08:45] heh [08:46] oki we'll it's dinner for me. I'll keep checking. if it really breaks and I don't respond soon - ring me via the staff directory or something :-) [08:47] spm: enjoy your dinner [08:47] hello [08:49] I'd like to share my logsearch plugin (in early infancy) [08:49] for some review and suggestions for better API [08:52] zyga: send a annoucement to bazaar@lists.canonical.com and may be bazaar-announce@lists.canonical.com [08:52] zarq: you'll get a wider audience :) [09:00] vila, i will? [09:00] Ok, I'll push the code to a launchpad branch first [09:00] zarq: ghaa, sorry, that was for zyga of course :-/ [09:00] heh ok [09:00] * vila kills a chicken or two [09:02] Hey gang [09:04] hi the tip of a revision are e.g. the 2 revisions which were merged together to one? [09:08] limor: the tip is the most recent revision in a branch, a revision can have several parents, one for usual commits, at least two for merges [09:09] ah ok [09:20] zarq: ocean's wide! [09:20] without the apostrophe even [09:21] spm: pqm is now running the ascii part so your fix seems good [09:21] vila: oh sweet! [09:22] vila: I suspect you killed the correct type of chickens. [09:22] LOL [09:25] spm: 40 minutes or so [09:25] lifeless: ta [09:30] hey gang, quick question: I'm a python and bzr noob, so bear with me: [09:30] bzr-svn isn't working for me, so I'm running "bzr selftest svn" [09:30] But it complains "bzr: ERROR: No module named tests [09:30] Is this a Python module or a bzr module? [09:32] ah ha "bzr: ERROR: No module named tests [09:32] pardon me [09:32] found it: bzrlib.tests module [09:34] vila: that appears to have finished - all good at your end? [09:50] vila: sorry I didn't get to review your http auth patch today [09:50] vila: I'll do it tomorrow if no-one beats me to it [09:50] * igc dinner [09:50] spm: yup, I'll submit a patch to revert [09:50] igc: np, enjoy your dinner [09:51] vila: thanks! [09:51] Magneus: you'd better try 'bzr selftest' or only 'bzr selftest -s bp.svn' [09:54] spm: reverting patch sent [09:54] lifeless: now pretty sure == safe ;-P [09:54] Will do, thanks vila. It seems that bzr can't find my selftest module, however. [09:55] Is there an environmental variable I need to set? [09:55] Magneus: oh, I misread, what does bzr version says ? [09:55] Oh, wait, you're on windows ? [09:55] Gentoo [09:55] 1.14 [09:56] bzr 1.14.1 on python 2.6.1 (linux2) [09:57] Magneus: if that is a gentoo bzr, maybe they've stripped the tests out [09:57] ok, 'bzr version' should tell you where bzrlib is installed, there you should find a test directory unless the tests.. what LarstiQ said :)( [09:58] well, I ls'ed the bzrlib folder [09:58] and found that there is a healthy-looking tests folder [09:58] full of .py files [09:58] Magneus: good, good :) [09:58] which is what has me thinking it's something like an env variable [09:59] Magneus: there usually aren't any env variables involved with running the tests [09:59] Magneus: nope, nothing needs to be set 'selftest' is a first-class command :) [09:59] blah [09:59] Magneus: your ~/.bzr.log might have some clues as to what is going on [09:59] I wonder why it's not finding it, then [09:59] Ah! log files. good stuff [09:59] ty [10:02] ah ha, looks like it's wanting pycurl [10:02] is that requisite for tests? [10:03] Magneus: only for https, it is not strictly required [10:03] or well, not even then per se [10:03] Magneus: so no [10:03] understood [10:04] also getting an error "ImportError: cannot import name ForeignBranch [10:04] Magneus: that sounds like bzr-svn [10:04] hello folks.. [10:05] is there any way to avoid giving the pass in plain text in bazaar.conf when using 'smtplib' ? [10:05] best, can I make it to prompt me ? [10:05] LarstiQ: right you are. I realize I had left the .6 version in my plugins folder just now >< [10:06] much better. back to "no module named tests" [10:07] Magneus: is that now bzr-svn complaining it can't find its tests? [10:07] Nah. simply a "bzr selftest" call [10:07] Let me know if you want to see the traceback [10:07] pastebin it please :) [10:07] http://pastebin.com/d123100bf [10:08] ok, so it's the xmloutput plugin [10:08] ah [10:08] I can axe it if need be [10:08] so xmloutput is trying to import its own tests folder? [10:09] my branch is now online with the exception of exposing some launchpad bug/feature [10:11] Looks like removing xmloutput did the trick [10:12] bzr selftest is running now [10:12] igc: https://code.launchpad.net/~zkrynicki/+junk/bzr-logsearch (if you remember yesterday's chat) [10:13] Magneus: good. If that is the most recent version of xmloutput, it might need filing a bug about that [10:14] Got it. Thanks, LarstiQ. Another question: [10:14] Selftest is finding a lot of little errors, 'str' object has no attribute 'get' - etc etc [10:14] cause for concern? [10:16] Magneus: there aren't supposed to be any errors, I wouldn't get concerned just yet though. [10:18] alrighty. I'll poke around at bzr-svn, then [10:18] I appreciate the help! [10:18] Ha. Segfault on 'bzr selftest svn' [10:24] vila: cool. I'll leave that LANG fix on bzr.dev (only) overnight. I've emailed the other losas so they know of it's existance if you do need a reversion. G'night! :-) [10:25] spm: I think it's fine to deploy it, unless lifeless objects, I see no reason to *not* have it everywhere [10:25] vila: blame it on me being a paranoid sysadmin - doing a "major" change and then buggering off is... not good :-) [10:26] spm: no pb, take your time and enjoy your night :) [10:26] question: If I use a shared repository the revisions of the branches inside the shared repository will be found in the shared repository .bzr and not in the .bzr of the branche as it would be normally? [10:26] limor: yes [10:32] folks: is there any way to avoid giving the pass in plain text in bazaar.conf when using 'smtplib' ? [10:51] the "bzr commit" I started yesterday, committing all of jaunty's source code in one operation, is still running: it's not using much CPU, it's not doing system calls, and it's virtual memory size is 9+ gigabytes, which is more than the physical RAM of the machine [10:52] it doesn't show any obvious progress going on, either [10:52] why would you do that? [10:52] luks, for fun, to see if bzr can handle it [10:52] well, if you wait a day, it obviously can't [10:52] but I don't think I want to wait much longer [10:53] you could find a smaller project to commit to find that out :) [10:53] any bzr devs want me to do something to see if they can learn something useful from this? [10:55] liw: is that with the development format? [10:56] james_w, --development-rich-root [10:59] does this code look good for a post commit hook: http://pastebin.com/d366a9b34 ? [11:00] liw: I suspect its thrashing [11:01] cornucopic: branch.Branch.hooks.install_named_hook should not be indented [11:02] luks, you mean outside the function ? [11:02] Can one define bzr aliases that involve pipes to external programs? [11:02] (diffstat comes to mind) [11:03] cornucopic: yes, it should be executed when the code is imported [11:03] Lo-lan-do: using the bzr-extcommand plugin [11:03] ok. trying.. [11:04] liw: iotop [11:04] luks: Trying that, thanks [11:04] Lo-lan-do: http://bzr.oxygene.sk/bzr-plugins/extcommand/__init__.py [11:04] there are also some examples [11:07] luks, Thanks it works. Here is what I want to do: Since, I don't want my SMTP password in a plain text file, what I want to do is, post commit, I want to call my own code to send me the commit message using the smtp_connection.py.. Is that a good line of thinking? [11:08] cornucopic: is the plain text password in your plugin a better solution? [11:08] I don't see how are you going to avoid storing the password in plain text [11:09] cornucopic: I send mail via a local mta, then it has [root accessible only] the password for forwarding it outwards [11:09] luks, I can prompt the user for the password and have it stored in smtp_password. [11:10] luks: Yay, it works :-) [11:11] cornucopic: you could just set right file permissions on the config file, it will be accessible only by root or you [11:11] unless you are on windows [11:12] Lo-lan-do: of course it does :P [11:12] luks, No I am on Ubuntu :) file permissions is a easy/indirect solution.. [11:12] luks, however I have another idea now.. [11:13] luks, the file which parses the contents of the smtp credentials..if it comes across a smtp_password, field, then it prompts the user for the password? [11:15] luks, i.e. if the smtp_password field is blank. [11:15] luks, Does it sound reasonable? [11:16] cornucopic: I don't know much about hooking into the config system [11:16] cornucopic: definitely should be possible though [11:17] luks, cool! its a post-commit email hook ! [11:17] have to get the bzr sources now! [11:17] bzr get lp:bzr :) [11:18] yep ! [11:21] does it take longer to get the hiostory or a checkout of an branch if I work with an large shared repostiory? [11:21] checkout gets the history too [11:21] yes [11:21] and if you work in a shared repository, it doesn't matter [11:26] hm are there no disadvantage of shared repositorys? [11:27] I don't there is any for a single user [11:27] You can't have different permissions on different branches. [11:28] if you use a single repository on a server where multiple users commit to it, you might find some problems [11:28] locking, permissions, etc. [11:43] is there any IO wrapper used in bzr ? [11:52] what do you mean? [11:56] For eg. Should I use input() for Input or is there a bzr specific wrapper? [12:02] cornucopic: you might want to look into the credential stores in bzr [12:03] lifeless, iotop tells me it's reading a fair big (500-1500 kilobytes per second) [12:03] lifeless, however, strace shows no syscalls, so I agree that virtual memory thrashing is going on === vxnick_ is now known as vxnick [12:06] top does not indicate VIRT size grows much, though [12:06] liw: in and out, in and out:P [12:07] conclusion: if I wait long enough, this will actually finish, but only I'm really patient [12:07] (I'd be more patient with a progress reporter ;-) [12:09] still, I'm glad to see bzr is getting much further now than earlier [12:09] * LarstiQ giggles at larz/johm [12:10] LarstiQ, :-) [12:13] liw: how is your cold? [12:14] LarstiQ, worse than yesterday, so I'll be heading for yet another nap [12:20] I have made a change to smtp_connection.py so that it prompts for a password (masked) when it doesn;t find it in bazaar.conf [12:20] this saves us from keeping our password in a plain text file.. [12:20] Can this be committed a patch? [12:25] cornucopic: the functionality sounds good. If you push a branch to launchpad and propose it for merging into bzr it can get reviewed. [12:26] LarstiQ, awesome ! Should I use the dev branch ? [12:27] cornucopic: yup [12:28] Cool. [12:31] liw: I know 'ole hyvä' is not the right idiom, but I do wish you to be well. === cornucopic is now known as cornucopic|afk [12:59] bwr [12:59] oops === abentley1 is now known as abentley [13:58] how do I go about proposing my patch to be merged? === cornucopic|afk is now known as cornucopic [14:05] Should I directly mail bazaar@lists.canonical.com with my patch ? [14:05] LarstiQ, ping [14:14] LarstiQ, thanks [14:23] zyga: thanks for the link. It sounds like you had some success which is awesome! I'll take a look tomorrow. [14:41] hi [14:41] does anyone here have experience importing a darcs2 repo into a bzr repo? [14:42] i'm trying to use darcs-fast-export and bzr fast-import but things just don't seem to pan out [14:42] if i attempt to pipe the results of darcs-fast-export into bzr fast-import i get an error from darcs-fast-export about a broken pipe [14:43] k4y: the latest fast-import may not work with darc2 repos yet [14:43] if i redirect the results of darcs-fast-export (darcs-fast-export > exp) to a file and pass that to bzr fast-import (bzr fast-import exp) i get: [14:43] AttributeError: 'RevisionStore1' object has no attribute '_load_texts_for_file_rev_ids' [14:43] igc: mmm [14:43] k4y: try bzr fast-import --classic exp and see if that works better [14:44] i thought the point was to emit something in an intermediate format [14:44] k4y: it is. darc-fast-export should generate that format [14:45] k4y: and bzr fast-import *should* import it [14:45] k4y: but ... [14:45] igc: "RevisionStore1" has to attribute "_..." seems like an issue separate from the file format [14:45] specifying --classic doesn't seem to change anything [14:45] darc-fast-export uses a construct, IIRC, that most other fast-export tools don't, namely 'deleteall' [14:46] and I haven't got that fully working/tested in the latest fast-import [14:46] k4y: however, I did leave the old fast-import algorithm available via an option [14:47] which is called --classic from memory [14:47] well, unfortunately it seems that there is a bug in that code [14:47] k4y: so the bug appears whether you use --classic or not? [14:48] correct [14:48] i'm using bzr-fastimport 0.8.0~bzr181-1 on Debian sid [14:48] not sure whether that's old or not [14:48] igc: i can pastebin the complete traceback, if you'd like [14:49] damn. Can you raise a bug please with a small fast-export stream reproducing it? [14:49] k4y: I'm not going to be able to look at it now (just before midnight here) [14:49] hrm [14:50] okay, i'll see if i can find the smallest reproducable stream [14:50] k4y: thanks [14:50] if the stream is large, compressing it is a good idea before attaching it to the bug report btw [14:51] k4y: rev 181 is pretty recent as well [14:53] igc: how does the plugin decide whether to use revision_store.RevisionStore1 or RevisionStore2? [14:54] k4y: I'd have to look at the code === davidstrauss_ is now known as davidstrauss === vednis is now known as mars [15:12] night all [15:18] Bye all! === dahoste|away is now known as dahoste [15:57] LarstiQ: sup? [16:03] ronny: being a bit stuck on proving psi(s) > g(t) on an interval and reverse outside it. [16:03] ronny: that is, been doing math first today. [16:03] and now I need a break [16:03] what better break than inflicting easy_install on myself? ;) [16:04] psi() is... quantum? [16:05] Lo-lan-do: no, defined in terms of linear interpolation between phi(t, h) and g(t), where g is a concave function [16:05] it shouldn't be hard, just need to flex my muscles more [16:06] LarstiQ: i belive easy_install is supposed to die at some point tho [16:06] LarstiQ: and pip is supposed to work, too [16:06] ronny: yeah, I agree. And you're probably right that it is very painful to read. [16:07] Lo-lan-do: (chapter on non-parametric statistical models using kernel density estimators) [16:08] LarstiQ: the best fix would be to just upload to pypi [16:08] ronny: if you have an automated way of doing that? [16:08] and well, from our point of view also not the best [16:09] LarstiQ: why is that not the best, it creates the least indirections, and is a extra mirror [16:09] ronny: ideally, humans would go to the Downloads page [16:10] ronny: or hmm [16:10] LarstiQ: and they would [16:10] but scripts will go to pypi [16:10] ronny: maybe making the pypi page the same as the Download one would work [16:10] ronny: right. I promised you a fix for today, and you will get it. [16:11] im currently trying to get an idea how to teach py.test to run tests in slave virtualenvs === awilkins is now known as ECHELON === ECHELON is now known as awilkins [16:24] ronny: do you have machinery to go through a large set of packages on pypi and check their setup.py/.cfg in an automated way? [16:31] LarstiQ: not really a good one - my current scripts dont check the sucess [16:31] virtualenv + pip could help [16:38] ronny: how about getting a package listing? [16:38] all i do is 2 for loops and invoking virtualenv + easy_install [16:39] hah :) [16:39] http://paste.pocoo.org/show/116024 === cornucopic is now known as cornucopic|away === thunderstruck is now known as gnomefreak === dahoste is now known as dahoste|away [17:26] jelmer: Hi, does http://pastebin.com/f4eb7e154 make sense to you? [17:26] I still can't do a git clone through bzr-upload-pack, but at least this patch seems to get me further on the path :-) [17:28] Lo-lan-do: no, that seems wrong - the parent_lookup function that's passed in is incorrect [17:29] When using --merge, how does bzr-buildpackage unpack the tarball? [17:29] Ah. I'll go back to investigating then. [17:30] Lo-lan-do: the parent_lookup function should basically receive a bzr revid and return a matchiing git sha1 [17:30] vila, ping. Amit Saha h [17:30] Odd_Bloke: tar recently [17:31] vila, I am the one who is talking to you about the smtp patch.. [17:31] james_w: I'm seeing a pax_global_header file created at some point. [17:31] no you aren't, your nick says you're away, I'm just hearing voices :) [17:31] Odd_Bloke: then you have the old buggy version [17:31] vila, Voices it is then :) === cornucopic|away is now known as cornucopic [17:31] jelmer: I see. [17:31] abentley: ping [17:31] james_w: Ah, OK. [17:31] cornucopic: haaa, does it work now ? [17:32] vila, No. Getting SMTP auth error [17:32] interesting, you reverted your patch right ? [17:32] abentley: I'm looking at providing a patch that moves Branch.update_references() -> InterBranch.update_references(). Do you think there is any value in keeping a Branch.update_references() ? [17:33] vila, yes, yes. I have commented out the lines.. [17:34] jelmer: Sounds good. I think we don't normally use Inter objects directly. Do you want to change that. [17:34] ? [17:35] cornucopic: so, what error do you get exactly ? [17:36] abentley: No, I think using Branch.update_references() is preferable over using InterBranch.update_references() for API users [17:36] I have a version string like '0+git20090506-1985f32-1', and bzr-buildpackage is giving me 'bzr: ERROR: Unable to find the needed upstream tarball: python-django-formfieldset_0+git20090506.orig.tar.gz.' Bug? [17:36] vila, 'SMTP error: 530 5.7.0 No AUTH command has been given' [17:36] jelmer: So, keeping Branch.update_references as just a call into InterBranch.update_references seems fine to me. [17:37] james_w: ^ [17:38] Odd_Bloke: that's wrong then [17:38] Odd_Bloke: public branch? [17:38] james_w: svn://svn.debian.org/svn/python-modules/packages/python-django-formfieldset/trunk [17:38] I think that's the public address. [17:47] vila, nothinig much in .bzr.log with -Dauth [17:47] vila, only the earlier error message exists [17:48] that means we don't match anything there, try to set a breakpoint and look at what auth.get_user() and auth.get_password() return [17:48] cornucopic: that means we don't match anything there, try to set a breakpoint and look at what auth.get_user() and auth.get_password() return [17:49] Odd_Bloke: thanks, that's a stupid bug [17:49] vila, without the :25 it works! [17:49] vila, it asks for the password! [17:49] cornucopic: ok, that's a nasty bug, can you file it at launchpad ? [17:50] vila, But however, is that really 'clean' ? I will file it- can you help me with the contents? and I would also like to fix it :) [17:51] cornucopic: well, no, it's not clean, but python support specifying the port in the host for smtp, whereas in bzr there ar separated far earlier [17:51] cornucopic: for the content, just explain what you expected, what you did, what you got, and mention the work around we just found [17:52] vila, so ideally, it should be able to take it from bazaar.conf? or is the :25 the ideal behavior? [17:53] smtp_connection should be able to split the server variable into host and port [17:54] once that is done, auth.get_user() and auth.get_password() will need to be updated to add that port parameter too [17:54] and certainly other uses of _smtp_server should be updated accordingly [17:55] james_w: No worries, thanks for looking at it. :) [17:55] What're the odds it'll be in a Debian repo by tomorrow morning? ;) [17:56] cornucopic: hmmm, that sounds a bit to invasive... may be splitting host, port before calling get_user() /get_password() will be enough [17:56] Odd_Bloke: slim, it will be in a branch in about 2 minutes though [17:56] cornucopic: you'll need to add proper tests for that too :) Look into bzrlib/tests/test_smtp_connection.py [18:03] Anyone know where loggerhead looks for the config file by default? [18:04] or if theres a way to control that in 1.10? [18:09] rellis, what command are you using to start? [18:09] serve-branches or start-loggerhead? [18:10] beuno: serve-branches [18:10] rellis, it doesn't have a config file :) [18:10] !? :) [18:10] okay just a sec [18:10] (it will in the near future) [18:11] beuno: I just want to define that server.webpath [18:11] vila, filed the bug: https://bugs.launchpad.net/bzr/+bug/372800 [18:11] Ubuntu bug 372800 in bzr "Wrong behavior of SMTP authentication when port is specified" [Undecided,New] [18:11] beuno: I'm proxying through apache and need to force url's to read http://bzr.myorg.com [18:12] rellis, and you've installed python-pastedeploy? [18:12] rellis, there's some information on the README on how to do that [18:12] beuno: python paste yes [18:12] beuno: okay fair enough [18:13] beuno: i see this bit about --prefix.. but that only allow to append /something.. was that what you meant? === cornucopic is now known as cornucopic|away [18:14] rellis, yeah. [18:15] rellis, how about sending an email to the list? [18:15] I know it's been solved before [18:15] by thumper, mwhudson and lifeless [18:15] beuno: okay thanks [18:15] but they're all sleeping now [18:15] gotcha [18:17] beuno: your first guess was actually correct [18:18] beuno: i had paste but no PasteDeploy [18:18] rellis, needing pastedeploy? :) [18:18] yep [18:18] thanks for thep ointer :) [18:18] no worries [18:18] any ideas on how we could of improved documentation to make that more obvious? [18:19] make it a mandatory dependency? [18:19] beuno: Your docs actually seem spot on to me, it just didn't quite connect for me Paste and PasteDeploy beign different.. im a unix admin and a bit of a python novice [18:20] LarstiQ, even when it's just used for specific cases? [18:20] I don't necessarily think it's bad [18:22] beuno: I know some people need it and miss it. I don't know how large the group of people not needing it is. [18:22] beuno: afaik, it is hard to detect when you will need it? [18:22] LarstiQ, it is [18:22] well [18:22] it's a very small dependency [18:22] so it can't hurt to add it I guess [18:22] will make the experience better for some users, without making it worst for others [18:23] sounds like a good balance [18:23] beuno: that is something for you-the-loggerhead-team to judge :) [18:24] * beuno is about to realease a new version any moment now [18:29] beuno: That reminds me, I have a branch adding a several things to NEWS, though I'm not done. https://code.edge.launchpad.net/~mnordhoff/loggerhead/more-news [18:29] Does loggerhead support multiple repos in one instance? [18:30] Peng_, just slap it straight through if it's just adding stuff to NEWS [18:30] rellis, what do you mean multiple repos? [18:30] is there anyway to tell what a bzr pull did after the fact? [18:30] .bzr.log doesn't seem to record the version we were before the pull [18:30] s/version/revno/ [18:30] elmo: No. You could use "bzr pull -v" though. [18:31] peng: well sure, if I had a time machine :-p [18:31] Git sets local tags, OLD_HEAD and HEAD or something like that. [18:31] elmo: Right. [18:31] Sorry. :\ [18:33] elmo: you could ls -t on the repo maybe, but nothing convenient after the fact. [18:34] * SamB wonders how to prevent aptitude from preferring package versions from PPAs [18:34] beuno: ummm.. that's probably the wrong bzr term... we have seperate projects [18:34] elmo: that is, it says 'Now on revision 4340.' but not from where. [18:34] elmo: I think it would be good to have that though. [18:35] SamB: /etc/apt/preferences [18:35] rellis: loggerhead works with a directory hierarchy [18:35] LarstiQ: figured [18:35] rellis: so give it /srv/bzr for example, and it will serve up every branch under there, doesn't care about the repositories they are in [18:35] LarstiQ: oh, preferences huh? [18:36] I have apt.conf ... [18:36] Apt { [18:36] Default-Release "testing"; [18:36] } [18:36] LastiQ: Ah, gotcha. Thanks. [18:36] SamB: man apt_preferences [18:36] SamB: and look for Pin [18:37] LarstiQ: oh, I was really looking for something a bit more automatic than that ;-) [18:37] oh, hmm, nevermind [18:37] it's more than it sounds [18:38] LarstiQ: When I give loggerhead /opt/bzr as the root it says no revisions in the one tab and I get a 500 eror when visiting the file tab. [18:39] LarstiQ: I don't quite get how to navigate down into my projects which are directly under /opt/bzr i.e. /opt/bzr/Main [18:40] rellis: using serve-branches? [18:40] yes [18:40] 1.10 [18:40] * LarstiQ blinks [18:41] beuno: ^^? [18:41] oh i think might be a perms issue [18:43] LarstiQ: Ya I don't get it. [18:44] ronny: the whitespace in easy_install :( [18:44] made me think pkg_resources.py was almost empty [18:44] but then grep told me it _did_ have the class definition for Environment [19:02] Odd_Bloke: oh, I forgot to say that the fix is in lp:bzr-builddeb/2.1 if you want it [19:08] james_w: Thanks again. :) === dereine[OFF] is now known as dereine [19:36] once a rich-root repo always a rich-root repo? [19:36] I'm trying to get a branch off of rich-root, is that possible? [19:38] eferraiuolo: Once a rich-root, always a rich-root, like you said. [19:41] Peng_: is it recommended to use rich-root as a default? [19:43] beuno: FWIW, I've finished up and merged my NEWS stuff. [19:43] Peng_, awesome, thanks [19:43] eferraiuolo: Well...yes, more or less. [19:43] Hi [19:44] If I have commits ...502, 503, 502.1.1 (a merge done after 503) and 504, how can I revert only the changes done in revision 503? [19:44] eferraiuolo: bzr is moving in that direction [19:44] eferraiuolo: but at the moment, it will mean everyone that interacts with that branch/repo will need rich-root too, and you may not want to force that yet. [19:45] eferraiuolo: since non-rich root -> richroot is possible, but the other way around is not. [19:45] RainCT: "bzr merge . -r 503..502" or something like that. [19:45] Peng_: thanks! [19:46] LarstiQ: Is it best practice to use the latest repo format 1.14, or the default 0.92? Therefore use 1.14-rich-root by default? [19:48] eferraiuolo: best practice is to interoperate with older clients, 1.14 is too new. If you don't care about that, 1.14-rich-root sounds good. [19:49] (there is a limit to old clients of course, yesterday someone tried a 0.11 client. That's too far :) [19:49] beuno: And I just added 1.15 to require_any_api. [19:50] Peng_, we will require bzr 1.15 [19:50] ? [19:50] LarstiQ: me, my business partner, and our server all have 1.14 on them; I'm thinking that we don't care about the older clients, we also are running the latest one. [19:50] LarstiQ: Thanks for the insight. [19:51] beuno: I just added 1.15; I didn't remove 1.11 or 1.13. I think that's okay, right? [19:51] Peng_, I think it is [19:51] 1.14 as well? [19:51] maybe? [19:52] beuno: I think they skipped 1.14. [19:52] maybe [19:53] Peng_, beuno: qua minimum api versions, there is 1.13 and 1.15 [19:53] 1.14 exists in 1.14.0, but got fixed to be 1.13 in 1.14.1 [19:54] since it's a minimum, having 1.13 works fine [19:54] eferraiuolo: then you're good to go [19:55] Ah, okay. === abentley1 is now known as abentley === dereine is now known as dereine[OFF] [21:11] Wow, URLs like "nosmart+:parent" actually work too. That's awesome. [21:12] ronny: ahem, it seems our moin doesn't do the comments parser. But at least easy_install can find 1.12 now ;) [21:12] Peng_: nosmart+:parent/../sibling! [21:15] ronny: next problem might be that setup.py alone is potentially not enough (on Windows) [21:15] Ah, right, I forgot about URLs like that. Even better! :) [21:19] beuno: do you know what version of moin bazaar-vcs.org is running? [21:19] * beuno looks it up [21:21] LarstiQ, Moin 1.5.7 [21:21] beuno: thanks [21:54] ronny, beuno: it seems the moinmoin wiki parser comment option got added in 1.6.0, 2 versions after what we're currently using. [21:54] LarstiQ, ah. I'll ask IS about upgrading [21:57] bzr: ERROR: exceptions.TypeError: a float is required [21:58] When I did bzr break-lock [21:58] cody-somerville: there are bugs about that [21:58] okay [21:58] How do I break the lock? [21:59] * LarstiQ looks that up and then goes to bed [22:02] cody-somerville: bug #365891 it seems [22:03] Launchpad bug 365891 in bzr "bzr break-lock lp:foo fails with TypeError: a float is required" [High,Fix released] https://launchpad.net/bugs/365891 [22:03] * LarstiQ is too tired to discern what to do [22:03] ronny: things are in motion, but now I'm going to sleep. [22:03] good night! [22:06] I think the answer to the break-lock thing is "upgrade!". [22:40] is there an easy way to pull just a single file out of bzr? [22:40] got a case with a large branch and don't need the whole repo [22:41] phinze, you could use loggerhead ;) [22:41] beuno_: true, but i'm looking to pull something from source control in a script [22:42] specifically a crontab i'd like to install which is installed in our main project codebase [22:42] phinze, ah, then you can do that with bzrlib [22:42] a python script that grabs it [22:42] you can look at how loggerhead does it [22:42] phinze: You could use "bzr cat", but I dunno how much of the repo it'd wind up downloading. [22:42] what format should I use for brisbane core with 1.15dev? [22:42] thumper: You mean development6-rich-root? [22:43] cool, 'cause I used --development-rich-root and got --development6-rich-root [22:43] phinze, not at the moment, no === beuno_ is now known as beuno [22:43] I just wanted to be sure I had the right one [22:43] Peng_: well that worked... 2146KB downloaded [22:43] not terrible [22:44] thumper: Yeah, --development-rich-root is an alias for the latest, well, rich-root development format, which is currently development6-righ-root. [22:45] I wish python had better multi core support [22:45] branching into a new brisbane core is slow, but only using one of my four cores [22:47] beuno: Peng_: thx much === vxnick_ is now known as vxnick [23:13] Is there any way to see how many commits a branch has had? Include those included in merges? [23:13] cody-somerville: bzr ancestry | wc -l, bzr log -n0 | grep revno | wc -l [23:14] neat, I didn't know about that command [23:16] hmm [23:16] didn't work [23:16] wc: invalid option -- ',' [23:16] oh [23:16] doh [23:28] Anyone know if the loggerhead root directory to serve needs to be a "bazaar directory"? [23:28] rellis: it definitely doesn't [23:28] okay [23:28] hmm.. can't figure out why i get a 500 on the files tab when i set it to my parent directory containing my bazaar projects [23:29] rellis: are you using serve-branches or start-loggerhead ? [23:29] http://www.pastebin.ca/1414760 [23:29] i'm using serve-branches [23:29] that's the error i receive [23:30] i verified the permissions are correct on the repo as well [23:30] rellis: there isn't a files tab on non-bazaar directories [23:32] oh weird mwhudson [23:32] the parenty directory i'm pointing serve-branches at has a .bzr and .bzr.log [23:32] i'm going to try and delete them [23:34] mwhudson: Thanks, all is working now :) [23:34] all praise be to #bzr! [23:34] rellis: ah, k [23:34] glad it's working [23:42] rellis: You don't have to delete .bzr.log. [23:43] Peng: It's already gone, and good ridance I say :) [23:43] but thanks for the tip [23:46] igc: ping [when you get here] [23:56] Good morning. === dereine[OFF] is now known as dereine === Guest54966 is now known as jelmer [23:57] moin spiv