/srv/irclogs.ubuntu.com/2010/01/27/#bzr.txt

=== salgado-afk is now known as salgado
mkanatmwhudson: Hey hey. Have there been any more hangs of loggerhead?01:19
=== chromakode is now known as chromakode[puppi
mkanatmwhudson: That is, since my last comment in the bug.01:19
mwhudsonmkanat: not sure, let's ask spm!01:20
mwhudsonspm: hello01:20
mkanatmwhudson: Okay! :-)01:20
spmmwhudson: yo!01:20
spmmkanat: hey hey!01:20
mkanatspm: Hey hey. :-)01:20
spmof course asking me when I'm back after a 4 day weekend is cruel....01:21
mkanatspm: lol01:21
mwhudsonmkanat: nothing in the log since the 19th01:21
mkanatmwhudson: Well, that's an improvement.01:22
mkanatmwhudson: Perhaps we should close the extant bug with a slightly updated summary, and open a new one for these different hangs.01:23
mwhudsongrar01:26
mwhudsonmkanat, spm: hello again01:26
spmyo01:26
mkanat<mkanat> mwhudson: Perhaps we should close the extant bug with a slightly updated summary, and open a new one for these different hangs.01:26
mwhudsoni guess that makes some sense01:27
mkanatmwhudson: Okay. I'll do it.01:30
=== chromakode[puppi is now known as chromakode
boombatoweris a setup.py and such required for bzr plugin...it seems not since I can run my plugin from home dir without one...but online docs says that you should run the setup command when installing01:37
boombatoweris that just a good case since most/many have a setup01:37
boombatoweror is it required01:37
mwhudsonmkanat, spm: again again?01:42
Pengboombatower: You can dump it in the plugins directory however you want. It doesn't have to be setup.py.01:43
spmmwhudson: wet string problems?01:44
boombatowerPeng: ok, thx01:44
=== chromakode is now known as chromakode[puppi
mwhudsonthat last one was just me typing the wrong thing :(01:52
mwhudsonspm: but yes01:52
=== chromakode[puppi is now known as chromakode
PengWet strings?01:54
=== jamesh_ is now known as jamesh
spmPeng: is how NZ is connected to the intartubes. on good days, all 5 strings are in operation. some days they dry out.02:03
mwhudsonspm: my isp disconnected me two days early before our move02:04
mwhudsonso i'm connected via 3g02:04
spmthat was generous of them!02:04
mwhudsonwhich is freaking slow02:04
spmheh02:04
mwhudson~dial up speed02:05
igchmm02:06
spmmwhudson: so... it's an improvement from what you had before?02:07
mwhudsonspm: i don't think someone from .au can be _that_ smug02:08
mwhudsonspm: if you were in finland or japan or something...02:08
spmmwhudson: it's taken *decades* of practice to get this smug. Rightly or wrongly is irrelevant.02:09
mwhudsonspm: point conceded02:09
spmhahahahaha02:09
=== boombatower is now known as boombatower|afk
=== boombatower|afk is now known as boombatower
=== chromakode is now known as chromakode[puppi
=== chromakode[puppi is now known as chromakode
=== chromakode is now known as chromakode[puppi
=== chromakode[puppi is now known as chromakode
=== boombatower is now known as boombatower|afk
* igc lunch03:21
=== boombatower|afk is now known as boombatower
micahghow do I make bzr svn only commit locally until I push?05:01
=== chromakode is now known as chromakode[puppi
=== chromakode[puppi is now known as chromakode
james_wmicahg: you need to unbind05:22
micahgis there a way to get a bzr-svn branch so that I have the history locally?05:40
james_wmicahg: did you use "bzr branch?"05:50
micahgjames_w: no, I ran bzr init on an svn checkout05:50
james_wah05:50
james_wyou've just created a bzr branch with none of the history from svn then05:50
micahgjames_w: how can I import?05:50
micahgI can see with bzr log05:50
james_wif you use "bzr branch svn-checkout bzr-branch" then you will have the whole history locally05:51
micahgthanks james_w05:53
=== chromakode is now known as chromakode[puppi
=== chromakode[puppi is now known as chromakode
micahgjames_w: is there a way to have both .svn and .bzr control the folder?06:09
Pengmicahg: Depends on what you mean.06:09
Pengmicahg: You've done that already -- they're just completely independent.06:09
micahgwell, when I branched the svn checkout, I get no svn dir06:10
PengThat is correct. You got a bzr branch.06:12
PengYou do know that bzr can operate directly on svn checkouts, right?06:12
Pengcd svn_checkout; bzr status06:12
PengObviously that doesn't give you local history, though.06:12
micahgI tried that, but the history isn't local06:12
micahgright...06:12
luke-jrjames_w: Peng: pretty sure not06:12
luke-jr'bzr init' in a Subversion WC just activates bzr-svn06:13
spmmicahg: do you mean that bzr would have the .svn/ in it's tree and vice versa; svn would have the .bzr in it's?06:13
micahgspm: i guess so06:13
Pengluke-jr: Not what?06:13
* micahg was just hoping to add local history to my svn checkout06:14
spmmicahg: ew! :-)06:14
luke-jrPeng: it wouldn't create an independent Bazaar branch06:14
luke-jrmicahg: bzr branch svn://.../06:14
micahghmm, it's not going to overwrite when I push, will it?06:14
Pengluke-jr: That is correct.06:15
* micahg was reading the FAQ and got scared06:15
luke-jrmicahg: Subversion doesn't allow overwrite, and even if it was a Bazaar upstream, you'd need to put --overwrite06:15
luke-jrpushing will just push the commits up06:16
luke-jrbut if you're going to push, you should probably configure the Subversion server to allow Bazaar to fudge the commit dates06:16
micahgdoes it push all the commits as one or individual ones?06:17
micahgwhat do you mean fudge commit dates?06:17
ronnymicahg: by defaul svn enforces the commit date to equal the time it was commited to svn, but allowing bzr to edit them would allow to fit them to the time you commited them in bzr06:51
=== sven is now known as Guest92937
=== sven is now known as Guest82088
=== chromakode is now known as chromakode[puppi
pooliehi09:10
pooliehttps://bugs.launchpad.net/bugs/49759509:10
ubottuUbuntu bug 497595 in launchpad-code "some/all branches can't be accessed over http while launchpad is readonly?" [Undecided,New]09:10
PengNice.09:14
Peng...I just got an OOPS opening that bug! :D09:14
PengOh, it's read-only now? Is it supposed to OOPS, though?09:15
lifelessPeng: no09:16
lifeless#launchpad09:16
bialixheya bzr09:25
Penglifeless: :D09:28
pooliehi igc10:40
pooliecould you fix https://bugs.edge.launchpad.net/bzr/+bug/51283510:40
ubottuUbuntu bug 512835 in bzr "doc overview doesn't distinguish 2.1 from trunk" [Medium,Confirmed]10:40
poolieyou could probably do it a bit faster than me10:40
igcpoolie: sure10:40
pooliethanks10:54
jmlpoolie, you've probably noticed, but I've transfered tribunal maintainership to you. hope the delay hasn't sucked the momentum out of thing.10:55
jmls10:55
poolienot at all10:55
lifelessjml: I don't think it has, from my obsservation10:55
pooliei'm flattered10:55
pooliethanks10:55
pooliewish you were here10:56
jmlgood to hear.10:56
jmlpoolie, thanks :)10:56
mkanatThe upstream Bugzilla migration to bzr is pretty close now.11:22
mkanatWe have our server all set up and configured, I just have to get a Bugzilla release out of the way so that we don't have that hanging over us immediately after we switch.11:23
mkanatI wrote a script that will sync a single bzr commit back to CVS, also, for a particular branch.11:23
mkanatSo we'll be using that to mirror stuff back to CVS.11:23
mkanatIt's here, right now, in somewhat-incomplete form: https://bug517131.bugzilla.mozilla.org/attachment.cgi?id=42333211:23
pooliemkanat: woo11:29
mkanat:-)11:29
mkanatI also wrote a silly plugin that makes sure that the committer is identical to the currently-logged-in user, which is here if anybody ever wants it: http://bzr.mozilla.org/bzr-plugins/enforcecommitter/files11:30
mkanat(This works for us because our SSH user names are all email addresses.)11:30
mkanatThe plugin breaks uncommit, though. :-(11:31
mkanatWhich is probably okay for us, but I didn't know how to deal with the uncommit case well.11:31
lifelessmkanat: you could check to see if the new tip  is in the ancestry (when the username does not match)11:31
mkanatlifeless: Ohh, that's a good idea.11:32
mkanatlifeless: What's the fastest and most canonical way to do that? revid_to_revno or whatever it's called?11:32
mkanatAlso, pulling the username out of the revid seemed hacky, but I didn't see any other way to get it for an uncommitted change.11:33
lifelessmkanat: branch.repository.get_revision(revid).committer/authors11:34
mkanatlifeless: Rock!11:34
mkanatlifeless: The API docs don't list the members of each class, only the methods.11:35
mkanatOhhh, no, they do!11:36
* mkanat totally missed that.11:36
lifelessmaybe not consistently, but we try11:42
mkanatYeah. repository is there in BzrBranch.11:43
mkanat"committer" and "authors" aren't there in Revision, though.11:43
lifelessok11:46
lifelessso I won't fix that right now11:46
lifelessbut if you file a bug, tagged doc, saying that the members of Revision are not in the API docs someone will likely do it11:46
mkanatlifeless: Okay. :-)11:46
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
MTecknologyMy cron task keeps giving me this - No handlers could be found for logger "bzr" - I haven't been able to figure out why yet14:15
MTecknologyI'm doing bzr pull..14:17
ronnyMTecknology: that usually happens if bzr fails to hook in a logfile for the logger due to permission errors14:19
ronnyMTecknology: unfortunately i dont remember the file position14:19
MTecknologyronny: ~/.bzr.log?14:20
ronnyMTecknology: possible14:21
MTecknologyok... sudo must not be running this in the users environment14:21
MTecknologythanks14:21
Morbusg'day. i've created a pre-commit bzr plugin hook, and placed it in the *branch server*'s system-wide plugin directory, as I want it applied to all commits.14:23
Morbushow can i tell if it's being called, when it doesn't seem like it's working? ;)14:23
lifelessjam:14:23
lifeless01:23 < pitti> lifeless: python -c 'import apport.crashdb; help(apport.crashdb)' describes the CrashDatabase of apport14:24
Morbusmy .bzr.log shows that its checking the plugin directory that i placed it in, but not that it's being called or anything.14:24
lifeless01:23 < lifeless> pitti: thanks14:24
lifeless01:23 < pitti> lifeless: in essence, you init it with a .db filename (sqlite), and keep calling check_duplicate()14:24
lifeless01:23 < lifeless> pitti: does it really need a db ?14:24
Morbusi've placed it in usr/lib/python2.4/site-packages/bzrlib/plugins/example.py - should it be its own dir?14:24
lifelessMorbus: well, *commit* is not seen by servers, as they generally only see people pushing14:24
lifelessMorbus: so you probably want a Branch pre tip change hook14:24
Morbuslifeless: how does the email plugin work then?14:24
Morbusi have an the bzr-email plugin, on the branch server, sending out commit messages.14:25
* Morbus looks at the source.14:25
lifelessMorbus: branch post tip change hook14:25
Morbusso, as the plugin is written now, with pre-commit, i'd have to force all my committers to put it on their machines?14:25
lifelessjam: 01:25 < pitti> lifeless: look at /usr/share/pyshared/apport/report.py, def crash_signature()14:25
lifelessMorbus: yes14:26
Morbuslifeless: http://bazaar.launchpad.net/%7Ebzr/bzr-email/trunk/annotate/head%3A/emailer.py14:26
Morbuscould you tell me what line the emailer is doing this post tip change hook thing?14:26
Morbusoh, it's in http://bazaar.launchpad.net/%7Ebzr/bzr-email/trunk/annotate/head%3A/__init__.py14:27
=== mbarnett` is now known as mbarnett
Morbusi see it. line 94.14:27
Morbuslifeless: thanks for the help14:30
=== cjohnston is now known as FFEMTcJ
=== FFEMTcJ is now known as cjohnston
=== beuno_ is now known as beuno
mistryniteshafter branching out kubuntu-docs from launchpad, when I give 'bzr status' it shows most of the files under 'removed' a few under 'modified' and a few under 'unknown', but this is not the case when I see them at launchpad.net using web-interface15:13
lifelessMorbus: my pleasure15:17
lifelessmistrynitesh: right affter branching it shows changes ? thats unusal15:18
mistryniteshI am quite a noob at bzr15:18
mistryniteshwhen I give 'bzr branch lp:kubuntu-docs' it asks for the password, then downloads the files and gives the message: branched 160 revisions15:20
mistryniteshso I guess its good till then15:20
=== radoe_ is now known as radoe
=== salgado is now known as salgado-lunch
=== deryck is now known as deryck[lunch]
mgedminjust a second ago I said to myself, happily: "bazaar rules!  I can commit these modifications I made on the production server into the local checkout and then pull them into my main branch"15:55
mgedminand then bazaar crashes with an internal error so I can't commit :(15:56
mgedminit's quite an old version (1.3.1, ubuntu hardy)15:56
beunomgedmin, it's very old, any answer will probably come with "upgrade to a newer version"15:57
* mgedmin has a definition of "stable software" which means "the version in the last Ubuntu LTS and the version in debian stable both work reasonably well"15:57
* fullermd includes "doesn't crash" in his definition 8-}16:02
mgedminthat's part of "works reasonably well" in my book16:03
* mgedmin finds a workaround16:03
maxbLTS / stable is valuable... but sometimes using years-old versions of software just isn't the right thing to do16:03
mgedmintrue16:04
* maxb glares at his company's oldstable boxen16:04
mgedminthen again yak-shaving is also not always the right thing to do16:04
maxbWell... PPAs rock too :-)16:04
mgedminwhen you're debugging a problem and you use a debugging tool and then modify a debugging tool and then use a version control system to remember the modifications, adding a ppa and upgrading the version control system just overflows my stack16:05
mgedminstrangely, going on irc and talking about it doesn't16:05
mgedminI'm not complaining, mind16:05
mgedminwell, okay, I am complaining ;)16:05
mgedminI just don't expect/want anybody to do anything about it16:06
mgedminthe problem will be solved naturally as time passes and new debian/ubuntu lts'es come out16:06
fullermd"...  so then I had to hack my new Asus motherboard to add some toggle switches, so I could toggle in a bootloader...   and THEN I finally could read the recipe I wanted in the first place."16:06
=== beuno is now known as beuno-lunch
* awilkins used a PPA when he backported patches to MythTV16:20
awilkinsAn automatic way of doing PPA versions just by slapping a button on a Bazaar branch page would be awesome16:21
awilkinsPatch, push, PPA16:21
=== salgado-lunch is now known as salgado
frozeHello all, new to bzr - been using svn for years, like what I see. I have a question, my apologies in advance if is redundant. Is there any way to make a bzr repo talk to an svn checkout?16:26
rubbsfroze: I'm not understanding your question, what are you trying to do?16:30
LenZfroze: Welcome to bzr :)16:30
rubbsoh yeah, welcome16:30
LenZfroze: You can use bzr to talk with a remote SVN repo as if it were a SVN client, if that's what you mean.16:30
bialixtalk to an svn checkout... heh16:30
LenZfroze: There is a bzr-svn plugin for that.16:31
LenZfroze: http://bazaar-vcs.org/BzrForeignBranches/Subversion16:31
=== beuno-lunch is now known as beuno
=== deryck[lunch] is now known as deryck
awilkinsfroze, You can use Bazaar on an SVN checkout if you have the bzr-svn plugin, although you may find it more useful to take a Bazaar checkout of a Bazaar branch of a branch of the SVN repo ..16:54
frozesorry, got called away. I was hoping for the reverse, I have acounts on machines where svn is avail but not bzr, I have data in a bzr repo, I would like to access the bzr repo with an svn client. Tried searching, but only get accessing svn host with bzr client, not hte other way around.16:54
awilkinsAh, no, I don't believe there is such a thing - you want an SVN server for Bazaar repositories16:55
awilkinsThere is such a thing for MS TFS AFAIK, but not Bazaar16:55
awilkinsfroze, what kind of machines are these accounts on?16:56
awilkinsfroze, you can in principle just run Bazaar from your home folder as long as the machines meet the requirements16:56
frozepretty much what I suspected. seems to me that this feature would allow for almost fully transparent migration of svn users to the bzr world.16:56
frozeHPC acounts on DOE and DOD machines that restrict what software you can use etc...16:57
awilkinsfroze, Ah, so things like "noexec" set on the home folder?16:57
awilkinsfroze, Bazaar will work from the pure Python so if you can run scripts it may be doable16:58
frozeno, just regulations on use. don't want to violate the terms of use as these machines are essential to my research.16:58
fullermdWith certain machine owners, you don't worry so much about 'noexec' on the partition, as following the policy to prevent 'exec' on YOU   :p16:58
* awilkins goes to catch his train16:59
awilkins.quit16:59
frozefullermd: is that a "In Soviet Russia..." joke reference?16:59
fullermdNot explicitly, though it is the same pattern.17:00
LenZfroze: Well, you could probably cheat, depending on how "advanced" your svn users are :) Rename the bzr binary to "svn" and configure it to perform checkins on the remote repo directly :)17:04
frozeLenZ: That would be an option on my local machines, I was looking for a way around remote site use restrictions - as I like the decentralized VCS concept.17:08
LenZfroze: I'm not aware of a plugin that would make bzr mimic a SVN server.17:08
* froze wonders how hard that would be to code up...17:09
* froze slaps self in face *too much work to do already* ;-)17:09
fullermdWell, you could use bzr-svn to push your bzr stuff into a svn repository, and use that as the "branch" for working from where you only have svn...17:40
fullermdAnd keep using bzr on real bzr stuff elsewhere; just use the svn to interface.17:40
jelmerLenZ: There is some initial work in bzr-svn to support a "bzr svn-serve" command17:42
jelmerLenZ: it's incomplete though17:43
LenZjelmer: Awesome :)17:43
=== mrevell is now known as mrevell-dinner
=== gnomefreak76 is now known as gnomefreak
=== salgado is now known as salgado-afk
=== gnomefreak76 is now known as gnomefreak
lifelessjam: welcome to the warrm21:17
jam:)21:27
lifelessjam: http://www.handdrawngames.com/DesktopTD/Game.asp earlier versions, same author; includes multiplayer21:36
jamlifeless: http://www.popcap.com/games/free/pvz/21:41
lifelessjam: yah21:43
=== RAOF is now known as RAOF_
=== RAOF_ is now known as RAOF
NfNitLoopSo Ubuntu (KDE?) has this bzr tray notification thing going on...   and I'm not quite grokking the reason for it.23:29
NfNitLoopI do 'bzr commit', and it tells me... that I just committed.23:29
NfNitLoopI do 'bzr pull' and it tells me that there are new revisions in my local branch.  (No, really?)  :p23:30
Kamping_Kaisersounds like something a gui has setup (iirc olive does that)23:34
RAOFNfNitLoop: If there are other people on the network, and they've got bzr-avahi loaded you'll also get notifications of *their* commits.23:35
NfNitLoopRAOF: Aaaaah, ok. That's cool.23:37
Kamping_Kaiserthat would be cool at a dedicated hackathon i can imagine it driving me insane at something like lca23:37
NfNitLoopYeah, I'm sortof all for *reducing* the number of interrupts in my workday. :p23:38
NfNitLoopI already get e-mail and coworkers popping in and support requests and going down the garden path of some tangentially related bug... :p23:38

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