[00:02] mwhudson: Doesn't help for redirects. [00:03] Peng: but proxypassreverse does [00:05] Should it really take over 6 minutes to branch the Launchpad repository from one local disk to another? [00:05] 'maybe' [00:06] It's throwing a lot of CPU at it when I think it would be relatively quick to just... copy the folder. [00:06] Now, that's just lazy. But still. [00:07] branch validates data [00:07] we don't know if its e.g. removable or network or trusted or not [00:07] if you just want to copy the folder, I suggest you copy the folder. [00:07] It just seems a lot of CPU time for a repo of ~ 300MB [00:08] do you have the C extensions? [00:08] Should do, it's from the PPA [00:09] mwhudson: links from the landing page with the list of repos all have https, but links from within a served repo dont any more [00:09] thrope: links in directory listings are *really* relative [00:09] foo [00:09] ...But they still invoke HTTP redirects cuz they leave off the trailing/. :D [00:10] Peng: you can fix that if you like [00:11] Hmm. [00:13] Oh. It's totally trivial to fix. Doing so now. :D [00:17] thrope: try bzr+ssh://bazaar.launchpad.net/~mwhudson/loggerhead/relative-links [00:21] mwhudson: great - it works! thanks a lot! [00:21] thrope: awesome [00:21] thrope: you'll need to use proxypassrequest to handle the redirects [00:24] you mean proxypassreverse? or something else (dont know what proxypassrequest is) [00:25] Darn, it's a little bit trickier to add trailing slashes to breadcrumbs, cuz you have to avoid making the root link to //. [00:26] thrope: i mean that yes, sorry [00:26] * mwhudson needs lunch [00:26] there are a few problems poking around [00:26] ah ok [00:26] view branch changes goes to nn_review/changes/14start_revid=14 [00:27] * mwhudson can believe it [00:27] gives internal server error [00:27] but https stuff is ok [00:27] thrope: where is that? [00:27] and "view changes to this file" button leads to nn_review/changesfilter_file_id=nnreview.py-20091126142852-yobx026pq984w1a0-1 which gives not found [00:28] thrope: ah stupid mistake [00:28] sorry nn_review is my branch, from nn_review/files/13 i click the view branch changes button [00:28] it works with the ? in by hand [00:28] thrope: pull again? you want r397 [00:28] i forgot to put the ? in [00:31] ah breadcrumbs (I think thats what their) called at the top are still non https (root)/nn_review at top of changes page [00:32] funny thing mouse over is https but actual link is http [00:33] anyway thanks a lot - I have to head off now [00:33] happy thanksgiving to any us folks (normal day here!) [00:37] Peng: can you review/test https://code.edge.launchpad.net/~mwhudson/loggerhead/relative-links/+merge/15298 ? [00:37] * mwhudson lunches [00:42] mwhudson: I'll test it, at least. [00:42] mwhudson: I have been fortunate enough to avoid learning anything about URL handling. :) [01:41] lifeless: Check finished. 945 inconsistent parents, but nothing worse. [01:41] Only took 26.5 hours. Nice. [01:41] Peng: cool. check with vila - he has history there - but I suspect 'reconcile' is in order. [01:42] bzr's pretty impressive; *I* was never able to reconcile my parents' inconsistencies... [01:42] lifeless: How do you reconcile something on LP, though? [01:43] Peng: pull, reconcile, sftp/hitchiker and nuke the repo; push [01:44] Peng: this is for the candidate converted maria, right? [01:44] or 'spmdo reconcile url' [01:44] spm: ^ :) [01:44] Heh. [01:44] lifeless: Yeah, it's for Maria. [01:45] lifeless: How do you reconcile a stacked branch? [01:45] Peng: same same [01:45] It'll automatically reconcile the stacked-on repos just fine? [01:45] no [01:46] it reconciles the stacking branch and repo only [01:46] Oh. [01:46] Well, that's still OK. [01:46] I don't know which repo the inconsistent parents are in, though. :\ [01:47] you did 'bzr check' locally though,right ? [01:47] Yeah. [01:47] so they are local [01:47] :) [01:48] But I have copies of everything locally. [01:48] check checks only the local repo/branch [01:49] gotta eat [01:50] And, actually, I don't think I've added any revisions to my MySQL repo since I last checked it, and there weren't any inconsistent parents then... [01:52] lifeless: If it only checked the...1400 revisions in the stacked branch, why the heck did it take 26 hours? [01:57] I'm reconciling LP over ssh, just to see how awful it is. [02:05] Peng: not branch, repo [02:06] s/stacked branch/stacked branch's repo/, then. [02:06] ...One reconcile died with a KeyError. [02:07] Peng: check has issues ;P [02:10] When reconcile says it's repacking, does that mean it's done reconciling? [02:10] Or is that part of reconcilnig? [02:12] Now another reconcile has crashed with the same KeyError. [02:15] And there goes the last one. [02:15] Yeah, _that_ makes me confident about the integrity of my repo. :P [02:18] 'spmdo reconcile url' rofl [02:18] Oh hi. :D [02:20] hey Peng, so what's up - am trying to put 2+2 together from the backscroll? [02:21] spm: I'm just reconciling a branch or two (lp:~mnordhoff/maria/5.1-2a and lp:~mnordhoff/maria/5.2-2a), including the copies on LP. [02:23] But reconcile crashes now. :\ [02:24] Ah. It's bug #441125. [02:24] Launchpad bug 441125 in bzr "bzr: ERROR: exceptions.KeyError: ('makefile.am-20080508221105-rbs9wugi1qq76gcs-2', 'scott@netsplit.com-20090702173125-4nayj8jp8h4f8jnq')" [High,In progress] https://launchpad.net/bugs/441125 [02:24] ew [02:27] where does this "20 characters message" come from? [02:28] Maybe I'll stop using stacking, locally and maybe even on LP. [02:28] poolie: ? [02:28] lifeless: It's in one of the recent mailing list messages about emacs. [02:28] hrm. oki, digested that bug report. So I'm guessing this is going to need me to fiddle with backups or some such? [02:28] Peng: if you're pushing up a fresh mainline thats been converted, you won't want it stacked. [02:29] lifeless: I pushed up lp:~mnordhoff/mysql-server/mysql-5.1-2a non-stacked, and then have all of my other branches (including Maria) stacked on it. [02:30] spm: Well, originally the "spmdo" was just to run "reconcile" on the two branches on LP. Then it turns out reconciling them fails, so it's moot. [02:30] Peng: ahhh. bummer. ok. [02:31] I hate stacking. :( === arjenAU2 is now known as arjenAU [04:15] * igc lunch [04:56] spiv, around? [04:56] i have some python weirdness for you: [04:57] http://pastebin.ubuntu.com/329072/ [04:57] * spiv looks [04:57] i think in 2.5 and up 'exitfunc' is not a real method anymore, and [04:57] probably logging is causing the compatability method aluded to in http://bugs.python.org/issue2356 [04:57] to activate [04:58] and if i remove that, it breaks [04:59] poolie: hmm, the stdlib docs do say it might not be set [04:59] oh? [04:59] poolie: file:///usr/share/doc/python2.6/html/library/sys.html#sys.exitfunc [05:00] (And that it's been deprecated since 2.4, but we knew that already I think) [05:00] mm [05:00] ok, this is it [05:00] poolie: so I suppose the correct thing to do is actually "exitfunc = getattr(sys, 'exitfunc', None); if exitfunc is not None: exitfunc()" [05:00] or to run atexit._run_exitfuncs() [05:01] or we can just say that there is nothing like that [05:01] but the getattr is probably a safer change [05:02] Yeah, we're stuck with either a deprecated interface (sys.exitfunc), or an undocumented one (atexit._run_exitfuncs). [05:03] yay [05:03] when in doubt, prefer the smaller diff [05:03] the good thing about this is that this patch is avoiding loading at least one file (atexit) [05:03] Although the *implementation* of atexit is actually to install _run_exitfuncs as sys.exitfunc. [05:03] So in practice it's the same thing. [05:03] probably not enough to matter, buta small chance you'd have to wait until the disk head got to it [05:03] But getattr avoids an import ;) [05:03] exactly [05:05] thanks [05:17] poolie: didn't you put the explorer website into the list of automatically refreshed ones? [05:17] i thought i did [05:17] poolie: I pushed a change there an hour ago [05:17] and it's not appearing yet [05:17] * poolie checks [05:18] at the moment it only runs once per day [05:18] it can be more [05:18] but now that it does the sphinx generation it actually takes a fair amount of work to do all of them [05:19] so i turned it down [05:25] poolie: once a day ought to be fine for the core docs. Maybe bzr-migration-docs and bzr-explorer-website could be hourly. They ought to be far more lightweight [05:25] poolie: I maybe I just need a way to do it on demand [05:26] s/I/or [05:30] i'll just make it hourly for now [05:30] it'll kick off soon [05:31] we should probably move it all into a role account that you can get at but i don't really want to do that right now [05:38] can bazaar handle having a branch of one repository nested inside a branch of another repo [05:38] I'm thinking that I'd like my dependencies handled that way [05:39] i.e. one repo per solution. if the main project in solution A depends on the main project in solution B, I create a branch of solution B's repo inside a folder in the branche of solution A's repo [05:40] that way the version of B that A depends on can be updated whenever, and easily [05:41] Rotaerk_: I don't know precisely what you mean by "solution", and I suspect what you mean by "repository" isn't quite what bzr means, but I think the answer may still be yes. [05:43] Rotaerk_: if you have branch of one project at foo/, and a branch of another project at e.g. foo/libs/bar, then that's fine by bzr. [05:43] hmm okay sounds good, thanks [05:43] "solution" and "project" are part of the visual studio code organization model [05:43] Rotaerk_: bzr won't keep track of which version of libs/bar you happen to have in foo/, but it won't get confused or anything like that. [05:44] hmm [05:44] Rotaerk_: so you can do "bzr pull" or "bzr commit" etc inside foo/libs/bar, and the fact that it's inside foo/ will be irrelevant [05:45] And similarly you can pull, commit etc in foo/ without disturbing the branch in libs/bar [05:46] okay time to try it [05:46] Yeah, that's the best way to figure this out I think :) [05:46] just didn't want to screw up my current repo if bazaar would be confused by it [05:48] igc: how now? [05:48] poolie: excellent. thanks! [05:48] poolie: http://doc.bazaar-vcs.org/explorer/en/tutorials/open-source-dev-gnome.html [05:54] very nice! [05:55] igc, i wonder if not specifically mentioning emacs would be sound better? [05:55] after all we'd be willing to provide site policy for any hosting site [05:55] it would make it look more like you're using emacs & savannah just as an example [05:56] poolie: I'm not sure I understand what you're saying [05:56] if i created a branch and want to get rid of it, can I just delete the folder it's in, or is there a command I need to use [05:57] the doc is explicitly aimed at the Emacs developers [05:57] but generalised to be useful to others [05:57] i'm saying the document seems to have some tension about whether it's specifically for emacs, or just using emacs as an example [05:58] hmm nm, I guess I can just delete it... since bzr has to scan to find branches, it must not actually track them [05:58] it's just an observation, not a big problem [06:00] poolie: it's meant to be general with Emacs as an example ... [06:00] but good enough to show Emacs developers the "right" way to get started [06:01] poolie: should I take out the note re savannah push policy perhaps? [06:01] given what you just said i'd probably write it as something like this [06:02] "explorer knows about the right way to publish to different hosting sites, but at the moment not how to publish to Savannah where emacs branches are hosted. (Patches or information on how it should work gratefully accepted.) Therefore we have to manually tell it where to push this branch...." [06:04] poolie: ok [06:04] hmm darn [06:06] given branch of repo A at aaa, and branch of repo B at bbb, if I create a branch of bbb at aaa/bbb, I can't do "bzr add bbb" from aaa === timchen1` is now known as nasloc__ [06:07] it remains unknown [06:08] was hoping that revisions of A could contain snapshots of branches of B [06:18] Rotaerk_: no, unfortunately. We'd like to support something like that, but it hasn't gotten past the experimental stage yet. [06:19] hmm I wonder if git or mercurial can do that [06:19] Rotaerk_: that's what I was trying to say when I said "bzr won't keep track of which version of libs/bar you happen to have in foo/" [06:19] ah I see [06:19] is there any other way to go about what I'm wanting to do? [06:20] i.e. have particular revisions of A dependent on particular revisions of B [06:21] i think SVN can handle this using "externals" [06:21] though I've only heard about it [06:22] Rotaerk_: there are some plugins and add ons that might help [06:22] ah this is actually listed as a limitation on the bazaar site [06:22] Rotaerk_: http://bazaar-vcs.org/ScmProj is one, there was also a mailing list thread touching on this recently [06:23] Rotaerk_: it starts at https://lists.ubuntu.com/archives/bazaar/2009q4/064637.html [06:25] hmm thanks [06:35] poolie: how does one get permission to upload to our +downloads page. Is it joining ~bzr? [06:36] i think so [06:37] showing the current transfer rate is geeky provicialism (according to sjt)? [06:37] poolie: can we add the guys making mac packages into there then? [06:37] of course [06:38] um [06:38] if you just add them to that team they'll get a lot of mail [06:38] it may be better to work out what lp role controls access, and then make that a different group [06:38] it may not be possibly [06:38] possible* [06:38] it's probably better also to add them to bzr-core === Rotaerk_ is now known as Rotaerk [06:40] poolie: the PPA packaging guys are in bzr, not bzr-core. hmm [06:41] downloads sounds similar to PPAs conceptually wrt permissions? [06:45] so [06:45] the ppa is an example of one thing that sends a fair amount of mail to its owners [06:45] i trust the guys doing packaging of course [06:46] i don't mind adding them to any group [06:46] perhaps the easiest thing is to just add them to ~bzr and then if that's not working, try something else [06:57] meh, I only wanted to nest revisions of B within a revision of A so that I could setup a reference from project A to project B, but instead I'll just build B and copy B.dll into A [07:38] hi all [07:39] Hi. :) [07:42] hey vila! [08:16] ‘bzr branch lp:foo’ is agonizingly slow. what protocol is being used when I specify the scheme ‘lp:’? [08:16] bignose: If you've run "bzr launchpad-login", bzr+ssh. Otherwise, http. [08:17] I don't have a Launchpad account. can I easily make ‘lp:foo’ use ‘bzr+http’? [08:17] LP doesn't support bzr+http. [08:17] argl [08:18] why on earth not? [08:18] Probably cuz all of the LP developers use bzr+ssh, so it's not important to them. :P [08:18] bignose: time [08:18] Peng: no [08:19] Peng: we want to. Needs TUITS [08:19] it's not simply a matter of upgrading the Bazaar instance on Launchpad? [08:19] lifeless: TUITS? [08:19] bignose: It's a matter of...setting it up. [08:19] Peng: specifically, round tuits. [08:19] http://www.myrtlewoodgallery.com/get_a_round_tuit.htm [08:19] Peng: ^ [08:20] as in, “We haven't got a round tuit”. [08:20] bignose: its a deployment/testing issue [08:20] Ohhhhhhh. [08:21] hmm, perhaps there is something in Stephen J Turnbull's somplaints about the degree of difficulty in setting up a Bazaar server. [08:21] Peng: a better one - http://www.stosyth.gov.uk/default.asp?calltype=sep03roundtuti [08:22] bignose: its about 5 lines of apache config [08:22] bignose: but we have loggerhead, which is fragile at scale, and we really don't want to destabilise that [08:22] and they have to coexist on the same space. [08:23] okay. well, I can only agree with Stephen that it's a black eye for Bazaar when one's first likely interaction — branching an existing project— is dreadfully slow by default. [08:24] * igc dinner [08:24] bignose: setting up is in fact documented - 'running an http smart server' [08:25] I can't agree. Setting up a bzr:// server was easy.s [08:26] right, but that doesn't affect that Launchpad doesn't have it enabled, which immediately raises the question of why it's difficult for the experts to do. (and most people asking that question are likely to come to the “because it's too difficult” conclusion) [08:26] bzr+http is a little more fiddly, but not much. [08:26] um. what protocol does ‘bzr://’ run over? is it different from ‘bzr+http://’, ‘bzr+ssh://’? [08:27] it seems to me the read-only one is the important one for PR. [08:27] bignose: it runs over the bzr protocol [08:27] omg the doc search is slow [08:28] bignose: bzr:// servers listen directly on TCP port 4155; they aren't tunnelled over SSH or HTTP or anything. [08:28] oh okay. well, that raises the question: if *that*'s the easy one to set up, why doesn't read-only ‘lp:foo’ use that protocol by default instead of slow ‘http://’? [08:28] bignose: because lp isn't a typical deployment. [08:29] theres a db with virtual filesystem and 'stuff' [08:29] as well as private branches to consider [08:29] lifeless: (which is a shame, because otherwise it would promote bzr:// quite well) [08:29] but it's the most public one. “let's see how Bazaar performs over the network” is highly likely to lead to branching a project from Launchpad without an account there. [08:29] http://doc.bazaar-vcs.org/bzr.2.0/en/user-guide/http_smart_server.html documents how to run a bzr+http setup [08:30] running bzr:// from inetd is ridiculously simple for straight forward environments (and savannah is AFAIK - its no where near as complicated a setup as LP's production environment) [08:30] and hence branching from ‘lp:foo’, which leads to HTTP without specifically asking for it, which leads one to think that Launchpad and/or Bazaar are very slow over the network. [08:31] * fullermd still vaguely wishes he could setup bzr+http on a non-trivial setup... [08:32] bignose: as I said, we want to do it. the team that is responsible also has a bunch of other things to do. [08:32] so I think this ties directly into Stephen's observations about PR and what Bazaar (and Launchpad, and Canonical, etc.) can do to improve image: get the most obvious Bazaar site working very fast by default. [08:32] is it hard? not any harder than the other bugs they are working on. But they haven't gotten to it. [08:34] naturally. so perhaps, since Ian has published a guide, in response to Emacs developers needing to learn more about Bazaar, and specifically using Launchpad as a demonstration ... now is a good time to raise the priority of setting up a fast protocol by default for ‘lp:foo’ branch URLs. [08:34] to forestall a whole lot of Emacs developers, who might have otherwise been on the fence, having an abysmal first experience with Launchpad. [08:35] I think that you should make this observation on the list. [08:35] okay, shall do. [08:35] THe folk that need to see it are out drinking beer at the moment. ;) === jamesh_ is now known as jamesh === weigon_ is now known as weigon [08:53] lifeless: done, thanks. [09:01] hello [09:02] * fullermd waves at bialix. [09:02] * bialix waves back [09:02] hi fullermd :-) [09:10] hello [09:10] Hi. [09:17] hi, not a bzr question, but i guessed i'll drop it anyway... Anyone using Krusader for filetransfers? [09:20] i have a question: it is possible to include the current Rev.number into my source files? [09:21] i.e. in sourcefile "###bzr-rev###" and bzr replace this with the current Rev. number? [09:21] i know in CVS/SVN it its possible [09:22] i think this replacement should be done by commit command [09:23] because only the currently commited files should be became the new rev.number [09:23] any idea? [09:24] Torty: Generally you make your build system do "bzr revision-info >version.txt" or somesuch. [09:24] Torty: But there is the bzr-keyword plugin if you want it. [09:24] Or is it "bzr-keywords"? I don't remember. [09:28] i think i dont know what you mean (advice: write simple english *g*) [09:28] Torty: The usual practice is to make your build system do it, using a command such as "bzr revision-info". [09:29] Torty: But there is a plugin that does what you want. See http://bazaar-vcs.org/KeywordExpansion [09:29] ok i read [09:30] ok it seems to be what i searching :-D thx [09:30] Torty: That page looks a little out-of-date. It might be better to start at https://launchpad.net/bzr-keywords [09:30] k [09:36] The plugin functions more like PoC than usable code, for various reasons. Some of the changes needed to really use it are only in 2.1, and I'm pretty sure some aren't anywhere yet. [09:41] Ah. [09:42] * vila cries, testtools doesn't support python2.4 (it requires functools) :-( <- lifeless [09:43] vila: https://code.edge.launchpad.net/~lifeless/testtools/2.4 [09:43] has bzr's auto-resolve behaviour changed recently? [09:43] jml: I don't think so [09:43] vila, lifeless: actually: lp:testtools [09:43] vila: but you probably want that branch + my 0.9.1 branch. [09:44] ungh [09:44] Using '=' to underline things confuses the auto-resolver. [09:45] jml: oh yeah, sorry. [09:45] use ---- perhaos [09:45] problem for another day, I think. [09:45] or ++++ actually, that shouldn't be used there and should be unique [09:45] * vila sends love to lifeless, jml and checks [09:48] vila: By the by, 8.0 final release was finally cut. [09:48] fullermd: Great, thanks for telling me, I'll upgrade asap [09:50] jml, lifeless: lp:testtools still has the problem, trying 2.4 + 0.9.1 branches now [09:51] vila, oops. pushed to wrong location [09:51] * vila jumps on the brake pedal [09:52] vila, lp:testtools should have 2.4 now [09:52] * vila laughs at the commit message and wishes all commit messages were like that :) [09:53] * vila confirms --parallel=fork works again with 2.4 \o/ [09:54] 11 mins between tears and joy, who said bzr was slow ? [09:55] yes, I know, that's a totally unfair reasoning :-D [09:55] Man, that's pathetic. CVS can go from joy to tears in SECONDS. [09:57] jml: push 0.9. to trunk ? :) [09:57] no, not now [09:57] no? [09:58] lifeless, I was writing the release announcement and uploading the tarball. Now I can do the branch bit :) [09:59] jml: I would just push 0.9 to trunk again, is aall I meant [09:59] lifeless, rather than merge? [10:01] yes [10:01] we haven't landed anything on trunk that we haven't also landed in 0.9 [10:02] if we had it would be different. Just a thought. [10:02] I don't intrinsically care. [10:04] done. [10:04] that's a release, I think. [10:05] crap. PyPI [10:06] :) [10:06] and setup.py [10:06] dammit, I can't believe I need a release checklist for such a small project. [10:07] you always need a checklist. [10:07] write a tool. [10:08] Sometimes I hate the day I internalized 'write a tool'... [10:08] -> fud [10:10] vila? [10:10] lifeless: what;s tool? [10:10] bialix: ? [10:11] vila: hello [10:11] what I should write in authentication.conf if I want to specify details for bzr+ssh [10:11] bialix: hello :) [10:11] scheme = bzr+shh [10:11] ? [10:11] or just ssh? [10:11] no, scheme = ssh, that's valid for both bzr+ssh and sftp since that's really the same scheme [10:12] oops [10:12] nice [10:12] vila: thanks very much [10:12] * vila thinks the problem has been raised already and a warning is emitted ? [10:12] Peng: i've installed new bzr and the plugin but i have problems to understand what i have now to do [10:12] Or am I just dreaming that I wrote the fix ? [10:12] i mean the keywords-plugin [10:13] on Launchpad the documentation is missing [10:13] vila: works perfectly! [10:14] cool [10:14] Torty: Did you see above what fullermd said about the bzr-keywords plugin? [10:14] on launchpad? [10:14] lifeless, I'll write a tool after I have a checklist, probably. [10:15] lifeless, anyway, release done. [10:16] ah - fullermd here on irc - no - i have to reboot my system [10:16] no chat-log active [10:16] can you paste me what he said [10:16] Torty: 09:36:46 < fullermd> The plugin functions more like PoC than usable code, for various reasons. Some of the changes needed to really use it are only in 2.1, and I'm pretty sure some aren't anywhere yet. [10:17] thx - mom i try to translate ... [10:18] Torty: Short version: it's still experimental and doesn't work completely. [10:18] this means the plugin ist useable up from 2.1 version of bzr? [10:19] aha - but in future this replace-feature (bzr-keywords) will be working [10:19] With versions before pretty recent dev head, the keywords won't update all the time when you perform bzr operations. [10:19] aha [10:19] And with any version I know of actually existing, filtering in general can only be configured globally, so you can't turn them on in a single branch. [10:19] but the feature will be finialize in newer versions [10:19] good to know [10:21] what means also: if i want rev.# in my sources i have to do it by hand [10:21] or (bedder) dont include it in source files [10:22] ok thx - i wish you a nice weekend [10:22] bb [10:56] fullermd: And people still don't believe that computers have feelings.... The freeBSD8 VM just crashed...And it runs from a different host than the one I use to do IRC.... [11:07] vila: 's what you get for running emacs on it :p [11:12] fullermd: pfff, not even, it was running unattended :) [11:14] fullermd: more seriously, since it crashed, I may as well upgrade now, http://wiki.freebsd.org/8.0TODO is out of date ? [11:15] Dunno. The last edit date is, what, a week and a half back, or something? [11:15] Not sure how actively it was maintained during the RC cycle. [11:16] fullermd: it's ok, just found http://www.freebsd.org/releases/8.0R/announce.html [11:16] * fullermd glances at how recently the version control page was updated as long as he's bouncing around the wiki... [11:16] hey ! vbox guest support ! [11:17] of course, just when I wanted to start migrating to kvm... [11:17] * fullermd . o O ( Last real update: 2008-01-19 ) [11:17] Well. That's almost certainly not much changed since the last few RC's :p [11:18] .. may be, but it may also mean I need some tweaks I'm not aware of... [11:19] I guess the topic fizzled out of major notice after src moved CVS -> SVN. Owell. [11:40] Hello! Anyone an idea how stacked branches differ from others (regular ones)? [11:43] drmabuse_: Stacked branches don't store all of the revisions locally. [11:43] drmabuse_: They should function exactly the same as a normal branch, more or less. [11:43] drmabuse_: A stacked branch does not have all the revsions in it's repository. It has a url to the branch that it is stacked on, and if bzr needs any revisions that are not in it's repository, it gets them from the stacked on branch. [11:44] GaryvdM++ [11:44] You put it very well. :) [11:44] Ah, thank you! [11:44] Peng: thanks [11:44] Great! [11:44] * fullermd blinks. [11:45] The heck... how did I get a modified file in my bzr.dev tree... [11:47] OK, what the hell? log $FILE is showing 1 rev touching the file, log -n0 $FILE is showing 2, and there's no overlap between them. [11:48] And none are actually direct edits, they're all merges. [11:49] ... OK, that's even weirder. I revert it, and it STILL shows modified. [11:50] Kill dirstate? [11:50] (well, mv) [11:50] what file is that ? [11:50] Oh, I found it. [11:50] Just snows to go you the sad state of content filtering. [11:50] I still had a ~/.bazaar/rules file turning on keywords on *.txt, and doc/ja/user-reference/index.txt had something that ate. [11:51] \o/ [11:51] Of course, on the plus side, that does show that revert Does The [Hypothetically] Right Thing with filters now :p [11:51] Insofar as deleting 372 lines of the file is Right, anyway... [11:53] Mmph. And it compresses things that aren't valid keywords either. [11:54] Still freaky what log is doing there, though. [12:03] fullermd: What file is it? [12:04] Oh nvm - doc/ja/user-reference/index.txt [12:10] fullermd: bzr log doc/ja/user-reference/index.txt , and bzr log doc/ja/user-reference/index.txt -n0 work as expected for me. ? [12:12] Well, now that I've updated bzr.dev, both show only 1 rev. Just different 1 revs. [12:12] And still both just merges. [12:14] fullermd: bzr log doc/ja/user-reference/index.txt -n0 shows me 4 revisions - http://pastebin.com/d100bf598 [12:15] fullermd: bzr qlog doc/ja/user-reference/index.txt also the same [12:17] Hm. [12:17] How odd. I get that too, without -v. But with -v, kaplooie. [12:17] That's pretty marfed up. Why the hell should -v affect ANYTHING like that? [12:19] fullermd: yhea - thats def a bug IMHO [12:21] Hi vila [12:22] vila: Is there a way do detect if some code is being run from a test? [12:22] meh, where should I put the comma ? [12:23] I don't know? [12:24] GaryvdM: :-) Is it: 'some code is, being run from a test' or 'some code is being run, from a test' [12:24] vila: I got a test where a exception is being caught by qbzr error reported, which shows a nice gui error report, and the error does not get to the test. [12:25] vila: so I want to disable qbzr's error handler if it is being run from a test. [12:25] haaa, you want the code to realize it's run by the test ? [12:26] yes [12:26] Don't ever do that or the code police will come to arrest you [12:26] lol [12:26] Instead, the test should alter the environment [12:26] Nah, as long as they check with log -v, they'll never find it being introduced :p [12:27] The former is known as 'test code in production code' and very frowned upon :) [12:27] vila: ok [12:27] the reason being that it's cheating really :) [12:28] log -v can find more revisions touching a file :-/ I don;t remember the details but I think it has to do mainly with file deletions [12:28] No, it finds less. Much less. [12:28] Or rather, it finds more, but gives up really quick. [12:28] * vila bangs head to wall [12:29] err [12:29] that's pretty unclear my dear friend :) [12:29] fullermd: vlia is right, normal log file won't find a revisions that deletes a file [12:29] -v will [12:29] vila: compaire bzr log doc/ja/user-reference/index.txt -n0 to bzr log doc/ja/user-reference/index.txt -n0 -v [12:30] fullermd: but log and log -v are on amanica plate again IIUC [12:30] so filing bugs now may be a good idea [12:32] GaryvdM: aaargh, vade retro satanas, I want to go have lunch, don't make me vomit :-( [12:32] sorry [12:32] that's pretty ugly :( [12:33] err, can I really use pretty and ugly like that ? [12:35] bbl, will have lunch anyway [12:51] vila/fullermd: I've loged bug 489179 [12:51] Launchpad bug 489179 in bzr "log file -v misses some revisions" [Undecided,New] https://launchpad.net/bugs/489179 [12:56] vila: when you are back from lunch, would this be an acpetable way to "alter the environment" : http://pastebin.com/d75e9a627 ? [13:22] GaryvdM: with the tweaks http://pastebin.com/m285da0a9 , yes [13:22] vila: would like your feedback on assertThat (in testtools 0.9.1) [13:23] vila: thanks [13:23] and regarding that bug, log -v shows *only* the revisions touching the file, while log, once it found a revision, also displays the ones that merge it (I forgot that case earlier), [13:24] so the bug is presumably about the "right" revision being lost while the merging ones are shown, because 4792.5.5 really add the file and I presume nobody ever touch it since [13:24] lifeless: is that about the matchers I saw mentioned in the commit messages ? [13:24] yes [13:24] see NEWS and the MANUAL [13:26] is it possible to share subversion.conf between machines - to the checksums int here come from the svn repository or are they randomly generated (ie does it make any sense) - I guess I was hoping if I accessed the same repo on another machine the checksum would be the same [13:32] lifeless: after reading NEWS and MANUAL, I'm still hungry :-) Now reading matchers.py [13:33] that was quick :) [13:33] I recognize that DocTestMatches as very closely resembling my needs in shell-like tests :) [13:34] if you want to see it in use, look at test_testresult.py [13:35] yeah, I see that... making doctest.ELLIPSIS the default sounds sensible... (I did that in the shell-like tests) [13:36] vila: I haven't read the shell like stuff yet [13:36] vila: did you use the doctest module? [13:36] great minds etc [13:36] yes I did use it [13:37] so, the problem I have with assertThat is that the actual value comes first [13:37] read it as an english sentence [13:37] yeah, I know, that's the good part [13:37] assert that foo doctestmatches thing [13:37] its a bit cutey [13:38] but otoh fairly memorable [13:38] but then when I look at the tests, I stop "reading" and go into some matching mode [13:38] I think you would adapt quite quickly - bzr already has inconsistency here [13:38] the needle, haystack thin [13:38] g [13:39] hehe, you used the right words, I can adapt but inconsistencies make adaptation hard in the end [13:40] I think its better to make this really nice [13:40] anyway, as long as switching the args is invalid, it can hardly become a problem right ? [13:40] so we can effectively argue for [13:40] assertThat(thing, equals(other)) [13:40] yeah, it will blow up, unless thing is a matcher too :) [13:41] hehe, when you start writing tests about matchers, I suspect the parameter order is already wired ;) [13:42] assertThat(thing, equals(other)).... really nice [13:42] doing not may require some care [13:42] assertThat(thing, is(not(other))) would be nice to be able to write. [13:43] but 'is(not(' really would be 'not(is(' in this language. which isn't english (though it is other languages)) [13:44] on the feedback front, reading MANUAL was... refreshing, there nothing I want to delete there [13:44] Isn't there an english construct for assertThatNot ? [13:45] failIf > [13:45] failIf ? [13:45] in english, 'the horse *is* *not* red' [13:45] in this language, 'the horse *not* *is* red' [13:45] vila: think bigger, more complex composed matchers [13:45] gnight [13:46] play. Use. Enjoy. [13:46] :) [13:46] was addDetails in the MANUAL? [13:46] I forget if I added it there [13:46] no [13:46] if so - bzr log files. failed test work areas from disk. Possibilities abound. [13:47] ok, I should add that. Please file a medium priority bug on testtools if you would [13:47] its referenced from NEWS, I'm sure. [13:47] ciao === mtrudel_ is now known as cyphermox === Meths_ is now known as Meths === Sam__ is now known as SamB_XP [15:03] hi - I keep getting "Unexpected error while decorating: xxx.yyy" when using Bazaar Plugin for Eclipse... any clue? [15:03] jldupont, verterok is the developer for that plugin, maybe he will know [15:04] verterok: I keep getting "Unexpected error while decorating: xxx.yyy" when using Bazaar Plugin for Eclipse... any clue? [15:05] jldupont: could you check the stacktrace in /.metadata/.log ? [15:06] jldupont: also, what options do you have enabled in the decorator settings? [15:06] verterok: http://jldupont.pastebin.com/d5663d1bf [15:07] verterok: I don't believe I have ever touched this... the only option checked at the moment is "Enable Status Overlay Decorator" [15:07] jldupont: ok, what version of bzr-xmloutput do you have installed? [15:08] jldupont: bzr plugins should show that [15:09] verterok: how do I check that? Windows->preferences->Bazaar?? [15:09] jldupont: in a terminal: bzr plugins [15:09] ok [15:09] 0.8.3 [15:10] jldupont: hmm, it's quite old, are you in windows or *nix? [15:10] ubuntu [15:10] is there a PPA for auto-update of that stuff? [15:10] jldupont: is the bzr-xmloutput from the repository? [15:11] hmmm... don't remember where I got that... [15:11] jldupont: "bzr plugins -v" should show the path [15:11] what's the best way to install & keep up-to-date on this plugin? [15:11] /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput [15:12] jldupont: ok, it's the package [15:12] xmloutput 0.8.3 [15:12] This plugin provides xml output for status, log, annotate, missing, info, [15:12] /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput [15:13] jldupont: try this: 1) uninstall bzr-xmloutput 2) mkdir -p ~/.bazaar/plugins; bzr branch lp:bzr-xmloutput ~/.bazaar/plugins/xmloutput [15:14] Semi-related, I have heard there are two Eclipse plugins for Bazaar, which one should I use? [15:16] maxb: qbzr-eclipse use qbzr for the dialogs, bzr-eclipse is a native plugin (pure java+SWT, except the interface with bzr) [15:16] " bzr: ERROR: Target directory "/home/jldupont/.bazaar/plugins/xmloutput" already exists. " [15:17] jldupont: so you already have it: cd ~/.bazaar/plugins/xmloutput && bzr pull [15:18] it blew in my face: http://jldupont.pastebin.com/d2f611ae9 [15:20] jldupont: oh, you have bzr 1.13.1 and bzr-xmloutput is using a newer repository format :( [15:21] where is the PPA for Bazaar again? [15:22] is this it: https://launchpad.net/bazaar [15:22] jldupont: https://edge.launchpad.net/~bzr/+archive/ppa [15:23] verterok: ok, thanks! [15:26] hmmm... I've added the PPA to my sources but Synaptic doesn't show an upgrade to bzr... [15:26] what's wrong? [15:26] it concludes that 1.13.1 is latest. [15:27] maybe it is taking the "ubuntu" default? [15:28] jldupont: most probably you missed some step while adding the PPA ? You did add the key for it ? [15:29] Yes I did add the key. [15:29] sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8c6ce1efd [15:29] hmm, you refreshed the package list ? [15:29] "reload" in Synaptic. [15:29] yes [15:29] ghaa [15:30] let me start my hardy vm [15:31] I went for apt-get update [15:31] and back to Synaptic: 1.13.1 [15:32] 1.13.1-1 (hardy) or 1.13.1-1ubuntu0.1 (hardy-updates) ? [15:33] boom [15:34] vila: I must be Synaptic having the problem: I do sudo apt-get install bzr and I got upgraded.... [15:34] jldupont: vila: I must be Synaptic having the problem: I do sudo apt-get install bzr and I got upgraded.... [15:35] ... and now it shows up in Synaptic !\\ [15:35] not the first time I've had problems with Synaptic ! [15:36] note to self: go with apt-get if problem with Synpatic *before* bugging people. [15:36] THANKS GUYS! [15:38] ... and now Bazaar Eclipse plugin complains that bzr-xmloutput isn't found!!! [15:38] weird [15:38] jldupont: you're welcome [15:38] what is the approved process for installing bzr-xmloutput ?? [15:39] it shows in Synaptic! [15:40] ... and now "mark for reinstallation" in Synaptic takes care of the problem... [15:40] let's just say I do not love Synaptic that much ... [15:42] I still get a ton of "decorator" errors: http://jldupont.pastebin.com/m4b23cbe2 [15:42] * vila leaves it to verterok :) [15:42] heh [15:43] jldupont: did you restarted bzr-eclipse? [15:45] ... just did ( you can of course flame me good ! ) ... but now a new problem: http://jldupont.pastebin.com/d2d1e7b81 [15:48] jldupont: could paste the whole traceback? or is just that? [15:48] it was only that when I posted it... now, I tried doing a commit: http://jldupont.pastebin.com/d4d5fb3c9 [15:49] jldupont: looks like bzr-gtk is killing bzr [15:50] what's the solution? [15:50] jldupont: removing bzr-gtk...maybe? [15:50] get rid of it? I just need eclipse pluing and cli [15:50] vila: do you know what's the status of bzr-gtk? [15:51] jldupont: yes, I think that removing/uninstalling bzr-gtk is enough [15:51] jldupont: or updating it [15:52] verterok: what status ? [15:53] got right of it... still blows up in my face! [15:53] oh, hum, bzr-rebase seems to be a problem [15:53] http://jldupont.pastebin.com/d3af2792e [15:53] bzr-gtk should be upgraded from the PPA I think [15:53] bzr-rebase: got rid of it too. [15:54] http://i49.tinypic.com/x2lxmp.png [15:55] jldupont: you still have an old xmloutput installed [15:55] maybe my repo of the old version is causing the trouble? [15:57] xmloutput: 0.8.3 [15:57] \what PPA did you add exactly ? [15:57] edgewall one [15:57] https://edge.launchpad.net/~bzr/+archive/ppa [15:57] jaunty [15:58] /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput [15:59] jaunty ??? 1.13.1 is the latest proposed in jaunty by default ??? [15:59] Again I'm asking for someone to review changes to trac-bzr. This time https://code.launchpad.net/~gagern/trac-bzr/bug194277/+merge/15323 in particular, as it removes quite a large portion of (supposedly unused) code. I'd love a second opinion here! [16:00] MvG: I know nothing about trac-bzr, but given the work your putting into it, you clearly seem to be the de-facto maintainer... [16:00] vila: yes it seems. [16:00] And become so in little more than a week, or so it seems. [16:00] I feel like every time I fix a bug, I find a new one. [16:00] as such, you'd better just take over the trunk and wait for people to complain or, more likely, thank you :) [16:01] I'll have done unreviewed commits in the past, and will likely do more in the future, especially if I get no reviews here. [16:02] On the other hand, I've gotten some very useful input from reviews, so I'd at least give people a chance to look things over. [16:02] ha ok, I thought you didn't get any [16:03] jldupont: ok, I misunderstood, I thought you were on hardy :-/ [16:04] vila: no probs. [16:05] vila: I installed the latest xmloutput (from what verterok wrote earlier): still blows up in my face. [16:06] jldupont: did you removed the system wide installed xmloutput? [16:06] verterok: yes.... got Synaptic to do it. [16:06] is this ok? [16:06] yes [16:06] I have zapped my .bzr from my project... [16:06] rebuilding everything now... [16:07] jldupont: and did you updated the xmloutput in .bazaar/plugins ? [16:07] jldupont, verterok: that shouldn't matter if the .bazaar/plugins one is loaded, which 'bzr plugins -v' should confirm [16:07] xmloutput 0.8.6.dev [16:07] This plugin adds an option (--xml) to log and provides an xml version of some [16:07] /home/jldupont/.bazaar/plugins/xmloutput [16:07] jldupont: ok, good [16:08] jldupont: are you getting the same error? [16:08] Exception in Decorator. The 'Bazaar' decorator will be disabled. [16:09] http://jldupont.pastebin.com/d2908bb17 === oubiwann_ is now known as oubiwann [16:11] MvG: you may want to set some limit for waiting of review: say 1 day. I fnobody answers, then simply go on and commit your improvements [16:12] verterok: any clue? [16:12] MvG: thank you for working on trac-bzr btw [16:12] jldupont: you removed the .bzr dir? [16:12] bialix: I'm committing when I tire of waiting for reviews... [16:12] MvG: I'm still have to find a time to test your changes, busy at work too much [16:12] verterok: Yes I did. [16:12] The more central a change, the more I want it in trunk before working on, and the more impatient I am with reviews. [16:13] jldupont: please add it again, or remove the project from bzr-eclipse control in eclipse [16:13] MvG: when I know that review in qbzr or bzr-explorer may wait weeks, I clearly say that I will wait no more than week and if nobody subject will land it [16:13] jldupont: it will fail as eclipse have it mapped to bzr but there is no .bzr [16:13] verterok: oh, wait a sec [16:14] MvG: there is too little people who can and most important want to review your changes [16:14] MvG: that said you can develop as you wish [16:14] MvG: i.e. don't wait for review at all [16:15] Already doing so for minor changes. [16:15] g'day. i've got bzr log bzr:// working just fine. but a bzr log bzr+ssh:// complains that it's Not a Branch. No error about ssh auth or connecting. Just Not a Branch. [16:15] verterok: ()@!_)( Eclipse is all confused now! [16:16] MorbusIff: what if you try sftp:// instead? === beuno is now known as beuno-lunch [16:16] MorbusIff: what path are you specifying ? '~' support has changed recently between sftp and bzr+ssh [16:17] bialix: same erorr. [16:17] vila: i'm specifying the path to a branch in both cases. example.com/branchname. [16:17] Error while executing push [16:17] RemoteRepository(bzr+ssh://bazaar.launchpad.net/~jldupont/tinycouch/trunk/.bzr/) [16:17] is not compatible with [16:17] CHKInventoryRepository('file:///home/jldupont/workspace/tinycouch_trunk/.bzr/repository/') [16:17] different rich-root support [16:17] so there is really not a branch [16:17] a full path then ? [16:17] what do I do now?? [16:17] delete from LP ? [16:17] bialix: but when i run bzr://, it works fine, with the same path. [16:18] bzr://example.com/whee works, bzr+ssh://example.com/whee does not (complaining that it's not a branch) [16:18] MorbusIff: look into .bzr.log, you'll find there some debug info, maybe it helps to identify problem [16:18] vila: using a full path causes both bzr:// and bzr+ssh:// to report Not a Branch. [16:19] bialix: getting a traceback. [16:19] doesn't personally tell me much though. i don't code python/bzr. [16:20] edit private urls and pastebin [16:20] then we can look and suggest something [16:21] http://pastebin.com/m1aca9352 [16:21] right now you can test via any ssh client if you can read sftp://example.com/whee/.bzr/format [16:22] perhaps you've got permission denied problem [16:22] are you sure your local login name and your login name on the server is the same? [16:22] they are not, but i'm forcing the remote name in .bazaar/authentication.conf. [16:22] maybe you need to explicitly specify them in URL? [16:22] just for testing [16:22] tried that before here, and same error. [16:23] MorbusIff: can you test via your ssh client if you can read sftp://example.com/whee/.bzr/format [16:23] ? [16:24] yeah, i'm getting there. [16:24] what it means? [16:24] i'm still in the process of testing that. tlaking to someone else at the moment. [16:26] yeah, that was it, actually. [16:26] the full path iw as giving was wrong. [16:26] so the test failed. [16:26] verterok: vila: just to close the loop: I deleted the branch on LP, delete my .bzr on my side, closed eclipse, re-init everything by hand through CLI, restarted eclipse... and now it works! [16:26] when i gave the right full path, bzr log works now under bzr+ssh [16:26] thanks for your precious time guys! [16:30] jldupont: cool :) [16:31] um, is anyone willing to lend their Bazaar expertise and help me out with this? [16:31] s/this/something/ [16:31] it depends [16:31] what on? [16:31] on your question, of course [16:32] just ask first [16:32] designing and organizing the repository/branches [16:32] so what is your question [16:33] just a sec [16:34] Hi bialix and vila [16:34] Hi Gary! [16:34] my project consists of a core executable and several modules [16:34] the modules depend on files in the core for the interfaces, etc. [16:35] what's the recommended way to set this up? [16:35] bialix, vila: I'm very eger to here what you guys think about lp:~garyvdm/qbzr/just_show_tests [16:35] GaryvdM: I'm about to look at your branch right *now* [16:35] :-) [16:37] gosh, I don't run bzr log for ages, forgot leading q... [16:38] GaryvdM: ok, I've ran it [16:38] looks terrible as you expected :-) [16:38] but I can live with that [16:39] but maybe if we can made those tests optional or control them somehow -- it will be nice [16:39] vila: ping [16:39] bialix: The other option is to just init and run initial_load, but not show the widow. [16:39] bialix: pong ? [16:40] bialix: this would mean that the paint methods don't get tested. [16:40] vila: have a couple of minutes for qbzr>? [16:40] bialix: I'm upgrading it to 2a and looking at gary's branch [16:40] GaryvdM: no, if we can I'd better test all we can [16:40] ok [16:41] GaryvdM: this flashing windows is a bit annoying, but I understand the price. [16:41] if i run bzr serve --directory=/reall/long/path is there a way to replace bzr co bzr+ssh://example.com/real/long/path/branch with simply bzr co bzr+ssh://example.com/branch [16:41] GaryvdM: meh, that's 46 revisions on top of trunk ??? [16:41] vila: in the past there were interactive tests for bzr itself [16:42] vila: no - just 2 [16:42] vila: is it possible to make part of test suite switchable? [16:42] Imperion: Whatever makes sense for the language you are using. If the core executables and modules all make a single logical project unit, then they can all go into a single bzr branch [16:42] chx: yes [16:42] bialix: And how...? [16:42] bialix: interactive tests make no sense for automation in my mind, what are you talking about ? [16:43] dOxxx: okay [16:43] bialix: I read the help for both co and serve and saw no way :/ [16:43] bialix: some conf file? [16:43] chx: you mix bzr serve and bzr+ssh [16:43] oh i do not even need bzr serve when urnning bzr+ssh? [16:44] that ... makes sense, i suppose? [16:44] chx: no [16:44] bzr+ssh launch bzr serve via ssh automatically [16:44] GaryvdM: if I run 'bzr qlog trunk just_show_tests' it shows 46 additional revisions, what's up ? [16:44] bialix: aaaaaaah [16:44] vila: do you have old trunk? new trunk is trunk2a [16:45] bialix: aaaaaaaaaaaaaaargh [16:45] I updated old trunk :-( [16:45] I *upgraded* old trunk [16:46] that's fine, run pull --remember lp:qbzr now :-) [16:46] right [16:46] only 2 revisions now [16:46] Imperion: every branch is separate entity [16:46] aaargh again, I ran 'pull --overwrite' and forgot --remember, you guys drive me nuts ;) [16:46] * bialix said --remember, not overwrite [16:47] vila: we don't want, honestly [16:47] * vila did it before bialix gave the right invocation :) [16:47] rats, I've late [16:48] bialix: ok then is there a config value like the user=joe in authentication.conf to supply a sort of base bath? [16:48] GaryvdM: so, a couple of remarks [16:48] * GaryvdM listens [16:49] bialix: meaning [16:49] ? [16:49] instead of doing try/finally, use addCleanup, that avoids errors and indentations [16:49] chx: mmm, no. But I think you can try to use settings in authorized_keys on the server [16:49] Imperion: do you want all your modules to live in separate branches? [16:49] bialix: like....? [16:49] GaryvdM: i.e. self.addCleanup(win.close) just after the win is created [16:50] bialix: or set the home directory of the bzr user. [16:50] chx: look in contrib/bzr_access to get some ideas [16:50] i will [16:51] vila: we have code that runs when the windows close (like saveing the window sizes.) What would happen if there was and error in that code? [16:51] GaryvdM: don't override trace.report_exception unconditionally, you will regret it one day or another, do that in a setUp() and again use addCleanup to restore the original [16:51] Imperion: you can put your entire project into one big branch, or use separate branches for every module [16:51] bialix: all of the parts depend on the core [16:51] GaryvdM: don't worry, errors are allowed during cleanup methods, but they generally indicate deeper problems [16:51] Imperion: yes, but do your modules have thevalue by itself? to reuse them in other similar project? [16:52] no [16:52] they're useless without the core [16:52] Imperion: then put all modules into one big branch with core [16:52] Imperion: just think why you call them modules and separate from core? [16:53] vila: Re overriding report_exception: What would be a good way to make that common among lots of test? (can you think of an example in bzrlib?) [16:53] Imperion: in bzr world branch is main thing, it's often synonym to repo in other systems [16:54] vila: The big question is, is it ok to show and hide the gui from the test suit like that? [16:54] GaryvdM: define a base class or a mixing that all test classes that requires the feature will use [16:54] ok [16:54] bialix: they're modules because they're interchangeable with other modules with the same interface [16:54] GaryvdM: I wonder if we actually can use QtTest [16:54] bialix: e.g. multiple video driver modules [16:54] GaryvdM: yes it is, bzr-gtk does that [16:54] or did [16:54] Imperion: so they have value by itself? with other core? [16:55] sorry? [16:55] hmm, let me try a trick or two [16:55] Imperion: there are several reasons to not put modules into the same branch as core [16:56] Imperion: because once you put them there you'll have problems to split this branch later [16:56] hehe, it works :) [16:56] bialix: modules depend on the core to compile [16:56] Imperion: but there is one big reasons to do so: much simpler to clone entire project [16:56] bialix: Yes - QTest will help when we want to test things like clicking on a button. [16:56] GaryvdM: http://paste.ubuntu.com/329520/ [16:57] GaryvdM: In my undertsanding QtTest can help to avoid actually show the GUI? [16:57] Imperion: what you need called nested trees [16:57] bialix: look at my pastebin, no more windows showing up :-D [16:57] bialix: explain? [16:57] Imperion: but they are not implemented yet [16:58] >_> [16:58] vila: I'm not sure if that will cause paint events to run - I run with --coverage to check [16:58] Imperion: you can organise several separate branches into complex project [16:58] GaryvdM: could be, let me know [16:58] and work with such construct as with one big branch [16:58] vila: hehe, nice [16:58] bialix: As far as I can see from the docs, no [16:59] Imperion: there is 3rd party tools to manage this problem though [16:59] Imperion: config-manager utility; scmproj, externals plugins [17:00] mhmm [17:00] Imperion: I'm the author of scmproj [17:00] scmproj is somewhat emulation of nested trees [17:00] Imperion: do you familiar with svn? [17:00] or CVS? [17:00] no [17:01] Imperion: no other VCS experience? [17:01] nope [17:01] ok [17:01] my project is hosted on Launchpad [17:01] will this be possible? :S [17:01] is and will in last 2 sentences are conflict [17:02] yes, it's possible [17:02] Imperion: why do you want to separate the modules if they require trunk ? (I.e. they make no sense without trunk) [17:02] what is your project? it's open source as I understand [17:02] vila: I don't want anything, I'm asking for advice [17:02] bialix: 2D isometric RTS engine, https://launchpad.net/catom [17:02] the code currently available is old [17:02] I've refactored everything [17:03] vila: Imerion said the modules can be changed by similar with the same interface, sounds like pluggable architecture for me [17:03] bialix: it is [17:03] and I'm wondering about improving the organization of it [17:03] vila, Imperion: therefore I'd suggest to not put plugins into the same branch as core [17:03] Imperion: sry, my advice will then be: don't separate modules from trunk if there is a strong dependency, just keep them in the same branch [17:04] After 80 hours, "bzr check" on 1.14 MySQL is *still* at "[####\ ] checking commit contents:inventories 0/2". I might give up soon. [17:04] dun dun dun [17:04] bialix: that's just asking for trouble if they should always be kept synchronized [17:04] the truth is: you can merge all your separate modules into core branch easily but not vice versa [17:05] Imperion: so you need some experiments [17:05] I wonder how I'll fix the CMake script to work with this [17:05] if i checkout a bzr branch, is my commit access to it allowed or unallowed, barring any other configuration? [17:05] haaa, GaryvdM is back ! [17:06] back from Ubuntu [17:06] GaryvdM: why don't you use a VM instead of a double boot ? [17:06] in ubuntu [17:06] vila: Yes I should [17:07] * bialix does not know cmake specific, can't say much useful [17:08] Imperion: single branch with all modules + core would be much simpler to you right now, given in mind lack of good nested trees support [17:08] okay [17:09] I'm working on new design of scmproj, I'm hope I'll have better support of critical features soon [17:12] vila: The window still flashes for me :-( [17:12] vila: and the paint methods don't get run. [17:13] vila: I'm going to make your other changes though. [17:13] GaryvdM: forget about the cheap trick then, we may want to try harder when I add the plugins to babune [17:14] GaryvdM: but even there you may add some feature check to ensure there is a usable display [17:14] vila: yes - I hope to still find a solution. [17:15] GaryvdM: don't spend too much time on it now, it's better to have tests that requires some feature than no tests :) [17:15] vila: but for now, it's a start in the right direction I believe. [17:15] vila: yes [17:15] GaryvdM: definitely !! [17:16] GaryvdM, bialix : gtg, have a nice week-end ! [17:17] Bye vila - Thanks for the help. [17:17] gtg? [17:17] got to go [17:17] gotta go [17:17] bye vila, thanks! === beuno-lunch is now known as beuno [17:51] GaryvdM: I'm ok with your new flashing tests [17:52] GaryvdM: btw, one observation about exception dialog reporter [17:53] if I click X button on this dialog or press Esc then it treats this as Ignore. In most cases the problem too serious and we need to actually close the window [17:54] * bialix going home [17:54] bye GaryvdM, bye all [18:03] beuno: ping [18:03] Peng, hi dude [18:04] beuno: You approve lp:~deuns-martinez/loggerhead/flup? I'd be happy to tweak and land it. [18:04] Peng, I do, I think that with the tweaks it's good enough [18:05] and he's gone to the trouble of signing the contributor agreement, submitting the branch, etc [18:06] beuno: So...want me to go ahead and do that? [18:06] Peng, yes! thank you [18:06] OK. :) [18:09] Done. [18:09] thanks Peng! [18:10] :) [18:34] hi! do the karmic versions of bzr & bzr-svn work OK under Ubuntu Hardy? [18:34] servilio, probably not [18:34] there are some depenency issues with python-central, if IIRC [18:35] There aren't Hardy versions you can use? [18:36] beuno, Peng: just enabled the backports in hardy but didn't see it, now trying to debbuild using karmic source repos, but wanted to quick ask first [18:36] I'd prefer to build from source packages [18:37] There's probably a PPA. [18:38] servilio: Try https://edge.launchpad.net/~bzr/+archive/ppa [18:41] Peng: looking at https://launchpad.net/~bzr/+archive/ppa?field.series_filter=hardy [18:41] Peng: thanks for the suggestion1 [18:41] ! [18:42] servilio: Don't thank me until you confirm that the PPA versions of bzr + bzr-svn + subvertpy are all compatible... [18:45] Peng: shouldn't the source package specify when it could not be built by using minimum versions for its requirements? [20:14] I created a new test project and I pushed to my server using sftp. No errors. When I try to branch off using http, I get : "bzr: ERROR: Unknown working tree format: ''" [20:14] I searched for that error in google but found nothing :( [20:18] What a weird error [20:18] Perhaps you should publish a test repo on your server that people can use to reproduce the bug [20:22] maxb: I published a test repo on my "dreamhost" account using sftp and I can branch off from there. [20:22] maxb: I cannot do it from this internal apache web server that the infra team setup. [20:22] maxb: They did not set it up for me to publish bzr branches so they are not willing to help me out [20:23] I can do it but I am on my own :( [20:23] So, to clarify, you are using "dumb" http [20:24] yes [20:24] sftp to publish and dumb http to branch from. [20:25] i have a problem with bazaar on nfs4 share [20:25] anyone that can help? [20:28] roychri: Perhaps you could see if using -Derror or -Dhttp shows any useful information [20:28] passing that to bzr cli? [20:29] interesting [20:30] maxb: http://pastebin.com/d5852206f [20:31] i have a problem with running bzr stat on an nfs4 share... anyone that can help? [20:31] roychri: bzr 1.3.1? That's like, ancient history! :-) [20:32] maxb: oh... I simply did "apt-get install bzr". [20:32] maxb: I did not realized it was archaic [20:32] Ubuntu or Debian? [20:32] ubuntu 8.04 [20:32] There is an official PPA carrying the latest release [20:32] https://launchpad.net/~bzr/+archive/ppa [20:33] roychri: What does http://server5591.lan/code/testyyy/.bzr/checkout/format look like? [20:34] Peng: no checkout in .bzr [20:34] there is a http://server5591.lan/code/testyyy/.bzr/branch/format file however. [20:35] maxb: Thanks for the PPA, I will give it a try [20:35] roychri: What happens if you try to visit http://server5591.lan/code/testyyy/.bzr/checkout/format in a browser, though? [20:35] roychri: Also, is ther eany sort of proxy involved? [20:35] there any* [20:36] i have a problem with running bzr stat on an nfs4 share... anyone that can help? [20:36] if i run bzr stat on the nfs4 share everthing hangs up [20:37] Peng: hmmm. you might be on to somethnig. I am not getting 404. [20:37] Peng: nice. You got it! [20:37] :D [20:37] Peng: There was an .htaccess in the parent folder. [20:37] http://server5591.lan/.htaccess [20:38] With some rewriterules that was screwing things yup [20:38] Does it work now? [20:38] yup [20:38] Branched 1 revision(s). [20:39] Perfect. :) [20:40] Thank you Peng and maxb for your help today. [20:47] i have a problem with running bzr stat on an nfs4 share... anyone that can help? [20:47] if i run bzr stat on the nfs4 share everthing hangs up [20:48] "Hangs up"? Are you sure it's not just slow? [20:50] yes [20:50] i am sure [20:50] every other command works though [20:50] https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/403697 [20:50] Launchpad bug 403697 in bzr "bzr hangs trying to lstat dirstate file" [Medium,Invalid] [20:50] this bug describes the same behaviour [20:51] Peng: it works with nfs3 and bzr stat works with nfs4 if there has not been any changes [20:52] Peng: but if there is changes it hangs on bzr stat [20:52] Sorry, I don't know much about this. [20:52] anyone else? [20:54] bzr diff and other commands work [20:55] abbec: you could try emailing the mailing list, you may reach a broader audience and increase your chances of finding somebody who knows something about it [20:55] dOxxx: ok... how do i do that? [20:56] abbec: https://lists.ubuntu.com/mailman/listinfo/bazaar [20:56] you'll need to subscribe to post [20:56] dOxxx: thx [21:04] Anyone knowing lots about bzr-svn layouts here? [21:05] If I have a repository containing many projects *not all at the same depth from the repo root* what should I do? [21:05] Hi all. Can't connect to answers.launchpad.net (some network problem). I am using git for 1,5y and now I am in a company where bzr is popular. I considered switching and I have a question about a feature I use 100% of time in git: interactive add. Is there something like that? I found shelve feature, but it looks like stash in git (i.e. isn't the one I am after) [21:06] rittyan - Not in the core, but I think there is a plugin. [21:06] let me search [21:07] https://edge.launchpad.net/bzr-interactive ? [21:08] rittyan: are you referring to something like the git staging area? [21:09] maxb: yes that's it [21:10] jelmer: Hi, is there any bzr-svn layout configuration that will enable it to deal with a svn repository with multiple projects (trunk tags branches in each) *not all at the same depth from the repo root*? [21:10] maxb: custom/wildcard branch layout [21:11] (sorry for repeating, I got disconnected) Hi all. I am using git for 1,5y and now I am in a company where bzr is popular. I considered switching and I have a question about a feature I use 100% of time in git: interactive add. Is there something like that? I found shelve feature, but it looks like stash in git (i.e. isn't the one I am after) [21:11] i.e., can I commit hunks or lines I pick from a file, instead of whole file [21:11] So I'd have to enumerate each project separately in the bzr-svn config? [21:11] rittyan: Somebody suggested trying bzr-interactive [21:12] rittyan1: https://launchpad.net/bzr-interactive [21:12] maxb: You can use multiple asterisks in the wildcard layout [21:13] branches = */branches/*;*/trunk ? [21:14] rittyan: also, you can use shelve to accomplish something like git's staging area. you shelve the changes you don't want, commit the rest and then unshelve. [21:14] dOxxx: troublesome [21:14] and that plugin looks... "new", according to bugs [21:14] maxb: for example [21:15] also, as I understand, plugin => no support in gui [21:15] maxb: asterisks will only cover one directory level [21:15] rittyan1: I'm one of the devlopers of qbzr. I hope to add support for that soon. [21:15] maxb, you might need "*/trunk; */*/trunk; */*/*/trunk", etc [21:15] dOxxx: I do series of commits at once, making them small and per-feature from big changes. Shelving/Unshelving is definitely troublesome with such workflow :< [21:16] rittyan: yeah. although to be honest, shelve -> commit is pretty much the same amount of effort as stage -> commit, if you ask me. :) [21:16] rittyan: if you're using this to separate feature commits, perhaps you should be trying feature branches. [21:17] feature branch is something like creating a branch per feature? Like, `git branch ticket-1234` [21:17] rittyan: yes. usually used in conjunction with a shared repository so as to save disk space and make the branching quick. [21:18] I use that workflow already :) it's just isn't wise to use it to add a function (one commit), then put this function to use (another commit), for example [21:19] damn, I am addicted, it seems :/ without hope to switching [21:19] rittyan: for sure, it's best used in a somewhat coarse manner, like a bug per branch, etc. [21:23] hmmm [21:23] rittyan: comment #10 and #16 on http://tomayko.com/writings/the-thing-about-git are interesting [21:24] rittyan: something that may also be useful to you is bzr-pipeline or bzr-loom [21:34] dOxxx: I don't get what it says. I never had any problems with testing or whatsoever, hm :< [21:35] rittyan1: it's more of a general principle thing. The changes committed using git's staging area have not been tested on their own as you're committing them. [21:35] rittyan1: anyway, I'm just saying it's an interesting perspective. I personally found the staging area quite useful in some cases when I was using git a while back. [21:35] care to share what do you do when you write a function, put it to use, make cosmetic changes (you are on a coding spree) and then you need to make 3 commits of it? [21:36] rittyan1: my usual working environment uses cvs, so in that case I cry. ;) [21:36] what about your after-work life :) [21:37] rittyan1: but using bzr, I would use shelve to separate the changes [21:37] rittyan1: or if the cosmetic changes are closely related to the function I added, I would probably just include it in the one commit [21:38] rittyan1: commit history doesn't have to be an exact replica of the process you went through to make the changes. [21:38] of course, that's why I spent an hour today moving back and forth commits for 3 prev. weeks, squashing or "fixing" then a bit [21:38] before pushing to public [21:39] rittyan1: using git or bzr? [21:39] I am using git [21:40] I never tried bzr yet, but a lot of people at work do [21:40] I am preparing myself :) [21:41] rittyan1: as I understand it, when you merge stuff from one git repo to another, the target repo gets the individual commit messages. so if you commit with messages "1", "2", "3" and then merge to another repo, that repo will have revisions with messages "1", "2", "3", right? [21:41] hmm [21:41] although I think I'm mixing up my terminology. merge is not push. :) [21:42] hmm I am not sure I got it, but what you say looks correct to me. Also, I used merge only once maybe, in 1.5y of using git [21:42] I am rebase kind of user [21:43] moin [21:43] (i.e. try to stack commits from one branch on top of another and fix conflicts if there any) [21:43] moin lifeless [21:43] anyway, the point I was trying to make is that using feature branches and merging them into a trunk means that the "messy" nature of the commits on the feature branch are hidden. [21:44] because the merge appears as a single revision with your merge commit message on the trunk [21:45] dOxxx: yes that's why I don't like merging :)) [21:45] rittyan1: however, bzr does expose the individual commits of the merge if you want [21:46] rittyan1: check out this example: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/revision/4832 [21:46] what at I should take a closer look there? [21:46] ah! got it [21:47] if you follow the link "4831.1.1 integration" on that page, that takes you to the branch vila merged into trunk [21:47] except that I don't see any individual commits there [21:47] on the page for vila's branch you can see 4815.3.8 quiet-serve [21:47] that's *my* feature branch [21:48] if you then click the view history link you'll see the individual commits [21:48] but note that all this info is coming from the bzr.dev trunk repo [21:48] the bzr GUI log tool, qlog, shows it quite a nice way [21:49] I think that I should give it a try [21:49] and see if I like it [21:49] because anyway, sooner or later I will probably have to face bzr [21:49] like it or not :/ [21:49] it's not that bad ;) [21:50] and one more question: there must be rebase, I bet. Interactive one? :) [21:51] rittyan1: Here is a screen shot of those revisions in qlog: http://imagebin.ca/view/IjcR0oL.html [21:51] GaryvdM: looks like typical git log in gui [21:51] except that green node has trailing pink changes that have no parent [21:52] the parent is off the screen [21:52] this is that? commits existed during merge? [21:52] ah, right [21:52] rittyan1: yes [21:52] rittyan: note that you can also colapse and expand those merges, like a tree [21:53] rittyan1: there is a plugin for rebase/rewrite [21:53] rittyan1: Yes - there is rebase, via plugin. See http://bazaar-vcs.org/Rebase [21:53] does it mean that on public repos people will know about my private life commits? [21:54] if it's merged, yes [21:54] you could always email patches ;) [21:55] Hopefully you don't commit you private life to a public repo ;-) [21:57] brb, disconnecting vpn [21:59] hmm, thanks for help [21:59] honestly it all sounds very limited, no offence... I am just used to something bizzare it seems [21:59] you are great bunch of guys, thank you o/ [22:00] rittyan1: Any time. [22:00] rittyan1: you're welcome [22:07] what's the diomatic way in python to represent an abstract method in an abstract class? [22:07] i.e. as a hint that subclasses must implement this method [22:07] raise NotImplemented [22:08] aha [22:08] No, NotImplementedError. [22:08] thanks [22:08] Yes, sorry thats what I ment. [22:09] NotImplemented is for use in comparison methods. You return it if you don't know how to compare with the other object. [22:09] raise NotImplementedError(self.methodname) [22:10] where 'methodname' is the actual name of the method? [22:11] dOxxx: Where "self.methodname" is an expression that evaluates to the method object itself. [22:11] def foo(self): raise NotImplementedError(self.foo) [22:11] Peng: gotcha [23:20] when do we get branch specific eol patterns?