[00:44] spiv, igc, lifeless, do you think https://code.edge.launchpad.net/~mbp/bzr/456077-cross-format-fetch/+merge/17354 is worth merging to 2.0? [00:44] it is a bug, and a mysql bug, but [00:44] there's some risk of regressions [00:45] and i think not a high-impact bug [00:45] so i have doubts [01:43] poolie: no strong opinion [01:45] lifeless: a fix for your most annoying code bug is playing in ec2 [01:54] thumper: \o/ [01:54] thank you [01:57] hi. how could I list all branches of centralized repository? [02:13] jkakar, there's a plugin that will download all tips. [02:13] CardinalFang: Tips for what? :) [02:14] jkprg: 'bzr branches' (may be in bzrtools) [02:17] poolie: thx. I have some problem with this command. it generates error of pycrypto (http://nopaste.info/b5e646b452.html) [02:19] it's not an error, it's a bug in another python library [02:19] i think recent bzrs suppress it? [02:20] poolie: may be i'm too fresh. i have bzr 2.1.0b4 [02:22] can you file a bug please? [02:22] https://bugs.edge.launchpad.net/bzr/+bugs [02:22] i thought there was one but this may be a different issue [02:23] poolie: sure === jkprg_ is now known as jkprg [04:00] poolie, sorry, you asked earlier about where to talk about testtools. [04:01] poolie, I'm sorry but I don't have a clear answer -- hip-deep in sprint, and not satisfied by the current channels for communication. [04:01] np, not at all urgent [04:01] i shall blather on subunit-dev i think [04:39] hi spiv, still around? [04:50] poolie: yeah [06:58] Let's say I want to ignore everything under src/, except src/sys/dev/cgd.c and src/sys/kern/kern_main.c. Is there a way to accomplish this using .bzrignore? [06:59] bzr ignore ./src [06:59] bzr add src/sys/dev/cgd.c src/sys/kern/kern_main.c [06:59] (adds take precedence over ignores) [06:59] Oh, I thought "ignore" [06:59] ... ah. :) [06:59] Many thanks. [06:59] Makes sense, now that I think about it. [07:04] np [07:09] hi all [07:11] * fullermd waves at vila. [07:12] hi vila [07:14] * vila feels welcome :) [07:21] lifeless: There's an interesting side effect when adding ./src to .bzrignore, and adding explicit files. Once I added the explicit files, it adds the paths up until the files, which means it finds lots of "unknowns". I guess I could set an explicit "ignore everything under ./src" rule? But how? [07:22] DaffyDuck_`: hmm, let me check [07:22] I tried something like RE:./src/.* [07:24] Aha. "RE:src/.*" seems to have done it. [07:25] bzr ignore './src/**/*' [07:25] if you want to use an re thats fine - but be sure to anchor it to root [07:25] Even better. Thanks again. [07:25] as you don't want to ignore *any* dir called src, only ones at the top. [07:25] Yeah, that's what I was worried about. [07:26] contrast with (for instance) 'bzr ignore Makefile.in' where any Makefile.in should be ignored. [07:38] poolie: ping [07:38] hi [07:39] something is calling stopTest without calling any outcome, for a number of tests [07:39] ... to cause that behaviour i complained about? [07:39] to cause the stderr output [07:40] its because the test before the first one shown hasn't 'finished' in the stream. [07:40] something in bzr? [07:40] yeah - bzr/testtools [07:40] if you run subunit-stats < subunit.out | head [07:40] :{ [07:40] you'll see the start of a subunit stream [07:41] look in subunit.out with vim, find the test: line that was at the top of head [07:41] and look up [07:41] mm [07:41] you'll see a test that is misbehaving [07:41] its probably my fault :) [07:42] mm [07:42] test_info_locking [07:42] there is a test line but no other mention of it [07:42] right [07:42] are you allowed to have multiple tests in flight at once? [07:42] that means that startTest was called, but not addSuccess/addSkip/addExpectedFailure/addError/addFailure/addUnexpectedSuccess [07:43] poolie: in a single stream, no. the parser will emit an error for that test after the stream ends at the moment. [07:44] i kind of want a --strict that will flag these [07:44] or a subunit-lint [07:45] poolie: It may be a good idea to warn on any token seen out of state; I don't at the moment to be as transparent as possible. [07:46] if you do subunit2pyunit < subunit.out [07:46] you get [07:46] ERROR: bzrlib.tests.per_tree.test_path_content_summary.TestPathContentSummary.test_file_content_summary_not_versioned(PreviewTree) [07:46] ---------------------------------------------------------------------- [07:46] _StringException: lost connection during test 'bzrlib.tests.per_tree.test_path_content_summary.TestPathContentSummary.test_file_content_summary_not_versioned(PreviewTree)' [07:47] mm [07:47] it may be better but it's not exactly clear [07:47] I agree. [07:47] sorry if that sounds grumpy [07:47] We can definitely have a specific linter [07:47] I'm hesitant to make the main parser more aggressive though. [07:48] yes that makes sense not to [07:48] you don't sound grumpy [07:48] this is with bzr.dev yes? [07:48] i think i'd like it to try to catch up and keep going [07:48] approximately [07:48] so [07:48] i'm going to stop for today [07:49] what combination of bzr branch + testtools version did you use to generate the subunit.out ? [07:52] poolie: ^ [07:56] vila: ping [07:57] lifeless: pong [07:57] bug 507804 - is it possible that you have the same sort of damage to the subunit stream you're testing subunit2gtk with ? [07:57] Launchpad bug 507804 in subunit "subunit-filter doesn't seem to actually filter" [Undecided,New] https://launchpad.net/bugs/507804 [08:01] lifeless: it's within a few revs of bzr head [08:02] well, ~mbp/bzr/progress if you want to be specific [08:02] and [08:02] >>> testtools.__version__ [08:02] (0, 9, 2, 'final', 0) [08:02] poolie: could you try running just ./bzr selftest --subunit bzrlib.tests.blackbox.test_info.TestInfo.test_info_locking | subunit-stats before you sign off [08:02] lifeless: I don't think so but I notice that: [08:03] Total tests: 2 [08:03] Passed tests: 2 [08:03] Failed tests: 0 [08:03] Skipped tests: 0 [08:03] ./bzr selftest -s bt.test_log --subunit | ~/src/subunit/trunk/filters/subunit2gtk is broken [08:03] poolie: ok, so whatever damaged the stream either needs a full test run, or was post-output from bzr [08:03] while redirect the output and then using the file works (selftest > file ; filter < file) [08:04] the whole module works [08:04] vila: just tried it - it worked for me [08:04] lifeless: so not bug #507804, but something specific to subunit2gtk [08:04] Launchpad bug 507804 in subunit "subunit-filter doesn't seem to actually filter" [Undecided,New] https://launchpad.net/bugs/507804 [08:04] vila: thanks [08:04] but now i have to go [08:04] poolie: thanks [08:04] dinner and extremely strange movies at the Chauvel [08:04] enjoy! [08:05] Did you do any post processing of the stream? [08:05] lifeless: what worked ? selftest | filter ? [08:05] vila: ./bzr selftest -s bt.test_log --subunit | ~/source/unittest/subunit/working/filters/subunit2gtk [08:05] 67 ok, 0 not ok. [08:06] lifeless: try subunit-stats as the filter [08:08] oh damn, my version says 67 ok when stats says 70, whereas trunk says 67 ok 1 nok when stats says 70 >-/ [08:11] lifeless: right, got that fixed too, hup is trigger-happy so we should process all pending reads first [08:13] visik7: welcome back [08:13] lifeless: right, got that fixed too, hup is trigger-happy so we should process all pending reads first [08:13] vila: I don't like the approach [08:13] lifeless: pushed to lp~vila/subunit/gtk-filter-fixes [08:14] lifeless: fine with me, as long as you fix the bugs :) [08:14] vila: busy reading in 'idle' is not nice [08:15] vila: in particular, running two or three of these in the same process is going to end badly (think multiple ec2 machines) [08:15] installing/uninstalling io watch have race conditions, you can miss events [08:16] vila: ! its not level triggered ? [08:16] I didn't change *when* we read, you said the UI is starving, fine, let's process the events [08:16] level triggered means ? [08:16] edge vs level [08:17] ECANTPARSE [08:17] http://en.wikipedia.org/wiki/Interrupt#Level-triggered [08:17] If there is data to read, adding a watch should trigger a read [08:18] otherwisee a trivial 'cat foo' program that supplies 'test: foo\nsuccessful: foo\n' would not cause anything to be seen [08:18] mmmmm .... cat food. [08:19] right, but how is that relevant to the fact that the hup signal is handled while in signals are pending ? [08:19] vila: your branch has conflicts btw [08:20] currently the merge is nonsensical [08:22] lifeless: weird [08:24] Oh, right, got it, the conflict is genuine, I deleted the lostConnection call [08:24] vila: I've done something similar [08:24] see if that fixes it for you [08:26] lifeless: yup, fixed [08:29] thank you for catching this issue [08:35] lifeless: hmm, but now the UI is starving again when fed with a bug file... [08:35] s/bug/big/ [08:36] vila: via cat ? [08:36] lifeless: filter bah [08:39] I meant to write all=False [08:39] all=False == none=True? [08:39] idnar: pshed [08:39] bah [08:39] idnar: sorry [08:39] vila: PSHed [08:39] which is expected since all defaults to True [08:39] perhaps you meant it to default to False instead [08:39] yup seems to do the trick [08:39] Now you can compare both versions and see decide which behaviour you prefer [08:40] Scheduling a read later is better for now IMO [08:40] reentering into the event loop is nasty [08:40] imagine you had three streams [08:41] io_watch events are not the same as othe events (IIRC) I did it that way in a gtk app with admiteddly a single data source, but never encounter problems in years [08:49] lifeless: in fact, since the loop is while event: process_event and the script can exit this loop *while there are still pending reads* I'm pretty sure it's safe :0D [08:50] vila: if you're playing with subunit [08:50] be sure to checkout testrepository [08:52] lifeless: sure, I came to subunit filters when toying with testrepository as you pinged me about it yesterday or the day before :) === Toksyury1l is now known as Toksyuryel [11:29] Hi. I had done a bzr unbind to work disconnected, and bound back to the remote branch. I want to blow away those changes now. Would you say, unbind and revert them, or, is there a simpler way? [11:30] pull --overwrite ? [11:32] I'll try it... just realizing that I ought to study up a bit more on the nature of doing the SVN model with BZR ;). [11:33] grettke: if you want to blow them away [11:33] grettke: then do 'bzr update; bzr revert' [11:33] grettke: when you're using a checkout, it works like a checkout :) [11:33] lifeless: doh! :), pull in the changes and then blow them away, I see [11:33] grettke: updating makes your local offline work into a pending merge and sets the master as your tip [11:33] grettke: then revert discards the pending merge [11:36] lifeless: thank you === mrevell is now known as mrevell-lunch [13:02] lifeless: how do I get a subunit stream *out* of testr ? [13:07] heya bzr [13:07] hi bialix [13:07] hi vila! [13:27] i am geting this error: http://pastebin.com/m4b2e273 === mrevell-lunch is now known as mrevell [13:29] ruk: what is en_IN ? [13:29] ruk: python doesn't know about it, that's the problem, try en_US.UTF-8 instead [13:30] vila: how can i change it? [13:30] as in export LANG=en_US.UTF-8 [13:31] ruk: but it's strange you ended up with such a $LANG, any idea how you ended with that ? [13:31] vila: no. i am using ssh login for first time and then i did $bzr [13:32] ok, so ask the remote admin about it [13:32] btw i m stiil getting same error: http://pastebin.com/m790fa6e5 [13:32] vila: ok [13:32] ruk: oooh, that's english(India) does that ring a bell ? [13:33] vila: yeah [13:33] ruk: so you may try en_IN.UTF-8 instead, no need to force US on India :) [13:37] vila: same error only lang is changin! [13:38] does it work with en_US.UTF-8 ? [13:42] vila: i think i can ignore it! [13:43] vila: but while trying to get branch i get "Permission denied (publickey). bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. " [13:43] ruk: it's hard to tell if you don't tell me what works and what doesn't work [13:44] the later error is probably because you didn't 1) log to launchpad 2) didn't install your private ssh key on the host you're running bzr from [13:45] ok [13:45] vila: so i have to login separtely for launchpad from ssh also ? [13:47] ruk: that's the way ssh works, each host is seen as different unless you share keys, launchpad allows you to register which keys you will use, ssh allows you to specify which key you use when connecting to a given host [13:47] finally launchpad *requires* ssh keys [13:47] so if you don't have keys you can't connect to launchpad [13:54] vila: do i have to save on remote machin (ssh) the ssh key file? [13:54] ruk: that or create a new key pair and upload the public one on lp [13:55] vila: i did ssh-keygen on ssh but i think it generated a new rsa key and overwrote on my preevious key. [13:56] what do you call shh ? The remote host ? [13:57] vila: :) [13:59] vila: ssh for connecting tto remote host. [13:59] securely [14:00] ruk: I can't parse "i did ssh-keygen on ssh" where did you run that ? [14:01] vila: i logged in using sssh . after loggin i did ssh-keygen [14:02] so you ran it on the remote host, then you didn't overwrote your local key, have a look into $HOME/.ssh on both your local and remote host to check [14:04] vila: i see only three file. rsa, rsa_pub and known hosts [14:05] locally and remotely ? Same sizes ? Same dates ? Same content ? [14:05] vila: how do i check remotley? [14:05] ruk: you know how to use ssh right ? [14:06] vila: i m a total n00b with both ssh and bzr! :( [14:06] ruk: What are you trying to do exactly ? [14:06] somehow i managed to keep my branch updated! ;) [14:09] vila: i have been assigned a web adres for uploading my app. i was given an ssh acess too! i have my branch on Launchpad which i would like to push on the web adress assigned. [14:11] so assuming that web address is an url starting with either sftp: or bzr+ssh: and that your rsa_pub is part of their authorized_keys then just do bzr push URL [14:12] if that's not the case, you need to contact the admin for that URL and set things up with him [14:12] ok === salgado is now known as salgado-lunch [15:40] is thr a GUI way of uploading branch on launchpad? [15:40] :) [15:46] ruk, maybe using bzr-gtk? [15:52] ruk: bzr-explorer === salgado-lunch is now known as salgado [16:28] Is it possible to "revert" the contents of the working tree to the tree contents of a revision on a remote branch? [16:33] revert -r xxx ? [16:42] davidstrauss: bzr revert -r -1:$REMOTE_BRANCH [16:43] ah [16:43] or bzr revert -r branch:$REMOTE_BRANCH [16:43] jam: thanks [16:43] jam: I kept trying -r revno:-1@$REMOTE_BRANCH [16:43] @ => : would have worked [16:46] nice [16:46] never know it's possible [16:46] hello jam [16:47] hi bialix [16:48] does it works only for revno? [16:52] Whether a revision specifier accepts a branch parameter is part of the revision specifier [17:04] i am getting internal server error when i open some folder in my branch .however i can open files! === khmarbaise_ is now known as khmarbaise [17:08] ruk: Go on. Is this using Loggerhead or something? What does the server's error log say? Use index files or something? [17:09] Peng: i am checking it through my web browser on launchpad === tchan1 is now known as tchan === beuno is now known as beuno-lunch [17:40] vila: testr failing --subunit [17:46] lifeless: hmm, testr help failing looks promising :-) What I had in mind I asked was the ability get a stream for any run though, which I since realized is just there in the .tesr dir [17:46] s.mind.mind when/ [17:58] vila: Feel free to add a command to show an arbitrary run, with a --subunit option to it ;) [17:58] vila: I'd like access to the files in .testrepository to be arbitrated === beuno-lunch is now known as beuno [18:01] Great, ruk's gone... :| [18:01] Well, if it comes to it, someone could check LP's logs./ === deryck is now known as deryck[lunch] [18:01] 'codebounce down'. ;P [18:01] -> plan [18:01] -> plane [18:02] * vila nods @ lifeless (about arbitrated access) [18:02] oooh... and that's with the new patch I think [18:02] lifeless, you've been a lot on planes lately [18:08] wow, now that's a nasty trap: read a test, think , right, so that's how we implement it.... hours pass.... realize that the test is against a deprecated function :-( Worse, the deprecation is only a comment in the function >-( [18:08] * vila search for a chicken to eviscerate just because [18:18] When I use bzr register-branch it gives me this error: bzr: ERROR: xmlrpc protocol error connecting to https://xmlrpc.edge.launchpad.net/bazaar/: 401 Unauthorized [18:18] How can I fix it? [18:18] Or what should I do? [18:19] when i do bzr merge lp:/... Is the online branch merged or the local one? [18:20] lp: is an alias for bzr+ssh://bazaar.launchpad.net/ or http://bazaar.launchpad.net depending on whether you've registered your launchpad login - either way, it's remote [18:20] ok === deryck[lunch] is now known as deryck === pgalbraith is now known as CaptTofu === salgado is now known as salgado-afk [20:05] beuno: not really [20:06] vila: what code? [20:06] maxb: flare probably needed to log in [20:08] lifeless: log.calculate_view_revisions === salgado is now known as salgado-afk === gnomefreak76 is now known as gnomefreak [22:34] is there a way to completely delete files from a repo? I got like 50mb of static content I branched off that's being downloaded every time I branch my website repo [22:41] Adys: Unfortunately no, or at least, not without rebuilding a new branch which bzr will not consider to be related to the old one (so no merging between them) [22:41] If this is potentially acceptable to you, install bzr-fastimport and read bzr help fast-import-filter [22:41] mmh ill stay lazy [22:42] Adys: Yes, but not easily. [22:42] Adys: Um, mostly people use bzr-fastimport for it. [22:42] Eeek. [22:43] What was that? [22:54] Peng: netsplit [22:54] Clearly, the network should go on one humongous server. [22:54] mneptok: Well yes, but this one was combined with some nice lag. That's unusual. [22:54] "[Lag: 14.13]" :D [22:55] "[Lag: 70.63]" -- even better! (Sorry, I'll stop now.) [22:55] Aww, 5.06 now. *Now* I'll stop. :P [22:57] What about a mainframe? :D [22:58] a netbook with multiple OC-192s is better for IRC than a mainframe with a single 300kbps modem :) [23:00] mneptok: You just have to get a bunch of keyboards and monitors and make the users sit right there. === mnepton is now known as mneptok === Adys_ is now known as Adys === Supertan1er is now known as Supertanker === sdboyer_ is now known as sdboyer