/srv/irclogs.ubuntu.com/2010/09/08/#bzr.txt

ayani see.  i'm trying to map git concepts onto bzr.00:00
ayanhow do i copy a repository with all of the associated history a la ``git clone''?00:02
dashayan: i'd use tar, probably00:02
dashayan: but usually, it's not necessary00:03
dashayan: just use 'bzr clone' to get the branch you want00:03
ayanokay, thanks.  off to rtfm harder. :)00:03
pooliehi jelmer, all00:21
spivGood morning.01:01
mangojamboHi, I need a help here with osx bazaar: I'm  running bazaar explorer and I'm getting the follow error when I try to open Settings > Configuration > User Configuration :01:21
mangojamboQKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory01:21
mangojamboQFileSystemWatcher: failed to add paths: /Users/mj/.bazaar/bazaar.conf01:21
mangojamboPlease, how can I fix it?01:21
maxbDoes /Users/mj/.bazaar/bazaar.conf exist?01:25
mangojambomaxb: no. But I creat a file ( touch ~/.bazaar/bazaar.conf) and the error stops, but nothing happens01:27
maxbmangojambo: Ok, that sounds fairly likely01:40
maxbThis means that the "errors" you posted are not errors, but just informational notes, and the real problem is something else01:41
mangojamboso, how can I fix it, or just access user configuration to set my user, email, etc ?01:43
maxbI'm afraid I don't know enough about qbzr to suggest what the problem might be01:46
mangojambomaxb: ok, thanks man. I will keep trying here.01:56
mangojamboseeya01:56
poolie_hi spiv02:06
poolie_apparently search on the bzr web site is broken so i'm going to try to fix that now02:06
poolie_then do something about stale locks02:06
poolie_i hope you got back eventually02:06
poolie_and apparently i'm the pilot02:07
=== poolie_ changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie | Release Manager: jam | bzr 2.2.0 is officially out
spivYes, I did get back eventually!  Very back row of the plane, but that arrives very shortly after the front so it was ok ;)02:07
poolie_:)02:07
poolie_slower exit, but greater survivability02:08
spivPlus I got to watch the rest of the neverending press conference.02:08
poolie_everyone can have 30 minutes of fame if they ramble enough02:08
spivAnd the gradually increasing groans and eyerolls from the people watching it waiting for the result.02:08
spivThe mood towards rambling could be summarised as: "don't they know some people have planes to catch?"02:09
spmhahah02:09
spivAs soon as the key bit arrived the suddenly 2/3rds of the people hanging around disappeared, or at least it felt like that.02:10
jamspiv: do you know why spawnProcess seems to return a 'Process' object that doesn't claim to implement IProcessTransport (though spawnProcess claims to return that type?)02:18
spivjam: sounds like a bug (in either docs or implementation...)02:19
spivjam: on windwos?02:19
jamspiv: PosixReactorBase02:19
jamspiv: twisted/internet/interfaces.py says thait IReactorProcess returns IProcessTransport02:20
spivSo the default reactor (select)?02:20
jamPosixReactorBase returns internet.process.Process directly02:20
jamspiv: I don't really know, but IOCPReactor does the same thing02:21
jamspiv: I'm trying to replace a spawnProcess call with my own stuff, but the details are a bit.. hazy02:21
spivWell, Process is supposed to implement that IIRC02:21
spivCertainly twisted.internet._dumbwin32proc.Process does02:21
jamspiv: well, I can't find it saying "implements()"02:22
=== poolie_ is now known as poolie
pooliehello jam02:22
jamspiv: right, that is the only thing that *does* implement it02:22
jamhi poolie02:22
* jam is digging into twisted internals right now02:22
spivjam: please file a bug02:22
jamwhich isn't a whole lot of fun, but doesn't seem too bad02:22
spivjam: I think it's just missing the implements declaration02:22
jamspiv: so my concern is whether implementing the minimal IProcessTransport will be enough02:22
spivjam: AFAICS it does actually satisfy that contract02:23
jamspiv: Process probably does02:23
pooliejam, is this because the reviewers really wanted twisted rather than otherwise?02:23
jam*I* don't know if I need to implement more02:23
poolieor because you need to fix the conch server?02:23
jampoolie: the ssh daemon is a Twisted process02:23
jampoolie: right02:23
jamI need to connect up the ssh incoming with the spawned process02:24
jamIProcessTransport is pretty minimal, so it shouldn't be too bad02:24
jamthe concern is that it also seems intermingled with IProcessProtocol02:24
jamand that is a much larger api02:24
jamspiv: for example, I don't think spawnProcess calls transport.makeConnection(proto)02:25
jamthough I'm still wrapping my head around everythingf02:25
spivProcess.__init__ does that02:25
spivIIRC02:25
jamspiv: yeah, in a try/except: loop, no less02:26
jam(bare except)02:26
jamI didn't see it originally because __init__ is quite long02:27
jamI *did* see it in the win32 one, and was trying to reconcile that02:27
spiv(I wonder if it would be clearer if ProcessProtocol didn't implement IProtocol, and instead was explicitly adapted...)02:27
jamI'm thinking about inheriting from one of the classes in the Process stack, to get some of the file handle polling stuff02:27
* jam doesn't really know what IProtocol is, or where Protocol is different from something else02:28
jamspiv: and the docstring for IProcessTransport is: A process transport.02:28
spivI think if you are trying to inherit from Process for anything other than implementing a new reactor you're probably not gelling with Twisted well.02:28
jamwhich is *mighty* helpful02:28
spivWell, it's the transport for a process! :)02:28
jamVery true02:29
spivIProtocol is very slim, take a look at it.02:29
jamspiv: so I'm spawning a process outside of the current process and connecting to it02:29
jamwhich is ~ a subclass of Process02:30
jamI have pipes to read / write to02:30
jamI have a PID02:30
jametc02:30
jamit is a good fit for IProcessTransport02:30
spivJust thinking of network services for a moment, Twisted has "protocols" and "transports": a transport is something like TCP or SSL (or a pipe...) that can convey a bytestream.  A protocol is something that can receive a byte stream.02:30
jamI also have to manage talking on several file descriptors, etc, which Process already implements02:30
spiv(and decode it into HTTP request objects or whatever the protocol is)02:30
jamI just don't want to call _fork02:30
jamI might inherit from BaseProcess, or _BaseProcess (which inherits from BaseProcess oddly enough...)02:31
spivA IProcessTransport is a transport with some extra features like pid and the ability to send signals.02:31
jamspiv, poolie: Do you know if waiting for a pid that isn't a child just raises an error?02:32
jam(I can test it, but I figured I could ask first)02:32
spivjam: that sounds like a reasonable fit for IProcessTransport too02:34
spivs/that/I think that/02:34
jamspiv: I don't know how to submit bugs to twisted, and probably have to log in02:35
jamany chance you could submit one for me?02:35
jamJust a simple "internet.process.Process' does not implement IProcessTransport02:35
jam(though it is returned by spawnProcess, which claims to return one of those)02:35
spivYou do need to log in, it's a Trac instance: twistedmatrix.com/trac02:35
jamspiv: yeah, I know where it is, but have no user, and it isn't really worth signing up for a 2 line bug report :)02:36
spivOk, but if you're poking at Conch I can almost guarantee you'll have more bugs to file before you're done ;)02:36
jamspiv: well, I'm certainly trying to avoid poking at any twisted internals :)02:36
mkanatWhy does it seem like committing to a remote bound branch is so much slower than committing locally and then pushing?02:39
jammkanat: it is possible, time it and check02:39
jamit pretty much does exactly that internally02:39
jambut it is possible there is a different code path02:39
pooliemkanat: because we're compressing the things to store relative to things stored remotely, maybe?02:40
jampoolie: we write it locally, then push, then update the branch pointer02:40
mkanatpoolie: That could be. It could also have to do with taking a lock on the remote repo, or something.02:40
pooliemkanat: also, if there's a difference, getting a -Dhpss log should make it obvious why02:40
mkanatpoolie: Okay.02:40
jamand/or --lsprof-file foo.callgrind02:40
jamanyway, back to family time02:40
pooliejam i'll try to catch you tomorrow afternoon your time02:41
spivjam: http://twistedmatrix.com/trac/ticket/464802:43
pooliei think i'll delete the rendered html from the website branch02:58
poolienow we can generate it on the server it just seems to be noise02:59
mkanatpoolie: Yeah, and probably confusing to anybody who checks it out, if by some chance it ever wasn't up to date with the source.03:06
mkanatWe used to store compiled docs along with Bugzilla; we removed them many years ago. It was a good idea. :-)03:06
poolieok, and i think site search is working again, can someone test it?03:12
anteruHi, is anyone working on the Website?03:49
pooliei am03:49
poolieis it broken?03:49
anteruIf so, are there specific requirements for it? I'm playing around with a new layout which moves bzr slightly closer to what git and hg have on their front-page.03:49
poolieok03:50
pooliei think it could certainly be improved and clarified03:50
pooliedo you mean a requirements doc, or technical requirements?03:50
anteruI.e. a prominent download link fed from Launchpad directly, and two boxes for quick start03:50
pooliethe source is in lp:bzr-website03:50
pooliethat would be gerat03:50
anterupoolie: Requirements as in what _has_ to be on it, and technical as in lib x must be used03:51
anteruI don't know if there is some requirement from canonical for instance03:51
poolienup, both are negotiable03:51
pooliewhatever makes sense03:51
anteruOk03:51
anteruI assume it should work with Python 2.x?03:51
poolieyes03:52
poolieany dependencies for generation should ideally be packaged in ubuntu03:52
pooliebut we can work that out o03:52
anteruAll right, I'll keep on hacking then. As soon as I have some mockup done, I'll be back, but it might take some while.03:52
pooliealso, i think it's nice to keep the current approach of static generation, if possible03:52
pooliethat would be great03:52
poolieyou could post some screenshots or urls to the list, or here03:52
anteruSure, as soon as I'm happy with it :)03:53
anteruI just wanted to check if someone else already works on a redesign for the front-page.03:53
jbowtiePlease send them to the list, I wanted to tweak the Sphinx template for the documentation to feel more integrated with the website.03:55
pooliethat would be great too03:55
pooliealso to make the wp blog consistent with the site03:55
poolieanteru: you can look at the canonical design standards for inspiration03:55
pooliewhich are probably linked from wiki.ubuntu.com03:56
anteruuh oh folks :) one at a time, maybe (:03:56
pooliebut we don't have to stick to them03:56
jbowtieanteru: I'm putting my hand up to work on the Sphinx template, I just want to see what you're thinking so I head in the same direction. ;)03:57
anteruactually, I wanted to do some clean-slate CSS3 and modern web design stuff, and as the bazaar frontpage is only a single page, I thought this is a good victim. Especially as it has some problems right now (tiny fonts, too many links, difficult to navigate, outdated content.)03:57
anterugive me a minute, and I can show you the current hacky state, basically blocking out the layout/content03:58
anteruquick: screenshot tool for kubuntu?04:04
anterugot it04:04
anteruhttp://img13.imageshack.us/img13/2373/bildschirmfoto1vt.png04:05
anterudanger: ugly and work-in-progress04:07
anteruanything which looks remotely fancy is CSS3 shadow/rounded-borders/etc. so the amount of images is kept to a minimum and it should degrade gracefully04:07
jbowtieYou're right about ugly.  :)04:13
anteruit's work in progress04:14
jbowtieI know, I was kidding, you should see my early designs. Actually better if you don't.04:15
jbowtieFirst impressions: better (already) than the existing site. somewhat text-heavy for a front page. shell scripts might scare off those looking for bzr explorer.04:16
anteruwith some more context: http://img84.imageshack.us/img84/6872/bildschirmfoto2q.png04:16
anteruwell, that's why I want to keep the image at the top, then the explanation, then I'll probably add a small breaker with projects currently using it, and then the shell scripts04:17
anteruit also needs a bit stronger colours IMAO04:18
anterubut the yellow logo means it will basically only go well with blue, or some orange-looking stuff04:19
jbowtieI'd lose those borders, makes it too blocky.04:20
anteruok. I'm keeping them for now, as it eases layout a bit04:20
jbowtieIf you make them a light grey you can still see your layout but get a better feel for what it looks like with just whitespace.04:21
jbowtieI'm thinking it would be nice to show both the command line and a close-up of the gui interface. Play to both audiences.04:22
anterualso need to move it into some grid, right now it's completely ad-hoc04:22
jbowtieMaybe those quick-start blocks could link through to more detailed instructions (in the gui case with step-by-step screenshots)04:23
jbowtieI think you could try recoloring the logo (and making it smaller). Or maybe we can come up with a better one.04:24
anteruhm, one possibility would be to have a jquery powered slide-show basically, showing you both step by step04:24
anteruI.e. you just click and you see a "focus" screenshot on the left and the corresponding shell instructions on the right04:24
jbowtieWorth experimenting with, might not work on the front page though with everything else that needs to be communicated.04:25
anterubut first things first, but current todo is to get a proper grid in place first, then get all the content onto the page, then fix colors, then do some real layout, and then get back to discussion04:26
anteruargs, I need to learn to type :/04:26
jbowtieNo worries, I'm supposed to be working anyway. Send it to the mailing list when ready, I don't spend a lot of time on IRC.04:27
anterujust for reference, my own website has lots of whitespace: anteru.net :P04:27
anteruYeah, I actually have to do some graphics stuff as well ... but still good to get some early opinions.04:28
anterugraphics == opengl code, not the painting style04:29
* anteru goes lurking again04:32
JoshBrownWhere do I file a bug about launchpad documentation?04:55
twbI get a backtrace trying to branch a repository over bzr+ssh, with 2.2.0 on my end and 1.3.1 on their end.05:11
twbIs that expected?  Should I fall back to sftp: ?05:12
JoshBrownWhat does the backtrace say?05:13
twbSorry, one moment05:13
twbhttp://paste.debian.net/88489/05:13
twb(I got distracted in another channel.)05:13
twbOK, and sftp fails with "EOF during negotiation"05:15
twbNote: I know that repo exists (I can see .bzr and such with ls -a on the far end), but I don't know if it's the repo I want, nor if bzr is actually working on the far end.05:16
JoshBrowntwb: That suggests that is may be a more generic error05:16
twbbare ssh IS working05:16
twbOh, maybe it's because these fucktards block ICMP, so MTU negotiation doesn't happen.05:16
twbLet me try dialing the MTU down to 1450 or so.05:16
mkanattwb: 1.3.0 is really old.05:17
twbmkanat: I'm not going to upgrade random stuff on a customer's production server.05:18
mkanattwb: That's certainly your prerogative.05:18
twbThank you for understanding that :-)05:19
JoshBrowntwb: He has a point, why can't you upgrade it?05:20
twbBecause upgrading software, particularly out-of-band, tends to introduce bugs as well as features.05:20
twbUnless I *really truly NEED* a feature, I'm not going to go out of my way to upgrade things.05:21
mkanattwb: If you're using just ssh:// or sftp:// then you're not interacting with the bzr on the server at all.05:23
mkanattwb: So that would be something protocol related.05:23
twbRight; which is why I suspect MTU05:23
mkanattwb: Could be.05:23
mkanattwb: Are you on some network where MTU auto-negotiation actually happens? I haven't seen one of those in quite some time.05:24
twbmkanat: MTU negotiation definitely *doesn't* happen on this network05:24
twbBecause they block ICMP05:24
mkanattwb: Okay. So it would be odd for the server to have specified an MTU below the standard then, right?05:25
twbmkanat: it's a pptp vpn, unfortunately05:25
mkanattwb: Ohh.05:26
mkanattwb: So you might be hitting the problem before you even really get into their network.05:26
mkanattwb: But in that case, bzr+ssh wouldn't have worked at all, right?05:26
twbWhy not?  ssh works over the VPN05:26
mkanattwb: If there was an MTU problem, I mean.05:26
twbIIRC MTU problems manifest only when you start shoving nontrivial data05:27
twbe.g. ssh works until you run "ls"05:27
mkanattwb: That could be.05:27
mkanattwb: You'd have to send a packet larger than the MTU, I suppose.05:27
twbFWIW, with an mtu of 1446 I still see the symptoms described above for sftp: and bzr+ssh:05:27
twbRight.05:28
twb(Larger than *their* MTU,  that is)05:28
mkanatRight.05:28
mkanattwb: Can you normally "ssh" or "sftp" to the server?05:28
twbYeah05:31
twbMy bzr URI syntax is right, right?05:32
twbI always fuck it up when using hg05:32
twbUgh ugh ugh05:33
twbssh works, sftp doesn't05:33
twbAFAICT someone has installed an sshd_config on this host that's not compatible with the version they're actually running.05:34
spivtwb: ugh, that's a regression05:34
twbspiv: let me clarify05:34
twbsftp bwired-dvmh-mgmt-01.bulletproof.net ==> subsystem request failed on channel 0 \n Couldn't read packet: Connection reset by peer05:34
twbi.e. sftp fails outside of bzr05:35
spivtwb: the traceback for 2.2.0 against 1.3.0 is the regression I'm referring to05:35
twbOh right05:35
spiv(Possibly would happen with 2.1 as well?)05:35
twbSo it looks like I can't actually clone this repo, since the regression happens for 2.2.0 vs. 1.3.0 on bzr+ssh, and sftp isn't available (though ssh and scp ARE)05:36
twbRe. sftp, the problem is *definitely* ssh, *not* bzr05:37
twbSep  8 14:33:18 bwired-dvmh-mgmt-01 sshd[31333]: error: subsystem: cannot stat internal-sftp: No such file or directory05:37
paul__hi.  HELP!  rebase has stuffed my working branch in a very bad way,05:38
paul__https://bugs.launchpad.net/bzr-rewrite/+bug/63289405:38
ubot5Launchpad bug 632894 in bzr-rewrite "rebase did NOT include all the commits AFTER a merge (affected: 1, heat: 8)" [Undecided,New]05:38
paul__i've reported the bug, but now i need to fix the problem in a hurry05:39
paul__i assume the commits are still in the repo *somewhere*, how can i find and pull them?05:39
mkanattwb: Glad at least that you've got it figured out now, though.05:39
spivtwb: I think I can give you a workaround, just a sec05:40
paul__eg, i know when i do bzr uncommit, it tells me a magic thing i can type in to retrieve that commit back05:40
paul__how do i get a list of those?05:40
fullermdpaul__: There's a 'head' command in bzrtools that digs through the repo and tells you what head revs there are.05:41
spivpaul__: bzr heads --dead-only05:41
spivpaul__: you'll need the 'bzrtools' plugin if you don't already have it05:41
fullermdIt should be a short enough list that you can make a good stab at which you want.05:41
paul__oh god, thanks, there it is05:42
fullermdSo you should be able to 'pull --overwrite -rwhatever .` to restore it in-place (or fiddle around with making a new branch at that rev if you prefer)05:42
fullermd(don't miss the '.' in that command line)05:42
paul__i'll do a branch to check first05:43
paul__if this doesnt work my only remaining copy is in my editor05:43
paul__there are quite a few heads, more than i thought there would be05:43
paul__and theres more than one for this particular checkin!05:44
paul__same timestamp05:44
paul__i only checked it in once, then i did a rebase which stuffed things up05:44
paul__can someone please check that bug?  if its real, then it could be a very serious problem to a lot of projects05:46
fullermdWell, you can check both.  It may take some rooting, but it's there.05:46
twbspiv: thanks, please stick a "twb:" in front when you have it, so my notification system wakes me up05:46
spivtwb: will do, sorry something else has come up right at this second, but I will get back to you soon I hope.05:47
twbNo rush; I'm just gonna scp -r it across and look at the repo; I don't need to patch it just yet05:48
twbIs there an equivalent of "bzr viz" that works on the terminal (like "hg glog")?05:49
spivbzr log -n0, to an extent.05:52
twbI meant for the little DAG down the side05:53
spivNot that I know of, but it'd be nice to have.05:54
twbOh well.  I'll xinit /usr/bin/bzr viz05:54
spivtwb: bzr branch lp:~spiv/+junk/bzr_ssh_v2_hack ~/.bazaar/plugins/06:18
twbspiv: Branched 0 revision(s).06:24
spivOh, gar.06:24
spivI'll fix that :)06:24
spivtwb: ok, pull now (or delete and rebranch)06:25
twbStill fails06:26
spivDetails?06:27
twbSorry06:27
twbhttp://paste.debian.net/88495/06:28
spivI don't see bzr_ssh_v2_hack in your list of plugins there.06:28
twbThat's because you told it to dl to plugins/ itself06:28
spivOh!06:29
spivSorry, that was careless.06:29
twbOK, now I did something bad06:29
twbImportError: No module named bzrlib06:30
spivHuh.  pastebin the traceback (add -Derror to the command line if it doesn't emit one)06:30
twbAnd now that error is gone agan06:31
twbI have no idea what happened there06:31
spivWeird!06:32
twbspiv: bzr+ssh works after that plugin is cloned into a subdir of ~/.bazaar/plugins/06:35
spivtwb: great!  I'll work on fixing the bug properly for 2.2.1/2.306:36
twbWill that branch remain available?06:37
twbI'd like to mention it in my ticket system06:37
spivtwb: sure06:39
twbThanks for the prompt response06:39
spivYou're welcome, I'm glad the workaround worked.06:43
vilahi all !07:34
pooliehi there vila07:53
vilapoolie: hey !07:53
vilapoolie: Can you clarify your comment on bug #323111 ? Oh, you already did07:53
ubot5Launchpad bug 323111 in Bazaar "Cannot delete directory with ignored files (affected: 1, heat: 8)" [Medium,In progress] https://launchpad.net/bugs/32311107:53
poolie:)07:53
vilayeah, I had that policy thing in mind too, I'm about to write the tests and code for that.07:54
vilaBlueskying, a registry could be used to decide that based on a... config variable maybe ;)07:55
vilabut I think it will be overkill for a first submission07:55
vilaand there are some interactions with junk files we may want to address first too (though that's a bit more invasive, currently my patch modify TreeTransform only)07:56
twb$ /usr/bin/time bzr log --help >/dev/null ==> 2.73user 0.08system 0:02.81elapsed 99%CPU (0avgtext+0avgdata 84320maxresident)k08:00
twbWhy does bzr need three seconds in the CPU even to print the help text?08:00
twbOn the same host, "hg log --help" takes less than half a second of CPU time08:01
fullermd0.090u 0.030s 0:00.12 100.0%08:01
vila0.11user 0.00system 0:00.11elapsed 97%CPU08:01
twbThe host in question is running bzr 2.2.0 on Debian sid.08:01
fullermdI tend to suspect my system isn't REALLY 20x as fast as yours...08:02
spivtwb: try with --no-plugins; the hack I gave you would have the side-effect of forcing the import of a bunch of often unnecessary code.08:02
twbspiv: with --no-plugins it's still 1.2s user08:02
spiv(As might some of the other plugins you have installed, I haven't looked at e.g. etckeeper's impact on load times)08:02
spivOk, well that's half the problem at least ;)08:03
twbI have bzrtools and python-paramiko installed, but not bzr-{doc,gtk,svn}, python-kerberos, python-pycurl or xdg-utils installed (the packages bzr suggests).08:04
spivtwb: that is pretty slow, though!  It's 0.096s user on my laptop.08:04
spivtwb: perhaps somehow the .pyc files are missing or stale in your install?08:05
twbAbout the only thing I can think of is "byte-compile = optimize" in /etc/python/debian_configuration08:05
twbBut I would *hope* that it's only byte-compiling files once08:05
spivHmm, possibly.08:06
twbAnd in any case, if it was a python problem it ought to break hg, too08:06
spivYeah, unless the packaging is quite different or something.08:06
twbOh, and I'm on an SSD, so probably my read speeds are good and my write speeds are bad.08:07
vilaor unless bzr triggers something hg doesn't but it still python related :)08:07
vilatwb: check your install for the .pyc files, if they aren't there python have to generate them at each run08:07
spivtwb: try 'python -v /usr/bin/bzr rocks'08:07
twbhttp://paste.debian.net/88516/08:08
spivtwb: if it is importing from .py files rather than .pyc/.pyo, and/or emitting a bunch of "can't create", that'd be a problem08:08
spivtwb: yep, it is looking for and failing to load .pyc files.08:09
twbThat's stupid :-/08:09
twbI shouldn't have to run bzr as root to get pycs08:09
spivtwb: ah, because /usr/bin/bzr has "#!/usr/bin/python", which won't look for .pyo08:09
twbStupid debian08:09
spivtwb: if you have "#!/usr/bin/python -O" it would look for .py08:10
spivEr,08:10
spivtwb: if you have "#!/usr/bin/python -O" it would look for .pyo08:10
spivThat extra char matters :)08:10
spivtwb: Perhaps you should set byte-compile = standard, optimize in /etc/python/debian_config ?08:10
vilaspiv: ETOOCLOSE(pyo, typo)08:11
spiv(if that works)08:11
spivvila: hah08:11
twbspiv: hum, I'll try that.08:12
spivtwb: arguably the bzr deb package could check that config and adjust the #! line accordingly, it might be good to file a bug about that.08:12
twbYou'd think that part would be done in some magical way for *all* packages08:13
spivYeah, it seems like something that python-central ought to help with.08:14
spivMaybe it does, and the bzr package just doesn't use it?08:14
twbDamned if I know08:14
spivI'm no expert in packaging :)08:14
spivDefinitely this counts as a bug in the packaging, though.  That's a pretty unpleasant result :(08:14
spivSetting a config var to optimize shouldn't make programs go 10x slower :(08:15
vilaHopefully it doesn't disable the C extensions...08:15
spivvila: on that count at least we ought to be safe.08:15
vilaIs it conceivable to set -O from a running python script without spawning a new interpreter ? ....08:16
twbOK, after changing that to standard, optimize, and dpkg-reconfigure bzr bzrtools, I get 0.6s or 0.4s without plugins08:17
twbAnd with python -O it's 0.056s for both08:17
vilatwb: more in line with hg then ?08:18
twbYeah, thanks08:18
vilatwb: would you mind filing a bug for that ?08:19
vilaurgh, a raw 'bzr' tracebacks08:19
vilahmm, bad wikkid08:22
twbvila: against what, though?08:23
twbLast time I looked, the debian maintainers basically said "don't change /etc/python/debian_config or we will ignore you"08:23
vilaerr, you lost me here, do you mean the bug is triggered because you modify /etc/python/debian_config; ?08:24
twbvila: yes, I think so08:25
twbIIUC I accidentally said "make .pyo but not .pyc" when I should've said "make .pyo AND .pyc"08:25
spivRight.08:25
twbAnd a more or less separate bug is that python programs in Debian ignore .pyo files08:25
vilatwb: then file it at https://bugs.launchpad.net/bzr/+filebug and we'll see from there08:26
vilatwb: I don't have such a setup but hopefully someone will be able to reproduce08:27
vilatwb: and if nothing else, it will document your workaround08:27
spivvila: it's a packaging issue, really, filing it against Debian is probably more appropriate08:27
twbspiv: so anyway, what I'm gonna do now is sudo sed -i '1s/^#!.*python$/& -O/' /usr/bin/* ;-)08:28
vilaspiv: unless it's immediately triaged as WontFix as twb hinted08:28
bialixheya08:29
spivtwb: *shudder* :)08:29
twbWell, if it increases bzr's speed tenfold, it'll probably increase other stuff08:29
* bialix waves hello at GaryvdM08:29
GaryvdMHi bialix08:29
vilatwb: I won't bet the increase will apply to every command...08:30
bialixthank you for new installer08:30
spivtwb: well, I'd expect optimised bytecode to have minimal impact on bzr over unoptimised.08:30
GaryvdMbialix: Does it fix the bug? Did not seam to work for me.08:30
bialixbug with russian characters? yes!!!08:31
twbspiv: it was 0.6 vs. 0.0508:31
twbspiv: for --help, anyway08:31
spivtwb: Strange.  I don't see that here.  I see basically no difference.08:31
bialixGaryvdM: I suspect you should test with accented characters instead of russian ones for your system08:32
twbspiv: did you make .pyo's for all your libraries and stuff?08:32
spivtwb: to be clear, I mean where the bytecode is precached for both cases (i.e. with .pyc and .pyo files)08:32
spivtwb: right08:32
bialixGaryvdM: I'm going to test PyQt 4.5.2 which I have in my archives re bug with frozen child window08:33
GaryvdMbialix: ok08:33
bialixGaryvdM: is there specific reasons for us to use the latest PyQt?08:33
bialixat least on windows08:33
spivtwb: forcing Python to recompile the bytecode every invocation is certainly going to hurt a lot, but at least for bzr the practical benefit of the -O optimisations should be negligible08:33
twbOK, I remeasured it and I can't see the difference anymore08:33
twb(pyo vs pyc)08:33
spiv-O is very, very mild in what it does.08:34
GaryvdMbialix: I was hoping to be able some new features. Does 4.5.2 support QVarent.toPyObject08:34
spivThere's also -OO, which possibly would help bzr a little bit if only by reducing the size of the bytecode to load by omitting most docstrings.08:34
bialixGaryvdM: I dunno08:34
GaryvdM*to be able to *use* some new features08:35
bialixyep, I understood08:35
spivIt's a nasty trap to have /etc/python/debian_config contain such an attractive option that actually means "please break me" :(08:35
fullermdEh, it's just like a lava pit in Quake.  Just there to see if you're paying attention.08:39
bialixGaryvdM: about new features: IIRC we discussed this at UDS and decided to not break backward compatibility in 0.19; and 0.19 is our bzr 2.2 companion, right?08:39
GaryvdMbialix: Yes08:39
bialixI don't mind to change required PyQt for 0.2008:40
bialixGaryvdM: 4.5.2 works ok08:42
* bialix re-testing with 4.7.208:43
* bialix wants qabout dialog as in Explorer to easily see the versions of used PyQt/Qt08:45
bialixGaryvdM: 4.7.2 is buggy.08:48
bialixGaryvdM: can we downgrade to 4.5.2? please? pretty pretty please?08:48
GaryvdMbialix: Ok - I'm busy building my own build host. If I get that to work, I'll do that. Else we are going to have to ask jam to do it for us.08:50
GaryvdMbialix: Please will you put the 4.5.2 installer somewhere I can download it.08:51
bialixbialix.com will be OK for you?08:51
GaryvdMThat's cool08:52
* bialix is uploading, installer is 17MB big08:53
vilaGaryvdM: Can I ask you to document every single step so anybody can reproduce ?08:59
GaryvdMvila: I'm following jam document09:00
vilaGaryvdM: then update and complete ;)09:00
GaryvdMbzr.dev/doc/developers/win32_build_setup.txt09:00
bialixoh, that will be awesome09:01
GaryvdMvila: sure. I've chosen to use msys rather than cygwin09:01
vilaGaryvdM: great, any chance you're doing that in a fresh VM ?09:01
GaryvdMvila: So if that works, I'll note that.09:01
bialixGaryvdM: http://bialix.com/python/PyQt-Py2.6-gpl-4.5.2-1.exe + http://bialix.com/python/PyQt-Py2.6-gpl-4.5.2-1.exe.asc (gpg signature)09:01
GaryvdMvila: I am09:01
GaryvdMbialix: Thanks09:02
bialixwhen I will have a free week or so, I will try to re-create my build environment without cygwin/msys. Heh09:02
vilaGaryvdM: Woohoo ! Make copies ! Argh, no, windows licenses :-(09:02
vilaGaryvdM: anyway, make copies for you so you can restart from a clean state if needed09:03
* bialix is trying PyQt 4.7.6 now09:03
bialixriverbank guys even don't have RSS for their news %( in which age they're living?09:04
bialix4.7.6 -> nope, the same09:07
* bialix bbl09:15
fullermdStill no bzrtools for 2.2?   :(09:33
pooliefullermd: does anything fail or does it just need a release?09:38
fullermdI'm not aware of anything failing, which doesn't mean much since I don't use much of anything from it.09:39
fullermdThough I'd offhand assume enough people use both stuff from it and have upgraded to 2.2 by now that we'd have heard about any major breakages.09:40
maxberm, huh. If there's no bzrtools for 2.2, how do we have one in the PPA?09:58
Ddordahey guys, how do i clean modifications i did on a branch?09:59
Ddordai mean locally changes09:59
maxbfullermd: It's been tagged, apparently09:59
maxbDdorda: bzr revert09:59
Ddordamaxb: awesome thanks10:00
MacSlowGreetings10:28
MacSlowCan someone tell me what happended to olive (of bzr-gtk)?10:29
MacSlowit doesn't seem to be installed with it anymore.10:29
vilaMacSlow: is has been split off bzr-gtk10:31
MacSlowso there's no more stand-alone way to start it?10:31
MacSlowonly bzr visualise?10:31
vilaMacSlow: it's now at lp:olive10:32
MacSlowvila, ok thanks10:32
vilaMacSlow: much of the activity around stand-alone GUI for bzr is around lp:bzr-explorer10:32
vilaMacSlow: which use qbzr mainly (even if on eof its early goals was to remain toolkit agnostic so in theory it could also use a bzr-gtk back-end)10:33
vilas/on eof/one of/ funny typo10:34
maxbabentley: Hi, will you be releasing a bzrtools 2.2.0 tarball?11:42
=== MacSlow is now known as MacSlow|lunch
mangojamboHi, where do I report a small bug ?12:48
=== MacSlow|lunch is now known as MacSlow
=== ddaa1 is now known as ddaa
mgzbug 633180 is funny.14:43
ubot5Launchpad bug 633180 in Bazaar "applet crashes on commit (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/63318014:43
git__hi15:18
git__how well does bzr do with image versioning?15:19
=== zyga is now known as zyga-kids
=== Ursinha is now known as Ursinha-lunch
=== beuno is now known as beuno-lunch
=== Ursinha-lunch is now known as Ursinha
nDuffI vaguely recall y'all having some shiny, shiny toolage analyzing Bazaar's performance over time (and isolating specific changesets where performance regressions occurred). Not having much luck googling it, though -- is that all in my head?18:14
jmlnDuff, bzr-usertest18:26
nDuffjml, ahh -- thanks!18:30
=== beuno-lunch is now known as beuno
=== oubiwann is now known as ouibiwann
=== ouibiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
ddaaI noticed that bzr-git does not support push21:22
ddaabut a look at the code suggests that it does support commit-to-git with roundtripping.21:22
ddaaMeaning, a commit done directly on checkout based on a git foreign branch will store all the good metadata, but that feature is missing from push.21:23
jelmerddaa: it supports push, too21:24
ddaaI am wondering, maybe "rebase" or "replay" can be used to produce essentially the same effect as push.21:24
jelmerddaa: Just that roundtripping is still disabled at the moment.21:24
ddaajelmer: obviously, it supports dpush21:25
ddaawhat do you mean "the roundtripping is disabled"?21:25
jelmerddaa: I'd like to make sure that we have a stable format before enabling roundtripping.21:25
jelmerddaa: There are two mapping formats - 'v1' which doesn't support roundtripping and 'experimental', which does. v1 is the default.21:25
ddaaOh.21:26
ddaaAny idea when experimental will become v2 and v2 becomes the default?21:26
jelmerwhen I finish my work to make the bzrlib testsuite run against foreign formats21:28
ddaaSo, if I understand correctly, commit on git foreign checkout currently does not work?21:28
jelmerddaa: It's got some issues - for example it won't use what's in the working tree but what's in the index.21:29
ddaaOh, that's interesting.21:29
jelmerddaa: and I don't think it will use the revision id that's specified by the caller of WorkingTree.commit, if any.21:29
ddaaThat's actually not what I meant though :-)21:29
jelmerddaa: Sorry21:30
ddaaI meant commit on a bzr branch bound to a git branch, or commit to a bzr lightweight checkout of a git branch.21:30
jelmerddaa: I doubt that commit on a git foreign checkout will work; on a non-bound branch it might.21:30
ddaaGotcha.21:30
jelmercommit to a lightweight branch *might* work21:30
jelmeruhm, lightweight checkout21:30
ddaaOnce roundtripping is enable, that will all magically work, right?21:31
jelmerin theory, yep21:31
jelmerthere will probably be minor things to fix up21:31
glyphdoes the bot here pipe up about bzr-svn bugs as well?21:38
glyphwell, assuming it doesn't21:39
jelmerglyph: I don't think it tells us about bzr bugs either :-)21:39
glyphhttps://bugs.launchpad.net/bzr-svn/+bug/63352221:39
ubot5Launchpad bug 633522 in Bazaar Subversion Plugin "annotation fails on calendarserver trunk (affected: 1, heat: 6)" [Undecided,New]21:39
glyphdash: you broke the internet :(21:39
dashglyph: oh noooo21:40
* jelmer fires off a clone of calendarserver21:40
glyphjelmer: please be kind, use a shared repo :)21:41
dashglyph: what, you guys don't have a giant svn server farm over there?21:41
dash;)21:41
glyphdash: uh yeah, "us guys", sure21:41
glyphI think you are closer to the "cloud" than me :-P21:41
dashtrue21:42
glyphI'm sure there are ... servers21:46
glyphI just don't want to get the bill for all of them because all 111 people in #bzr decide to clone it from scratch :)21:46
jelmerglyph: If only a bug report would immediately get the attention of 111 developers...21:54
glyphjelmer: if only!21:59
glyphthanks for looking at it21:59
glyphcan you repro?21:59
jelmerglyph: nope22:03
jelmerglyph: The branch that you're working in, did it or its repo exist before you switched to bzr-svn 1.0.4 ?22:03
glyphjelmer: I guess it probably did.22:03
glyphIf I locally clone into a new repo, will I work around it, or do I need to do a fresh clone from the server?22:04
jelmerglyph: I suspect one of the older versions of bzr-svn that you used probably introduced broken data22:04
glyphand do I need to blow away my svn cache22:04
jelmerglyph: A local clone will just copy the broken data, so you'd need a fresh one from the svn server.22:04
jelmerI don't think the cache would be affected but it's quite quick to regenerate so I would recommend blowing it away.22:05
dashglyph: a lot of times i've had odd issues with bzr-svn on 'pull' or 'up' that have gone away if i do a fresh pull from the svn server into a different branch, then in the afflicted branch do a pull from the fresh one22:05
jelmerdash: can you still reproduce that sort of thing with 1.0. 4?22:06
dashjelmer: i haven't yet, IIRC22:06
dashjelmer: if i do, i will let you know. :)22:06
jelmerdash: thanks22:06
glyphdash: OK, I'll try that first, I guess :)22:08
glyphsooo slow :(22:08
mgzhm, if I want to do a cosmetic edit to someone else's branch before merging it with hydrazine, is there a way? or would that have to be a whole new mp?22:20
jelmermgz: I think that would have to be a whole new MP22:22
mgzargh, and bugger, I can't merge to 2.222:22
jelmerat least, I can't think of a way around that..22:22
* glyph discovers hydrazine and becomes excited22:22
glyphis there a bug-reporting GUI?22:22
mgz...I struggle to envision how that would improve on a web browser22:24
mgzgenerally people want bug reporting clis22:24
jelmerglyph: I think bughugger is a GUI for bugs (among other things) on Launchpad22:25
glyphscreenshots plz22:26
jelmerheh, I don't use it.. but I'm sure Google can help.22:26
dashhttp://www.murraytwins.com/blog/?p=6022:26
dasheeenteresting22:26
glyphjelmer: qannotate works on a fresh pull22:30
glypherm, annotate, too ;)22:30
jelmergreat (-:22:31
glyphpulling the fresh pull into my existing repo blows up with a different traceback though22:31
jelmerso that would've been a bug in an older version of bzr-svn that's since been fixed22:31
glyphI've saved the broken branch (branching it produces the same error) in case you're interested in me pushing it somewhere later22:31
jelmerglyph: yes, that's to be expected tas your existing repo has some broken data22:31
glyphgotta run now22:32
jelmerglyph: I would recommend cloning your existing branches into the new repo and getting rid of the old one22:32
jelmerI'm not really interested in the broken repo - the fact you've just successfully used annotate means this is an old bug.22:32
jelmer'morning mwhudson22:32
mwhudsonhi jelmer22:32
mwhudsonjelmer: btw, is importing from a local git repo known to be broken in bzr-git currently?22:33
jelmermwhudson: it was earlier, perhaps I forgot to push my fixes22:33
mwhudsonjelmer: i think that might be the case22:40
mwhudson(i did this a couple of days ago, but i don't think i've seen any lp:bzr-git changes since)22:40
jelmerI'll check22:41
jelmerit reminds me...22:41
jelmerhttps://dev.launchpad.net/FailingBzrSvnImports, https://dev.launchpad.net/FailingBzrGitImports22:41
jelmerwith much thanks to maxb22:41
mwhudsonnice22:42
mwhudson1.0.4 will be deployed tomorrow, right?22:43
jelmeryep22:43
mwhudsona few to retry then22:43
mwhudsonhttps://dev.launchpad.net/FailingBzrGitImports#Nested%20trees is a bit uh, well....22:44
ddaawhen 2.3 is out, someone will have the joy to update cscvs to deal with those too :-)22:46
ddaaOr maybe not...22:46
=== Meths_ is now known as Meths
=== Ursinha is now known as Ursinha-afk
mwhudsonddaa: weeeeeeeeeeeeeeeeeeeeeeeeeeeeellllllllllllllllllllllllllll23:08
ddaais that the sound of you falling in one?23:09
jelmerddaa: nested trees in CVS? Do I want to know?23:09
ddaamodule references23:09
jelmeraha23:10
ddaahistorically, the policy was "just ignore those, only import the root module"23:10
ddaaconceptually, it's not very tricky23:10
ddaaI think svn externals are worse, with their ability to refer to branches in other repositories23:11
mwhudsonddaa: oh right23:13
mwhudsonddaa: well, actually the current policy is "just ignore those, only import the root module, then blow up doing the validation cross check at the end"23:13
ddaaoh right :-)23:14
jelmerddaa: the main issue with svn externals is that they can create implicit directories23:14
ddaaI remember the motivation for not fixing this one was that anyway, cvs repos using those are essentially useless without the module references.23:15
mwhudsonddaa: it's CVS's fault really, if you do cvs co compound-module, the CVS/Root file (i think it's that one) only references the root module23:15
ddaajelmer: that sounds like an instance of "I can't decide whether it's a branch or a directory"23:15
mwhudson"conceivably versions something" indeed23:15
ddaamwhudson: right, I guess fixing that would have involved touching the graph magic lifeless put there once, and that I was never able to make sense of.23:16
mwhudsonfortunately the day when one can just ignore cvs is getting closer23:18
bialixmgz: around?23:18
mgzyo bialix23:18
bialixyo martin23:19
bialixare you using hydrazine to send merge requests?23:19
mgzI am, want a tutorial?23:19
ddaamwhudson: btw, I was a bit amused at noticing the import failure at ~vcs-imports/cvs/trunk23:20
ddaaalso, lp REALLY needs a new icon for ~vcs-imports23:21
* mwhudson hadn't seen that one23:21
ddaanot only my artwork sucks, but it does not make sense anymore23:21
bialixmgz: no, just a confirmation you're using it from windows machine and it's possible to install it for mere mortals23:21
ddaait dates back to the time this was called ~buttress23:22
bialixlol23:22
mgzyup, about the only windows-hostile thing I've run into is the script you want to run doesn't have '.py' on the end23:22
bialixoh23:22
bialixthen23:22
mgzlaunchpadlib does mean having to deal with setuptools, but that's a pain everywhere23:22
bialix[01:20]<mgz>I am, want a tutorial?  --- YES!!!23:23
mgzand there's 2.5ism in one of the many launchpadlib dependencies that I put a mp up to fix some months ago and have heard nothing about, so still have to patch locally23:23
bialixbecause you prefer py2.4, as I remember23:25
bialixthat's ok23:25
bialixso, can I have a cookie, err, short tutorial how you install it?23:25
* fullermd ships bialix a cookie.23:26
bialix*crunch* *crunch* yummy!23:26
mgzbialix: something like http://paste.ubuntu.com/490588/23:31
mgzand... I misplaced an apostrophe again23:32
bialixmgz: yummy, awesome, thanks!23:32
mgzyell if I got anything wrong there or you run into anything else, I might polish this up and post somewhere23:33
* ddaa refrains from making a bad jokes involving poles and ukrainians23:33
bialixddaa: :-P23:34
bialixI think I know this joke23:34
ddaathat would not be "spiritual" :-P23:34
bialixplease, don't23:34
ddaatell me about it!23:35
bialixin Ukraine we're usually telling jokes about unkrainians and russians23:36
ddaanext time you see sabdfl, ask him about that Baikonour launch operator he saw the day before he took off :-)23:40
bialixI'll note23:41
bialixat uds I was too shy to talk with him23:42
ddaayou're not alone there, but it's all in your head. He's remarkably level headed.23:44
ddaaActually, I find that somewhat disturbing.23:44
jelmern23:45
jelmern23:45
jelmergrr, wrong window has focus23:46
pooliegood morning23:50
fullermdjelmer: No, it's n w.23:58
* bialix waves hello at poolie23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!