[00:00] igc, spiv: call now [00:04] jelmer: could i get you to review the latest seahorse-integration? [00:14] finally [00:15] core vf files passing tests with finished largely gone [00:15] wtg! [00:17] schierbeck: sure, one sec [00:38] jelmer: okay, another iteration coming your way -- we'll land this tonight! [00:38] schierbeck: feel free to just merge - I voted bb:tweak [00:39] okay [00:39] ather than bb:resubmit [00:39] I trust you are able to remove that one line :-) [00:42] hehe :) [00:42] jelmer: by the way, i've got this in the works: lp:~dasch/bzr-gtk/branchview-selected-row-color/ [00:43] we seem to be better on track than bzr.dev this week though ;-) [00:43] it adds a stroke of white around the line graph when selected [00:43] jelmer: yeah, they seemed panic-stricken [00:44] schierbeck: any chance you can have a look at my mime patch? [00:44] jelmer: sure [00:47] jelmer: i've got an actual patch icon, if you'd like it [00:47] tango styled and everything [00:47] i see you use the bazaar icon [00:48] yep [00:50] jelmer: i'll mail it to you [00:55] lunch break for me [00:56] jelmer: can you receive over irc? [00:56] f00k it, i'll jsut mail them [00:58] * igc reviewing spiv's patch for #207558 now [01:00] jelmer: this is also a possibility: http://tango.freedesktop.org/User:Dobey#Tango_Icon_Theme_Icons_.28CC-By-SA_2.5.29 [01:01] jelmer: oh, just found where i got the icons i sent you from: http://www.quantum-bits.org/?page_id=3 [01:18] schierbeck: ah, thanks [01:41] * igc reviewing spiv's nosmart+ decorator patch [01:49] * schierbeck is going to bed [01:52] abentley: yes, please merge that [01:52] Already in PQM [01:52] sorry I missed the assert issue - here's to jam's good catch on that one [01:52] great [02:05] New bug: #211122 in bzr "bzr help cherrypick would be useful" [Wishlist,Triaged] https://launchpad.net/bugs/211122 === mw is now known as mw|out [02:14] * igc reviewing the arch-independent site directory patch now [02:21] garh test_35_wait_lock_changing [02:21] _so_ fragile [02:23] lifeless: you can kill it [02:24] i think my branch to add another exception class makes it possible to write a much cleaner test but i have not yet done so [02:24] spiv: nosmar +1 from me too [02:25] poolie: ok, that's enough good enough for me. Thanks! [02:25] this should be rarely used anyhow [02:25] we hope [02:25] Right. [02:28] I was hoping for http-bzr [02:28] just for cool factor [02:28] ? [02:28] surely that would be the opposite? [02:28] http minus bzr :) [02:28] oh i see [02:29] standards, pfft [02:29] presumably we should use the unicode MINUS SIGN which looks almost but not quite like a dash? :) [02:29] I'm so totally unsure that that would be valid in the scheme [02:30] lifeless: it might not be valid, but "standards, pfft" ;) [02:34] indeed [02:34] though being able to type it in++ [02:35] it will avoid people using it accidentally :) === kiko is now known as kiko-zzz [02:51] * poolie is merging the test progress fix [03:07] lifeless: could I get your feedback on my "Playing with Stacked Branches" post? [03:09] yeah for some reason gmail thinks the time is 'undefined' [03:09] i wonder if i should reboot google? :) [03:13] abentley: do you have a moment to discuss cygwin/symlinks (re: bug 209281)? [03:13] Launchpad bug 209281 in bzr "Windows diff apps don't understand symlinks created by Cygwin bzr diff --using" [Undecided,Invalid] https://launchpad.net/bugs/209281 [03:14] matthewlmcclure: Sure. [03:14] i'm not sure how to proceed since several people have expressed concerns. here are the concerns i understand: [03:15] (1) you'd like "nice" pathhames, e.g., 'old' and 'new' [03:15] (2) martin disliked forking a process to dereference the 'new' symlink [03:16] (3) i want a windows diff program to find the files it needs to diff; and it can't dereference directory symlinks or understand cygwin full paths [03:17] (4) you said you thought my original patch addressed (3) in the wrong place [03:17] re: (4) do you have a suggestion where is the right place? [03:18] _try_symlink_root [03:18] it seems to me also that (1) and (3) are fundamentally in conflict, but maybe you have a better idea than anything i've come up with [03:19] They aren't in conflict. You just make a copy of the file with a nice name. [03:19] ah, right... i can do that; it's a reasonable compromise, but it doesn't address: [03:20] ( 5) i'd like the right side of the diff to be the working copy (so it can be tweaked in the diff program) [03:21] Well, we could provide that as an optional mode, and sacrifice (1) in that case. [03:22] But mainly, we shouldn't be creating symlinks if we don't want to use them. [03:24] ok... i understand now that your primary concern is not to create the symlinks if they'll only be dereferenced [03:25] That's right. [03:25] so we have a choice: ( a) copy the right side files and get nice pathnames, or ( b) use the working tree directly and get editability [03:26] there's a precedent for ( a) on native Windows [03:26] The dereferencing was far more involved than fixing it at the source would be. [03:26] matthewlmcclure: Personally, I would prefer to make a) the default, and b) an optional mode. [03:26] ok... i'll do ( a) in one patch, and worry about an option for ( b) separately [03:27] Well, maybe I'm being hasty. [03:27] You're the first person to ask for this. [03:27] Both a) and b) are analogous to our existing Unix behavior. [03:28] a) is the same as our windows behavior. [03:28] abentley: sure [03:28] Yeah, let's do --use-real-path as a second step. It should affect both Cygwin and Windows. [03:29] lifeless: thanks. [03:29] ok, will do. [03:29] thanks for your time [03:30] matthewlmcclure: no problem [03:35] noob question: Say I pull a "pristine" tree from a public server, then pull a "working" directory from that pristine tree. If I made a bundle from the "working" tree, the bundle references the local path to that pristine tree. Is that a problem? Do I need to tell 'bundle' what the real public tree is? [03:36] eg, if I want to send the bundle to the bazaar list as a merge request ;) [03:44] didn't Google just unleash some sort of "customize your time" thing? [03:47] They also announced their partnership with Virgin to set up a colony on Mars. [03:47] markh: You should put the public location in the merge directive, either by specifying it, or by setting the "public_branch" config value on your local copy. [03:47] abentley: ah, config value makes sense - thanks [03:49] np [04:03] poolie: I've written a nanny script for Bundle Buggy to restart it if it gets a lock error. [04:03] Obviously, this is a stopgap. [04:03] yay [04:03] thanks [04:03] No problem. [04:04] I'm going to try moving it to Postgres, which I've wanted to do anyhow. [04:06] so [04:06] sqlite does document its locking policy; like I said I think there is something crackful in the python bindings; they open new transactions implicitly AFAICT. [04:28] lifeless: It could be. [04:29] It could also be a hung thread, right? [04:31] New bug: #211139 in bzr "add reports partial success incorrectly" [Undecided,New] https://launchpad.net/bugs/211139 [04:42] abentley: possibly; if it is a hung thread one would expect contention in posgresql too [04:42] abentley: I would like bb to continue to support sqlite; pgsql is a lot harder to deploy [04:43] I don't intend to stop supporting sqlite, but I want to use postgres for myself. [04:45] cool [04:45] But schema migrations are way too painful in sqlite. [04:46] they are ? [04:48] Sure. In order to add a foreign key column, you have to create a new table with the new schema, copy the data over from the original, delete the original, rename the new one into place, and re-create some indices. [04:54] weird; sqlite supports alter table ... add column [04:54] lifeless: Yes, but as far as I can tell, that doesn't support foreign key relationships. [04:55] it supports anything create table supports [04:55] http://www.sqlite.org/lang_altertable.html [04:57] I have tried it. I couldn't get it to work. [04:59] Note that the foreign key relationship is not specified as part of a column definition. It's some kind of suffix on the CREATE TABLE command. [05:00] what syntax are you using [05:01] It has been a while since I tried it. [05:01] What would you suggest? I've got an sqlite prompt open. [05:03] Here's something that doesn't work: ALTER TABLE vote ADD COLUMN dogbert INTEGER, FOREIGN KEY(dogbert) REFERENCES tg_user; [05:04] so, while playing around locally, a couple of my local branches show "public branch" and "submit branch" values have been remembered as "related branches". How do I remove or change them? [05:04] so abentley, before trying to debug it, why are you using foreign key there at all - sqlite doesn't support foreign keys last I heard it. [05:05] http://www.sqlite.org/omitted.html [05:05] It certainly acts like it does, [05:06] https://pastebin.canonical.com/3816/ [05:08] theres nothing in there that suggests anything more than accepting the syntax [05:09] Well, I would like to add more columns that give such an impression. [05:11] Enforcing the constraint would be kinda nice, too. [05:14] and depending on what I try, I can manage to get my bundles showing both 'target_branch' and 'source_branch'. Am I correct that I just want target_branch pointing at the public branch and no value for 'source_branch'? [05:15] http://www.justatheory.com/computers/databases/sqlite/ [05:15] abentley: I think the add column syntax is infact invalid [05:15] abentley: but i'm not sure immediately how to work around that [05:18] markh: If you are not publishing branches, you want no value for source branch. [05:19] abentley: thanks [05:19] the submit_branch is remembered by merge and send, the public_branch is remembered by send only. [05:19] how can I "unremember"? [05:20] There is not "unremember". You may be better off just editing ./bzr/branch/branch.conf [05:20] it only seems to remember first time [05:20] ok [05:20] markh: If you want it to remember when it already has a remembered value, you can supply --remember. [05:20] ah - thanks [05:20] But by default we assume it's a temporary override. [05:21] I do remember seeing that now - my head is kinda exploding still though :) [05:22] lifeless: The page you gave already says that columns with unique constraints and primary keys can't be added. I think they just forgot to mention foreign keys. [05:26] abentley: sounds plausible [05:56] jml: Incidentally, hooray for bzr-svn. [05:57] oh? [05:57] After the initial branch, it makes working with banshee much nicer. [05:58] ahh :) [05:58] I need a new plunger :( [05:58] jml: yours has taken it's final plunge? [05:58] I just got a mouthful of wet coffee grinds [05:58] Mmmm, coffee grounds! [05:59] Yeah, it sucks when they get soggy; all the crunch is lost. [05:59] heh heh [05:59] i'm having trouble getting "bzr viz" to work on my Windows machine. i keep getting the error "PyGTK not installed". PyGTK *is* installed, and i'm able to run use it in a python shell. [05:59] i'm also having problems installing tortoiseBZR that might be related. when i try to do so, it says it can't find bzrlib and it needs to be in PYTHONPATH. i've tried setting this to several different things and can't get it to work. should this be set to "C:\Program Files\Bazaar" or something else? [06:00] Angelic13: I'm no Windows expert, but your PYTHONPATH should be set to the directory that contains 'bzrlib' [06:00] Angelic13: How did you install bzr? [06:00] and what does bzrlib look like in windows? [06:01] i see a bzrlib in python/Lib/site-packages/bzrlib [06:01] this only has a plugins directory and nothing else though, so i'm not sure if that's what it wants [06:01] *interesting* [06:01] fullermd: i believe i installed it with the bzr installer. it's been somet ime [06:02] I think this comes up with some regularity from using the standalone installer... [06:02] c:\Progam Files\Bazaar has the program files, and it has a lib directory, but nothing called bzrlib in there [06:02] i've searched through the whole system, and the only place there's a bzrlib is the directory in site-packages [06:04] trying an install again with the python bzr installer [06:04] that sounds like a broken install to me. [06:04] (note: I have never used Bazaar on windows) [06:04] No, I think that's what you get with the standalone installer. [06:04] fullermd: really? [06:04] is it py2exed or something? [06:04] fullermd: where does it find the libs? [06:04] With that, it doesn't use any external python stuff, it's all bundled up together. And that doesn't work with external stuff like bzr-gtk etc. [06:04] ahh [06:05] so what do you do if you want to use plugins? [06:05] ah this intaller put some more stuff into the bzrlib directory [06:05] * fullermd doesn't use Windows either; just going by what he's seen here and on the list [06:05] maybe that's what i needed [06:05] * fullermd nods at Angelic13. [06:05] i used bzr-setup-1.3.exe before i think [06:06] i just used bzr-1.3.win32-py2.5.exe now [06:06] okay yay i can import bzrlib now ^_^ [06:06] that must have been the problem. i didn't see any documentation anywhere saying to stay away from that particular installer though [06:06] Yah. AIUI, that installs normal python stuff. [06:07] ok installing tortoisebzr worked. bzr viz still isn't working, but perhaps another reinstall of pygtk will help [06:20] still can't get bzr viz to work, but tortoisebzr seems to work for now, so i guess that's good enough [06:21] if you start a python shell, can you import bzrlib and pygtk? [06:24] yes [06:24] but bzr viz keeps saying PyGTK isn't installed [06:25] right now i have bzr-gtk in "c:\Documents and Settings\user\Application Data\bazaar\2.0\plugins\gtk", and i *think* that's right [06:26] Angelic13: I think that's right. If it wasn't, you'd get a different error (bzr: ERROR: unknown command "viz") [06:26] moving it to "C:\Program Files\Bazaar\plugins\gtk" doesn't seem to work [06:27] that is, it isn't working in the same way [06:33] also can't run scripts/olive-gtk directly :/ [06:36] hi all. how can i bring a branch in line with a new upstream head? i want to blow away any unknown files/changes/pending merges etc and replace it [06:46] kgoetz: bzr revert; bzr pull --overwrite [06:48] hmm seems like i had to download libglade separately and put it into my gtk directory. that was missing from some of the docs. [06:48] so now i can run olive with scripts/olive-gtk [06:48] but bzr viz still doesn't work [06:49] abentley: thanks. [06:49] ah but olive crashes with a GtkWarning *sigh* [06:49] bzr gtk only claims to require glade, gtk and bzr [06:50] bazaar-vcs.org/bzr-gtk only says you need bazaar and pygtk though [06:50] in the windows install section [06:53] this is the most informative doc i've found so far http://faq.pygtk.org/index.py?req=show&file=faq21.002.htp [07:01] poolie: The nanny just restore BB successfully for the first time. [07:01] What breaks BB exactly? [07:28] abentley: way to go [07:29] abentley: great! You may now enjoy your local timezone ;) [08:28] igc: have a good holiday [08:28] thanks spiv [08:56] What could one have done to do a merge, commit it - but not have the revisions consisting of the contributed patch not appear in the history? [08:57] cherrypick, or revert --forget-merges [08:57] (I had to do the merge again, resolve a conflict, and then the contributor's branch showed up - but all the files were otherwise present) [08:57] yes, it said something about cherry pick. [08:57] What would have caused that? [08:57] I just did the usual [08:57] bzr merge ~/Desktop/contributed.patch [08:58] That being a merge directive? [08:58] yeah [08:58] "merge request" :) [08:59] Then it would come from the person making it, making it as a cherrypick. [08:59] AH [08:59] (really) [08:59] (huh?) [08:59] Wait a minute. I did the same [08:59] bzr merge ~/Desktop/contributed.patch [08:59] both times. [09:00] It was only after I had committed it and run `bzr viz` that I realized something was wrong [09:00] doing it a second time resulted in the revisions showing up. [09:00] I would guess you did something in between that filled in enough of the 'missing' revs that it could be applied directly. [09:00] (I realized something was wrong when I tried to see the parents of the merge, and saw only one) [09:00] fullermd: fair enough, but [09:00] * AfC is horribly confused, and his confidence is shaken. [09:02] Well, that's why I'm here :) [09:11] Remember that when you merge a MD, it's not the same as merging the branch; in the latter case, you do the merge you ask for, but in the former, you do the merge that the MD creator asked for. [09:11] Actually, I'm 3/4 way to being serious. I did a merge, and it decided NOT to merge the revisions. This is astonishing to someone who has been, for better or for worse, been trained by Bazaar in its behaviour. [09:11] Hm. [09:11] Well, if it's doing a cherrypick, it can't merge the revisions, because there's nowhere for the graph to hook up. [09:12] night all. I'm away on leave until the 14th now so happy Bazaar'ing while I'm gone. :-) [09:12] If you look in viz, what I suspect you'll see is that one of the revs in that merge has a parent that wasn't in your graph at the time of your previous attempt. [09:12] This is one of the reasons the terminology behind "merge directive" has always distressed me. It's not a directive, because contributors cannot «tell» me to do anything. It's a patch, and I am considering it for merging, or not. [09:12] fullermd: no. It shows no parents whatsoever. [09:13] Urr? An unrelated branch? [09:13] I wish I knew what happened, so I could tell this contributor not to do whatever they did again. Better yet, I wish Bazaar wouldn't have permitted it in the first place. [09:13] fullermd: EXACTLY [09:13] changes got committed, but not revisions. [09:13] I carried on as normal, no problem, la ti da [09:14] * fullermd goes cross-eyed. [09:14] Start over. [09:14] An unrelated branch would have revisions with number like 0.1.x. [09:14] That's the only way (aside from the left path, of course) you ever get revs with no parents; at the start of an unrelated merge-in. [09:14] Whatever. Grab the branch yourself and look: [09:14] bzr viz bzr://research.operationaldynamics.com/bzr/java-gnome/mainline/ [09:15] revno 461.1.1 [09:15] Where are the revisions of the contributed patch? [09:16] The code delta is there, for sure. [09:16] But I had to do the merge _again_ revno 465 to make the revisions appear. [09:17] It's called 461.1.1. That means that when you did that merge, you were at rev 461. [09:17] I would be thrilled if I could identify what I [presumably] did wrong. [09:17] But if you look at the revs when the merge worked, the merge revs are 463.x.x, which means those revs are children of rev 463. [09:17] Thus, where you did that merge the first time, you didn't have the revs in your branch, that were the parents of the revs to be merged. [09:18] Thus, they couldn't be attached into the tree 'normally', and become a cherrypick. [09:18] Hm. [09:18] That means the cause is probably not actually the sender requesting a cherrypick in the MD creation, but rather that your branch was 'old' where you did the merge. [09:18] Hm [09:19] Yes, ok, I can see that. [09:19] weird [09:19] {shrug} [09:19] It speaks highly of the quality of your contributors that they keep so up to date, that _you're_ the one behind ;) [09:19] so what gets me is that those revisions didn't "appear" (or whatever) when I subsequently merged it to 'mainline' at 464 [09:20] fullermd: nah, I had a 'cairo' branch lying around, and so did it there. I evidently forgot to pull from mainline first. [09:20] Still. [09:20] Because it was too late at that point; when you committed 461.1.1 (or 462 as it was called on the branch when you merged it), those revs couldn't be hooked to the tree, so they weren't included. [09:21] So when you got around to merging it in in mainline:464, there was no longer any link to them to be reconnected. [09:21] So I merged a second time to "fix" it, but is there something else I should have done instead? [09:21] Well, the 'rightest' thing would have been to stop when it told you it was cherrypicking, and figure out whether that was what should be happening. [09:22] [this will teach me not to do integration merges on 'mainline', but anyway] [09:22] fullermd: ah [09:22] fullermd: interesting. [09:22] Once that's committed and stuck onto mainline (and you don't want to uncommit and dump that rev), there's no way to rewrite the rev to say "Oh, this was a parent of mine". [09:22] * spiv isn't really here, but as a drive-by comment, this sounds like surprising behaviour, so probably there's a bug to be fixed somewhere. Probably the original "bzr merge ..." should have made more fuss about the fact that the base revision referenced in the merge directive wasn't present? [09:22] spiv: I think so [09:23] Well, it's tricky. Cherrypicks can be intentional. [09:23] spiv: I think that's where I got off track [09:23] (and optionally, maybe, provide a way to say, "no, this isn't a cherrypick, just a ghost..."?) [09:23] I don't think MD's explicitly say whether they were intended to be cherrypicks. [09:23] fullermd: put another way, I haven't knowingly done a "cherrypick" since, oh, 0.91 [09:23] Well, mostly I'm glad to hear that it wasn't Vreixo who screwed up, it was me. I can handle that. [09:24] Well, that goes back to the 'directive' part; when you merge a MD, the 'intention' is expressed by the person making it. [09:24] * spiv -> really gone [09:24] AfC: :) [09:24] fullermd: ... which is ass-backwards for anything other than a bot receiving it. [09:24] Using 'send -rx..y' can express an intent to cherrypick (in the case that rev 'x' isn't in the upstream already) [09:25] fullermd: I hadn't realized that cherry picks were that far along. I gather there is still a way to go, however. [09:25] fullermd: (it's that whole partial implementation thing you and I were talking about, I think) [09:25] Well, it's where they've been since... I dunno. 0.6 or something. [09:25] _really_ [09:25] Hm [09:25] Pretty much the same place they are in everything but darcs. [09:25] Well. [09:26] fullermd: so that branch is now "safe", you think? [09:26] "bzr send -ofile -rx..y ; cd $UPSTREAM ; bzr merge file" gives the same result as "cd $UPSTREAM ; bzr merge -rx..y $OTHER" [09:27] fullermd: yeah, ok, I can buy that [09:27] Oh, yes. That -2 rev may have wacky files compared to what you wanted, but the branch is fine. [09:27] Then "fix merge bug" is a surprisingly accurate commit message, it seems :) [09:28] fullermd: thank you for your time. [09:28] Prescient :) [10:16] New bug: #211209 in bzr "bzr 1.3 fails with a ValueError" [Undecided,New] https://launchpad.net/bugs/211209 === mwhudson_ is now known as mwhudson [11:56] Anyone got any ideas how I can work around this? https://bugs.launchpad.net/bzr/+bug/181855 [11:56] Launchpad bug 181855 in bzr "cygwin bzr branch crashes with IOError: [Errno 0] Error" [Medium,Confirmed] [11:58] the annoying thing is, I'm sure this worked a couple of weeks back [12:00] I'm beginning to wish I hadn't chosen bzr to work with a visual studio project... there's no working VS integration yet afaik, cygwin bash + cygwin bzr has the above bug, cygwin bash + windows bzr has problems with sftp and doesn't work, and the windows command line is loathsome [12:01] you could argue that the mistake was using visual studio/windows rather than bzr and I probably wouldnt put up much of a fight [12:14] hmm the original reporter got no answers at all on the cygwin list === kiko-zzz is now known as kiko [12:59] hi [12:59] http://pastebin.us/?show=m2d341b75 <-- bzr died when I tried bzr revert. Please help, I need to revert. [13:00] Bazaar (bzr) 1.1.0.candidate.1, Debian Sarge (package from backports.org) [13:01] muszek: you might do well to just install Bazaar manually. 1.1.0rc1 is a bit old. [13:02] muszek: (assuming no one has a Debian package of bzr 1.3) [13:03] AfC: the one from hardy probably wouldn't install, right? [13:03] muszek: you won't know until you try. [13:03] rgr [13:03] muszek: We don't use Ubuntu at our company, sorry. [13:04] AfC: what do you use? (just curious, feel free to ignore me) [13:06] muszek: we run Gentoo on our systems [13:06] Anyway, good luck to you [13:06] * AfC heads to bed. [13:06] AfC: thanks, good night [13:06] hi [13:07] how do I find out whether remote branch format matches the local branch format? [13:07] my commits are taking ages ... [13:08] ignas: bzr info URL [13:08] bzr info . [13:09] :/ can't do that while commiting apparently [13:09] :( [13:09] so i'll have to look at it in 5 minutes [13:09] and it's a 1 line change in .bzrignore :/ [13:10] ignas: for what it's worth, I'd encourage you to maintain a branch locally and work there and commit there. You can then push your changes to the remote repo separately. That should work much better for you. [13:10] AfC: release managing requires a lot of pushing [13:10] ... and if you have to merge, well, {shrug} you merge. [13:10] so i actually need my changes to appear in the remote repository [13:10] as soon as I do them [13:11] ignas: you've got a modern 3rd generation distributed revision control system at hand. You would do well to take advantage of it. [13:11] when developing - yes i can work on an isolated branch [13:12] but i need to do the push after merging and it is taking way too much [13:12] I assume you've got bzr 1.3 on both sides and that you are pushing via bzr+ssh. If not, try upgrading and changing protocols. [13:12] hmm Repository branch (format: unnamed) [13:12] remotely [13:13] and Checkout (format: dirstate-tags) [13:13] locally [13:13] what should i do to fix that? [13:13] and no it's not 1.3, it's the version that is available as debs for ubuntu gutsy... [13:14] 1.0 i think [13:14] though maybe i should switch to bzr PPA instead of using the old deb package repository [13:14] ignas: well that's your first problem, depending on Ubuntu to give you up to date software. The hackers here maintain a "PPA" (whatever that is) which gives you more modern packages. [13:15] ignas: don't use bzr+ssh url for `bzr info` [13:15] As for what to do, after upgrading to Bazaar >= 1.3.0, run something like `bzr upgrade` (probably `--default` on a test branch and see if that helps. [13:15] bzr+ssh hides the real format [13:15] and what about the remote repository? [13:15] luks: oh [13:15] luks: how strange [13:16] makes sense [13:16] ignas: upgrade it too [13:16] you can use bzr+ssh with old versions of bzr [13:16] ignas: (again, modulo testing and backups etc) [13:17] Repository branch (format: pack-0.92) [13:17] that's the problem then [13:17] if i want to upgrade a repository not just the branch [13:17] upgrade your local repository [13:17] i should run bzr upgrade in the repository [13:17] yes [13:18] will it upgrade all the branches inside? [13:18] not sure about that [13:19] hmm, bzr upgrade says it's the most recent format already [13:19] what version of bzr? [13:19] 1.0 [13:19] so it seems i will have to fix apt sources :/ [13:19] hm [13:20] this makes sysadmins so much more enthusiastic about bzr ;) [13:20] what does bzr info say in the local repository? [13:20] the remote repository [13:20] i have a local checkout [13:20] of a branch that is in a shared repository on a remote server [13:20] no local repository? [13:21] then you need to upgrade the checkout [13:21] no, don't need it, i am working on a single checkout at the moment [13:21] the remote side is already using pack-092, which is the most recent format [13:21] hmm [13:21] i see [13:21] bzr upgrading local one [13:22] neat, would have never managed to find out which one [13:22] pack-092 or dirstate-tags is more recent [13:24] you should call the next version gruntmaster-6000 ;) [13:25] {grin} [13:27] yippie it's only 60 seconds not 5 minutes! [13:28] still too slow [13:28] i know, i have a weird sense of humor ;) [13:28] I'd try to use sftp instead of bzr+ssh [13:29] it messes up permissions on the remote repository [13:29] oh [13:29] Does bzr+ssh use the smart server or something faster? [13:29] smart server [13:29] awilkins: more or less by definition, that is the smart server. [13:29] the problem is that the smart server isn't that smart [13:30] smarter than sftp, less smart than...a brick [13:30] with packs it usually does more requests then dump sftp [13:30] than [13:30] or dumb http [13:31] awilkins: (you can also get to it by running one full time, ie bzr:// ) [13:31] (for the intiial checkout, at least) [13:31] Oh yes, familiar with that, just wondered if bzr+ssh was the same thing [13:31] awilkins: for some operations it is slower, but for many operations (notably, most of the uploading and data comparison cases) it is faster. [13:31] yes, it's the same procotol over a different transport layer [13:32] bzr website sounds a lot more optimistic about these kinds of issues ;) [13:33] Well, I'd be optimisitic if I was so much faster than CVS and SVN :-) [13:35] emm, difficult to do, especially when repository is 70 megs, and an svn checkout is a few hundered kilobytes and the connection is around 10 kb/s [13:35] ignas: Well, ok, that's less wonderful. [13:36] ignas: But things like grabbing a checkout of 13,000 files over a local network kick it's ass. [13:36] emm - what about the distributed part [13:37] like - some team members in US, some in Lithuania, and the server is in UK ;) [13:37] That also kicks ass. [13:37] except for the latency! [13:37] not when you tell them to try out a checkout from bzr ;) [13:37] rsync ftw. [13:37] Although my interactions with Lithuania are limited to storing my coke-and-hookers funds [13:38] so you are suggesting making the initial checkout using rsync and only then using bzr? [13:39] as in - bring a checkout to sprint on a usb stick and make everyone copy it [13:39] instead of 5 guys making a branch from the central repository [13:41] Because of the "distributed" thing, that works just as well as all getting grabbing a branch from central server [13:41] Better, if your sneakernet bandwidth is high but your network bandwidth is low [13:42] well, not suggesting, but rsync is really quite awesome for copying data, and afaik bzr is not faster than it, yet, for the intial checkout [13:42] just that - you can give the svn url using irc, and have them all with a check out faster than 2 guys can copy something from 1 usb stick :/ [13:43] depends on how many files you have there [13:43] svn can be pretty slow on large trees [13:44] yes, but bzr is slow on large histories [13:44] and apparently we have a huge history with a moderate tree ... [13:45] and it's not the network apparently [13:45] svn checkout reaches the speed of like 50 kb/s [13:45] schierbeck: hmm, looking at the new seahorse integration in bzr-gtk, wouldn't it be fine to rely on dbus's autostarting (ie. just using get_object, or calling the stuff to autostart it on org.freedesktop.DBus if that isn't compatible enough) instead of checking if it's currently running/the name is owned currently in dbus? [13:45] bzr up - does not use the network compared to that ... [13:45] A use case for history horizons [13:46] mm, also get an exception with current bzr-gtk trunk when seahorse is running [13:47] an svn checkout is 2 minutes 20 seconds, bzr up with no changes is 30 seconds :/ [13:47] I've just upgraded to 1.3 and bzr still dies (I was writing ~half an hour ago about bzr revert failing). I've also tried commiting (to see if I can revert on another machine), but it also fails. http://pastebin.us/?show=d12b0633a [13:49] muszek: what does 'bzr check' say? [13:49] bob2: one sec [13:49] (on bzr visualize, ah it's calling discover with an empty string) [13:50] bob2: http://pastebin.us/?show=d2387e94d === mrevell is now known as mrevell-lunch [13:55] (hmm, just when bzr visualize'ing the bzr-gtk branch though) [13:56] also, looks like bzr sign-my-commits was designed to give people RSI :P [13:56] muszek: that sounds like disc corruption or bzr bug [13:56] TFKyle: does it work with gpg-agent? [13:56] probably, don't have it running atm though [13:56] ah [13:56] no whinging then :P [13:57] bob2: prior to that error, I ran two scripts on the whole dir... one that changes ownership and permissions, other converts "leading spaces to tabs"... I haven't ran them in a while - possibly since I've started using bzr couple of weeks ago... and I haven't excluded .bzr from being messed by that script :/ [13:57] also hmm, sign-my-commits seems to be signing with my main email for the key rather than the email I used for the commits [13:57] yaga [13:59] when I use bzr, can I checkout only one sub-dir of my repo? when I have some dir in my repository, and on some other PC i want clone only one directory from my repo - is that possible? [13:59] not directly [13:59] and not like svn [13:59] but 'bzr split' is something related (you could split to a seprate branch) [14:00] andihit: there was talk at a recent London sprint to add a feature for that [14:00] andihit: there's a rough plan for implementing it, but it's still some time away from being ready [14:01] hm, I'm currently reading the "BzrVsGit"-wiki, it says 'Directories are branches. In Git they are branch containers where you switch to different views.' <-- that means, every directory is a branch. and that means, I can't checkout one specific branch? [14:02] perhaps there is a terminology confusion [14:02] you can checkout one specific branch, but in a repository, not all directories are branches [14:02] in your previous question by 'repo' you meant an actual bzr repository, or a branch? [14:02] ah, hmm [14:03] andihit: in bzr, each branch has its own directory on disk. That doesn't imply that each directory is a branch :) === mrevell-lunch is now known as mrevell [14:04] hm then rewrite the sentence ;) [14:04] k thx [14:05] hmm, bzr up from a remote branch is 30 seconds, bzr up locally takes like 1 second, downloading a file get's me 50kb/s, ssh feels sluggish, can i assume that bzr is doing a lot of connections and a lot of round trips [14:05] thus is very sensitive to latency problems [14:06] ignas: there's work on the smart server protocol to reduce round tips [14:06] round trips, rather [14:06] ignas: also, make sure your branch/repo are in pack format, not knit [14:06] The knit format tends to require many many round trips. [14:06] they are in pack format now [14:06] have bzr upgraded everything on both sides [14:20] schierbeck: another thing, would it be sane to just check that the key belonging to the signature is the same as one of the ones in opengpg.MatchKeys(email_address)? (or possibly comparing the fingerprints) [14:25] TFKyle: i've sent in a patch already [14:27] i call dbus.validate_bus_name('org.gnome.seahorse') [14:28] 'k === mw|out is now known as mw === weigon_ is now known as weigon === hexmode` is now known as hexmode [17:24] hi! [17:25] hello [17:28] i've just tried to convert a CVS repository, but now I'm stuck using the output. bzr info says "shared repository", but i'm unable to "get" or "branch" from it. [17:30] brokencycle: a shared repo is an empty place where you can put branches [17:30] branches are *inside* a shared repo [17:31] (empty from a logical POW, it contains a log of small bookkeeping files from a practical POW) [17:32] thank you! now i got the "right" contents, but the naming inside the shared repository is not-so-good... need to export/import into a different shared repo to fix it, right? [17:33] brokencycle: I'm sorry but I know nothing of the current cvs-to-bzr tools :( [17:34] no problem, your hint got me a big step forward already. Thank you! [17:34] brokencycle: which CVS to BZR tool are you using? I hope to move a CVS repo to BZR some time soon, so your input is pretty valuable to me right no. [17:35] brokencycle: /s/no./now./ [17:35] what is the difference between the trunk and the dev branches? [17:35] well, i only found 'cvsps-import' (I only need to go one-way, so 'tailor' would be really overkill). [17:35] (of bzr I mean) [17:37] btw, the need for 'cvsps' could/should find some mentioning in the plugin's description. I only learned about it when I first tried to do the import, and failed. [17:38] I'm on bzr 1.2, if that matters. [17:38] brokencycle: I remember someone on IRC mentioning one tool (I think tailor) working better then the other. IE. one tool was no longer in development. [17:38] CVS is an acronym. bzr isn't. [17:39] Yea I should get better control of that shift key, I have a bad habit of adding caps in the wrong place. [17:43] brokencycle: what matters most is not the bzr version but the repository format version current default format is ok, older (pre 0.92 formats) are difficult to use with external tools [17:44] that should not be relevant since i'm converting from CVS - so the bzr part of it should get created as recent as the "underlying" bzr allows. [17:44] I never used tailor, but it has a very large user base, with some heavy user. I would use such a big and tested tool instead of ad-hoc smaller programs [17:44] brokencycle: yes indeed [17:46] I also never used tailor, but assumed that it has a huge list of dependencies that I don't want/need on the target machine... the 'ad-hoc progam' is, at least, created by one of the core bazaar developers, as far as I can see: http://bazaar-vcs.org/BzrPlugins (~ 2 thirds down the page). [17:58] will running bzr.dev overwrite something on the repository where it is used? [18:00] brokencycle: do you need it to be incremental ? [18:00] ? [18:01] pmezard: do you mean, if i want to repeat the conversion process to import more and more CVS commits? [18:01] yes [18:01] If so, the answer is no. :) [18:02] did you try cvs2svn ? [18:02] No. Then I would also need SVN, right? [18:02] And then i could import from there? [18:02] i think there was some work on a bzr backend [18:02] by reusing git fast-import format [18:04] I'd like to avoid having to drag along too many other systems. In this case, I'm only versioning /etc, wanting to keep the history. [18:04] hi guys [18:04] this is an emergency: is there a way of UN-reverting? [18:04] I just might have lost a few hours worth of work -_-' [18:05] Look for the FOO.~1~ files [18:05] Or ~2~ or whatever number it gave them [18:05] phew [18:05] When you "revert", any changed files get backed up to ~somenumber~, whatever is the next free number [18:05] * rysiek|pl stops hiperventilating and dives into the filesystem [18:07] find . -name '*.~1~' [18:07] yeah, just done that ;) [18:09] @poolfool: thanks - I didn't check the development status of the plugin... but even then, maybe I've already "fixed" it, by editing something in the guts of .bzr. Will keep an eye on it. [18:10] wtf... there were some pending local commits... and seems like THOSE changes were lost [18:11] shit. they ARE lost! [18:11] brokencycle: Yea ... I did a little looking at taylor vs cvsps and I think I want cvsps to bring over all of my history including branches ... talor looks to just do the root (head?) branch as a patch set. [18:11] why the heck does bzr backup the uncommited files, but CLEANS the locally-commited changes? [18:11] or am I missing something again [18:12] rysiek|pl: what kind of working tree is that? checkout? branch? [18:12] checkout [18:13] bound or unbound? [18:13] bound [18:13] I just found out that I probably don't want to use tailor because there's no port of it to OpenBSD. For cvsps, there is... simplifies things quite a bit (probably). [18:13] (i think) [18:13] gioele: checkout of branch: sftp://mike@(...) [18:15] I am reading the manpages but cannot find the info is there a way to get my locally commited changes back [18:15] why on earth does revert destroy locally COMMITED(!) changes by *default*?.. [18:18] because revert thinks that you want to revert to what is consider the base: the remote branch you're bound to [18:18] ok, but it keeps backups of the changed files. neat. [18:18] but WHY OH WHY doesn't it keep some kind of backups of locally commited changes? [18:19] one would think that locally commited changes - simply because they *are commited* - should be considered more... hmm... permament? [18:19] they are [18:19] ? [18:19] but revert is more "going back to revision X, pass over everything" [18:20] rysiek|pl: revert does not destroy committed changes [18:20] still it should backup everything it throws away, committed or not [18:20] jelmer: those were locally-committed changes [18:20] only uncommitted changes [18:20] rysiek|pl: what was the exact command you were running? [18:21] jelmer: well, the situation here is: I had two revisions committed locally; I made some additional changes and was ready to commit to the master branch [18:21] jelmer: bzr ci ... -> woosh, some conflicts emerged [18:21] jelmer: I hadn't had time to resolve those, so I thought I simply revert (to the last LOCALLY committed revision) [18:21] jelmer: bzr rever [18:22] rysiek|pl: that is the latest local revision at that point [18:22] rysiek|pl: I think "bzr update" is not doing what you expect it to [18:22] jelmer: woosh - my changes from the two locally-committed revisions are gone, and I only have backups of the latest, uncommitted changes [18:23] rysiek|pl: it updates the local branch tip to the master branch tip and adds the extra local revisions as pending merges [18:23] jelmer: yeah, I know that [18:23] jelmer: so? I lost my locally-committed revisions because they became pending merges? [18:23] jelmer: after an update, that is? [18:24] rysiek|pl: yes, because revert throws away pending merges [18:24] so they are completely gone, are they [18:24] *aren't [18:24] no, they're still hidden in the repository [18:24] the heads plugin may be able to retrieve them [18:24] this is the point where you can save a man's life [18:24] 'kay, on it [18:25] anybody knows if the heads plugin is packages somewhere (bzrtools?) for ubuntu gusty [18:25] it's not packaged [18:26] ok [18:26] rysiek|pl: it is easy to install "mkdir ~/.bazaar/plugins; bzr co --lightweight where-is-heads ~/.bazaar/plugins/heads" [18:27] jelmer: Um for the cheap seats here ... if I 1) checkout from somewhere sftp://fool@... (call it r1) , 2) make some changes and commit changes #bzr commit (call it r1.1) , 3) make some more changes but 4) accidentaly do a revert #bzr revert my local copy will be back to r1 ... is that what happened to rysiek|pl ? [18:28] poolfool: 1. r1.1 is a local commit [18:28] poolfool: no [18:28] poolfool: plus there is a 3.5 step [18:28] poolfool: 3.5) bzr update [18:28] poolfool: this can only happen to you if you use "bzr commit --local" [18:29] jelmar: while 'bound' to the remote repo? [18:29] poolfool: yes [18:29] mind if I file a bug about this? [18:29] gioele: about what exactly? [18:30] So is it step 3.5 #bzr update , that was the problem command? Now the 'local commits' are pending in limbo, yet the 'heads' plugin may save the day? [18:30] jelmer: local commits thrown away without a backup when update/revert is used [18:30] jelmer: about not asking the user "man, you ARE going to lose those pending merges: ..." [18:31] gioele: what would the bug be exactly? revert throws away pending merges? update adds local commits as pending merges? [18:31] just asking would suffice, as that would be the point were I would jump, hit n, Ctrl+C and/or the master power switch [18:31] gioele, jelmer: maybe a feature request [18:31] jelmer: the problem is that revert is *deleting* stuff without telling the user about that and without saving what it is tossing away [18:32] gioele: revert throwing away pending merges makes a lot of sense in 90% of other situations [18:32] gioele, jelmer: "during revert, if there are any pending merges, ask the user if he knows those pendng merges will be deleted" [18:32] jelmer: better safe than sorry [18:33] rysiek|pl: For unbound branches throwing away pending merges without asking does make sense [18:33] and there can always be a config option"do not ask about blah blah" [18:33] revert has backups, what is wrong with extending them to pending merges? [18:33] jelmer: I am not saying it doesn't [18:34] rysiek|pl: It would be really annoying if "bzr revert" started asking about throwing away pending merges [18:34] jelmer: I am only saying that it might save some people some loose hairs and stress [18:34] rysiek|pl: I understand the problem but I think the problem is with update rather than revert [18:34] well then, update saying "local commits are now pending merges, watch with that revert, mind you" [18:35] jelmer: what is the problem with throwing away pending merges *and* doing backups? [18:35] are there any docs for heads? [18:35] gioele: backups are already done [18:35] jelmer: where ;) [18:35] bzr heads shows nothing [18:36] ok, --all [18:37] jelmer: I only have ONE out of TWO local commits [18:37] and have no idea whatsoever how to get it re-merged [18:37] rysiek|pl: bzr merge -rrevid: [18:37] where should be printed by "bzr heads" [18:37] rysiek|pl: heads only prints the latest commit [18:37] ok, thanks [18:38] jelmer: so the pre-last is lost? or by reverting (meh...) to the one I get the pre-last, too? [18:38] rysiek|pl: by merging the latest you get the latest-1 as well [18:38] No, heads only shows the heads. The prior one isn't a head, it's an ancestor of that one. [18:39] ah, right [18:43] fingers crossed [18:45] so what's the recommended bzr web frontend these days? [18:48] bzr: ERROR: No location specified or remembered [18:48] bzr merge ... ./ or bzr remerge ? [18:48] rysiek|pl: try . [18:49] johnny: http://www.lag.net/loggerhead/ [18:49] ok, done. [18:49] that is the recommended one? i see bzr-webserver being updated more recently [18:49] i like the ui of loggerhead, but the fact that i can't figure out how to not making it run as it's own user is weird [18:50] and not as root that is :) [18:50] worked! [18:51] jelmer, gioele: thanks a lot! I could have been banging my head against the wall on this for the next 3hrs, and then probably having to re-write it from scratch [18:52] rysiek|pl: ah, cool [18:52] rysiek|pl: one thing that would perhaps help is if "bzr revert" could tell you the command to apply the pending merges again [18:52] yup [18:54] jelmer: in fact, anything that would *hint* on the fact that you might lose (well, almost ;) ) your local commits would suffice [18:54] I have my local repo binded to a repo on an external server. is there some neat command to update a remote working tree when I commit? [18:54] jelmer: problem is with the obscurity of the problem - "local commits" becoming "pending merges" [18:55] rysiek|pl: update already does [18:55] rysiek|pl: at the point your commits become pending merges they're no longer local commits [18:55] muszek: try the push-on-update plugin [18:55] ok, so I am the fool. whatever, I am just happy to have my changes back [18:55] jelmer: ty [18:56] rysiek|pl: right, that's why I mentioned this is actually a problem of update [18:56] New bug: #211412 in bzr "bzr should never throw away changes without making backups" [Undecided,New] https://launchpad.net/bugs/211412 [18:56] methinks that's a wee bit too broad, will get rejected :/ [19:03] gioele: what would you like bzr to do on revert then though? SHould it write a bundle filewith the pending merges in it? [19:03] ok, just need to make sure: [19:03] I have those local commits in again, and some new changes [19:03] jelmer: that would be cool [19:03] I want to commit all to master branch - bzr commit should do the trick, right? [19:03] jelmer: but a simple cp of all the changed file is enough [19:03] gioele: that's going to kill performance though [19:03] gioele: all changed files are already backed up [19:04] jelmer: --no-backups then [19:04] gioele, have you set up loggerhead? [19:05] jelmer: As a user I would never trade safety for performance [19:05] johnny: no [19:06] jelmer: if you fear performance issues, then make a non default --slow-but-safe global option for bzr, I'll enable it [19:06] gioele: that's simply deferring the decision of what to do to the user [19:06] gioele: and will still get it wrong in a lot of cases [19:07] gioele: my point also was that it's update that's throwing things away [19:07] since it's removing local commits [19:07] jelmer: humm... bzr help commit yields this at the end [19:07] jelmer: (As a general rule, when in doubt, Bazaar has a policy of Doing the Safe Thing.) [19:08] jelmer: The Safe thing here would be AT LEAST asking the user [19:08] jelmer: it doesn't hurt much to hit 'y' from time to time, but it saves time (lives? ;) ) [19:08] rysiek|pl: that's true for update, not for revert [19:08] jelmer: whatever! I don't really care if it's in revert or update [19:09] rysiek|pl: also, bzr doesn't have interactive stuff on purpose [19:09] jelmer: I do care, however, that it's *somewhere*, as if I would get such info from update OR revert I would stop [19:09] jelmer: I agree with rysiek|pl: I don't care. I want my data back ;) [19:10] how many ppl are going to came here asking for what rysiek|pl asked? [19:10] gioele: that's why I suggested "bzr revert" should tell you the merge command to readd those pending merges [19:10] jelmer: and that would be just ideal, IMHO [19:10] jelmer: but then, as you said, that would be interactive and not needed in 90% of the cases [19:10] so... loggerhead anybody? [19:11] I think that silently doing the backups is the safest way [19:11] gioele: no, it's simply an extra line of output from revert [19:11] jelmer: and it will not be read [19:12] gioele: it will [19:12] gioele: after I run the command, I read the output [19:12] gioele: ESPECIALLY when I have lost something [19:12] rysiek|pl: no you don't [19:12] you read messages *after* you've lost something [19:12] the line appears *before* [19:12] gioele: thing is: it is *not* lost [19:13] wait, I got lost [19:13] gioele: I just needed some third-party plugin to tell me the exact revid of the "lost" commits [19:13] gioele: thing is: [19:13] gioele: 1. bzr ci --local once or twice [19:13] gioele: 2. /code code code/ [19:14] gioele: 3. bzr up /local commits become pending merges here/ [19:14] ok, I got it [19:14] gioele: 4. oops, a conflict - revert /pending merges are "lost", but the changes are kept.. well, somewhere ;) / [19:15] rysiek|pl: an hell from an help-line pow ;) [19:15] gioele: now, if revert had just told me: those pending merges were "lost", you can re-merge them with bzr merge -revid: [19:15] gioele: I wouldn't even come here :) [19:16] so technically, the changes aren't lost, I just did not know how to get them back - and I needed a third-party plugin to get on this [19:17] plus info on how to use it. that's exactly what printing "you can re-merge blah blah" would give me :) [19:17] * rysiek|pl EOF [19:18] as long as the change are store somewhere, and accessing them does not require an external plugin (the revid can be outputted by revert itself I think), that is a perfect solution [19:18] yup [19:19] * rysiek|pl had a deja-vu - something has changed in the Matrix, I guess [19:25] New bug: #211434 in bzr "revert should tell the user what pending merges were thrown away" [Undecided,New] https://launchpad.net/bugs/211434 [19:52] Hi - I'd like to be able to create (and then send) an email containing the diff and the log message for a specific revision in a bzr branch. Is there a command/plugin that does this ? [19:52] thereis an email plugin on the site [19:52] in the plugin section [20:00] johnny: Were you asking about loggerhead vs bzr-web? [20:00] vs bzr-webserve [20:00] ist here just bzr-web? [20:01] johnny: thanks. [20:01] Johnny: Sorry 'web-serve' ... I use 'web-serve' for personal use, very low traffic, but a great tool to graphicly check some things. [20:01] johnny: I am pretty sure launchpad(sp) is using loggerhead. === doko_ is now known as doko [20:14] poolfool, have you setup loggerhead yourself? [20:16] johnny: sorry no ... loggerhead is a little to complex for me. web-serve gives me the features I need. [20:18] loggerhead runs fine for me.. i just want it to run under my webserver [20:18] instead of as it's own user :( [20:18] a web thing that doesn't do any file system writing. should be able to run like every other webapp i have [20:18] Um ... how do you start loggerhead? [20:19] ./start-loggerhead :) [20:19] but that's not the way i want to run it [20:19] but it does work [20:19] so ... start-loggerhead is a perl script? [20:19] python [20:19] why would it be perl? turbogears is in python [20:19] sorry python .... [20:19] Maybe you can tell what I am trying to debug in the background? [20:21] I ran into this problem when checking out an svn repo: https://bugs.launchpad.net/bzr-svn/+bug/206728 [20:21] Launchpad bug 206728 in bzr-svn ""'NoneType' object has no attribute 'splitlines'" crash in checkout" [Undecided,Fix committed] [20:21] but when I grab the 0.4 branch of bzr-svn, I can't use it with 1.3 [20:22] does anyone know the relevant change to fix bzr-svn for 1.3? [20:22] ? [20:22] err poolfool ? [20:22] johnny: I am working on some perl in the background ... work. [20:23] johnny: Ok, probably not a good answer, but http://docs.turbogears.org/1.0/mod_python [20:23] Johnny: Use Mod_perl with apache to run loggerhead ? [20:24] i don't use apache [20:24] fastcgi is prolly the method i'll go with [20:24] i found docs for it [20:24] but they don't make sense without understanding turbogears [20:25] maybe the people in #turbogears will be more helpful this time [20:25] Johnny: So you are actually looking to better understand turbo gears so you can change the UID of the process running loggerhead? [20:25] but it seems that channel is more for people developing turbogears apps, not helping people deploy random turbogears apps [20:34] Johnny : Check out this link http://irclogs.ubuntu.com/2008/02/09/%23bzr.html ... I think you may want to watch for 'mwh' [20:40] johnny: Are you trying to run your loggerhead on a low port? Something under 256? [20:50] jelmer: ping [20:50] schierbeck: pong [20:51] jelmer: okay, it looks like we have two options regarding seahorse [20:51] 1) call DiscoverKeys() before trying to get any info -- unknown keys will then appear in the local database, but marked as missing [20:52] 2) call ListKeys() to get a copy of the local key database and check it ourselves -- this could be bad for memory consumption, however [20:53] hmm, wait a minute -- i think i have a better solution [20:53] give me 5 [20:58] jelmer: perhaps you can help me with https://bugs.launchpad.net/bzr-svn/+bug/206728 [20:58] Launchpad bug 206728 in bzr-svn ""'NoneType' object has no attribute 'splitlines'" crash in checkout" [Undecided,Fix committed] [20:58] jelmer: where in the 0.4 branch was that fix committed? [20:59] mxpxpod: the best way to find it is to run "bzr annotate" on the news file and see when the line that announces that bug has been fixed was last changed [21:00] jelmer: ah, thanks [21:00] mxpxpod: rev 1031 apparently [21:00] schierbeck: looks like a "Find when bug X was fixed" item in viz cuold also be useful :-) === kiko is now known as kiko-afk [21:01] jelmer: yup. submit a bug for it? [21:02] no gpg here :-( I'll try to remember to file one later today [21:03] jelmer: i think i've finally cracked the key availability issue [21:05] wow, bundle buggy is cool [21:06] schierbeck: cool, how? [21:07] jelmer: i use MatchKeys() [21:07] first i was a bit afraid, because the docs said it could take a while to return, but that's apparently not true if i give a complete key id [21:10] schierbeck: what is "pattern" exactly? [21:10] jelmer: not sure [21:10] i'll ask [21:11] the fact it fetches remote keys also worries me a bit though if it doesn't yet, I guess we're fine for now [21:14] jelmer: it only searches the local database [21:14] schierbeck: I would actually expect seahorse to handle optional fetching of the keys itself [21:14] when you call GetKeyField() [21:14] yeah, but apparently it doesn't [21:15] poolie, i was trying not to run it on a port at all, just be picked up by the webserver [21:18] jelmer: thanks, that worked [21:35] jelmer: okay, i've sent in a revised patch [21:36] this one really simplifies things === RAOF_ is now known as RAOF [21:43] * Peng kicks the PPA. [21:44] Has everything in the PPA ever been compatible? [21:44] I think bzrtools is not compatible with the rest or something atm [21:44] Odd_Bloke: ping [21:45] bzr-svn for Gutsy is only 0.4.6. [21:45] bzrtools WFM. [21:46] Peng: oh, right. I stopped uploading bzr-svn to the other distros because of .orig.tar.gz checksums mismatching [21:47] Huh. [21:48] bzr builddeb generates tarballs with different timestamps for the files [21:49] that causes different checksums on the tarball [21:49] and ppa refuses uploads of the same filename with different checksums [21:49] that means I can only upload once (to hardy), other uploads are refused [21:53] schierbeck: what does pattern match on? [21:53] schierbeck: only on key ids or on names as well? === kiko-afk is now known as kiko [22:10] New bug: #211523 in bzr "lack of repository upload progress indication" [Undecided,New] https://launchpad.net/bugs/211523 [22:15] question for a windows user: is tortoisebzr ready for non-developers? [22:16] wardi_: not really at this point [22:16] bummer, I really don't want to tell her to use svn [22:17] beuno: ping [22:17] jelmer: key ids and emails [22:18] jelmer: i'm not sure of the efficiency, but at least we'll only call it once per key [22:19] jelmer: i guess we could devise a solution where we could match a whole batch of id's, if that's more efficient [22:19] (again for a windows user): Is Olive a usable alternative to tortoisebzr? I think she's coming from wincvs or somesuch [22:19] but that would require us to call it asynchronous, which raises other issues [22:32] jelmer, pong [22:33] wardi_: someone on the mailing list recommended qbzr [22:33] as being the most mature/easy to use/complete (<-- one or more of those; I forget which) [22:33] beuno: any news on the nautilus disable patch? [22:34] jelmer, I'm a bit stuck on where to implement the global disable [22:34] beuno: Would it be ok with you if I made those two small additions and sent it in? [22:34] jelmer, sure, go ahead, although I've got the per-branch bit thing down, just haven't figured out where to move the global disable in the UI [22:35] beuno: ah, ok [22:35] beuno: I wasn't sure where to put that either yet [22:36] beuno: There's no way to add items to the Nautilus Preferences dialog as far as I can see [22:36] jelmer, that's my problem :) [22:36] we can not have it for now if you want, and I'll send the patch in a while [22:37] beuno: Yeah, that would be nice; at least it's an improvement over the current situation. [22:37] jelmer, sure, I'll send the patch in a few hours if that's ok. On the other hand, if you're in a hurry, go ahead and do it yourself [22:37] beuno: I'm not in that much of a hurry :-) [22:38] thanks for looking into this stuff [22:38] schierbeck, phanatic: I'd like to do a release this weekend [22:38] jelmer, my pleasure! I'm happy to be helping out [22:38] would that be ok with you, or do you think there's other pending stuff that needs to be fixed? [22:39] jelmer: i'd like to land my bug page fixes, and do a cleanup of the revision view [22:39] but if there's not time for it, that's okay [22:39] schierbeck: I think it's possible to get your bug page fixes in before then [22:39] schierbeck: what exactly would you like to fix in the revisionview? [22:40] jelmer: i'd like to pull each page into its own FooPage class and use proper signalling to update them [22:41] and i'd like to use symbolic names for the pages, like GENERAL_PAGE, SIGNATURE_PAGE etc. [22:41] jelmer: i'm fine with a release. do you want to do it? [22:42] gtg, cu all [22:42] jelmer: thanks for your help [22:42] schierbeck: symbolic names where exactly? [22:42] phanatic: Sure, it's been a while but I'll happily let somebody else do it if they're interested :-) [22:43] jelmer: just use constants that map a symbolic page name to an integer denoting that page's position in the notebook [22:43] jelmer, phanatic: i think we should also have gannotate use the general page only, instead of the entire notebook [22:47] jelmer, phanatic: by the way, i just sent in a crash-fix [22:48] i'll try to catch up with all patches tomorrow (at least i hope so). i was just following the mailing list, but haven't tried the new features yet... [22:52] vila, ping [22:52] bzr: ERROR: No such file: '/home/beuno/public_html/test_upload/.bzr-upload.revid': [Errno 2] No such file [22:53] is that an expected failure? [22:53] schierbeck: hmm, seahorse slows viz down really really badly here [22:54] schierbeck: it takes >2 seconds to select a revision if the signature is from a missing key [22:54] schierbeck: trusted keys seem to work better [22:56] jelmer: i'll have a look [22:57] jelmer: it's pretty fast here [22:58] vila, got it, needed to use --full for the first time. You rock! I'm going to polish a few bits of it now, and start using it internally :) We might be almost ready to release a beta [22:58] jelmer: that must be MatchKeys() then [22:59] schierbeck: How many keys do you have in your local seahorse database? [22:59] but it should only happen once for a key [22:59] only 66... guess that's why [22:59] ah [22:59] I've got >2000 [22:59] hmm [23:00] jelmer: still, it will only happen once for a key. after the release we should work towards an asynchronous solution [23:18] spiv: ping [23:22] schierbeck: it really makes viz unusable for me [23:23] jelmer: should i add a "Disable signature checking" option in the menubar? [23:23] schierbeck: I'd rather avoid that sort of workaround but get the code right in the first place [23:23] schierbeck: would it be possible to only determine the signature when the signature tab is viewed, for example? [23:24] yeah, it would [23:24] i did that for the changes page [23:24] let me have a look [23:25] that would help things a lot [23:25] schierbeck: also, do we validate the testament yet? [23:25] jelmer: nope, we need to do that [23:25] i'm not sure what will be sufficient [23:26] jelmer, finishing something with the upload plugin, and I'll review my changes and send 'em over [23:26] jelmer: i'll add the symbolic page names -- comparing with integers is really ugly [23:27] beuno: cool, thanks [23:33] jelmer: i'm having some smtp trouble [23:34] there [23:34] think evolution just f00ked up [23:35] jelmer: okay, it's sent [23:35] along with a crash fix [23:42] yay all tests pass [23:45] s'always good [23:45] * Kinnison pats lifeless on the head [23:46] lifeless: Do you have any recommendations for C based test suite managers? I've been using 'check' but it's a bit clunky [23:46] well [23:46] check with my subunit patch is kinda nice [23:47] the gnome one doesn't seem any better or worse to me as a programmer, but its less mature and has less features [23:48] Kinnison: i've heard good things about the new gtester, but that's part of glib [23:48] at least as far as i know [23:48] schierbeck: isn't that the gnome one I was referring to ? [23:48] lifeless: subunit patch? [23:48] lifeless: probably, not sure if they have an older framework [23:49] schierbeck: I've only had issues with that and vala (well, libgee really) [23:55] hello Kinnison [23:55] Kinnison: there is a patch for check in subunit [23:55] lifeless, spiv: call scheduled for 5m [23:56] as there is only spiv and me i propose to call you directoly [23:56] unless robert wants to come [23:57] poolie: sounds good to me [23:59] I want to talk with spiv