/srv/irclogs.ubuntu.com/2011/04/27/#bzr.txt

=== medberry is now known as med_away
jelmerhi poolie00:32
jelmerDid you have a good easter weekend?00:32
pooliehi there00:33
pooliei did00:33
pooliehow are you?00:33
=== Tethy is now known as Teth
jelmerI'm well too, we had amazing weather over the weekend00:34
pooliewe had pretty much continuous rain00:34
pooliei'm leaving just under a week from today00:34
pooliefor uds etc00:35
jelmerthis was our hottest easter in recorded history, around 25 degrees00:36
jelmerhopefully we'll have similar temperatures in Budapest :)00:36
poolie25C is nice00:46
poolieprague was quite hot00:46
pooliejelmer did you have any opinion about python 2.4/5/600:53
jelmerpoolie: not really00:55
jelmerpoolie: I personally would like to move to 2.5, but I only have Debian Unstable and Natty machines...00:55
jelmerpoolie: the input from various people running or packaging for older versions of RHEL or backporting to older versions of Ubuntu is probably most interesting00:57
maxbWhere older versions of Ubuntu == just hardy, I think00:58
poolieit seems like the main issue is now py2exe00:58
maxb(assuming intrepid and jaunty are disregarded for being both EOL)00:58
pooliehardy has python2.500:58
maxbOh, yes. Sorry, I was still thinking about 2.600:59
poolienp01:00
spivMorning folks.01:00
poolieit's just a small additional thing in favor of 2.501:00
pooliehi spiv01:00
maxbpy2exe was a reason that 2.6 was bad but 2.5 was OK?01:00
poolieright01:04
pooliehow was your weekend spiv?01:10
jelmerhi spiv01:10
spivpoolie: long :)01:15
poolieit was wasn't it?01:27
mgzah, poolie.01:29
mgzoh, I should put up my alternative to jam's compat breaking branch if that's on the table for today01:30
pooliemgz: so you have a thing that fixes the same bug but without using try/yield/finally?01:54
mgzyup.01:54
mgzsec, nearly done, will post.01:54
pooliehm, i know we can fix them one by one01:55
mgzit defers the decision for a bit at least :)01:55
poolieotoh it is O(n) to keep reconsidering it every few months01:56
mgzjam's made some reasonable arguments, and august is still quite a few months of coding away, so I'm not sure I can really justify keeping the old version alive01:56
mgzbut there was someone on rhel in here the other day looking for support who managed to mangle a (working) 2.4 trunk bzr by trying python 2.601:57
mgzwhere the easy fix was just cleaning up and using 2.4 again (a plugin was broken)01:57
pooliewhat do you mean?01:57
mgzhm, I'd need to look at the log, but he was trying to install bzr.dev and didn't have pyrex on 2.6 and got some .so files from the wrong version.01:58
poolieok i see01:59
poolieso he had a kind of half-installed python2.6,because that wasn't included in the original rhel release?01:59
pooliethis does happen from time to time01:59
poolieespecially on mac os it seems01:59
mgzhttp://irclogs.ubuntu.com/2011/04/25/%23bzr.html#t00:4501:59
pooliei'm not sure that it's all that correlated with what we require02:00
mgzI agree most people probably aren't trying to combine bleeding edge bzr with ancient python.02:01
poolielike if we require 2.4, people still sometimes trip up because they have a half-installed python2.502:02
mgzsure, but in his case using the system python got it working again.02:04
mgznext week, bzr.dev will not work with his system python.02:04
pooliemaybe we should ask emacs-devel02:06
lifelesspoolie: btw I have bzr-search test suite failing with the maverick build02:07
lifelesspoolie: I commented on the bug for you02:07
mgzlifeless: good work on py3ing subunit the other night02:08
mgzI filed a bug on the remaining failures I got, as they're a problem in trunk too02:08
lifelesscool, thanks02:08
pooliei saw the mail, i haven't looked into it yet02:08
mgzmostly shallow, but I have two problems02:09
lifelessmgz: you live in a yellow submarine?02:09
mgz#1 how do you want skips done? currently you're using unittest.TestCase which... I think I need to switch to testtools.TestCase for the skip method?02:09
mgz^that would hardly be a problem02:09
lifelesssure, using testtools.testcase would be fine02:10
mgzwell, coming up for air regularly might get old.02:10
mgzshould I switch the whole file? or have a mix-and-match?02:10
mgzproblem #2 ExecTestCase02:11
lifelessmgz: whatever you like is fine with me02:11
mgzthe very concept is... problematic02:11
lifelesshaving bitten the bullet and depending on testtools, I've no intrinsic limits onuse02:11
lifelesswell, exectestcase is clearly not for windows users :)02:12
lifelesserm02:12
lifelessactually02:12
lifelessisolatedtestsuite isn't02:12
lifelessexectestcase is02:12
mgzcurrently, the tests exec some python scripts (with the system python, not the one running subunit), and then fake-print some subunit looking output02:12
mgz^yeah, exec could work, apart from the design is... I don't like it02:12
mgzgetting shell script blobs from docstrings isn't very portable02:13
mgzanyway, the test fails (and leaks the streams) because neither end sets the pipe to binary02:13
lifelessheh02:14
mgzbut just fixing that doesn't really make it any saner, and the paths are still wrong02:14
lifelessuhm02:14
lifelessso, I'd like to just fix it in the first instance02:14
mgzbecause you're doing path_join|(script_dir, shell_script_blob)02:14
mgzwhich happens to work for (".", "some_script.py -some_arg") -> "./some_script.py -some_arg"02:15
mgzbut doesn't for arbitrary paths or commands.02:15
mgzso, you'd get failures depending on where your test suite was in your directory tree02:16
mgz(most specifically, if you had any shell-significant characters like spaces)02:17
quotemstrlifeless: Thanks.02:29
lifelessmgz: external scripts should be usint libsubunit or some other language binding02:43
mgzI agree.02:43
lifelesswhich sould set binary02:43
=== med_away is now known as medberry
mgzmaking the sample scripts do that is hard though.02:45
lifelessyeah02:45
mgzokay, it's way too late, I need to get a train tomorrow.02:46
mgznight all!02:46
lifelessciao02:46
poolienight mgz, hae a good break02:47
=== Ursinha is now known as Ursinha-afk
bignoseyay, Gitorious lets me set up an account logging in via my existing OpenID!07:36
bignosethat means I can have full-featured hosted Mercurial and Git repositories07:36
bignosethe only one left is Launchpad <URL:https://bugs.launchpad.net/launchpad/+bug/210943>07:37
ubot5Ubuntu bug 210943 in Launchpad itself "be an openid consumer (relying party)" [Low,Triaged]07:37
bignosedoes anyone have comments on using Gitorious or Bitbucket as back-end repository for Bazaar?07:39
glyphbignose: Neither is possible.07:43
glyphbignose: Maybe bitbucket is, but I'm not nearly crazy enough to try it :)07:43
pooliebignose: interesting; do you then give them an ssh key for actual access, or is it all over openid?07:56
spivWe should just provide HTTP-over-SSH ;)08:01
poolieo/ spiv08:02
fullermdI've got a friend who did some work on SSH-over-HTTP...08:02
bob2bitbucket least supports http push with passwords08:03
pooliehi jam08:07
jammorning poolie08:08
pooliethanks for all the bug cleanups08:12
pooliejam if your queue is getting reasonably empty i wondered if you could give some relief to bug 60261408:12
ubot5Launchpad bug 602614 in Bazaar "Out of memory error in _ensure_content on auto repacking" [High,Confirmed] https://launchpad.net/bugs/60261408:12
pooliemaybe even just a config knob to delay repacking08:12
jampoolie: sure. My queue is actually filling up because of backlog stuff with TreeReference while I switch over to the fetch-sends-tags stuff.08:14
jambut I can put it on my 'stuff to get to' queue08:14
pooliejam i didn't really understand your last comment on gz's sftp traceback patch08:22
poolie> As for a focused 2.4 branch, that is ok, but really, I don't want to try08:22
poolieand "fix all hacks" before we break compatibility. I'd rather break it,08:22
poolieand then land things that cleanup the code as someone wants to do so. I08:22
pooliedon't think we should require cleaning everything up first.08:22
jampoolie: his comment was "we should land a separate branch that cleans up our hacks"08:22
jamI'd rather land a compatibility break08:22
jamand as we want to clean up code, do so08:22
jamdon't block on us cleaning up all the code first08:23
poolieoh, right08:23
pooliei agree with that08:23
poolie"clean up all the code" doesn't have a very clear end point08:23
sobersabrehi.08:23
poolieoh wow it's wednesday already08:23
pooliethat was quick08:24
sobersabreI'm trying to determine whether I need to commit something.08:24
sobersabrepoolie: indeed wednsday, depending on you timezone though.08:24
sobersabreI have found already I need to commit if wt.changes_from(wt.basis_tree()).has_changes()08:25
sobersabreand also if wt.get_parents_ids() array has > 1 items.08:25
sobersabreanything else I'm missing ?08:25
pooliesobersabre: you're reimplementing bzr's commit function?08:26
spivsobersabre: why not just try the commit with allow_pointless=False, and catch the PointlessCommit error for when there's nothing to commit.08:29
jamsobersabre: or worst case: "wt.has_changes()" ...08:38
jamwhich implements all of that logic as well08:38
jamThough that was introduced in "recent" versions. (2.2 maybe?)08:38
pooliei'm not completely sure that would catch a do-nothing merge08:44
jelmerhi poolie, spiv, jam08:55
jammorning jelmer08:55
jampoolie: it checks the get_parent_ids() stuff, not sure what you're thinking08:55
pooliehi guys08:56
pooliehi jelmer, jam, spiv09:00
poolieshall we have a chat?09:00
jelmerpoolie: which VOIP systems would you like to use today ? :)09:06
jamjelmer: mumble today09:06
jamjelmer: are you in #canonical?09:06
pooliei would like to use sip but i guess we'll actually use mumble09:06
bialixand what's better?09:28
jelmerjam: https://code.launchpad.net/~jelmer/bzr/move-interbranch-fetch2/+merge/5856709:28
* jelmer groans09:30
jamjelmer: would you rather just IRC chat?09:30
jamor direct skype?09:30
jelmerjam: let's try skype09:31
pooliebialix: they all have tradeoffs i guess09:36
pooliehi, btw09:36
bialixhi poolie09:38
bialixpoolie, don't take my words about python 2.5 and py2exe too high09:39
bialixit's so strange to see jam around at this half of the day09:39
bialixskype has chat mode09:40
pooliehe lives in the Netherlands now09:40
poolieso it's 11am or so09:40
bialixreally?09:40
pooliesrsly09:40
jambialix: yeah, for about 2 years before I go back to the US09:40
jammy wife got a promotion that needs some training09:40
* bialix is very surprised, but that's great09:41
* fullermd of course has no such sensible excuse for being around at this hour :p09:41
bialixfullermd: we know you never sleep, so you don't need any excuses09:48
jamjelmer: what is up with your audio system?10:00
jamOverall, I think skype was working better than mumble, though10:00
poolienight all10:16
jamnight po10:23
jampoolie: g'night10:23
jamjelmer: you just cut out again10:23
=== Ursinha-afk is now known as Ursinha
jelmerjam: Do you think we need to deprecate update_revisions first? I'm not aware of anybody using it and I couldn't imagine everybody using it, it's a pretty odd interface compared to e.g. push or pull.12:18
jamjelmer: you would be the most aware of any implementations using it12:19
jamif bzr-svn, for example, uses it12:19
jamthen we should probably deprecate it12:19
jamwe'll move away from it, but we don't want to kill people with version ske12:19
jamskew12:19
jelmerthe foreign plugins all provide update_revisions but none of them uses it12:19
jelmerso I'd be more than happy to axe it, as it means being able to remove that update_revisions() implementation too12:20
jamjelmer: so just watch out for skew, you can't axe it until it isn't actually being used.12:20
jamBut yes, I don't think anyone was directly calling it12:20
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevlel
=== mrevlel is now known as mrevell
mterryIn Ubuntu 11.04, I'm doing "cd dir; bzr init; bzr add" and nothing is getting added, no errors or anything.  How do I figure out what's going on?14:03
jelmermterry: what does "bzr st" say?14:04
mterryunknown:14:04
mterry  ubuntu-application/14:04
mterry  ubuntu-cli/14:04
mterry  ubuntupygame/14:04
mterryjelmer, ^14:04
jelmermterry: is that correct, were those the directories you wanted to add?14:13
mterryjelmer, yes.  But bzr add seems to ignore them14:14
jelmerdoes "bzr add ." give different behaviour?14:14
mterryjelmer, no.  Nor does specifying directories or files14:15
mterryjelmer, oh!!14:16
jelmermterry: that's really odd - are there any symlinks involved perhaps?14:16
mterryjelmer, the directories are also bzr repos14:16
jelmermterry: You found it ? :)14:16
jelmermterry: that would explain it14:16
mterryjelmer, I just realized14:16
* mterry wishes at least bzr add -v would have said something14:16
mterryjelmer, thanks for the help!14:16
jelmermterry: I think the idea is that they would be added as nested trees, but the support for that is half finished14:19
mterryhmm, k14:19
jelmerjam: This might be a noobish question, but is there any reason we couldn't do in-place updates of timestamps/shas in dirstate if there are no changes in the file list?15:11
jamjelmer: the original design was so that we could (which is why we take OS locks, etc). we don't because, a it wasn't implemented, b, I'm not sure if things are truly fixed width15:11
jamand c) we want to get rid of OS locks15:11
jelmerjam: ah, thanks15:12
jamjelmer: if we new it was going to be reasonably atomic, we probably could update in place, though that logic still needs to be worked out15:13
jamwell, as long as any failure mode would fail gracefully15:13
jamrewriting pages has some bad habits when things crash15:13
jamlike random NULLs, etc.15:13
jamI think our current thought is that we'd rather have a separate journal file15:14
jamalso, dirstate was written such that we could only read some of the file (it is bisectable, etc)15:14
jambut we always read and write the whole thing right now15:15
bialixjam: isn't atomic write require write to some temp file and then mv over the old?15:22
jelmerjam: ah, interesting - thanks15:24
=== nixness is now known as foocraft
bialixjam: if I want to improve auto-refresh in bzr-explorer to reflect new changes in working tree then I think I can add filesystem wathcer for dirstate file and maybe conflicts file, right?15:43
=== deryck is now known as deryck[lunch]
jelmerjam: still there?16:09
jelmerjam: I'm double checking the behaviour of text revisions. is it correct that we record a new text when:16:09
jelmer* a file's executability changes16:10
jelmer* a symlink's target changes16:10
jelmer* during a merge one of the texts of the parents is taken verbatim (no sha1/executability changes) but the text of another parent is discarded16:10
jelmerbut not when a right hand side parent introduces a new text and that text is taken verbatim16:11
=== deryck[lunch] is now known as deryck
=== beuno is now known as beuno-lunch
lallenlowecan someone tell me, in GNOME, when I go to pull new revisions of a project from launchpad and the little dialog pops up asking for my password to unlock my ssh key, what program provides that dialog? and caches the password for future pulls?17:40
mterrylallenlowe, gnome-keyring stores it17:49
mterryI believe...17:49
lallenlowemterry: yeah, that's what I thought17:49
lallenlowemterry: for some reason it is asking me for the passphrase on the cli17:50
mterrylallenlowe, hmm.  You know, for bzr, it might be ssh-agent that's doing the asking17:50
lallenlowemterry: right17:50
PengI've seen the magic GNOME thing come up when using ssh in a terminal.17:51
lallenlowePeng: I used to also17:51
mterryI don't know how it decides whether to prompt with GUI or not.  I assume if DISPLAY is valid, but not sure now who actually owns the GUI dialog17:51
lallenloweok17:52
=== beuno-lunch is now known as beuno
jamjelmer: more complex than that, I think18:26
jamit depends more on the ancestry18:27
jamfor example, one side could take an old revision, modify it, then revert it, then merge it, and we would create a new revision18:30
jameven though both sides have the same final content18:30
=== zyga is now known as zyga-afk-bbl
LeoNerdDear bzr community: is it so much to ask that "bzr: ERROR: No push location known or specified."  could in fact become "bzr: No push location known so pushing to branch"   instead?20:26
LeoNerd99.999% of the time I am pushing I am pushing to my (bound) branch. In fact I don't think in a single checkout I've ever made, do the branch/parent/push/missing locations ever differ20:27
levuhow do i push only the last commit to a new branch, not the whole history?20:30
LeoNerdpush -r   I believe20:30
levuLeoNerd: thx20:31
LeoNerdOhwait... the -last-.. er.. you can't, as such20:31
LeoNerdA commit applies a change to its parent. A commit implies the entire history that came before it20:31
levuLeoNerd: how do i push it as if i am doing the initial import?20:32
LeoNerdHrm?20:32
levuthere is lp:foo as the main branch of a software and i want to create an own branch for fixing a bug. in my branch (lp:~levu/foo) i don't want to have lp:foo be cloned20:33
levui did bzr pull lp:foo and bzr push lp:~levu/foo for that, but that's cloning the whole lp:foo into my branch20:34
lifelesslevu: what is foo20:35
lifelessI can look for you20:35
levu*bzr branch lp:foo not bzr pull lp:foo20:35
levulifeless: https://bugs.launchpad.net/ubuntu/+source/conglomerate/+bug/771735 this is the case where i done it wrong, i assume20:36
ubot5Ubuntu bug 771735 in conglomerate (Ubuntu) "xpath in properties dialog not selectable with mouse" [Undecided,New]20:36
lifelesslevu: so lp:conglomerate ?20:36
levuthe linked branch is mine and when you look at the history of the linked branch, you see the whole history of lp:ubuntu/conglomerate20:36
lifelessok, lp:ubuntu/conglomerate20:36
lifelessand you are pushing to lp:~levu/ubuntu/natty/conglomerate/branchname ?20:37
levulifeless: no, to lp:~levu/conglomerate/77173520:37
levuhttps://code.launchpad.net/~levu/conglomerate/77173520:37
levui did commit 12 im my branch and commits 1 to 11 are cloned from the official branch20:38
lifelesslevu: so, you're pushing *upstream* bbut you branched from *ubuntu*20:38
lifelesslevu: thats why this is happening.20:38
levulifeless: well, my point is, i want to create a new branch, where there's only one commit, not the whole history of commits20:39
lifelesslevu: right, try this:20:39
lifelessbzr ush lp:~levu/ubuntu/natty/conglomerate/77173520:39
lifeless*push*20:39
lifelessshold be a lot faster20:39
levulifeless: are the names important?! wow, that's interesting, i thought, i can choose the name as i want :D20:40
levuok, i'll try this, thanks :)20:40
lifelesslevu: the upstream name and the distro package name can differ20:40
lifelesslevu: so yes, they are important.20:40
levulifeless: ok, thanks :)20:40
lifelesslevu: you can choose the branchname - the last component - anyway you want20:41
levulifeless: aaah, ok20:41
lifelesslevu: the first component - your name - has to be your name or a team you are a member of20:41
lifelessthe components in between tell launchpad what project - 'foo' is upstream 'distro/series/sourcepackage' is a distro branch20:42
levuwhere in the documentation i can find such interresting things? :D20:42
lifelessbzr help lp20:43
lifelessmight have some stuff20:43
levuhere it says, ERROR: No help could be found for 'lp'.20:44
lifelessbzr help launchpad20:45
lifelesssorry ;)20:45
levulifeless: thanks a lot :)20:46
lifelessit may not be helpful - please do file a bug if thats the case20:46
levuthere is a link to http://help.launchpad.net/ which should help20:46
=== Ursinha is now known as Ursinha-afk

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