[00:15] <poolie> lifeless, i just wondered why you wanted to push a separate branch for it
[00:15] <poolie> was it blocking you?
[00:15] <lifeless> poolie: having reviewed it there seemed no real point not JFDIing it
[00:16] <poolie> i see
[00:16] <lifeless> poolie: I would have pushed to your branch and mp, but lp doesn't really support that as a workflow
[00:16] <poolie> you're pilot this week too?
[00:16] <lifeless> poolie: yes
[00:16] <poolie> i think that given lp's current state pushing new ones makes a lot of noise
[00:16] <lifeless> poolie: so it took me; oh 30 seconds to pull your branch, another minute ot make the change, bzr lp-propose to make the new proposal was all cli driven
[00:16] <poolie> sure
[00:16] <lifeless> its pretty slight to that extent
[00:16] <poolie> but now i have a big old diff in my mailbox :)
[00:17] <poolie> i'm not really complaining
[00:17] <poolie> it's just a bit of a change from the normal practice of committers landing their own code
[00:17] <lifeless> there is a backlog
[00:17] <lifeless> I could nag folk, but I know people are just busy
[00:18] <lifeless> so am doing; I think people will respond by getting there first if they want to avoid the noise ;)
[00:19] <poolie> i haven't had any work hours between some of these being reviewed and you landing them
[00:20] <lifeless> poolie: heh, I didn't notice that
[00:20] <poolie> that seems a bit overoptimized :)
[00:20] <lifeless> perhaps
[00:20] <lifeless> OTOH for all noncommitters we roughly need this anyway
[00:21] <poolie> ah
[00:21] <lifeless> and if the fixes aren't trivial to such branches, they will deserve a peer review too; so its worth noting the rough edges - and spiv filed a bug about part of it yesterday
[00:22] <poolie> please let me read the review comments on my branches and land them myself
[00:22] <poolie> unless you know i'm away
[00:22] <lifeless> I think its important we make this easy to do; I appreciate there is some noise now, lets make sure there are good bugs and think about how to reduce the noise.
[00:22] <lifeless> poolie: for most of yours I have
[00:23] <poolie> it's a bit like the pqm thing
[00:23] <poolie> if you're going to change the patterns in which people work it's nice to tell them first
[00:23] <lifeless> poolie: uhm, I've landed one of yours
[00:23] <poolie> two?
[00:23] <lifeless> and added a patched version of a second
[00:23] <lifeless> I landed your external base deprecation patch
[00:25] <poolie> i appreciate the help i'm just a bit surprised
[00:25] <lifeless> poolie: I'm really not sure how to react
[00:25] <poolie> I agree with > I think its important we make this easy to do; I appreciate there is some noise now, lets make sure there are good bugs and think about how to reduce the noise.
[00:26] <poolie> perhaps send an rfc saying that any contributor (or especially the pp) can finish off and land other people's patches?
[00:26] <poolie> if this is what you generally want to do?
[00:26] <mgz> evenin' all
[00:27] <poolie> i guess it's just that with lp reviews as they exist today this seems to generate more noise than me doing the updates in the existing branch
[00:27] <lifeless> poolie: this isn' actually a change you know; we've variously landed stuff when people are busy for years
[00:27] <poolie> ok
[00:27] <poolie> i don't know then
[00:27] <lifeless> poolie: I can send an email saying 'is the amount of email when I do this too much'
[00:28] <poolie> my answer is yes
[00:28] <poolie> but, whatever
[00:28] <poolie> it's only two patches
[00:28] <lifeless> its worrying that two patches makes you feel overloaded :(
[00:29] <poolie> heh
[01:52] <mgz> urk, hung on "Inserting missing keys" pushing to launchpad again
[01:53] <mgz> I won't interrupt it, broke things horribly last time I did that
[01:54] <mgz> better not take hours though I need sleep.
[01:55] <mgz> done. only three minutes with no ui update there:
[01:55] <mgz> 17.046  creating new compressed block on-the-fly in 0.015s 172124 bytes => 58366 bytes
[01:55] <mgz> 196.281  creating new compressed block on-the-fly in 0.000s 4194098 bytes => 2161 bytes
[02:05] <lifeless> -> food
[02:06] <mgz> bytes!
[02:07] <mgz> or just nybbles...
[02:11] <poolie> that's a lot of compression
[02:11] <poolie> hi lifeless
[02:11] <poolie> hi spiv
[04:55] <parthm> i am trying to clean up a testcase http://pastebin.com/t6KvPff0 . if i replace the ".bzrignore" creation with "self.build_tree_contents([('.bzrignore', 'RE:*.cpp\n')])" it fails (run_bzr returns 0 instead of 3).
[04:56] <parthm> doesn't build_tree_contents put a file on disk?
[04:59] <parthm> sorry. mybad. looks like i did something wrong there. its working now :)
[05:01] <lifeless> parthm: the u'' there is almost certainly wrong
[05:01] <lifeless> parthm: you don't have any unicode in there, and you're not opening an encoded file
[05:03] <parthm> lifeless: yes. i cleaned that up. thanks.
[05:05] <lifeless> parthm: cool
[05:05] <lifeless> parthm: the alarm bells went off because of the regular file: we write bytes to regular files, unicode to encoded file.s
[05:05] <parthm> lifeless: have you seen the "class _Pattern" in rejected https://code.launchpad.net/~parthm/bzr/300062-invalid-pattern-warnings/+merge/26809 ? that seem like a good cleanup to me.
[05:05] <parthm> i can port it to the error based mp. what do you think?
[05:07] <lifeless> its odd that its a class with no methods
[05:07] <lifeless> and no global mutatable state
[05:08] <lifeless> I think I'd want to see separate patches
[05:08] <lifeless> one to introduce such a thing
[05:08] <lifeless> and one to change the error handling
[05:10] <parthm> lifeless: sounds fine. i can try a separate patch for that. thanks for the quick review :)
[05:10] <lifeless> parthm: I think if you do it, that you should make it a real object w/out static methods
[05:11] <lifeless> and either a single global instance, if you really need that, or one instance for the each Globster, or something
[05:11] <lifeless> or even
[05:11] <lifeless> make it a base class of the globsters
[05:11] <lifeless> the file looks half-refactored from functions to objects, to me.
[05:13] <parthm> lifeless: yes. while implementing it i was thinking that much of it fit well in globster.
[05:29] <lifeless> spiv: whats the bug # you filed yesterday about LP MP continuations
[05:37] <spiv> lifeless: bug 596726
[05:40] <lifeless> thanks
[06:14] <jibbles> 'Ello, all!
[06:17] <jibbles> I want to try versioning all my work in a centralized fashion, pushing and pulling from various machines to one server. I have a hierarchy of folders for my work...I assume this should be added to the same repository; is there any point in adding E.g. schoolwork and writing (if unrelated) as different projects? Will I lose any flexibility if I just import it all as one project?
[06:27] <lifeless> jibbles: if you make it all one project, you can't push just part of it somehere
[06:27] <lifeless> jibbles: bzr works on an entire project (we call it tree, or branch) at a time
[06:30] <lifeless> poolie: night (signing off work, still around tho in various ways)
[06:31] <poolie> lifeless, good night, thanks for the note about mps
[06:32] <lifeless> no probs; we should wait for jam who has expressed pain in this area before deciding what to do
[06:41] <jibbles> so I should just manually init each project folder like /stuff/cplusplus/foo with E.g. "bzr init-repo --no-trees sftp://host/srv/bzr/cplusplus/foo" ? Is this how most people do it?
[06:42] <jibbles> oops, I meant "bzr init", not "init-repo"; assume the repo was already created
[06:43] <jibbles> be back in 20
[07:02] <maxb> jibbles: init-repo creates a repository, which is a storage/speed optimization to allow multiple branches/trees to share a single copy of history they have in common. init, on the other hand, creates a new branch
[07:11] <jibbles> Ok, if you were going to version a lot of personal work in one folder hierarchy, what workflow / project divisions would you choose? Any takers?
[07:19] <lifeless> jibbles: I'd just make branches for each project
[07:19] <lifeless> and ignore the hierarchy
[07:20] <vila> hi all !
[07:21] <jibbles> so something like "bzr init sftp://host/srv/bzr/foo" rather than "bzr init sftp://host/srv/bzr/work/programming/cplusplus/foo" ?
[07:22] <lifeless> jibbles: the latter
[07:24] <jibbles> do you type the whole path for commits, etc.?
[07:28] <spiv> jibbles: no, bzr remembers a default location for commits to checkouts, and for pushes, etc.
[07:28] <spiv> So, maybe the first time you might, but afterwards usually not.
[07:29] <lifeless> jibbles: also normally you'd just init on your local disk
[07:29] <lifeless> jibbles: and use push to push stuff to host
[07:31] <jibbles> Thank you very much for answering my questions, lifeless :)
[07:31] <jibbles> Goodnight
[12:00] <thrope> how can I find %BZR_HOME on windows?
[12:01] <thrope> I would like to create a RULES file
[12:01] <thrope> does it have to be done on a per-user basis or is it possible to have a global one/
[12:05] <lifeless>  bzr --version
[12:05] <lifeless> and yes, per user
[12:07] <thrope> ok thanks
[12:07] <thrope> if I change an eol rule on windows
[12:08] <thrope> do I need to delete and recheck out the repo
[12:08] <thrope> to get the windows line endings put it
[12:08] <thrope> *in
[13:05] <thrope> hmmm I have set eol native
[13:05] <thrope> and recheckout my repo
[13:05] <thrope> but now in windows all files have changed icon
[13:05] <thrope> I am guessing becuase of the different line endings
[13:06] <thrope> when I do diff it is completely empy
[14:03] <spiv> thrope: sounds like a bug in tortoisebzr (or whatever it is that shows those icons), please file a bug report about it
[14:04] <thrope> spiv: after doing a commit it seemed to be ok
[14:04] <thrope> and the commit doesnt seem to have changed my other checkouts on linux machines
[15:38] <iainfarrell> hello BZR people! I come with limited knowledge seeking help :)
[15:39] <iainfarrell> I am trying to add a blog to the Ubuntu planet but it won't go
[15:39] <iainfarrell> get this error
[15:39] <iainfarrell> ERROR: Cannot lock LockDir(lp-69469520:///~planet-ubuntu/config/main/.bzr/branchlock): Transport operation not possible: readonly transport
[15:39] <iainfarrell> any ideas?
[15:41] <parthm> iainfarrell: did you "launchpad-login"? if you don't login lp default branch to use https which is readonly.
[15:41] <iainfarrell> hello parthm - I have logged in, yes
[15:42] <parthm> iainfarrell: whats the command thats failing? push?
[15:43] <iainfarrell> commit -m
[15:43] <iainfarrell> bzr commit -m "Added Design Team Blog to the Planet"
[15:43] <iainfarrell> which is what I'm trying to do :)
[15:45] <parthm> iainfarrell: do you have commit access to the branch on the server?
[15:46] <caravel> hi folks
[15:47] <iainfarrell> parthm: I _think_ so in that this is the adding to the planet and I'm an Ubuntu Member
[15:48] <caravel> I get some weird flickering issue in explorer using 2.1.1 on XP (and tortoise I guess). Didn't find any info so far, besides a known overlay conflict with DropBox (which I don't feel is related, and I don'tuse anyway). Any tip anyone, please ?
[15:49] <parthm> iainfarrell: i see some talk about this error message on bug #129701 ... seem to indicate that the user may not have write permissions to the branch.
[15:50] <parthm> iainfarrell: what is the "checkout of branch:" shown by "bzr info"
[15:50] <iainfarrell> ok parthm thanks, I guess I will have to find the right person to ask for access
[15:50] <parthm> thats the branch you will need write access to.
[15:50] <iainfarrell> checkout root: .
[15:50] <iainfarrell>   checkout of branch: bzr+ssh://bazaar.launchpad.net/~planet-ubuntu/config/main
[15:52] <parthm> iainfarrell: if you are a member of "planet-ubuntu" you should be able to write.
[15:52] <iainfarrell> ahh ok, I think it's because I've not been added to the correct launchpad team
[15:52] <iainfarrell> heh parthm - great minds :)
[15:52] <parthm> iainfarrell: :)
[15:53] <parthm> iainfarrell: i think the message is a bit cryptic. maybe it should be clearer. ... you could file a bug. someone would eventually look into it :)
[15:54] <iainfarrell> So I need to be a member of Ubuntu Members which I didn't check at the start
[15:54] <iainfarrell> I'll get myself added
[15:54] <iainfarrell> you guys ROCK, thanks :)
[15:55] <beuno> iainfarrell, being added to ubuntu members is a big process, as it is community-driven, I'd suggest you talk to someone from IS about it, or jcastro
[15:56] <iainfarrell> thanks beuno I'm talking to Jcastro now :)
[15:56] <iainfarrell> make sure we do this properly :)
[16:05] <LeoNerd> Bah.. I dislike the new shelve plugin. shelve/unshelve/shelf was nice because all the options that weren't -obviously- shelve/unshelve, lived in shelf. shelf list, shelf view, shelf delete,...
[16:05] <LeoNerd> Now they're seemingly-arbitrarily attached to one option or the other. bzr shelve --list, bzr unshelve --preview, bzr shelve --delete-only
[16:20] <caravel> Could anyone enlighten me please ? Using bazaar 2.1.1/xp w/tortoisebzr (0.5.4 by default) -- since this version, explorer "blinks" when getting around to any bzr folder. Fresh reinstall of bazaar/win and reboot reproduce the issue. Any thought ?
[16:24] <Mantrid> I'll take a really wild guess as I don't know, and suggest it may have something to do with icon caching in explorer.
[16:26] <caravel> Mantrid: thanks - this is all I found, and I can't see it related: http://preview.tinyurl.com/2b8qclg
[16:56] <caravel> Mantrid: the issue was occuring on a test repos, linked to an ftp server which is currently unavail. Could this be related ? Killing explorer mostly killed my windoz session, apps didn't come back when restarting explorer ^^ After restarting the issue still occured. I deleted the repos and created a new, local one: issue is gone.
[16:58] <caravel> in other word: is there any process trying to figure "real time" whether the branch seen in explorer is up to date against its source ?
[16:59] <Mantrid> hmm. Looks like you may have found the cause. I've not look at the tortoise code so I don't really know much about it. If it does re-occur then perhaps you can determine if it is related to the ftp server.
[16:59] <Mantrid> Ah you should ask the totoise devs. I believe there are hooks in explorer that tell you something is happening and probably we hook into that.
[17:02] <caravel> I've been using/setting up tortoise/cvs&svn an awful lot and never saw any similar issue. toirtoise was not 100% perfect but still the easiest for non-technical users ^^
[17:08] <caravel> I've got a question cf. topology: two developers need to use bzr on their respective laptops, no server involved, just an ftp folder as a "relay" between both devs, one of them is the "gate keeper". Another ftp server should be used as an extra backup place. I guess it's a very common scenario on small projects ^^
[17:10] <jelmer> caravel: right, that should work without issues
[17:12] <caravel> None of the ftp servers are considered reliable. Should the main repos be created as independant on the gate keeper's laptop, then "pushed" onto the relay ftp ? To automate the ftp "waterfalls", should be use bzr client from the backup ftp to the relay ftp folder ?
[17:13] <caravel> (backup ftp is a debian server we administrate, so we can setup bzr client here)
[17:14] <caravel> Or... should the gate keeper define the main repos to be located on the relay ftp, then work on his local copy until remote commits ?
[17:15] <caravel> Finally, is there any difference between both results ?
[17:18] <Mantrid> Do you mean, should you use bzr to transfer the branches to the ftp server, or should you copy them up there?
[17:20] <caravel> Mantrid: well, no: I hadn't consider NOT using bzr for replication, since I was assuming bzr would be more efficient than eg rsync for this (one of our criterias to chhose bzr actually, is that it's said to support folder renaming and files moving)
[17:20] <caravel> but should I ? ;-)
[17:21] <Mantrid> no I'd use bazaar to do everything. i.e. to push it up to the ftp server. That way it will lock the branch for you and prevent any accidental overwrites and so on.
[17:23] <caravel> ok, so  dev A should make a "standalone" branch on his laptop, then "push" it on the relay ftp... which should be simply branced by dev B and the backup debian. Right ?
[17:25] <Mantrid> yes I think so. But I don't quite understand, what is "backup debian" ? The ftp server is just to share the code isn't it between dev A and B right?
[17:26] <Mantrid> I've no doubt seen this I assume: http://wiki.bazaar.canonical.com/Workflows
[17:28] <Mantrid> sounds like this "Decentralized with human gatekeeper" except the gatekeeper is also developer B (or A) and you have some other debian server involved.
[17:32] <caravel> Mantrid: Yes, I have seen this again and again ;-) dev A & B both travel quite extensively. "relay ftp" is a poor windo$ machine located at dev A home with unreliable connection (dev A is an independant consultant). dev B does internal QA and small contribs. "backup debian" is a modest server "on site" with unreliable connection, but we want a copy there, even if sometimes a little outdated. Purpose of the repo is a whole web site inclu
[17:33] <caravel> Mantrid: sorry I guess this is almost flooding, did you receive this entirely ?
[17:34] <Mantrid> missed the end :P But I think you say the debian box is where you would call the main repository where the code will have it's home.
[17:34] <Mantrid> and the ftp at A is so that dev B can get A's work.
[17:35] <Mantrid> You needent have a gatekeeper. It depends if you want the code reviewed or not before it goes to the debian server. I guess you DO want it reviewed yes?
[17:36] <caravel> Mantrid: well... dev A need NOT to rely on debian. YES, dev A must review anything, he's the only one skilled with the code he's using
[17:37] <caravel> here is the end of my prev msg ^^ "backup debian" is a modest server "on site" with unreliable connection, but we want a copy there, even if sometimes a little outdated. Purpose of the repo is a whole web site including many media files. Sync don't have to be very often (2 weeks), and will be scheduled ^^
[17:38] <caravel> Mantrid: what we need really are mirrors of what dev A is doing + the ability for dev B to contribute (for exclusive approval by dev A)
[17:39] <Mantrid> in which case dev B can put the code somewhere, anywhere in fact and tell dev A to review and merge. you can even use bzr send to send a bundle.
[17:40] <Mantrid> dev A can then push up to a mirror and or release site.
[17:43] <caravel> Mantrid: (bundles could be huge) ok, so the main branch should be located on dev A laptop -- then pushed up his home ftp. Is this correct, will bzr handle his subsequent pushes to let him update ?
[17:45] <Mantrid> yes that will work. Unless someone else pushes and update to the same place on the ftp server first. In which case bzr will tell your the branches have diverged and dev A will have to merge. But. that should not happen as each developer will have his own place on the ftp server to put code, and so pushes will just "go up" - the differences (new revisions) will get pushed.
[17:47] <Mantrid> In all cases, only the differences will get pushed up no matter which developer is pushing where.
[17:48] <caravel> Mantrid: ok, so it seems perfect: actually, since the only purpose of the ftp is sharing a copy of the main branch (which sits on dev A laptop) then if dev B wants to contribute it is perfect: he could push also to the same space, forcing dev A to merge before re-pushing. Right ?
[17:48] <Mantrid> so 1. You can't really break anything by accident, bzr will tell you. 2. It will be quick to push (after the first push of all the data)
[17:49] <caravel> Mantrid: brilliant. thanks, I think I had not understood what was a bzr "push". cheers
[17:50] <Mantrid> yes that's right.
[17:51] <Mantrid> you can push the the same place. But if it's changed, he would have to merge back down first. But you said you want dev A to review the code first, so both the devs would use seperate places.
[17:52] <Mantrid> I suggest you give it a little try out. You don't have to use an ftp server. You can pretend that /home/ftpserver or c:\ftpserver is your ftp server.
[17:54] <Mantrid> What I do is the same for small projects. I push my work upto an sftp sever, so does my collegue. If I own the project, then I merge his work from the ftp server into mine and check it works, and then I push it back via sftp to what I call the mainline location which is seperate from both our branches.
[17:56] <caravel> Mantrid: ok, but then do you use a shared repos for both branches, so the repo location is on the sftp server (and not on your workstation), right ? Then your mainline is a seperate bzr repo, even if it is 99% a duplicate of the dev area ?
[18:01] <Mantrid> erm. you can do either. With two people it doesn't matter so much. But you can have a separate branch on the server called mainline if you want, that is if you like the "proper" stable code. That's separate from each of the developers branches. But you don't have to. If might be best though and then you can have a rule that says the mainline code must always at least be in working order. Whereas the developers branches don't have to be.
[18:02] <Mantrid> So developer B will then refresh his branch "pull" or megre from either dev A's branch, or the mainline that that developer A manages.
[18:04] <Mantrid> in any case. No matter what developer B does, whereever he gets the code from. bzr will pull it, or will tell him he needs to merge. There will be no problems of getting out of sync.
[18:07] <caravel> Mantrid: I understand - in our case, dev A branch need to remain purely local to dev A laptop (yet it is a big effort for dev A to start using a VCS, can't push it too far). So he'll push "stable", dev B will update from "stable" and push to "B branch", from which dev A will merge ^^ OK, unless you need to correct me again I think it's all clear
[18:08] <Mantrid> Yes that's it. And you can change your mind later if there is another way it's not a problem.
[18:10] <Mantrid> dev B can pull or (update) from DEV a's branch directly if he wants to help dev A fix something toghther and then push his branch up. it will still merge correly, bzr will track all the changes no matter which branch they come from.
[18:10] <Mantrid> but maybe I am confusing you now. Try it out, and you will see.
[18:12] <Mantrid> also the bzr missing command can be helpful. it will give you a list of changes essentialy from what you have. You could say bzr sftp://server.com/projectx/trunk and it will tell you waht's changed, and what changed you have made that isn't up there already.
[18:14] <caravel> Mantrid: sure ;-) again, dev A branch won't ever be accessible or published, only stable. Look: yet if I succeed to introduce the word "stable" itself as a concept in this little team, I think it will be a great victory!!  I already know that after this essential move (start using a VCS, finally), dev A won't have/take/accept to spend any time to reconsider anything, not even a sec ;-)
[18:15] <caravel> Mantrid: thanks a lot for your clarifications. Bzr definitly sounds a lot more flexible than cvs/svn (or, well, then what I experienced with these).
[18:16] <Mantrid> Yes. When you try it out a bit you will understand it better and it will make more sense to you.
[18:17]  * caravel gives #bzr a break and is quite thankful to Mantrid
[18:17] <Mantrid> :-)
[18:26] <lifeless> mornin
[18:52] <Mantrid> evening. Got to run.
[20:11] <lifeless> this is going to be fun
[20:11] <lifeless> "Note that when os.listdir() returns a list of strings, filenames that cannot be decoded properly are omitted rather than raising UnicodeError."
[20:14] <maxb> urgh.
[20:14] <maxb> Whoever thought *that* was a good idea
[20:14] <lifeless> python3 has a bit of architecture-astronaut feel to it
[20:14] <lifeless> in the whole unicode string thing
[20:15] <jam> lifeless: so now they are omitted rather than returned as 8-bit strs? I thought there is a proposal to give them as private-plane code points, or something like that
[20:15] <lifeless> 3.2 or something like that will do a surrogate escaping thing for non decodable filenames which is better
[20:15] <lifeless> jam: no, thats the 3.0.1 docs
[20:15] <maxb> I'm going to assume that architecture-astronaut means something like being designed from a viewpoint far too far away from the problem?
[20:15] <lifeless> maxb: yes, one ignoring inconvenient realities ;)
[20:15] <jam> lifeless: malformed files don't exist
[20:16] <maxb> and if we all cross our fingers and believe that really hard, maybe it'll come true! :-)
[20:16] <rubbs> wait. you mean Santa doesn't exist?
[20:17]  * rubbs cries himself to sleep now.
[20:17] <jam> rubbs: no no, santa *does* exist, malformed filenames don't
[20:17] <rubbs> jam: oh, thank you for re-enforcing my irrational beliefs.
[20:17] <jam> similarly the current discussion about why URLs are all Unicode strings in python 3
[20:18] <james_w> malformed files are what you get for Christmas if you are on santa's naughty list
[20:18] <jam> though from what lifeless has convinced me, you're not supposed to touch anything that you don't control
[20:20] <lifeless> right
[20:20] <lifeless> there is a large amount of close your eyes and ignore the world involved in browser address/location bars
[20:20] <lifeless> and if you read that thread, to see the references to single urls that go
[20:21] <lifeless> host/encodingA/encodingB
[20:21] <lifeless> and then ask yourself how a user is possibly meant to create-guess a url for that server ;)
[20:34] <rbriggsatuiowa> is it bad form to call the cmd_* classes from another python script?
[20:50] <lifeless> rbriggsatuiowa: not at all, though I'd recommend using our factory facilities rather than constructing the objects directly.
[20:50] <lifeless> e.g. bzrlib.commands.get_cmd_object('foo')
[20:52] <rbriggsatuiowa> lifeless: thanks - also, when I try and merge one branch into another - the files show up - but the merge history does not (it does when I run bzr merge manually) # I'm passing cmd_merge().run(location=merging_location)
[20:52] <rbriggsatuiowa> lifeless: (currently refactoring to use command factory)
[20:52] <lifeless> rbriggsatuiowa: check bzr status
[20:52] <lifeless> rbriggsatuiowa: I bet you haven't committed after the merge ;)
[20:53] <rbriggsatuiowa> lifeless: reverting and trying with factory
[20:53] <lifeless> rbriggsatuiowa: some commands override run_argv_aliases, but not all that many
[20:53] <lifeless> rbriggsatuiowa: the factory change won't fix the issue, its merely to let you get plugin enhanced command objects and so on
[21:05] <rbriggsatuiowa> lifeless: could you help me with this?  the merge history doesn't show up and the lockfile stays locked (if I run this manually it behaves normally)
[21:05] <rbriggsatuiowa> lifeless: https://gist.github.com/d0ecf3eb46b7fbec71e0
[21:06] <lifeless> 'lockfile' ?
[21:06] <lifeless> oh right
[21:06] <lifeless> you really want to be calling run_argv_aliases
[21:07] <lifeless> as currently setup bzr command objects 'run' method is only really public if you are implementing a whole UI environment
[21:07] <lifeless> you seem to just want to reuse the command as is, so you should reuse much or all of the UI environment too
[21:08] <lifeless> what bzrlib version are you iusing?
[21:08] <lifeless> rbriggsatuiowa: ^
[21:09] <rbriggsatuiowa> 2.1.1 (I run apt off of the ppa)
[21:09] <lifeless> righto
[21:09] <lifeless> so I think I know what is happening
[21:09] <lifeless> just chekcing
[21:10] <lifeless> right
[21:10] <lifeless> cmd_merge uses cleanups
[21:10] <lifeless> in 2.1.x the run() method is not safe to call because only higher levels in the call stack ensure cleanups are run
[21:10] <lifeless> so call run_argv_aliases
[21:10] <lifeless> which is a little less python
[21:10] <lifeless> and it will work
[21:10] <lifeless> or grab 2.2b3
[21:13] <rbriggsatuiowa> lifeless: trying it out
[21:22] <mgz> lifeless: you've approved lp:~jspashett/bzr/missing_win32api_for_test but shouldn't it use Gordan's ExcutableRequired or whatever it was called instead?
[21:22] <lifeless> mgz: it may want to use that as well
[21:22] <lifeless> mgz: but his specific issue is his python doesn't have the win32api module
[21:23] <rbriggsatuiowa> lifeless: bzrlib.commands.get_cmd_object('merge').run_argv_aliases([merging_location]) # worked - thanks a bunch
[21:23] <mgz> ah, so it actually does require pywin32?
[21:23] <mgz> in which case, ignore me, it's fine.
[21:23] <lifeless> so he says, and my general thought on $notmyplatform things is - if they say it works and it looks plausible, land and fix later if needed.
[21:25] <mgz> yup, it's correct.
[21:26] <lifeless> thank you
[21:27] <mgz> the actual function it's testing is horrible, but hey.
[21:28] <TresEquis> mgz:  after all, where would we be without horrible code ;)
[21:28] <lifeless> hahaha
[21:28] <lifeless> TresEquis: a land of shinging light
[21:30] <lifeless> rbriggsatuiowa: excellent
[21:36] <mgz> re: his other branch, it's landable.
[21:37] <mgz> I take Alexander's +1 as meaning Approve as well
[21:38] <mgz> it's just a big confusing merge proposal discussion with lots of different threads of conversation going on
[21:38] <lifeless> ok
[21:38] <lifeless> has he pulled your stuff in ?
[21:38] <lifeless> if not
[21:38] <lifeless> can you please:
[21:38] <mgz> he has
[21:38] <lifeless> ok cool
[21:38] <mgz> it's a little confusing as launchpad somehow has it listed above my comment
[21:39] <lifeless> please file a bug
[21:39] <mgz> perhaps because my commit timestamps predate the comment and it's not a merge?
[21:39] <mgz> which is arguably correct
[21:39] <lifeless> well
[21:39] <lifeless> a timeline has a context
[21:39] <lifeless> 'when it becomes visible in the context' is better than 'when it was created but still not visible'
[21:39] <mgz> right, which would be "when did launchpad get this branch" I guess, rather than when the commit happened
[21:40] <lifeless> embugginate!
[21:40] <lifeless> mgz: right
[21:40] <lifeless> in fact,
[21:40] <lifeless> when did this branch, which is proposed, get this commit on its mainline
[21:40] <lifeless> mgz: please try toggling https://code.edge.launchpad.net/~jspashett/bzr/587868_args_handling_cant_debug/+merge/28129 to approved
[21:41] <mgz> I have no means of doing so.
[21:41] <lifeless> mgz: didn't we give you pqm access ?
[21:41] <mgz> oh, it can be done via pqm? I've not tried that.
[21:41] <lifeless> no
[21:41] <lifeless> separate related question
[21:41] <lifeless> did we give you pqm access?
[21:42] <lifeless> I thought we did
[21:42] <mgz> yup, I have an open tab somewhere with john's pqm plugin that I mean to get round to working out
[21:42] <lifeless> ignore that for a sec
[21:42] <lifeless> please visit this page https://edge.launchpad.net/~bzr-core
[21:42] <lifeless> (ignore the name, its misleading)
[21:43] <lifeless> it will say somewhere near the middle
[21:43] <lifeless> 'are a member' or 'are not a member'
[21:43] <mgz> ah, yeah, I'm not member of any teams on launchpad
[21:43] <lifeless> are you willing to be ?
[21:43] <lifeless> joining either ~bzr (bzr and all plugins) or ~bzr-core (just bzr itself) will grant review control
[21:44] <mgz> do I get a sticker?
[21:44] <lifeless> which you have at the social level
[21:44] <lifeless> heh :) - you got the tshirt instead
[21:44] <mgz> yeah, I can join one of these, last time we looked at it there wasn't an obvious way
[21:44] <mgz> but I now see a join button, so was perhaps just being blind before
[21:44] <lifeless> mgz: no
[21:45] <lifeless> tell me which one you'd like to join
[21:45] <lifeless> core+plugins, or just core
[21:45] <mgz> I've just hit join for bzr-core
[21:46] <lifeless> the ~bzr team got lots of folk that weren't really interested in teh community, more just wanting help/cds/fanboy at one point
[21:46] <lifeless> so its set to restricted, which I think has a bad UI in LP
[21:46] <lifeless> because you can't *apply*, you have to be *added*
[21:46] <lifeless> and there isn't even a 'but please sir' mechanism, which the slightly more open 'moderated' setting has.
[21:47] <mgz> presumably you now have an approve button somewhere?
[21:47] <lifeless> mgz: so, just-core is what you want ?
[21:47] <lifeless> mgz: in moderated mode, yes.
[21:47] <mgz> yup, core will do as I've only looked at a few bits of qbzr and so on
[21:49] <lifeless> ok
[21:49] <lifeless> I could add you to ~bzr, but martin is the owner of ~bzr-core and neither I nor a group I'm in are administrators in that team
[21:49] <lifeless> so
[21:49] <lifeless> when poolie gets up, you'll get review approval facilities
[21:49] <mgz> cool.
[21:50] <lifeless> have you looked at hydrazine ?
[21:50] <lifeless> it needs the launchpad API stuff, but thats pure python and should be ok on windows.
[21:50] <mgz> notyet, alexander expressed some fear of it.
[21:50] <lifeless> Famous Last Words.
[21:51] <lifeless> mgz: well the next step in getting you fully enabled here... is getting you running hydrazine
[21:51] <lifeless> pqm-submit is a terrible weapon from a bygone age
[21:51] <mgz> oh, the launchpad api things I tried to use when we were doing that stop-using-edge-thing
[21:51] <lifeless> yeah
[21:51] <lifeless> mgz: as I read the diff
[21:52] <mgz> and it nearly worked, one of the (many, ugh, setuptools) bits had a recent 2.4 compat thing I submitted a merge proposal thing for
[21:52] <lifeless> s is now unused ?
[21:52] <lifeless> mgz: also, typo, line 106
[21:52] <mgz> it's just an iterator, that we listify.
[21:52] <lifeless> spit the command line
[21:53] <mgz> yeah, the comments are a little suboptimal, and there are some existing and new >80 char lines
[21:54] <mgz> roasting the commandline on a spit is about right though.
[21:54] <lifeless> ok
[21:54] <lifeless> so where I was going with all this
[21:55] <lifeless> hydrazine has
[21:55] <lifeless> $python feed-pqm bzr
[21:55] <lifeless> it will, once sufficiently stabbed, land stuff and its the interface I'll be fixing up to use LP APIs for merge control in the future
[21:57] <lifeless> I think it would be great if you had it working
[21:57] <lifeless> and this patch seemed like a perfect worked-example
[21:57] <lifeless> particularly as there are a few more quirks to get out
[21:57] <lifeless> if its not too late, and you're interested in doing that, I'd love to work through it with you
[21:57] <mgz> okay, so, you're kindly offering to walk me through landing this?
[21:57] <mgz> letsdoit
[21:58] <lifeless> yes
[21:58] <lifeless> so firstly, lets assume this is perfect as is
[21:58] <lifeless> to do the simple path through
[21:58] <lifeless> (you can after we get it going land a trivial tidy up :))
[21:59] <lifeless> I've 'approved' the patch
[21:59] <lifeless> in principle you just do
[21:59] <lifeless> python feed-pqm bzr
[21:59] <lifeless> it should be the first patch up, so you'd hit e\n
[21:59] <lifeless> and away it goes
[22:01] <mgz> just reinstalling and patching the launchpadlib stuff
[22:03] <mgz> okay, feed-pqm launches browser window pointing at edge
[22:03] <lifeless> right
[22:03] <lifeless> this is the login step
[22:03] <lifeless> oauth style
[22:03] <lifeless> feed-pqm will need to change any data
[22:04] <mgz> anything, or non-private?
[22:04] <lifeless> the permissions are very broad, but you get to see the code ;P
[22:04] <lifeless> anything
[22:04] <lifeless> if you were to have a private branch
[22:04] <lifeless> you would want to be able to land it.
[22:04] <lifeless> A major security fix might get that treatment, for instance.
[22:04] <mgz> gotcha.
[22:05] <mgz> where's it store the token locally?
[22:05] <lifeless> it uses the freedesktop config path, or something
[22:05] <lifeless> [god knows]
[22:05] <mgz> I shall hunt later.
[22:06] <mgz> Okay, so first up is the win32api dependency addition
[22:06] <lifeless> ~/.local or .cache I suspect
[22:06] <lifeless> right
[22:06] <lifeless> now see the last comment
[22:06] <mgz> recent comments is blank here, should it have something listed?
[22:07] <lifeless> hmm
[22:07] <mgz> ah, the next one lists the last comment
[22:07] <lifeless> odd
[22:08] <mgz> I think you marked that first one approved without actually adding an approval comment
[22:08] <lifeless>  thought I sent it to pqm
[22:08] <mgz> and it doesn't show the review submitter's comment
[22:08] <lifeless> looking
[22:08] <lifeless> oh right
[22:08] <lifeless> it didn't have a commit message
[22:08] <mgz> ah, it should say if you've already sent it/
[22:08] <lifeless> so I set one and while it thought context switched.
[22:08] <lifeless> anyhow
[22:08] <lifeless> lets stay on track
[22:08] <lifeless> you've used n and found the argv one right?
[22:09] <mgz> yup.
[22:09] <lifeless> e\n
[22:09] <lifeless> (thats e-mail)
[22:09] <mgz> complains about commit message
[22:09] <lifeless> m\n
[22:10] <mgz> my least favourite part ;)
[22:10] <lifeless> feed-pqm will automatically add '(you)message(merge proposer)' when 'e' is done.
[22:10] <lifeless> mgz: and thus why I ask submitters to set one :)
[22:12] <mgz> so, I get a http 401 there, which I guess is expected
[22:12] <lifeless> permission denied ?
[22:12] <lifeless> you did login though
[22:12] <lifeless> or were you not logged into edge at the time?
[22:13] <mgz> right, but I'm not a member of bzr-core yet
[22:13] <lifeless> oh
[22:13] <lifeless> yeah
[22:13] <lifeless> so - what did you put in
[22:13] <mgz> for the commit message?
[22:13] <mgz> "Allow use of Python arguments preceding bzr script in Windows command lines"
[22:13] <lifeless> yes
[22:13] <lifeless> ok I've set that for you
[22:14] <mgz> okay, going back in
[22:14] <mgz> okay, looking good, there an option to tell feed-pqm where to find gpg?
[22:15] <mgz> (I'll just modify my path for now)
[22:15] <lifeless> it uses the bzr config
[22:15] <lifeless> so your ~.bazaar/bazaar.conf
[22:16] <lifeless> [DEFAULT]
[22:16] <mgz> and I need to set up gmail for smtp too.
[22:16] <lifeless> gpg_signing_command = pathtogpg
[22:16] <lifeless> right
[22:16] <lifeless> I dunno how to do that
[22:16] <mgz> I think I saw instructions on this for John's plugin, where's that tab...
[22:17] <lifeless> mail_client = mapi
[22:17] <lifeless> perhaps
[22:17] <mgz> smtp_server = host:port
[22:17] <mgz> smtp_username = smtp_password =
[22:17] <lifeless> sorry, thats the default
[22:17] <mgz> from there
[22:18] <lifeless> mail_client=editor
[22:18] <lifeless> too, perhaps
[22:18] <lifeless> ENOTSURE
[22:18] <mgz> willtry
[22:20] <mgz> meh, thought I could get it to prompt me for email password, but get:
[22:20] <mgz> NotImplementedError: <bound method SilentUIFactory.get_password of <bzrlib.ui.SilentUIFactory object at 0x01EDF5B0>>
[22:20] <mgz> that might be nice to fix at some point
[22:20] <lifeless> ha ha ha
[22:20] <lifeless> yes
[22:20] <lifeless> uhm
[22:21] <lifeless> feed-pqm
[22:21] <lifeless> should call bzrlib.initialize()
[22:21] <lifeless> if it exists
[22:22] <mgz> scary, it says "Sent!"
[22:23] <lifeless> http://pqm.bazaar-vcs.org/
[22:23] <lifeless> congrats
[22:23] <lifeless> you might like to write it up for alexander and gordon and so on
[22:23] <lifeless> or not - I don't mind :)
[22:23] <mgz> yeah, wasn't nearly as bad as Alexander was fearing I think
[22:24] <lifeless> while you're there
[22:24] <lifeless> please hit e on the win32lib thingy
[22:25] <mgz> donedonedone
[22:26] <lifeless> now, the responsibility
[22:26] <lifeless> its not a mechanical is-approved-queue
[22:26] <lifeless> because needs fixing votes etc require verification
[22:26] <lifeless> its just meant to make the mechanical part of 'send it in' easier
[22:28] <mgz> is there anything particular that needs doing if pqm rejects it at the testing stage?
[22:29] <lifeless> depends on how enthusiastic you are
[22:29] <lifeless> heres what I do
[22:29] <lifeless> if its my code, I dig deep, figure it out, fix etc.
[22:29] <mgz> I take it I'd get email with the failures (now you've fixed that), and should write that in the merge proposal for feedback?
[22:29] <lifeless> if its someelses code that I've committed to landing, same.
[22:29] <lifeless> otherwise I'll grab the error from the mail and put it in the MP without the skips
[22:30] <lifeless> and perhaps attach the stdout/stderr gz files if they look like there is going to be additional, useful data.
[22:30] <lifeless> however they can't be attached because MP's are not 'things with attachments'
[22:30] <lifeless> so instead you'd need to put them on a related bug or something
[22:30] <lifeless> it also depends on how shallow it is
[22:30] <lifeless> NEWS files conflicts I will generally JFDI
[22:31] <lifeless> now - see my thread on bazaar@ about continuing work on someone elses proposal for some related stuff
[22:31] <mgz> yeah, I nearly commented on your discussion with poolie the other evening but netsplit at the wrong moment
[22:32] <lifeless> we took it to phone
[22:32] <lifeless> irc wasn't quite getting the right intonation
[22:35] <mgz> the superseeded workaround mentioned in the email thread seems like a reasonable workaround
[22:35] <lifeless> yeah
[22:35] <mgz> what I've done in the past it push up a copy of the branch with my changes and invite a pull
[22:35] <lifeless> bzr lp-propose can set it all up for you
[22:35] <lifeless> I think thats good too
[22:35] <lifeless> case by case
[22:35] <mgz> which is a softly-softly option for less straightforward changes
[22:37] <mgz> ha, you've put up a py3 merge proposal!
[22:38] <mgz> ...doesn't *quite* deliver on the name :)
[22:40] <lifeless> mgz: softly softly catchee dragon
[22:44] <cbz> monkey
[22:45] <lifeless> cbz: not in this case, have you see python 3 ?
[22:45] <cbz> heh
[22:46] <fullermd> Dragons are easy to catch.  First, you smear yourself with ketchup...   I'll let somebody else pick up the planning from here.
[22:48] <mgz> it's amusing how the email module thread has ballooned out into all kinds of doubt about the whole approach
[22:48] <lifeless> well
[22:48] <lifeless> folk have been skeptical from the start
[22:48] <lifeless> as they were about .net's stance which AIUI is similar
[22:49] <lifeless> I think part of the problem is that stringlike API's become less powerful when you make them more typed... and many web-sensitive things in python are expressed as pithy stringlike API's rather than (shock, horror) objects.
[22:50] <lifeless> urlparse is terrible, for instance.
[22:50] <mgz> yeah, as is like, all of wsgi
[22:50] <lifeless> that reminds me
[22:50] <lifeless> I saw a tweet about a comet ready wsgi server this morning
[22:50] <lifeless> I must follow up on thsat
[22:50] <lifeless> see how much evil its doing
[23:09] <lifeless> mgz: where are we at in testtools
[23:10] <mgz> well, there are probably still some things to debate, but if we're mostly happy with the current, could try landing tonight.
[23:10] <lifeless> sure
[23:10] <lifeless> gimme 10 minutes
[23:11] <mgz> suggestion: I fix the problem the patch for Python 2.5.2 introduced, then merge trunk, resolve the _StringException bits, add NEWS, and we give it a shot?
[23:12] <mgz> should take me about ten minutes to do the bits my side.
[23:20] <lifeless> ok
[23:20] <lifeless> ping me when ready
[23:29] <mgz> okay, just writing NEWS now
[23:34] <mgz> lifeless: pushed.
[23:35] <mgz> I have kept your UTF-8 changes to _StringException, but haven't done anything about making piping to file output UTF-8 yet.
[23:35] <lifeless> http://furiousfanboys.com/2010/04/luke-i-will-not-be-your-father/
[23:35] <lifeless> totally offtopic, but lolol
[23:41] <lifeless> bzr+ssh://bazaar.launchpad.net/~gz/testtools/unicode_tracebacks_501166/ still ?
[23:42] <mgz> yup.
[23:45] <mgz> I prefer the _StringException version with a type check in __init__ rather than in both __str__ and __unicode__ but you said subunit needs some changes there
[23:45] <lifeless> subunit can be changed easily.
[23:46] <mgz> let's do that now-ish as well then, and check it all works together
[23:47] <lifeless> sure
[23:47] <lifeless> first thing, does it work for me
[23:48] <lifeless> make check PYTHON=python3.1 -> boom
[23:48] <lifeless> hmm trunk goes boom too.
[23:48] <lifeless> 4 vs 6
[23:48] <lifeless> whats the diff
[23:48] <mgz> dammit!
[23:49] <lifeless> testtools.tests.test_testtools.TestDetailsProvided.test_multiple_addDetails_from_Mismatch
[23:49] <mgz> I was checking like, six different pythons every step, and still manged to break py3k without noticing
[23:49] <lifeless> testtools.tests.test_testtools.TestDetailsProvided.test_addDetails_with_same_name_as_key_from_get_details
[23:49] <lifeless> testtools.tests.test_testtools.TestDetailsProvided.test_addDetails_from_Mismatch
[23:49] <mgz> yeah, it's okay, I see it too.
[23:49] <lifeless> testtools.tests.test_testtools.TestAssertions.test_assertThat_mismatch_raises_description
[23:49] <lifeless> thats trunk
[23:49] <lifeless> SEP (me)
[23:50] <mgz> yeah, but I don't know how I missed testing py3k after the merge
[23:50] <lifeless> testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.test_assertion_text_shift_jis
[23:50] <lifeless> testtools.tests.test_testresult.TestNonAsciiResults.test_assertion_text_shift_jis
[23:50] <lifeless> are the new ones for me
[23:50] <lifeless> I'll pastebin the lot as thats easiest
[23:50] <mgz> okay, that must be my fault, was sure I'd fixed it
[23:50] <lifeless> http://pastebin.com/19SPiZEz
[23:50] <lifeless> and I
[23:50] <lifeless> will look at trunk now
[23:51] <lifeless> actually, will finish my 'python2to3 is not sensible' mail first
[23:51] <mgz> okay, my dumb, I understand that.
[23:51] <mgz> ^I was going to ask that question in your thread, I really don't like the source compatible approach
[23:52] <mgz> it might be the least worst, dunno, but I didn't have fun doing this with testtools


[09:44] <harishnavnit> okay , i finally logged into my lxc , now i'm about to run the rocketfuel setup inside the container , would it be better if i removed the previous lp-directories or let them remain as it is and run the rocketfuel setup again in a different direcotry ??
[09:53] <wgrant> Leaving them as is is fine.
[09:53] <wgrant> harishnavnit: No need to delete them.
[09:54] <harishnavnit> okay , so i guess i should run the rocketfuel setup in a different directory then ?
[09:54] <wgrant> It doesn't really matter where you run it.
[09:54] <wgrant> It will always use ~/launchpad unless you alter the script to put it somewhere else.
[09:57] <harishnavnit> yea , that is my confusion
[09:57] <harishnavnit> i already have a launchpad folder in the ~/ directory
[09:57] <harishnavnit> will it merge the contents ?
[09:57] <wgrant> It will download any bits that are missing.
[10:00] <harishnavnit> okay
[10:01] <harishnavnit> just FYI , i had run the rocketfuel setup outside the lxc previously and I'm now going ahead with the setup inside a container


[01:09] <tsol> Hello
[01:23] <tsol> I'll just throw this out there, hopefully someone sees it before I go to bed.  ;)
[01:25] <tsol> I'm trying to use the weblive thing, but it never launches and just says:  'Environment field is required'.    I have the Fullscreen option checked, and am using a Mac.  I have tried both Firefox & Safari, but get the same result.