[00:00] Noldorin: so, as best as I can see here is whats happening: [00:00] bzr asks for lock/held to be renamed [00:00] its not renamed [00:01] right [00:01] bzr does an rm and rmdir which do not error, so bzr assumes they succeeded(or perhaps we ignore errors at this stage - I'll check in a second) [00:01] bzr then tries to take out a new lock, and it fails because the old one is there. [00:02] this suggests to me that the FTP server is a) running on windows and b) is keeping a file open within lock/held - either the directory is the cwd for a thread, or the lock/held file still has a read handle open in the ftp server [00:02] or [00:02] a virus scanner or other async task has opened the lock/held/info file or lock/held directory and thus prevents the ftp server from doing the rena,e [00:03] now, I've just checked our code [00:04] we do the rename (held, RANDOM) unconditionally, without try:except: [00:04] hmm, what you're saying seems to make sense to me. [00:04] so that call isn't returning an FTP error [00:04] right [00:04] the delete of the info file is the same, bzr is not receiving an error. [00:04] so the problem is that windows is holding a lock on the file? [00:04] we do catch a specific error on the rmdir of the temporary directory, but I can tell from the log that this isn't happening. [00:05] a lock on the lock file, that is [00:05] Noldorin: yes, I believe so. [00:05] or something like that [00:05] heh [00:05] well i'm glad we're starting to understand the root cause of this now [00:05] i suspected from the start is just wasn't a great FTP server :( [00:06] hrmm [00:08] lifeless: can you consider any simple workaround for this issue, or would i in fact have to change FTP servers to resolve it? [00:09] what FTP server is it, if you don't mind me asking? [00:11] lifeless: it's a windows 2003 server hosted by storm internet. more than that, i do not know [00:11] ah [00:11] oh lol [00:11] it dos say actually [00:11] when i log in [00:11] Microsoft FTP Service [00:11] so IIS6 i presume [00:11] ok [00:11] my guess is a virus scanner actually. [00:11] interesting [00:12] virus scanners have caused trouble for bzr users in the past, without ftp being involved [00:12] i do succeed with the command *once* in a while [00:12] with similar symptoms [00:12] but not often [00:12] would that sound right to you? [00:12] hmm [00:12] it does sound plausible [00:12] consider that the virus scanner is opening, reading, closing the files that are written, shortly after they are written [00:13] if the unlock rename takes place too quickly, it and the virus scanner will be trying to do things concurrently [00:13] we can test this [00:13] lets add a 2 second delay on unlock [00:13] lifeless: but surely the scanner would only be looking at the files i'm dealing with momentarily? [00:13] bzrlib/lockdir.py [00:13] ok [00:13] sure [00:14] the unlock() method in that file [00:14] lifeless: i should warn you know, i haven't really coded python before :) [00:14] though i can read it well enough [00:14] ok [00:14] at the top of that method, after the docstring. [00:14] put [00:14] time.sleep(2) [00:14] this will make things rather slow :) but if it makes them reliable on ftp, we will have some data. [00:16] ok [00:17] lifeless: right. compiled now [00:19] lifeless: push again? (with -Dtransport?) [00:20] yes please [00:22] http://pastebin.ca/1523399 [00:22] no joy :( [00:22] :( [00:22] so what does that mean, you think? [00:22] virus scanner or not? [00:23] I'm not sure [00:23] how often has it worked - 1 in 10 ? 1 in 3? [00:23] 1 in 20 maybe [00:23] ok [00:24] well please try 4 more times [00:24] if it has helped we'd expect a significantly better success rate [00:24] lifeless: rubbish. just realised i ran the wronbg bzr.exe [00:24] but not necessarily perfect [00:24] sorry, let me try again [00:26] http://pastebin.ca/1523402 [00:26] lifeless: that's the actual one :P [00:27] doesn't look like a 2 second delay to me [00:27] add a [00:27] print "waiting two seconds" [00:27] line there as well [00:27] ok [00:28] hello all [00:28] hi poolie1 [00:31] lifeless: http://pastebin.ca/1523408 [00:31] that should be the onw finally [00:31] one* [00:32] it printed out the message to you? [00:32] yep [00:33] lifeless: http://pastebin.ca/1523409 [00:34] I'm going to get you to move the sleep statement [00:34] ok [00:34] can you move it down to right above the line [00:34] self.transport.rename(self._held_dir, tmpname) [00:34] (move the print with it) [00:35] you'll need to indent, with spaces, to line up. [00:35] as python is whitespace sensitive [00:35] yep, i'm aware of that much :) [00:35] cool :) [00:35] but thanks [00:36] the reason we're moving it i s that the log shows a read right before the rename [00:37] and the hypothetical virus scanner could be doing on-demand scanning too [00:37] this should give it time to quiesce [00:37] got it [00:39] morning all [00:39] hi poolie1, lifeless [00:39] lifeless: http://pastebin.ca/1523414 [00:41] hi igc [00:42] Noldorin: ok, thats clearly got a 2 second gap. try repeating this 3 or 4 times [00:42] just to see if it fails less often than an unmodified bzr [00:42] ok sure [00:44] back in a few minutes [00:48] lifeless: no luck [00:52] lifeless: i need to go now unfortunately [00:53] (it's quite late here) [00:53] will talk to you again soon hopefully [00:53] again, thanks for all the help :) [00:53] poolie1: you're intending to release 1.18rc today, yes? [00:53] yes [00:53] bye [00:54] poolie1: can you co-ordinate with me before announcing? I'd like to build the docs before then and have them uploaded [00:54] poolie1: I believe that RT request for sphinx is still outstanding so I'll need to do it by hand [00:55] poolie1: also the alldocs website has been translated to Japanese, French and Russian now so it will be cool to roll those out at the same time! [00:56] wow, nice one [00:59] Good morning. [01:50] james_w`: what are these "collision" type bug reports about? [02:15] entrem na sala do brasil [02:15] valew [02:35] jklçj [02:35] kfhkf [02:35] kfhkg [02:35] hgk [02:35] kfgk [02:35] gkfgkh [02:35] fgk [02:35] khgfk [02:45] poolie1: zing! bug 410745 [02:45] Launchpad bug 410745 in bzr "PPA GPG key needs more signatures" [Wishlist,Incomplete] https://launchpad.net/bugs/410745 [02:46] mm? [02:46] oh, perhaps you didn't intend the sarcasm in your comment? [02:47] oh the last comment? [02:47] yah [02:47] well, not much [02:49] what do you think of it? [02:51] I don't think the reporter understands the ppa system [02:52] how about comment #5? [02:52] as jelmer says, someone that can change a ppa archive signature can suborn the buildds to output different binaries under the original key [02:52] hang on, let me start up a browser. [02:53] clearer :) [04:30] * igc lunch [06:56] EOD [07:06] hi all [07:56] moin vila [07:57] hey LarstiQ [07:59] lifeless: did you see my question about what the correct submit branch is for me to submit changes to pqm for 1.17.1? [08:01] hello vila [08:01] LarstiQ: it should be http://bazaar-vcs.org/bzr/bzr.1.17 [08:02] then maybe I'm just not authorized [08:03] or should leave the slash off? [08:03] All lines of log output:Sender not authorised to commit to branch http://bazaar-vcs.org/bzr/bzr.1.17/ [08:03] * LarstiQ tries again [08:03] lifeless: spiv: hrm. still no joy. 1. use trash icon in LP UI, remove existing 1.18 2. ~/source/bzr.dev/bzr branch .. to get local 1.18; info -v on this looks fine. 3. ~/source/bzr.dev/bzr push --remember to lp. Have verified it's landing on a different area /00/02/a9/99/ ==> /00/02/a9/9a/ for the new. [08:03] still getting: bzr: ERROR: Server sent an unexpected error: ('error', "KnitPackRepository('lp-45197264:///~bzr-pqm/bzr/1.18/.bzr/repository') has no revision pqm@pqm.ubuntu.com-20090807010459-nw1f0r9y1igi19xf") [08:04] bzr.dev/bzr is 1.17. Halp? [08:04] spm: huh. [08:05] LarstiQ: leave the slash off, it's too picky [08:05] because pqm just matches the string, i think it doesn't know anything about the way bzr would interpret that url [08:05] spiv: I'm happy to do the "idiot do exactly this"; it may be pebkac.... :-/ [08:05] spm: Are you sure you access the same branch on the super mirror ? I.e. do you have write access in both cases ? Otherwise you may access a different copy in read-only mode [08:05] spm: I don't see an obvious pebkac in that description. [08:06] It *is* 5pm, though, which is prime time for overlooking pebkacs! [08:06] spiv: exactly my thinking :-) [08:07] vila: I assume I would have Write access - this is as the pqm user for bzr, so if that has issues.... :-) [08:07] I'll paste the session. one sec. [08:08] spm: that'd be good. Hang on -- it's failing on *push*? [08:08] spm: ok, just checking, the write-branch not mirrored on the read-branch in some cases was worth a try, it's a hard one to realize otherwise [08:08] spiv: vila: https://pastebin.canonical.com/20949/ [08:08] spiv: no pushed fine, it's an info that barfs [08:08] Ah, ok. [08:08] if you info locally, you should see it as well; certainly I do. [08:09] vila: ah, right. [08:09] any suggestions for stuff to mention in the announcement, beyond what's in NEWS already? [08:09] Ah, it may just be a bug in server-side HPSS info on a stacked branch? [08:10] spm: the important question is "does bzr branch via bzr+ssh work?", I'm testing that atm. It appears the answer is yes. [08:10] spiv: so info may be a red herring of sorts? [08:11] Yeah. A bug, not an important one, and not due to a pebkac. Well, that's my current hypothesis anyway. [08:11] Not important in this context, obviously it's a fairly important bug for bzr to fix :) [08:12] heh [08:12] Hmm, I can't trivially reproduce with another stacked branch. Curious! [08:12] spiv: worth getting me to try and reproduce with eg debugging mode on? [08:13] eg push to bzr-1.18-break-me-if-you-dare ? [08:13] I wonder if any new stacked branch (i.e. with no data of its own) will trigger... [08:13] poolie1: hmm, http://pqm.bazaar-vcs.org/ again mentions: Request for non-PQM managed branch. [08:14] spm: nah, just file a bug [08:14] heh, oki [08:14] spm: paste/link that session, etc. [08:14] spm: I think we can figure it out from there without pestering you further :) [08:15] * spm is spoilt for rude choices to respond with, so won't. ;-) [08:15] :) [08:16] LarstiQ: um check with spm? [08:17] LarstiQ: how long ago, and was this against an lp:bzr style branch? [08:17] spm: FWIW, I can reproduce with a new stacked branch I make myself. [08:17] spiv: cool [08:18] spm: merge http://bazaar.launchpad.net/~spiv/bzr/bzr-1.17 http://bazaar-vcs.org/bzr/bzr.1.17 [08:20] spm: mail to pqm was at 07:13 UTC [08:20] spm: we still have problems with lp: style branches ? (Trying to keep up without trying myself :-/) [08:21] vila: yeah - hence my question. that &*%^*&$^&^%$(*&^(&^$&^%#$&^&%)(*&^*&^$&*%^$&^%$ing ~/.bazaar/authentication.conf was back again. [08:21] spm: would you be the one to do the pqm upgrade part of https://bugs.edge.launchpad.net/bzr/+bug/390502 (or is that even what you're doing right now?) [08:21] Launchpad bug 390502 in bzr "bzr's development should dogfood format 2a" [High,Confirmed] [08:21] spm: authentication.conf is involved, my word, who would have thought ? [08:23] LarstiQ: I'm one of the losa's; so somewhat yes; and I believe 1.17 is 2a already? I was creating the pqm config setup for 1.18. [08:24] spm: 1.17 reads 2a, yes [08:24] * spiv heads off for the evening (doing yoga on Monday for a change) [08:25] LarstiQ: "Sender not authorised to commit to branch http://bazaar-vcs.org/bzr/bzr.1.17" [08:26] LarstiQ: recent gpg key change or anything? [08:27] spm: nope, same key I've used recently to submit to bzr.dev pqm [08:27] spm: could be that 1.17 has a more restricted list? [08:27] or, peraps, the mail is not getting signed [08:28] possibly the latter? try again? looking atthe main pqm log, it all looks correct. email from the correct sender and all. [08:29] --dry-run does show it getting signed [08:29] hmm. well poolies got something in the queue atm, see if that works for him; ie effects all vs just you. [08:30] crap [08:30] spm: iirc spiv also had trouble submitting for the 1.17 queue [08:31] about 12 hours ago? [08:31] spiv: ^^ ? [08:31] hmm, longer ago I think [08:31] * LarstiQ checks mail [08:31] gah. he's at yoga. [08:32] 2009-08-09 18:19 - was a fail, same reason [08:32] LarstiQ: its on lp now [08:32] I thought I sent mail about that? [08:33] lifeless: ah, that explains it. [08:33] spm: none of the bzr branches should be in 2a format yet. [08:33] * lifeless is gone again [08:33] lifeless: thanks! [08:35] LarstiQ: ah. the one I'm looking at, is one of yours. [08:37] spm: woops :) [08:37] LarstiQ: which in a way is *some* good news - it's been busted for a while. :-) [08:38] spm: I've sent another request, this time as lifeless suggested with the submit branch on lp, not bazaar-vcs.org [08:39] boom. same error. [08:39] ahem, forget the product [08:40] LarstiQ: I've been summonsed to dinner. I'll have a look after, but I suspect it'll have to wait till tomorrow [08:41] spm: eet smakelijk! [08:41] errr? English? :-) [08:41] spm: yay, got it going! [08:41] spm: bon appetit? ;) [08:41] yay! [08:41] and g'night! [08:46] spm: now i'm being told i can't commit to 1.18 [08:46] is it still broken? or was pqm unhappy? [08:47] poolie1: what url are you submitting to? [08:52] igc1: hi === igc1 is now known as igc [08:52] merge http://bazaar.launchpad.net/~mbp/bzr/prepare-1.18 http://bazaar-vcs.org/bzr/bzr.1.18 [08:52] Command failed! [08:52] hi bialix [08:52] All lines of log output:Sender not authorised to commit to branch http://bazaar-vcs.org/bzr/bzr.1.18 [08:53] hi bialix [08:54] igc: after 1-2 hours from now I'll start to prepare qbzr release. garyvdm said he will do release today, maybe he'll appear here soon [08:54] poolie1: hello [08:54] poolie1: today is release day? [08:56] bialix: that sounds fine. It would have been nice to get qexport in before the 0.13 release but landing it at the start of 0.14 might be better? [08:56] yes, i just did it in fact [08:56] i didn't announce it yet - we can try to make packages first === Noldorin_ is now known as Noldorin [08:56] poolie1: ok [08:56] poolie1: ok, I'll build the docs now then [08:56] igc: qexport is not ready yet [08:56] poolie1: since 1.17 they are on launchpad; I mailed the list at the time [08:56] poolie1: I suspect I failed to land a doc update [08:56] i suspect you did [08:57] actually i know you did [08:57] maybe pqm rejected it :-P [08:57] [sorry] [08:57] np [08:57] igc1: I've reviewed qexport yesterday, maybe you've missed my mail [08:57] bialix: I did sorry [08:57] * lifeless is really really gone [08:57] ring me if you still have trouble [08:57] so submit_branch = http://bazaar.launchpad.net/~bzr/bzr/bzr.1.18 [08:58] bialix: btw, explorer got preferences support over the weekend [08:58] bialix: does Tools/Options work for you? [08:58] igc: I saw commit mails, will try it now [08:58] bialix: I've only tested it on Ubuntu at this point [09:00] igc: http://imagebin.ca/view/yMiG8e7.html [09:01] Suite has only one option: qbzr [09:01] bialix: that's right. gtk will only appear if bzr-gtk is installed [09:01] ok [09:02] bialix: do the toolbar preferences work ok on Windows? [09:02] I believe official plugin name is QBzr, but people usually understand either case [09:02] bialix: and maybe the dialog ought to be called Options on Windows [09:02] while switching content to expanded I've got traceback [09:02] bialix: as a setting, it's the python package name used for the plugin [09:03] igc: http://pastebin.com/m348e2c2c [09:03] bialix: I need to i18n all those combo choices as I don't really want to expose the internal values [09:03] style working ok [09:03] bialix: but my QComboBox foo isn't up to it yet [09:04] igc: I will be able to look at i18n stuff only tomorrow [09:04] da you want me to file bug report? [09:04] *do [09:04] (something wrong with my keyboard) [09:05] bialix: please [09:06] hmm [09:06] it works now [09:06] bialix: blame the gremlins [09:06] bonjour vila! [09:07] hi bialix :) [09:09] igc: gremlins here [09:09] igc: I'm not sure about bug report now [09:09] bialix: try deleting explorer.conf - it will be a one-off init bug [09:10] igc: gotcha! [09:12] vila: gremlin name was 'explorer.conf' [09:13] that kind of bug is really annoying especially for *non* devs as they are a royal pain to even understand (there was one in bzr-gtk that remained hidden for months....) [09:13] mabey years even [09:15] igc: https://bugs.launchpad.net/bzr-explorer/+bug/411304 [09:15] Launchpad bug 411304 in bzr-explorer "Tools -> Options: changing contents to `expanded` fails if there is no explorer.conf" [Undecided,New] [09:15] ubottu is really fast! [09:15] Sorry, I don't know anything about is really fast! [09:15] good ubottu, take a cookie [09:19] * bialix bbl [09:37] * igc dinner [10:00] hi :-) === Noldorin_ is now known as Noldorin [10:33] jelmer: aware of any docs for the git http proto? i would implement a wsgi app for dulwich [10:35] hmm, meh [10:35] the more i read about it, the more it seems like one doesnt actually want that [11:22] vila: where can I find the buildbot status page? [11:26] hi garyvdm [11:26] Hi bialix === Noldorin_ is now known as Noldorin [11:27] I'm fixing bug 395937, then I'm going to do the release [11:27] Launchpad bug 395937 in qbzr "qannotate: Crash when opening qbzr/lib/log.py annotate from qbrowse" [High,Confirmed] https://launchpad.net/bugs/395937 [11:28] I'm not sure if I will include the fix or not. I'm worried about lack of testing. [11:28] If not - I will include the fix that we had for 0.12 [11:28] garyvdm: I have problem with proper disabling of UI when operation starte [11:28] started [11:28] did you saw it? [11:29] or this is again Qt 4.4 bug... [11:30] bialix: I do remember seeing something. I did not look in detail, and now I cant find it. Was it in a mail, or a bug? [11:30] nope [11:30] no mail no bug [11:31] I've recently change signal subprocessStarted et al to disableUi [11:31] Ok - That'ss what I saw. [11:31] and now I see that UI disabled and then enabled once there is incoming data from subprocess [11:32] LarstiQ: The reason why there is no syntax highlighting in unidiff, is it would overwrite the colors for unidiff. [11:32] actually I see it everytime I do qpull [11:32] ok [11:32] Let me try reproduce. [11:32] garyvdm: is there some debug utility for qt to trace signals? [11:33] garyvdm: right, I'd like both :) [11:33] bialix: Not that I know of. It can be quite frustrating. [11:34] bialix, garyvdm: there is, QSignalSpy [11:34] * bialix googling [11:35] last I checked that didn't have PyQt bindings though [11:35] LarstiQ: it seems it's still none [11:37] LarstiQ: So would the unidiff colors overwrite the syntax colors? [11:37] or the other way arround? [11:38] garyvdm: I'd go with backgrounds ala side-by-side deletion/addition blocks [11:38] Ok [11:38] Like launchpad [11:38] euh, possibly :) [11:38] * LarstiQ takes a look [11:38] garyvdm: I'm coming from vim myself [11:39] garyvdm: I found! [11:39] LarstiQ: can you send me a screen shot. [11:39] garyvdm: the problem in on_error method [11:39] bialix: I can reproduce on linux with qt4.5 [11:39] * garyvdm looks at on_error [11:40] it seems some code calling on_error all the time [11:41] garyvdm: it seems readStderr send it [11:41] oh [11:42] garyvdm: hmm, I realize that's actually more of a side-by-side than unidiff thing [11:42] Yes - So something is writing to stderror that should not be? [11:42] it's never ending discussion: does bzr should emit non-error messages to stderr? [11:42] well [11:42] garyvdm: bzr writing to stderr too much data [11:42] not errors! [11:42] and this is known intended behavior [11:42] rats [11:42] garyvdm: but basically one background color for old and one for new makes sense to me [11:43] LarstiQ: IIRC unidiff has used bg colors instead of fg [11:43] but then luks has changed it this way [11:43] perhaps to avoid height problems [11:44] bialix: no height problems in unidiff. [11:44] may be another reason. [11:44] perhaps just for estetic reasons [11:45] bialix: We could emit only if a line starts with "bzr: ERROR:" [11:45] I remeber his comment: if somebody want old behavior -- then make it configurable [11:45] garyvdm: I think I'm just remove my signal from on_error [11:46] if I found the case whne it's needed, I'll try to figure out how to deal with this problem [11:46] so for now (for release) I'll stick with this [11:46] Oh yes - the ui should be enabled on failed/finished. [11:47] fte [11:47] (wrong window) [11:51] bialix: ok, I'll go look for luks change [11:52] LarstiQ: ? [11:52] hello from Prague [11:52] jml: hi [11:52] bialix: and see about what he wanted made configurable [11:53] LarstiQ: IIUC colors [11:53] what color should be used for + or - [11:53] ink and papaer colors pair [11:53] paper [11:54] bialix: makes sense [11:54] LarstiQ: it was changed long ago [11:54] around end of 2007 - beginning of 2008 [11:59] LarstiQ: revno 186 [12:00] btw, garyvdm , I'd like to measure speed of syntax highlighting [12:00] --lsprof [12:01] perhaps it's one of major slowdown factor for qdiff I see all the time with big files [12:01] Probably correct. [12:01] well, I'm thinking about put time.time() in some points here and there and looks at numbers [12:02] there is another narrow place: detector of NUL bytes [12:02] bialix: --lsprof will give you a good estimate. [12:02] why --lsprof? [12:03] I wonder if you can run KCachegrind on windows. [12:03] woo, looking at history is cool. nice to see the commit dialog from qbzr r1 still working :) [12:03] jelmer: how does one propperly set the commit date of a svn rev using subvertpy, passing svn:date as revprop seems to fail [12:03] luks: :-) [12:04] luks: hi :-) [12:04] hey [12:04] bialix: have you ever use --lsprof[-file]. It gives you the time spent in each method. [12:05] Then I use KCachegrind to browse through the data. Before I used excel on windows to browse. [12:05] garyvdm: I think I've always used just plain --profile [12:05] Oh [12:05] garyvdm: I was under impression it does not work here [12:06] bialix: the other way the will give you a more accurate measurement is to time it, and them time it with pygments uninstalled. [12:07] what is lsprof? [12:07] I can't find it in standard python docs [12:07] it's 3rd party lib? [12:07] See bzr help global-options [12:07] bialix: yes, but it got into 2.5 (or 2.6?) as `profile` [12:08] bialix: however, it doesn't publically expose some of the lsprof methods we were using [12:08] --profile calims it uses hotshot std lib [12:09] hmm [12:09] cProfile, a module written in C, with a reasonable overhead that makes it suitable for profiling long-running programs. Based on lsprof, contributed by Brett Rosen and Ted Czotter. New in version 2.5. [12:09] that's one? [12:09] bialix: yeah [12:09] I'm using it for my own programs [12:09] very useful [12:10] bialix: do you also use the callgrind output it can generate? [12:10] callgrind? [12:10] imo the main advantage of lsprof is generating the call tree [12:11] messing with kcachegrind was so useful when I was working on the c patiencediff [12:11] bialix: KCachegrind is what I use to look at the .callgrind. I'm not sure if you can run it on windows though. [12:11] bialix: there are 2 things to measure for syntax highlighting: How long pygments takes, and how much extra it takes the QTextBrowser to do the format. [12:11] http://docs.python.org/library/profile.html#module-pstats [12:12] I'm using output as in docs [12:12] QTextBrowser definitely slow to render our diffs with lines [12:13] it is long standing wish to put every file diff in separate tab [12:13] I wonder if it helps with scolling slowness [12:13] *scrolling [12:13] Scrolling slowness? [12:14] Are you maybe trying to scroll before it's finished loading? [12:14] when you have a big diff in many files then scroll down the entire diff is dead slow [12:14] does not matter actually [12:14] it slow even after loading is finished === mrevell is now known as mrevell-lunch [12:15] That might be our code that is drawing the lines. [12:16] as good example of slowness we can use any qbzr revno where I did "sync translations with lp" [12:16] there is a lot changes in many files [12:16] luks: Why did you change annotate from using a QTextBrowser, to using a list controll? [12:17] garyvdm: I wanted columns [12:17] is it possible to force text selection with mouse here? [12:18] yes, but probably not easily [12:18] But you were using a html table. What was the problem with that? The reason I'm asking is that I think that might be the solution to not been able to select text. [12:19] * bialix mutters: we really needs policy to land new features with corresponding NEWS entry [12:19] you can't resize the columns in a html table [12:19] and names can get quite wide [12:19] bialix: sorry - I'm bad with that. [12:19] luks: ok - I see [12:20] garyvdm: ok, so I leave NEWS for 0.13 for you [12:20] but it's not that I use qannotate anyway [12:20] I was mostly just copying qannotate :) [12:20] copying qannotate? [12:20] I mean gannotate [12:21] It would also be nice if when you scroll horizontally in qannotate, it only scrolled the text, not all columns [12:21] luks: what you think about adding line numbers to qdiff? what QT widget need to be used? [12:22] bialix: I'd like that, but we would have to write that ourselves [12:22] bialix: I see what you say about the scolling in qdiff. Is there a bug loged. [12:22] you can have a margin in QTextBrowser [12:22] but you need to draw it in your code [12:22] the whole diff view should be a c++ widget [12:22] there is too much slow python code [12:23] when I'm select the text to copy with margin, the numbers will be omiitted? [12:23] no, the margin is totally separate [12:23] that's nice [12:23] it's intended for line numbers in a text editor, mainly [12:24] luks: IIRC you has tried to start writing special C++ code for qdiff [12:24] luks: we could probably use that for annotate too. [12:24] garyvdm: yeah, that could be one way to solve it [12:24] garyvdm: but it would need some more code, to handle margin resizing [12:25] luks: oh yes === Noldorin_ is now known as Noldorin [12:28] luks: What do you think of LarstiQ's idea to have the unidiff colors as background colors, so that we can do syntax highlighting in unidiff? [12:29] garyvdm: we would need a custom painter for unidiff then [12:30] garyvdm: or maybe not, but Qt used to not handle
correctly when scrolling [12:30] luks - yes - if we want the background across the whole line [12:30] jelmer: what is this 1000000 magic factor in the subvertpy timestamp functions about? [12:31] luks: No - it does not have that abiliy afaik [12:32] is not div element should be resized on full width of window? [12:32] then it can draw background on full width [12:32] not in QTextBrowse [12:32] bad [12:32] * bialix bbl [12:32] bialix: On thing that we currently do in qdiff is run the whole file through pygments. You could may be experiment with passing only the part of the file we diapaly through pygments [12:33] *display [12:33] I need to collect speed statistics first [12:34] btw, I like how WinMerge shows the diff [12:34] there is always full file [12:34] and deletion on each side shown as holes [12:34] I'm not sure if pygments can do that [12:34] I'd like to accomodate this for qdiff [12:35] higlighting parts of a file is a more complex problem === cprov-afk is now known as cprov [12:37] ronny: hi [12:37] ronny: you can't change the commit date during a commit [12:37] ronny: the only way you can change the commit time is by changing the revision property afterwards [12:38] (which requires the commit hooks to be adjusted to allow that) [12:38] oh darn [12:39] jelmer: btw, why that magic timestamp factor? [12:39] yes [12:39] ronny: magic timestamp facto? [12:40] luks/bialix: When I get around to it, I want to create "qdiffmerge" which will allow 3-way diff, editing, and (this is why I want to write it, not just use meld) the ability to annotate in that window. [12:40] It's a big job, so I keep on putting it off :-~ [12:40] jelmer: the 1000000 you use in time_from/to_ctime [12:45] jelmer: how do i get the revno a commit created [12:45] meh, svn is fail :( [12:48] jelmer: i'll print a warning instead of setting a svn date for now [12:49] ->lunch, bbl [13:02] ronny: there's a callback used by commit that will be called with the result author, date and revno [13:04] ronny: the 10^6 stuff is used because that seems the times are usually usecs in the svn world === mrevell-lunch is now known as mrevell [13:23] hi vila? [13:24] poolie1: hey ! [13:40] jelmer: how can i use that calback stuff when using a ra editor === james_w` is now known as james_w === kiko-fud is now known as kiko === Edwin is now known as Guest70933 [14:33] --help [14:35] Bazaar -- a free distributed version-control tool [14:35] http://bazaar-vcs.org/ [14:35] Basic commands: [14:35] bzr init makes this directory a versioned branch [14:35] ...... === sabdfl1 is now known as sabdfl === Guest70933 is now known as EdwinGrubbs [15:56] ronny: you can specify a callback to get_commit_editor() [15:56] I think it's called "done" or something in the docstring [16:18] its called callback [16:48] * SamB wonders why it is *repository formats* that are considered rich-root or not, rather than branches/revisions [16:56] spiv: so, 1.18 *is* going to have this Repository.insert_stream_1.18 hpss method, yes? [17:00] SamB: it's repositories that store revisions, not breanches and not working trees [17:00] jelmer: yeah, I know [17:01] but don't only some of the revisions actually use rich-root at all? === ja1 is now known as jam [17:04] ping vila about kerguelen :) [17:05] jam: goood morning jam :) [17:06] so... you have to delete bzrlib/_chunks_to_lines.pyd before running setup.py, as it loads osutils.py which loads chunks_to_lines [17:07] evil! [17:07] SamB: evil-ish. Mostly that you can't delete an open file on Windows, which causes difficulties sometimes [17:08] jam: I meant having the C-ish module import a python module, actually ... [17:09] SamB: it doesn't [17:09] setup.py imports osutils.py imports chunks_to_lines.pyd [17:09] oh [17:10] just that setup.py also *rebuilds* chunks_to_lines.pyd [17:10] if it is considered out of date [17:10] but it always fails if it already exists... [17:10] I guess I didn't interpret "it" correctly === deryck is now known as deryck[lunch] [17:20] garyvdm: how it's going? [17:20] Hi bialix [17:20] hi garyvdm [17:20] hmmmm [17:20] Not on to release yet. [17:20] is there some blockers for you? [17:21] jam: hello [17:21] Fixing qdiff perferformance [17:21] Nearly done with that :-) [17:21] hi bialix [17:21] and garyvdm [17:21] jam: garyvdm working on qbzr release [17:21] bialix: I'm not on as strict timetable for 1.18rc1, so just let me know when you think you're ready [17:21] what's your plans on bzr installer? [17:22] Hi jam - when do you plan to do the wininstallers for 1.18rc? [17:22] :-) [17:22] all windows people looking at jam [17:22] jam - never mind. there was a irc delay [17:22] garyvdm, bialix: I plan to do them.... eventually :) [17:22] jam - I'll let you know when I've done the qbzr release. [17:23] Please will you wait for that before you do 1.18rc1 installers [17:23] if garyvdm will fall asleep I'll do it [17:24] bialix: I've got qdiff much faster - just some small bug to fix. [17:24] that's great! [17:24] bialix: Please can you try out the qannotate changes. [17:24] does they're already in trunk? I did not saw commit mail yet [17:25] garyvdm: do you remember what's problem with bzr-pipeline? Bug #395817 [17:25] Launchpad bug 395817 in qbzr "qbzr and bzr-pipeline not compatible." [Medium,New] https://launchpad.net/bugs/395817 [17:26] Yes - I know how I think we should fix that - will just take a while. [17:26] I'll explain in a sec [17:27] if you think we have to fix it on our side, then I'd mark bug as Confirmed [17:31] bialix: It probably involve changes in bzrlib, qbzr and bzr-pipeline [17:31] or just bzrlib, and qbzr [17:32] should we involve bzr into bug report then? [17:33] Not yet [17:34] ok, so won't touch it yet [17:34] so I won't === patrick is now known as Guest65098 [17:37] ~~~~~~~~/qIRCNICK patrickcd [17:39] bialix: re pipeline problem - I've got a 2 ideas on how to fix. Both are a lot of work :-( I have not decided which is best. [17:40] Idea 1: [17:41] Add --using to merge --preview [17:41] and [17:42] Add a way to hook qdiff into diff --using [17:42] which would be reused by merge --preview [17:42] so you could do merge --preview --using qdiff [17:42] Idea 2: === beuno is now known as beuno-lunch [17:44] Change bzrlib to some how allow for multiple plugins to change a command. [17:44] Not 100% certain how that can be done though. [17:45] bialix: so I have pushed my qdiff improvements if you want to try them out. [17:45] And I'm going to start updating news now. [17:45] idea #2 require discussion with core devs [17:45] Yes [17:45] perhaps Aaron or Martin should know better [17:45] Idea 3: monkey patching :) [17:46] luks: what's that? [17:46] modify cmd_merge instead of subclassing it [17:46] you can add an option and overwrite _do_preview [17:46] and now I should hide :) [17:46] why not? [17:47] does monkey patching taboo in #bzr? [17:47] luks: Yes - that way one of my ideas, but I'm not sure where one would do that? [17:47] bialix: I guess any bzr dev would complain [17:47] since it's misusing a private API [17:47] about monkey patching from qbzr plugin? [17:48] from any plugin [17:48] Which we are doing atm.... [17:48] recently there was added some hooks re command loading [17:48] garyvdm: in bzrlib.plugins.qbzr.__init__ [17:48] I wonder if they will be used here [17:48] but of course proper hooks in cmd_merge would be a better solution [17:49] luks: lazly? [17:49] garyvdm: you can overwrite the method by a trivial method that either calls something else or the original _do_preview [17:50] A pro of Idea 1 would get us away from interfacing a private method [17:50] the something else would be lazily loaded [17:50] luks - I see [17:50] not that I suggest using something like this long-term [17:50] but it would work until there are proper hooks in cmd_merge for --using [17:51] IIUC you mean registry of diff viewers [17:52] Yes - that is what I had in mind for idea 1 [17:52] it's could be complicated because PreviewTree is internal representation of merge results and has not actual mirror on the disk [17:53] bialix: It would be easy to write to disk. [17:53] However, for qdiff, it would not be written to disk. [17:53] just to throw it after? [17:54] bialix: well, that [17:54] 's what diff --using does [17:54] right [17:54] +1 then [17:54] bialix: have you tried qdiff yet? [17:55] so, we'd need to start supporting `bzr diff --using qbzr` first, I guess [17:55] yea [17:55] garyvdm: not yet [17:55] * bialix pulls [17:56] bialix, luks: I found that qdiff was spending more time in format_for_ttype than in pygmentstaking longer in [17:56] ^H^H^H^H^H^H^H^H^H^H^H [17:56] So I now cache that. [17:57] And I made the line/block drawing only draw what's on screen. [17:57] much faster now. [17:58] garyvdm: WOW [17:58] WOW WOW WOW [17:58] it flies now [17:58] :-) [17:58] you're wizard! [17:59] * bialix heads to home now, be back after ~ 1 hour === raimue is now known as Raim [18:05] hey. who do i complain to about bzr rspush deleting vital files which were part of .bzrignore? [18:13] beuno-lunch, I'm just headed out for lunch myself. But I've sent a summary to the mailing list for the wireframes. it would be great if you could take a peek and hopefully pass this along to one of your designers. === mrevell is now known as mrevell-dinner [18:34] jam: qannotate can now annotate the working tree - so now qannotate can do every that gannotate can do :-) [18:34] *everything === deryck[lunch] is now known as deryck [18:34] except for moving between revisions [18:34] luks: It can! [18:35] oh === EdwinGrubbs is now known as Edwin-lunch [18:35] cool [18:35] luks: right click on a revision, click on "Annotate this revision." [18:35] UI bug, it should not have a trailing period :) [18:36] * garyvdm fixes [18:36] emmajane, will do [18:38] * garyvdm -> dinner [18:40] * SamB wonders why bzr switches packs in mid-transfer [18:41] (why can't it just write to a temporary pack and then figure out where to really put the the revisions later?) [18:41] hm, I find myself running "bzr branch ../foo ../bar && bzr switch ../bar" too often. has anybody thought about adding a --switch option to branch before? [18:41] luks: bzr switch -b [18:42] oh? [18:42] the ../ is sorta implicit, too [18:42] in what version was that included? [18:42] so you would just do "bzr switch -b bar", if foo was what you had checked out [18:43] luks: 1.17, maybe? [18:43] I have 1.17 here and no switch -b [18:43] oh [18:43] well, whatever's in the PPA then [18:43] hm, but switch -b branches of the current branch, right? [18:44] I believe you could specify a second arg if you wanted to branch from something else [18:44] it's inspired by git checkout -b [18:45] oh, so apparently I have 1.17rc here [18:45] and it was added in 1.17 [18:45] weird that there was a new feature added after the rc [18:45] yeah [18:48] I must be blind [18:48] upgraded to 1.17, still don't see the option [18:49] oh? [18:49] not in builtins.py either [18:50] and not mentioned in NEWS [18:50] but the docs on bazaar-vcs.org mention it [18:50] strange [18:51] last entry in New Features in the tarball is "bzr send now aborts if ..." [18:51] maybe you're looking at the bzr.dev docs? === beuno-lunch is now known as beuno [18:51] I am, but under the 1.17 section [18:51] oh? [18:52] it was probably added on the wrong place in bzr.dev [18:53] * LarstiQ annotates [18:56] hm, right, to switch -b is not useful to me [18:56] I'm usually in a situation where I have a feature branch and I want to work on another feature [18:56] this way I'd have to switch to trunk, switch -b to the new branch [18:56] which is not not easier than branch && switch [18:56] luks: how about cbranch? [18:57] LarstiQ: doesn't that do something almost entirely different? [18:57] what does it do? the help text is confusing [18:57] SamB: something witt branches and checkouts? ;) [18:57] I don't want to create a new checkout [18:57] LarstiQ: but it makes a new checkout, doesn'ty it? [18:58] I want to use the same checkout, but create a new branch [18:58] SamB: ah hmm, you'd still need to switch, yeah ok, doesn't help [18:59] what do you think about adding "bzr switch -b [SOURCE] TO_LOCATION"? [19:00] would it be acceptable to add a new argument between the existing ones? [19:01] luks: should be the other way, I think [19:01] bzr switch -b to_location [source] [19:01] yeah, well, that would be compatible with older switch, but inconsitent with branch [19:01] bzr switch source -b to_location? [19:02] that's the same as -b source to_location [19:02] not if -b is an option [19:02] I believe the option parser ignores position of --options [19:02] oh, even more confusing :) [19:02] the idea is to mimic 'git checkout -b' [19:02] luks: one of us is confused about argument/option :) [19:03] argument is 'foo', option is '-f' or '--foo' [19:03] right? [19:03] luks: argument doesn't take an argument, option takes an argument [19:04] well, to_location is not -b's argument [19:04] d'oh [19:04] it apparantly should be? [19:05] probably not, because you need it even without -b [19:05] bzr switch to_location is the main use case [19:05] or maybe checkout is just supposed to treat it's args different depending on whether or not -b was passed [19:06] git indeed uses "checkout -b target source" [19:06] luks: well, I meant judging by git-checkout(1) [19:06] I'd prefer the argument ordering from branch [19:06] which is the same as for cp/mv [19:06] it would mess up our finger memory [19:07] well, I'll write the patch and let people on the bazaar ML judge it [19:07] and having optional arguments at the beginning is quite odd [19:08] it would depend on -b [19:08] "bzr switch foo bar" would raise an error [19:08] even so [19:08] or, "source" could be -b's argument [19:08] no, that's an incompatible change [19:09] or, darn, it's not in a release is it? [19:09] incompatible changes aren't outruled per se [19:09] well, anyways, it isn't terribly compatible with my fingers ... [19:09] and especially when not released :) [19:09] isn't it possible to have an option with has optional argument? [19:10] I'd want the '-b' short form removed if you're going to do things so different [19:10] so both "-b" and "-b source" are valid? [19:10] luks: no... [19:10] well, I hope not, anyway [19:11] oh well, I'll just write it the hacky way and let the patch to be rejected :) [19:11] hm, or I write a plugin [19:12] dunno how I missed that bzr switch -b bar foo [19:12] doesn't work yet [19:17] cool, it seems optparse explicitly supports optional arguments in the middle [19:18] I can have takes_args = ['source?', 'to_location'], def run(self, to_location, source=None) and it does the right thing [19:19] the wrong thing! [19:19] well, what you meant, sure ;-) [19:20] interesting :) [19:22] hm, or maybe not [19:24] does anybody know of a bzr command that take arguments in "target source" other? [19:25] export [19:27] luks: I think the order to use is "required [optional]", generally [19:28] SamB: I know, but I couldn't live with switch source target [19:29] it seems everything fails, so I'll write a sbranch plugin for myself [19:29] er, sorry, with source target source [19:29] luks: `bzr export` wasn't helpful? [19:29] (but you can see, it's hard to write the other way :)) [19:29] needs more source [19:29] LarstiQ: I always found it weird [19:29] * SamB pours on some worcestershire source [19:30] LarstiQ: I just wanted to know if there is a precedent [19:35] I wonder why was the option added to switch and not branch though [19:35] since branch has more options for things like revision [19:44] luks: it's a convenience command [19:46] luks: because at the time I got motivated enough to implement "-b" I was thinking about switch [19:46] there is certainly an argument for "bzr branch --switch" [19:46] nobody has cared enough to do it :) [19:47] in fact, I generally work that way as well, but I wrote 'bzr-start' to handle that for me [19:47] lp:~jameinel/+junk/bzr-start [19:47] uses the 'submit:' branch to decide what the source should be [19:48] so "bzr start ../lp/my-new-feature" [19:48] branches from bzr.dev, and switches to it [19:48] jam: does http://paste.pocoo.org/show/133506/ look sensible? [19:48] (for inclusion in bzr.dev) [19:48] luks: I think if we add the "two location" variant, we should just make "bzr branch --switch" rather than "bzr switch -b target source" [19:49] ok [19:49] luks: though that is *my* opinion [19:49] I'll submit a patch for that [19:49] note there has been some recent discussion [19:49] I like it better, too [19:49] where lifeless and abentley have mentioned wanting "bzr switch --new" [19:49] because they want to use it for bzr-loom and bzr-pipeline [19:49] ah [19:50] and they didn't like "-b" since it would be "new-loom" or "new-pipe" [19:50] or whatever [19:50] so at least think about that briefly [19:50] *I* like "bzr branch --switch ../source ../target" [19:50] me too [19:51] maybe minus the ../ ? [19:51] in my case it's more often ../branches/source ../branches/target [19:51] or would that relative location handle that as well? [19:51] luks: so "switch" knows about relative locations and "branch" doesn't [19:52] one of the problems about *creating* branches is that it can be unclear [19:52] if you typed "bzr branch source target" [19:52] is source relative to the current tip? [19:52] is target? [19:52] or is target relative to the working dir? [19:52] I generally like using real path, because I can tab-complete on that [19:52] if source is relative to X is target then relative to X ? [19:53] luks: that's incentive for better tab completion [19:53] LarstiQ: hard to implement as a bash extension if bzr startup time is as it is [19:54] luks, LarstiQ: I think, in general, it is a UI issue that is hodgepodged right now, and nobody has gone through and figured out what it should be [19:54] I really like the way it works in git [19:54] garyvdm: ping [19:54] switch, IIRC, is the *only* command to support "bzr switch foo" to mean "bzr switch $CURRENT/../foo" [19:54] Hi bialix [19:54] garyvdm: so is it ready yet ? [19:54] :) [19:54] Busy with the release... [19:54] evening Gary [19:54] not yet [19:55] btw garyvdm, you seem to be doing *far* too much development work on release day [19:55] garyvdm: I've fixed some typos in NEWs [19:55] take it from the bzr project, that is a very good way to break things :) [19:55] garyvdm: can you look at them? [19:55] bialix: Yes [19:56] one sec [19:57] yam: I know it not good. If there are bugs, I'll do 0.13.1 before bzr 1.18(2.0?) final. [19:57] loggerhead should really not annotate files by default [19:57] *jam [19:58] garyvdm: http://paste.ubuntu.com/250990/ [19:58] jam/bialix: do you guys think I should leave the annotate and diff change out the release. [19:58] diff fixes are superious [19:58] garyvdm: I don't really care. I think they seem like good things [19:59] jam: we have regressions all the time [19:59] bialix: Please commit and push. [19:59] Just recommending that you do the work right after a release [19:59] rather than right before [19:59] so even release day is ok [19:59] bialix: "spurious" ? [19:59] ? [19:59] WDYM? [19:59] (1:58:54 PM) bialix: diff fixes are superious [20:00] I'm trying to understand what you mean by "superious" [20:00] SUPER++ [20:00] bialix: Normally we catch the regressions before we release. [20:00] it seems I've construct the word using russian grammar [20:00] bialix: I was concerned you meant :http://www.merriam-webster.com/dictionary/spurious [20:00] " outwardly similar or corresponding to something without having its genuine qualities" [20:01] (often used as, you changed something that didn't really need to be changed, for no real net benefit) [20:01] jam! [20:01] you are laughing fromme [20:01] don;t [20:01] not laughing [20:01] just not sure whether you meant "those are really good" [20:01] versus "those really didn't help anything" [20:01] spurious == don't help [20:02] super++ == help a lot [20:02] the latter [20:02] I've just realized [20:02] Gary perhaps pronounced similar to Harry? [20:03] Yes [20:03] wizard Gary [20:03] Lol [20:04] I'm glad 0.13 won't be boring maintenance release [20:04] pushed [20:05] wow, paste.ubuntu.com correctly displays russian. kudo for people coding it [20:06] garyvdm: do you need any other help with release from me? [20:06] I don't think so. Maybe with Inno, but If I get stuck, I'll mail you. [20:07] I'll build installer tomorrow morning, don't worry about it [20:07] it seems official bzr rc installer will go first ;-) [20:09] garyvdm: so, write some optimistic announce mail, this release really deserve it. there is a lot of tasty improvements [20:09] thanks a lot [20:10] Ok - I'll maybe include some screen shots [20:10] good idea [20:13] Sorry for the intrusion, but is there anyone here that can help me with something which looks like a corrupted bzr repository (bug 405251)? [20:13] Launchpad bug 405251 in bzr "Huge data transfers/bad performance OVERALL" [Undecided,Incomplete] https://launchpad.net/bugs/405251 [20:14] jam: it seems I might take the lazy way and just start using your bzr-start instead of patching branch :) you shouldn't point me to the plugin [20:14] :) [20:14] well, I wrote it because it works well for this mode of operation [20:14] and is *just* special enough [20:15] that i didn't think it was worthy of being a core command [20:15] 99% of cases I branch from trunk, so submit location works fine for me [20:15] I don't really like the name 'start', though it works well for me [20:16] jam: qbzr 0.13 tar uploaded and taged revision pushed. === Edwin-lunch is now known as EdwinGrubbs [20:18] of course, I usually also wait for bzrtools 1.18 to be released, so no real pressure from you guys :) [20:18] lol [20:20] luks: There is a command in the .deb building world that automatically downloads the latest source package. I can't remember what it is. I think it starts with "u". Do you know what it is? [20:21] uscan? [20:21] why are you not using bzr builddeb though? [20:22] (or maybe you mean uupdate) [20:22] I used to work with watch files that called uupdate automatically [20:22] but now I only use bzr builddeb, it takes care of the boring work [20:22] luks: Yes - Thats its. I am using bzr bd for some things, Maybe I'm not aware of all of bzr bd features [20:23] well, it can download tarballs for you :) [20:23] fjalvingh: that bug doesn't seem to mention corruption? [20:23] luks: Ok, how? [20:23] garyvdm: bzr bd :) [20:23] it will download the tarball and build everything [20:23] I think there is a separate command for downloading the tarball too [20:24] Oh wow. [20:24] LarsiQ: Thanks for answering; at the end of the bug there seems to be the actual problem: the repository grows 170MB for a simple commit,,, And has grown 3x as big in a month [20:25] ping beuno [20:25] So performance is a symptom... I cannot go back to an earlier bzr because the repo itself looks corrupt [20:25] pong emmajane [20:25] beuno, I'm not sure I understand your concern with the front page... do you have some time to go over it before you hand it over? [20:26] emmajane, sure [20:26] my main concern is that it's too much content [20:26] maybe it will not look so much with design slapped on it [20:26] too much content, or too many regions? [20:26] but it seems like a lot to grab your attention [20:26] I think content [20:26] luks: That did not work. Do I have to update the changelog first? (can't remember the command for that.) [20:27] fjalvingh: I'm out of my depth there [20:27] garyvdm: yes [20:27] emmajane, and regions as a result of it [20:27] garyvdm: dch [20:27] beuno, are you trying to include the footer as contnet? It really does not count. [20:27] beuno, the footer should be muted and in a small font and out of the way of the main content. [20:27] garyvdm: btw, you can use the scripts from bzr to do ppa packaging [20:27] LarsiQ: thanks anyway... [20:27] garyvdm: it gets boring to build packages for 3 distros [20:28] beuno, people seem to be having a hard time looking past it and I wish I hadn't included it in the design, but it shows how the sections flow into the rest of the site [20:28] Ok - I look at that. [20:28] emmajane, I think the regions are good, I just think that no matter how you look at it, it's too much [20:28] fjalvingh: jam might be of more help [20:29] beuno, I'm not sure how it's too much though.... it's essentially two regions broken down into smaller areas. [20:29] emmajane, well, just to show you how much I trust you, I have already sent it off to get a designer on it [20:29] we can see once it looks more like a web page [20:29] beuno, heh. It's not about trust. :) It's about getting it right. ;) [20:29] and decide based on that [20:30] emmajane, I jump around a dozen different projects per day, I may be over-siplifying it [20:30] fjalvingh, LarstiQ: Not sure I can be of more help without context :) [20:30] I don't have my head in this too deeply [20:30] beuno, when I gave the examples of simplified home pages (e.g. open atrium someone complained those sites were too bare). [20:31] beuno, I'm just tryign to find that post now. [20:31] but if I'm guessing the user correctly [20:31] emmajane, so if you feel it will fit, we'll see in (hopefully) a few days, and tweak based on that [20:31] he's been talking with me fairly directly for a while now :) [20:31] (well, on the bug page, at least) [20:31] jam: what do you need? I'm very eager to get this fixed because end of this week I'll be forced to move back to Subversion - and I hate that 8-( [20:33] jam: yes, I'm the one on bug 405251 (fjalvingh). [20:33] Launchpad bug 405251 in bzr "Huge data transfers/bad performance OVERALL" [Undecided,Incomplete] https://launchpad.net/bugs/405251 [20:33] fjalvingh: Unfortunately I don't have great answers for you just yet. I could say "bzr log -n1 -r0..-1" might be helpful [20:33] sorry "bzr log -n1 -r0..-1 -v" [20:33] however, my quick guess [20:33] is just that you change a *lot* of files every commit [20:33] the pull results you showed [20:34] show a lot of files changing on each revision [20:35] jam: Did you look the last comments where I pulled one by one? Because a growth of 170MB in the repository for a few files seems excessive? [20:35] fjalvingh: can you point to a specific rev [20:35] as I was seeing *lots* of changes for each revision [20:35] but I didn't go one by one [20:36] also, it is just as possible that someone is doing "bzr add big-subdir; bzr commit; bzr rm subdir; bzr commit" [20:36] One moment, I'll look in the log to find one. [20:36] and that causes a lot of churn [20:36] that wouldn't show up in the pull [20:36] since it only compares the start and end states [20:36] and not all the intermediate states [20:37] jam: Yes, I understand but that *would* be visible when doing the log verbose for that revno? [20:37] fjalvingh: not for that revno [20:37] but if you logged *all* revnos [20:37] well, all revisions [20:37] hence -n0 versus -n1 [20:37] meh, I typed it wrong again [20:37] luks: bzr.dev/tools/packaging/update-packaging-branches.sh and the other files have strings that a specific to bzr. Should I copy them to qbzr and modify? [20:38] bzr log --include-merges -r 0..-1 -v [20:38] beuno, huh. It was an email from Stephen Turnbull specifically that said the front page was too empty on sites like open atrium. But I can't find it in the archives. the list was CC-d on it, so it should be there?. [20:38] (using the long form for -n0) [20:38] emmajane: though realize that Stephen Turnbull is one person with their own opinions, and not necessarily a well paid home-page designer :) [20:38] https://lists.ubuntu.com/archives/bazaar/2009q3/061067.html <--- that's the message but it doesn't have the full text that I have. [20:39] emmajane, I know what you mean. Let's see it in action, and we'll go from there [20:39] jam, correct. But this is a community process so that means I can't flat out ignore people. :) [20:39] emmajane, you can [20:39] you shouldn't [20:39] different things :) [20:39] beuno, bah. I have to at leave throw bones or give reasons. :) [20:39] design-by-committee can often be crap [20:40] especially when the committee is the masses [20:40] rather than experts [20:40] anyway [20:40] and it can often reveal really useful information when it's filtered back through experts. [20:40] I've stayed away from the general discussion because of this sort of thing [20:40] I have very little idea ,and I'm willing to say so [20:40] rather than assuming my quick opinion is actually correct [20:40] emmajane, my comment was just to be prepared to cut content by a significant chunk [20:40] jam, but just thought you'd throw your piss into the discussion without being productive. ;) [20:40] jam: Ok, the revno with the largest increase is from 1321 to 1322, the repo grows from 415MB to 585MB. [20:41] so when we come back with "it's too crammed", you have idea of what can go [20:41] fjalvingh: so you can do "bzr log -v -r1321..1322 --include-merges" [20:41] jam: willdo. Will take a while. [20:41] beuno, I've kept the word counts low and the link lists can go. That shouldn't be a problem. [20:41] emmajane: I'm being productive in saying that if you significantly disagree with someone, *your* opinion probably matters more than the rest of us [20:42] I can say what I'd like to see, but you aren't going to be putting a pony up on the home page :) [20:42] emmajane, cool. You can jump into other pages meanwhile I think. [20:42] jam, awww. But I thought we were getting a new logo! :) [20:43] and as far as it goes [20:43] I'm pretty sure I would trust beuno's opinon over stephen's [20:43] beuno, cool. [20:44] jam, :) [20:45] I sure would. [20:55] jam: Ok, I did the full log on that revision. It is a merge containing several revisions (rather big). But it does not actually change much data at all and certainly does not add/remove/add/remove huge subdirectories. [20:55] I can post the log if you want. All in all this commit grew the working space by 1MB while the repo grew 170MB [20:56] fjalvingh: if you could post the log, it would probably be helpfull [20:56] helpful [20:56] in the end, having direct access would be the most helpful [20:56] but at least I could start there [20:56] jam: I'll add it to the bug report. [20:57] I'll also mention, if you have large binary files being versioned [20:57] they may show up as simply modified [20:57] and not grow by much [20:57] but they may not delta well [20:57] however, the first problem [20:57] is that you have 700k file texts, for only 7k revisions, which seems *really* *really* strange [21:00] jam: we do not have large binaries and certainly do not change them often. I wondered about those 700K text files but cannot find any way to locate them. Is there some way to dump the repository? [21:02] fjalvingh: I think he means you have 700K different versions of files [21:02] fjalvingh: well, you can do "for f in .bzr/repository/indices/*.tix; do bzr dump-btree --raw $f; done" [21:02] meaning that you change an average of 100 files in each revision [21:02] to at least get the list ofthem [21:03] fjalvingh: but in theory "bzr log -v" should be showing a line for each change [21:03] though that may require doing it across all revisions [21:03] to find the ones that are causing this [21:04] jam: ok; I already did a full history dump (all revisions all merges verbose) and got only about 20K lines - meaning bzr does not see the 700K texts in the log! [21:05] jam: 50K lines, sorry. [21:05] fjalvingh: maybe those texts aren't in the history? [21:05] jam: in addition, a change that *was* very big (changing every source file in the repo) only grew the repo a small bit [21:06] SamB: Ok, I know little of bzr internals; but where can they be otherwise? [21:06] SamB: if they weren't in the history, then they shouldn't be a factor doing "bzr branch" [21:06] fjalvingh: you can have multiple histories in one repository [21:06] though a thought occurs to me [21:07] what is the size in the target repo after doing "bzr branch shared/branch standalone" ? [21:07] you tested how long it took [21:07] but I don't think we had you determine the number of "text keys" in the standalone repo [21:07] only in the source [21:07] i branched bzr-fastimport and ran setup.py install but it doesn't work. bzr claims fastimport isn't a command [21:08] jam: Not sure what you mean; the results we are talking about now are in a standalone repo which was branched off the shared one? [21:08] fjalvingh: I'm trying to figure out how many text keys are present in the standalone repository [21:09] so in the repo where you are doing "pull" [21:09] and how that compares to the one you are pulling from [21:09] fjalvingh: we've got several threads going concurrently [21:09] one is about the *size* of the new repo [21:09] which is one concern [21:09] another is about the fetch performance [21:09] fetch performance seems to be primarily impacted by the fact you have 700k texts [21:10] which may or may not be related to why your repo is so big [21:10] jam: I understand, but related the fetch performance to the delta size in the repo pulled into; assuming that the 170GB growth also meant a huge fetch. [21:10] fjalvingh: there is also a plugin you could try: [21:10] luks: Do you know what going wrong here: http://paste.ubuntu.com/251025/ [21:10] lp:bzr-repodetails [21:11] luks: uscan worked fine. [21:11] fjalvingh: I assume you mean 170MB not Gigabyte [21:11] the plugin provides: [21:11] "bzr repository-details" [21:11] which gives some basic stats about how big various parts of the repository are [21:13] jam: yes, 170MB sorry. I will do plugin now. [21:17] revision 1310.9.10 seems a bit suspicious [21:17] it claims to be a [merge] but doesn't have any children [21:17] oh wait, I'm reading it backwards [21:17] nm [21:17] (I always log --forward) [21:18] hmm... maybe I'm right [21:18] anyway, it at least looks like you are doing a giant merge that changes lots of files [21:18] but I don't see the revisions that are actually introducing those changes [21:20] 1310.911 seems to be a similar merge, and you can see the list of 0.30.149 stuff that got merged in [21:20] Clippy : "Hi, it looks like you are doing a giant merge that changes lots of files. Would you like to install Visual SourceSafe?" (sorry, couldn't resist) [21:20] awilkins: ;-) [21:24] Where does bazaar store plugin information? [21:25] I've deleted automirror, but bzr is still looking for it [21:25] Colonel-Rosa: 'looking for it'? [21:25] jam: I do not understand 1310.9.10?? It certainly does not look like a merge. [21:25] http://codepad.org/x0wNoO88 [21:26] fjalvingh: well: revno: 1310.9.11 [merge] [21:26] means bzr thinks its a merge [21:26] Colonel-Rosa: it mentions the path it is loading from [21:26] you could try "bzr log --show-ids -r 1310.9.11" [21:26] to get more info on what it thinks is being merged [21:26] certainly the number of *changes* would usually be caused by a real merge [21:26] ah you know what [21:26] Colonel-Rosa: so either rename C:/Program Files (x86)/Bazaar/plugins/bzr-automirror, or remove it [21:26] it is probably merging trunk into your dev branch [21:27] LarstiQ, but nothing is there, that's my problem [21:27] and then that is getting merged back to trunk later [21:27] and that doesn't show anything indented, because they are already in trunk [21:27] bzr has a reference somewhere, there's no folders in there [21:27] jam: yes I see bzr thinks it is a merge but I cannot see why. It will be though because I added merge to the commit comment also. [21:27] Colonel-Rosa: then hava look at the `bzr plugins` and `bzr --version` output [21:27] I should have looked at the commit message [21:27] Colonel-Rosa: that should tell you where to look for plugins [21:28] Yeah, I know where to put them, and it says it's installed in that path [21:29] But as I said, the folder is empty [21:30] jam: I did the --show-ids but had to add -n0 --verbose; it then shows a merge from __another__ branch that was merged-with-history. [21:30] Which I cannot do anymore because it triggers another bug now [21:30] fjalvingh: if you just log that one rev, it is possible we will show you the "trunk" revisions [21:31] you might look closely at the "branch nick:" entry [21:32] jal@mabillon:~/bzr/vp-split/vp$ bzr log --show-ids -r 1310.9.11 -n0 --verbose [21:32] [21:32] ------------------------------------------------------------ [21:32] revno: 1310.9.11 [merge] [21:32] revision-id: jal@etc.to-20090717172307-qqjfa5fms7p60yxk [21:32] parent: jal@etc.to-20090717171804-sz02tktpmnalvuzi [21:32] parent: jal@etc.to-20090717171329-sp6sps0a9l4o7l8w [21:32] committer: Frits Jalvingh [21:32] branch nick: vp [21:32] timestamp: Fri 2009-07-17 19:23:07 +0200 [21:32] message: [21:32] Merge with trunk of DomUI; this merges all of the Query Event and new QDataContext code [21:34] Colonel-Rosa: there are two possible plugin paths [21:35] Yep, program files and the roaming folder in windows 7 [21:35] Colonel-Rosa: ah, Windows7? [21:35] Yep [21:36] possibly that introduces strange and new bugs [21:36] Colonel-Rosa: does .bzr.log help any/ [21:37] Might hold the answer yes, hold on [21:38] http://codepad.org/Izu7RfTA [21:43] Colonel-Rosa: that does seem to imply it thinks that directory is not empty [21:44] :\ [21:44] I even uninstalled and reinstalled it [21:45] And removed those folders [21:45] blergh [21:45] Colonel-Rosa: what does python -c "import os; print os.listdir('C:/Program Files (x86)/Bazaar/plugins [21:46] ')" [21:46] say? [21:46] gimme a sec [21:50] ['bzrtools', 'launchpad', 'netrc_credential_store', 'qbzr', 'rebase', 'svn'] [21:50] ho hum [21:52] Fixed it [21:53] I had to empty out this folder "C:\Users\Mathew\AppData\Local\VirtualStore\Program Files (x86)\Bazaar\plugins" [21:55] Colonel-Rosa: oooh boy [21:55] Colonel-Rosa: so it is sneakily overlaying that over the regular filesystem.. [21:56] Yep, if you do a bzr branch in your program files folder they get written to that path instead [21:56] wonder what can do about that [22:13] Am I connected? [22:13] can annoyone comment on the status of the EOL content filtering? It seems that branching something over an sftp:// transport is not applying the EOL filters as specified in my rules file. [22:20] latexer: Likely the issue is that filtering only happens on a non-default working tree format. [22:25] fullermd: yeah, i'm *just* noticing that. [22:25] fullermd: it seems that when I branch, it defaults to working tree format 4. [22:26] fullermd: how do I control the chosen working tree format? [22:28] hrm... /me guesses that creating a repository with a new enough format *beforehand* might force it. [22:28] * latexer tries. [22:29] hrm.. it already was *in* a repository created with a newer format. [22:30] (note, this is using bzr 1.16.1 on windows) [22:31] latexer: for source repositories with no working trees, you have to use --2a [22:31] it is an open bug [22:31] I don't remember the number offhand [22:32] I believe the person reporting it said they wrote a plugin to set the default WT format [22:32] jam: ok, so if I'm pushing a branch to a server, and then branching from that remote location, that remote server must have a repository for the branch in the --2a format? [22:33] right now the server has an older bzr release, so I had figured (wrongly?) that I could simply use the sftp:// transport and not have to have anything special on the server. [22:33] (i suppose I could create the *repository* locally as well and sftp the whole thing over...) [22:34] latexer: so you can update the local client to change the default WT format [22:34] or yes, have the remote format in a --2a format [22:34] jam: ok, i'll dig a bit for that plugin, and try both approaches. [22:34] jam: thanks. [22:34] if you are using sftp:// then you don't even need bzr installed remotely [22:35] though performance is generally much worse [22:35] jam: I know, this is a legacy system that previously stored branches used only on linux, etc. [22:35] jam: only now investigating bzr for a windows project, and wanted to do EOL stuff "right" [22:50] moin [22:51] hiya lifeless [22:56] latexer: You can use the 1.14 format, that's just a WT change vs. 1.9. 2a changes a lot more. [22:58] fullermd: ok, so just ensuring that the remote repository is at least 1.14 format should do it? [22:58] fullermd: I think as I had it, there was no actual repository for the remote push/pull location. [22:58] I just tested, and ensuring 2a on the remote side seemed to do it. [22:58] will try with 1.14 on the remote as well. [23:01] It may not, because of details of what happens where. [23:01] You could use 1.14 locally with 1.9 (or pack-0.92 for that matter) remotely with no trouble; doing that with 2a locally wouldn't work unless the remote were rich-root. [23:02] Of course, if you're in a position to just use 2a everywhere, that's the way forward. [23:03] fullermd: any additional risk by using 2a? Less tested format, etc? [23:03] fullermd: 1.14 == 1.9 without a working tree [23:04] with the main problem that "bzr branch remote" will create 1.9 locally, *not* 1.14 [23:04] * fullermd nods at jam. [23:04] latexer: it is expected to become the default format in the next release [23:04] well, 1.18+1 [23:04] (likely to be called 2.0 :) [23:05] Well, it's naturally less tested, since it's newer. But going forward it's likely to be the standard (and if it's not, a descendent of it is), so... [23:05] fair enough. [23:05] There may still be some bumpy bits with it. I think the 'send' fix for it isn't in a release yet, frex. [23:06] But that smoothes as we speak. [23:06] The main risk you take is not having compatibility with people using older versions of bzr. [23:06] ok, creating a standalone branch (no parent repo) off a remote 1.14 repo results in a WT 4 (bad). Doing the same off a remote 2a repo results in a WT format 6 (good) [23:06] But that may well not be a concern at all in your place, so... [23:07] Yah, you'd have to.... uh... [23:07] i'm not too concerned about older bzr versions, since it's a small team, all installing bzr fresh into windows VMs. [23:07] Well, crap, I thought branch had a --format. [23:07] however, if I do the same branching into existing repos on the client side, what happens? [23:07] * latexer performs that test. [23:08] fullermd: it is in 1.18rc1 which is released-ish as of today [23:08] No difference, since the repo format doesn't affect the WT format. [23:08] (windows installers aren't built because I'm waiting on bzrtools 1.18, etc) [23:09] fullermd: correct. [23:09] ok, so really, the logical choice here is: go with 2a format everywhere for this new work requiring windows EOL stuff to jive. [23:09] It's one of the big strengths of the bzr gestalt, except when it's one of the big annoyances :) [23:09] heh. [23:10] hi jam [23:11] hi poolie [23:11] want to chat? [23:12] yep [23:12] skype should work fine [23:12] k [23:13] hi poolie [23:14] hi lifeless [23:14] hi jam [23:14] do we know if abentley is on vacation or something? [23:14] what do you think the priority for 'commit doesn't honour stacking invariants' should be vis-a-vis 2.0 [23:14] I haven't seen him around, and he didn't release bzrtools 1.18 [23:14] check the staff calendar for that question [23:16] lifeless: looks like he is gone until Tuesday *next week* :( [23:18] lifeless: what are stacking invariants for? [23:21] * SamB wonders if it is safe to change the owner of a launchpad branch mid-push [23:27] SamB: data integrity [23:43] SamB: no [23:44] fullermd, jam: thanks for the help, standardizing on 2a format has us moving forward again finally. [23:45] poolie: as I discovered [23:45] I was wondering that after I already did it [23:56] SamB: no, the insert_stream_1.18 verb won't be in 1.18; I'll be renaming it to 1.19 before merging I guess (although we hope the next release is 2.0!) [23:57] spiv: that's not a basis for renaming it, though! [23:58] the release being 2.0 instead of 1.19, I mean [23:58] Well, you could compromise and call it _2.19. Then everybody would be equally happy :p [23:58] fullermd: that's even dumber then "let's compromise and call it ISO" [23:58] s/then/than/ [23:58] I aim to excel.