/srv/irclogs.ubuntu.com/2010/06/30/#bzr.txt

mtaylorlifeless: around?00:23
lifelessmtaylor: sure am00:27
lifelessmtaylor: what can I do for you?00:28
mtaylorlifeless: well... I'm going to get to have yet another launchpad/bzr vs. git/github discussion00:29
* mtaylor jumps up and down with excitement00:29
mtaylorlifeless: and as part of prepping for it, it has been asked about the feasibility of us keeping things in launchpad but letting the devs continue to use git/github and syncing them00:30
mtaylorlifeless: I think this is a terrible idea, mind you00:30
mtayloras the bug/blueprint/merge request integration is one of the main things we're gaining from launchpad and I believe we'd lose that that way ...00:30
mtaylorlifeless: but - I was wondering if you had any advice/pointers on where I should start looking/poking to be able to give real and specific feedback about that (would be easier if I used github for any reason I imagine)00:31
lifelessuhm00:34
lifelessis it a valid summary to say00:35
lifeless'some people want to keep working on github using git'00:35
mtayloryes00:35
lifeless'team leads want the work tracking / planning features launchpad offer'00:35
mtayloryes00:35
lifelessis there more to it than that ?00:35
mtaylornope00:35
lifelessok00:35
lifelessone way00:35
lifelesstrunk on lp00:35
lifelessfeature branchces on lp00:35
lifelessmerge proposals on lp00:36
lifelesshave your well known branches - trunk, releases - mirrored to git00:36
lifelessand hell, sourceforge and the hg site too00:36
lifelessusing bzr-* plugins and cron00:36
mtaylor(there's an hg site?)00:36
mtaylork00:36
lifelessthen say in your project docs00:36
lifeless'launchpad is official, launchpad is great. But if you have muscle memory of $other vcs, see x, y, z and you can work on that site for *code management only*'00:37
lifelessmake the $other site pages point to launchpad with ambiguity00:37
mtaylorok. that all seems sensible...00:38
lifelessand document how the dev in question can generate a branch on launchpad (again, push with the bzr-* plugin to launchpad)00:38
lifelessfor merges etc00:38
lifelessI suggest doing multiple sites because your center of gravity will be less a battle of two things and more a common-reference point - its a social angle on it00:38
mtaylorgiven the way git arranges branches - does bzr-git pushing to a branch on launchpad do what I expect?00:38
mtaylormmm. very good point00:38
lifelessmtaylor: bitbucket.org is the hg one00:39
lifelessmtaylor: now, the git folk may say 'we don't care about hg/svn we wanna bikket gnar gnar gnar'00:39
lifelessmtaylor: I would then ask - so if its not about acessability for non bzr users, what is it about ? :)00:40
mtaylorlifeless: I, in fact, assure you they will say exactly that00:40
mkanatThere's another hg one, too.00:41
=== oubiwann is now known as oubiwann-away
mtaylorjelmer: bzr: ERROR: exceptions.KeyError: 'No such TDB entry'01:24
jelmermtaylor: When?01:25
mtaylorjelmer: I was trying to bzr dpush a bzr branch to an empty git repo on github01:26
mtaylorjelmer: I'm using head of lp:dulwich and head of lp:bzr-git01:26
mtaylorjelmer: it seemed to be happening right after it finished updating the git map01:26
jelmermtaylor, does your repository perhaps contain ghosts?01:29
jelmermtaylor: it might also be a regression in the dpush code which is being refactored at the moment so we can support roundtripping. I would recommend sticking with the releases for the time being.01:30
mtaylorjelmer: ah ok01:30
mtaylorjelmer: the version in lucid broke in a different way so I just grabbed trunk01:31
mtaylorjelmer: I'll try a recent release01:31
mtaylorjelmer: well, that's certianly creating a different amount of things in the git map01:32
mtaylorjelmer: trying 0.5.101:33
jelmermtaylor, if you can still reproduce some issue with 0.5.1, please file a bug01:38
jelmerI'm off to get some sleep, back in ~7h :-)01:38
mtaylorjelmer: will do01:38
mtaylorjelmer: thanks01:38
pooliemkanat: hi, are you around?01:39
mkanatpoolie: I am!01:39
poolieare you still working on loggerhead?01:40
poolieif so, i think we should be more in touch01:40
mkanatpoolie: Yeah, I'm still doing stability stuff.01:40
mkanatpoolie: Yeah, I think that's a good idea. :-)01:40
poolieare you working with anyone else on it?01:40
mkanatpoolie: Well, I get people to review my patches now and again.01:40
mkanatpoolie: Usually Peng or mwhudson.01:41
poolieoh that's good01:41
pooliebut sometimes you just commit to trunk?01:41
mkanatpoolie: No, I don't have privs.01:41
mkanatpoolie: So all my merge proposals get reviewed.01:41
poolie(i'm not trying to give you a hard time, just to understand)01:41
poolieah ok01:41
mkanatpoolie: Which is probably good, at this point.01:41
poolieistm you probably should be a committer though?01:41
poolieeven if you still ask for reviews first01:42
mkanatpoolie: Possibly, yeah.01:42
mkanatpoolie: Sometimes it's not too clear when the proposal is "reviewed enough" to check in, though.01:42
poolieyeah01:42
pooliebut you can just say "is this reviewed enough yet?" until people give a clear answer01:43
pooliei had a couple of other ideas01:43
poolieone would be to post an occasional short note to the bzr list about what you're doing01:43
mkanatpoolie: That'd be good. I should probably subscribe to that list. :-)01:43
poolie:)01:43
poolieeven if you just skim it, it would be a good idea01:44
mkanatpoolie: FYI, right now what I'm doing is tracking down a memory leak, but meliae is breaking on my platform and jam and I haven't figured it out yet.01:44
poolieof course you don't need to recapitulate every patch but just an idea of the general area might help01:44
poolieyes he said so01:44
pooliethat might also be reasonable to post about01:44
mkanatpoolie: http://wiki.bazaar.canonical.com/BzrDevelopment mentions the word "mailing list" several times but has no link to it.01:45
pooliejam knows the most about meliae but the build problems might ring a bell for someone else01:45
poolieheh, really01:45
pooliewe can fix that01:45
pooliethat page is pretty old01:49
pooliebetter now, mkanat?01:49
pooliehow did you get to that page?01:49
mkanatpoolie: Hahaha, better!01:49
pooliewe could adjust the links to it01:49
mkanatpoolie: google "bzr developers mailing list"01:49
lifelessthumper: so this revno is wrong bug01:51
mkanatpoolie: Okay, I've subscribed to the mailing list.01:51
lifelessthumper: is it on lp-code ?01:51
pooliemkanat: so the final thing was, perhaps you should be more in touch with the LOSAs?02:09
mkanatpoolie: Yeah, that would be great.02:09
* spm waves hi to mkanat02:10
mkanatHey spm. :-)02:10
poolieyay :)02:10
mkanatpoolie: Well, I'm in touch with spm.02:10
pooliespm, mkanat is working on loggerhead02:10
mkanatpoolie: But he's not always around.02:10
poolieoh ok02:10
pooliemkanat: are you in the us? but you normally work evenings on this?02:10
mkanatpoolie: I am in the US. My schedule varies a fair amount.02:10
mkanatpoolie: I'm in California.02:10
poolieok02:11
pooliethere are a couple of people in the US02:11
pooliembarnett and . um02:11
mkanatpoolie: But I'd say generally I'm working between 9am and 11pm.02:11
spmmkanat: have you been introduced to the other losas? mthaddon, Chex and mbarnett? Chex and mbarnett are roughly in your TZ.02:11
poolieoh chex02:11
mkanatspm: I haven't, no.02:11
mkanatspm: I think what would be ideal is if you guys basically considered me the contact for loggerhead stability.02:11
poolieso i think it would be nice if there was a conversation here about02:11
pooliepain points, getting new versions rolled out02:12
pooliegetting you debug data from our deployment02:12
pooliewhat else?02:12
spmmkanat: scary: https://edge.launchpad.net/~canonical-losas/+mugshots02:12
mkanatspm: Ah ha! :-)02:12
spmpoolie: we auto rollout lp-loggerhead, as distinct from 'loggerhead' every day if a new version is available? that's been in place for some time. ??02:13
mkanatHmm, I thought I had a picture on launchpad....02:13
mkanatspm: I think at some point there's going to have to be a conversation about making a stabler branch of loggerhead that you guys can use, though.02:13
pooliemb is particularly scary02:13
spmmkanat: I can abuse my powa and give you an ... unsuitable one :-)02:14
mkanatspm: lol.02:14
mkanatspm: No, I have one, I'll go grab it and upload it.02:14
poolieit's been years since i've seen the goatse guy02:14
spm.....02:14
mkanatOh, I do have a mugshot.02:14
poolieis there any suitable list where all these people could talk?02:15
mkanatBut I can't find the URL in the Wall Of Text.02:15
pooliemaybe it's enough to just have mail to losas@ plus max and me...02:15
mkanatpoolie: I imagine we're all on the bzr list, no?02:16
spmwould we need tim involved? or is this no longer in his baliwack?02:16
pooliei don't know if the losas are02:16
spmwhat poolie said02:16
poolieprobably it is02:16
mkanatMaybe there should just be a loggerhead list.02:16
poolieit's a bit between the cracks02:16
pooliearguably lp-dev would be better02:16
spm+102:16
pooliethat's public, and fairly low traffic02:16
poolieand the losas should be subscribed02:16
poolieand i would like to see it have a bit more traffic02:17
spmmax, fwiw, lp-loggerhead is *vastly* more stable these days. the few occaisons I've been alerted in recent weeks, it's typically fixed itself before I could get much done beyond basic "is it really/still down?"02:18
pooliespm, mkanat, what do you think?02:18
mkanatspm: That's pretty good! :-)02:18
pooliei'd like to see it give a better message when it does fail02:18
mtayloranybody know - if I'm doing a bzr-git dpush --- if I abort it after updating git map during generating git objects - will it have to do the git map all over again when I restart it?02:18
mkanatpoolie: Yeah, lp-dev would work.02:18
poolieideally with an oops-like identifier that can go into a bug report02:18
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=like02:18
* poolie pets the bot02:19
spmpoolie: yah, lp-dev is fine by me02:19
pooliespm the losas do all read it?02:19
spm"no comment" ;-)02:19
spmwe are subscribed. reading implies... other things.02:19
pooliei won't even bother asking about "understand" then :)02:20
spmheh02:20
spmI'd suggest it's a case of 'keep an eye on', vs read every thread. Most discussions therein are more at the code layer and only rarely touch on operational concerns. So that would tend to define the scheduling it gets in our attention span.02:21
pooliethat's fine02:22
poolieso if the subject is clear, you'll read it02:22
pooliethat's what i though02:22
poolie*thought02:22
poolieso mkanat perhaps you would be kind enough to post a thread saying what you're up to and soliciting feedback from losas02:23
pooliehow do things get into lp-loggerhead?02:23
spmnot speaking for the others; but yes for me. Some persons who reply at top levels in a thread will also garner my attention. But that's a personal info filter.02:23
spmpoolie: thumper is probably best placed to answer that? or mwh if he's around.02:24
mkanatpoolie: Mostly by somebody asking, I think.02:24
mkanatpoolie: I think the trouble with loggerhead is that it has a great UI, but until recently it had massive, fundamental architectural problems.02:25
poolielike you, if you think you've fixed something?02:25
pooliemm02:25
mkanatpoolie: Yeah.02:25
pooliealso there is a project towards having an edge/beta loggerhead02:25
pooliei'd like to know where that's up to02:25
mkanatpoolie: Well, that's basically what you're running in production.02:25
mkanatpoolie: Which is the problem.02:25
mkanatpoolie: Or at least, one of the problems.02:26
spmproduction being edge, in this specific case? yes.02:26
pooliei mean, a place by which new code can be exposed to realistic load02:26
poolieand then something that updates more solwly02:26
mkanatspm: Well, lp-loggerhead pretty much contains loggerhead trunk.02:26
mkanatpoolie: Oh, yes.02:27
spmmkanat: kk, I'd assumed as much; but wasn't aware of the fine print - if any02:27
mkanatpoolie: That is definitely something we should have.02:27
spmpoolie: that's RT:38985 fwiw; apologies there - looks like it was languishing from not being correctly tagged (by us).02:34
poolieoh ok i was wondering about that02:35
pooliespm so you can look at that as making edge faster-moving, or lpnet slower-moving, or both02:35
poolieat any rate getting a bit away from one-size fits all02:36
pooliei guess to prioritize this it would be useful to know02:36
spmwhen in doubt, raise it with tom/francis. we do try real hard to pay attention to the priorities, so please do actively manage those :-)02:36
spmha. snap. :-)02:36
poolie- how often do rollouts cause problems?02:36
pooliedoes mkanat or anyone else wish to roll out any faster?02:36
mkanatNo, definitely not.02:36
poolieif we did roll out faster, would the feedback data get back to mkanat?02:36
poolie"definitely not" want to go faster?02:37
lifelessI'd like to be able to rollout every time that there is a fix :)02:37
mkanatpoolie: Right, definitely not want to go faster, at the moment, because it's trunk.02:37
spmI'm not aware of any cases of a rollout causing problems - having said that, I don't we actually have too many either. so... :-/02:37
mkanatlifeless: Right, but to do that, we need two branches.02:37
GradysGhostIs this a bad time/room to ask for help?  Is there a better room for that?  It appears I'm interrupting something.02:37
mkanatlifeless: We need an actually stable branch of loggerhead, preferably one with better test coverage on load issues.02:37
mtaylorlifeless: generating git objects 2867/1123002:38
mtaylorlifeless: perhaps I should have picked something other than drizzle to use as a test case :)02:38
mkanatGradysGhost: This channel is fine.02:38
spmgiven our current setup tho - if a rollout breaks; we can/do revert - I think automatically even for simple "it no responds correctly"02:38
spmGradysGhost: go for it. we can always /ignore you ;-)02:38
GradysGhostheh.  True.02:38
lifelessmkanat: seems like you are well on the way to heaven02:39
mkanatlifeless: lol02:39
GradysGhostOkay, so I'm trying to set up bzr on my server so that only myself and a friend can commit changes to the working product.  Forgive me, but this is the first time I've ever worked with any kind of revision control system, so my terminology may not be correct.02:39
mkanatGradysGhost: That's fine. :-) Is it a Unix system?02:40
mkanatOr *nix, I guess I should say.02:41
GradysGhostI've set up a Bazaar repository at /opt/bazaar/repository.  I've started bzr with `bzr serve --directory=/opt/bazaar/repository` and that appears to be working.  It is Linux Mint Helena.02:41
GradysGhostI intentionally left off the --allow-write parameter since that appears to allow global writing.02:41
GradysGhostThe process is running as root.02:41
mkanatGradysGhost: Okay. You just use basic *nix permissions to control who can write to the directory, and then you allow SSH access to your server from user accounts.02:41
GradysGhostThat's what I'm getting to.02:41
GradysGhostIt looks like everything should be in order, but it's still failing.02:42
GradysGhostSo I added a group and put my own user account into that group, then I recursively set the group ownership on the repo to that group.02:42
GradysGhostPerms are 775 on all files, including the .bzr control directory.02:43
GradysGhostSo I do this: `bzr push --create-prefix bzr_ssh://ryan@localhost/path/to/branch`02:43
GradysGhostAnd I get an error: bzr: ERROR: Permission denied: "earthcrash/client/": : [Errno 13] Permission denied: '/earthcrash'02:43
spmpoolie: as an aid to clarity. what is the .. governance (I guess) of loggerhead vs lp-loggerhead these days? aiui, lh is a stock oss project - that just happens to have large numbers of lp devs working on it, vs lp-lh which is the blessed version of same that we actually run with. ?02:43
lifelessGradysGhost: you have to yse --allow-write, or the server won't permit *any writes*02:44
GradysGhostOkay.  I'll try that.  That doesn't allow global write perms for anybody?02:44
lifelessGradysGhost: it does02:44
GradysGhostAs long as world perms lack write?02:44
lifelessGradysGhost: we recommend using the server with bzr+ssh or bzr+http if you wish to have people writing.02:44
GradysGhostI have SSH installed.  What kind of config do I need to do to make it bzr+ssh only, disallowing write access to anyone without a valid account and auth?02:45
GradysGhostSSH does work; I've been using it on this config for at least a year.02:45
GradysGhostWell, at least 6 months.02:45
lifelessGradysGhost: you are already setup then; just use bzr+ssh urls on your client machines.02:47
lifelessGradysGhost: there is no need to have a continually running server02:47
lifelessas the ssh server will start bzr when a bzr+ssh client connects.02:47
GradysGhostOkay.  I gotcha.  I was under the understanding that I still needed to have bzr running in server mode.02:47
GradysGhostThat's very cool.  I was unclear on that.02:47
GradysGhostI will try it out.  Thanks for the help, lifeless.02:47
pooliehi spiv?02:50
mkanatspm: lp-loggerhead has a bunch of modifications to loggerhead.02:59
mkanatspm: Mostly about the environment that it runs in--Paste changes, and so on.02:59
mkanatspm: It also represents the whole package that runs on launchpad, including any plugins, I believe.02:59
spmmkanat: oki. so we do very much have a separate blessed version. I guess - who is the blessor in the usual case. ?03:00
mkanatspm: It used to be mwhudson.03:00
mkanatspm: The thing is, the loggerhead that's in lp-loggerhead is pretty much stock loggerhead.03:00
mkanatspm: There are just a bunch of additional files.03:00
mkanatspm: I suppose Peng also handles lp-loggerhead.03:01
mkanatspm: It's probably a bit up in the air. Maybe thumper?03:01
mkanatAnyhow, I'm out for the night. :-)03:02
mkanatLater, folks!03:02
lifelessit might be nice to factor those differences out03:02
spmpossibly. the question has come up in similar terms regarding lp as a whole. because we're dealing with prod code, and confidentiality of protected code (etc), we need a Canonical person to give the nod that X is ok to go into prod.03:02
lifelessinto a non-merged change so just config changes03:02
lifelessthen we could more easily experiment03:02
mkanatlifeless: I agree completely.03:02
lifelessmkanat: if you have time available in the contract, that would be good to do, then.03:03
mkanatlifeless: Yeah, it's something I could talk to Francis about.03:03
thumperlifeless, mkanat: hi, what's up03:04
thumper?03:04
lifelessmkanat: please do :)03:04
mkanatthumper: Oh, nothing. Was just wondering if you were in charge of the launchpad-loggerhead branch now.03:05
lifelessthumper: just chewing over loggerhead - it came up on the bzr list03:05
thumperthe launchpad-loggerhead branch has been merged into launchpad proper03:05
mkanatpoolie, lifeless: Can you send me an email or something to remind me to do all the things we talked about just now?03:05
mkanatI'd do it myself but I have to run.03:05
lifelessthumper: nothing in particular on de agenda; see the backlog for nitty details03:05
thumperas of a few months ago03:05
mkanatthumper: Oh!03:05
mkanatSo that's done.03:05
lifelesscool03:05
lifelessthumper: you really should give Guido his time machine back.03:06
mkanatAnyhow, I do have to go.03:06
lifelessthumper: I hear he needs it to make Python3 nice.03:06
spmnight max!03:06
mkanatLater!03:06
mkanatlifeless: HAHAHAHAHAHA.03:06
lifelessmkanat: ciao03:06
thumpermkanat: ttfn03:06
mkanatLater. :-)03:06
thumperlifeless: perhaps just fixing up strings and WSGI03:06
thumperlifeless: which I hear is a bit of poo03:06
lifelessits a bit contentious03:07
lifelessemail too is in trouble03:07
thumperreally?03:07
thumperdamn03:07
lifelessthread today about a use case where its - I think - 18 times slower. Or something, I skimmed it.03:07
thumperI don't really follow py-dev03:07
thumperlifeless: about the last revision bug, I really think it is a bzr bug03:08
thumperlifeless: as it happened locally on the guys machine03:08
thumperlifeless: his local reconcile fixed it, but push --overwrite didn't update LP03:08
pooliespm: good question about governance04:10
pooliei'll be the canonical manager and mkanat is the technical lead04:10
spmahh, excellent. good to know. ta.04:10
lifelessthumper: ok let me look for a bug04:10
poolieiow if you have bugs talk to mkanat, if he doesn't answer talk to me :)04:11
spmha, kk, will do.04:11
lifelessthumper: ok, no open bugs I can see. Please change the product to bzr and gimme th enumber again.04:14
lifelessthumper: or just gimme the number and I'll do it all04:14
thumperlifeless: ok, let me look04:15
thumperhttps://bugs.launchpad.net/bugs/59949204:15
ubot5Launchpad bug 599492 in Launchpad Bazaar Integration "Incorrect links to revisions (affected: 1, heat: 6)" [Undecided,Incomplete]04:15
lifelessthumper: there are two bugs here but neither in lp-code.04:20
thumperI thought so04:20
lifelessAs for the branhc in question04:22
lifelessjust reconcile it04:22
lifelesson lp, if you could04:22
pooliespiv bug 599670 is the one i alluded to on the phone04:40
ubot5Launchpad bug 599670 in Bazaar "ValueError: absent factory in _stream_to_byte_stream during push (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/59967004:40
* spiv looks04:50
mtaylordude. this bzr-git dpush has been running for 3.5 hours04:54
lifelessmtaylor: dpush will be rebasing your local history04:55
lifelessmtaylor: you probably didn't want dpush.04:55
lifelessmtaylor: I like to think the D stands for 'do not want'04:55
mtaylorlifeless: well, it said that push wasn't supported04:56
lifelessmtaylor: ><04:56
lifelessmtaylor: I'm really serious, its going to be stripping all your local history down to zip, and rewriting it as a import from the git representation04:56
mtaylorlifeless: so I should cntrl-c this04:56
lifelessmtaylor: depends, do you value your life with other drizzle devs?04:57
mtaylorlifeless: :)04:57
lifelessI'd use bzr fast-export || git fast-import04:57
lifelessfor maintaining the git mirror04:57
mtaylorlifeless: ah.04:57
lifelessdpush is pretty bad, because you can't simultaneously do it to hg and svn04:57
lifeless(the code quality is ok, its the concept that hurts)04:58
mtaylorlifeless: ok... I guess I should learn about fast-export04:58
mtaylorlifeless: sigh05:02
mtaylorfatal: Path libmysql/libmysql.c not in branch05:03
mtaylorlifeless: why do I get the feeling this is going to be fun05:03
lifelessmtaylor: FSVO painful ?05:08
mtaylorlifeless: yup05:08
mtaylorlifeless: I'm guessing this has to do with bzr tracking renames and git not so much doing that05:09
lifelessfast-export can include renames05:09
lifelessFTW05:09
mtayloryup. so that doesn't work05:13
lifelessfile bugs05:14
lifelessand tell your git fanboy devs to suck it up ?05:14
mtaylorlifeless: should I file bugs against git or bzr?05:14
lifelessmtaylor: which process blew up05:14
mtaylorlifeless: I'm guessing git, since it's the one that crashed05:14
lifelesscheck the stream did include the file creation and rename05:15
lifelessbut yes, I suspect so05:15
mtaylorlifeless: M 644 inline libmysql/libmysql.c shows up in the stream05:18
lifelesslooks sensible to me05:19
lifelessis the fail on a rename of that?05:19
mtayloryes05:19
lifelesssounds like a boog to me05:19
mtaylorwell, it would be great if there was a report-a-bug link on the git website.05:20
mtaylorlemme go ask in #git05:20
lifeless...05:21
lifelessI need a hallway check05:22
lifelesswhat would you expect 'before:thread:foo' to resolve to ?05:22
lifeless[this is open to the floow]05:22
pooliei don't know05:23
pooliewhere would i find help about the meaning of 'before:'?05:23
lifelessbzr help revspec05:23
mtaylorlifeless: I'd expect it to resolve to the thread before foo?05:23
lifelesssorry05:23
lifelessrevisionspec05:23
pooliei thought that was it but it doesn't work05:24
mtaylorlifeless: oh - hrm05:24
lifelessmtaylor: great, thats what I was hoping someone would say.05:24
pooliei would have thought the penultimate revision in foo05:24
lifelessand thats the other answer05:24
pooliehowever saying "the thread under foo" would be useful05:24
mtaylorlifeless: before == parent of the revision - thread: is tip of a loom05:25
pooliebut i'd expect that to have a different name05:25
lifelessok05:25
lifelessthat was the tension being considered in a bug05:25
lifelessI'll go with below05:25
mtaylorlifeless: so - parent of the tip of the loom05:25
lifelessbelow:tread:foo05:25
lifelessso you can say05:25
lifelessbefore:below:thread:foo05:25
spivlifeless: +1 for below:05:28
* poolie is putting 2.1.2 into the ppa05:29
lifeless\o/05:30
poolieme too05:30
poolie:qa05:30
lifelessZZ?05:31
poolieso what's the right way to bring in upstream changes from another branch, using builddeb?05:31
pooliejust plain merge?05:31
mtaylorpoolie: that's what I do05:32
poolieah http://jameswestby.net/bzr/builddeb/user_manual/normal.html answers pretty well05:32
pooliemerge-upstream with the tarball and the upstream branch05:32
lifelessyes05:34
lifelesspoke me if it blows up - it may05:35
lifelessyou may need an import-upstream first, depending on the packaging state.05:35
lifelessI've been improving this recently.05:35
poolieis there a special Command attribute for example help?05:39
lifelessvs the main prose?05:39
poolieyes, and no, there isn't05:39
poolieonly a todo wishing for one :)05:39
lifelessNot currently, that might be nice; probably wants to be a list or dict or something.05:40
pooliespiv if you wanted you could post an rfc on how to clean up merge06:34
poolieor talk to vila perhaps06:34
pooliethe strasbourgeouis teddybeaor06:34
spmhaving a brain blank moment here. bzr push to remote server. now have a dir with .bzr in it - how do I expand that to have the various versioned files in that same dir? I thought bzr up would do that, but "bzr: ERROR: No WorkingTree exists for..." ?06:41
spivspm: 'bzr co .' in the server06:46
spmargh. thanks spiv.06:47
spivOr perhaps 'bzr co SOME-OTHER-DIR' if you'd like to keep the history and the tree-on-disk separate :)06:47
spmheh, not really. someones +junk that I've pulled locally. pushed to where it needs to be run. so... carefactor :-)06:47
spivOr perhaps just use the bzr-upload plugin in the first place.06:47
spmpish tish :-)06:48
spivHaving a working tree on a remote branch you 'bzr push' to is a bit of an attractive nuisance because the tree won't get updated automatically.06:48
spivSo it's often an sign that you want to be doing something a bit different.06:49
spmtechnically in this case? purty much. scp would have worked better. but bzr push is so *easy*.... ;-)06:49
lifelessspm: have you tried bzr upload ?07:17
lifelessspm: its the bomb07:17
spmI have not. or ... perhaps not in quite a while at any rate.07:17
vilahi all07:23
pooliehi vila07:23
vilalifeless: when a config file is saved for the first time, the config dir didn't exist so it needs to be created and the first point where this is required is when the lock is taken07:29
lifelessvila: we used to have code that did that already, but I don't see it being deleted.07:29
lifelessvila: if its not being deleted, we now have code duplication.07:29
vilaI removed some duplications laready, I may have missed some though07:30
vilalifeless:07:32
vilagrrr07:32
vilalifeless: "This seems like a case where two threads would be nice" as in loom threads ?07:32
lifelessyes07:32
vilaI was very tempted :)07:32
vilaoh, wrong _write_config_file citation, when the IniConfig class is used (no lock there) then the point where ensure_config_dir_exists is required is when we want to *create* the config file in this dir07:34
vilalifeless: this call has been added to *remove* code duplication in the various set_user_option() calls07:35
lifelessvila: I'm concerned that this will make bzr worse than it was about creating/checking dirs.07:36
vilalifeless: no worse than before since these calls were already there07:36
lifelessok07:37
pooliewhich "this" makes it worse?07:41
vilaensure_config_dir_exists()07:41
vilalifeless: "Also see my ordering suggestion " the threads ?07:48
vilalifeless: "may help you not to need this at all", what is 'this' ?07:48
lifelessordering of break lock checks07:54
lifelessthis is your exception07:54
lifelessthe subject of the paragraph07:54
vilaI can't break a lock if there is no lock dir07:55
lifelessyes07:56
lifelessI get that; I feel like you haven't really thought about the suggestions I've made. I'm sure thats just me though.07:56
lifelessWhat can I do to help you understand my suggestions?07:56
vilalifeless: hmm, tweak my code and run the tests ? -s bt.test_config -s bzrlib.tests.blackbox.test_version.TestVersionUnicodeOutput.test_unicode_bzr_home  -s bb.test_break_lock.TestConfigBreakLock are the ones I have in my history and should cover most of the edge cases I encountered08:03
vilaa point easy to miss is that the config dir doesn't exist in *many* cases (especially during the tests) and we have a surprising number of cases where we read or set one variable08:04
vilaI certainly need to better explain why and how I fixed the bug (I completely forgot to post the COVER file I had prepared...)08:06
pooliebzr 2.1.2 for dapper just sent to the ppa08:08
pooliei think08:08
lifelesspoolie: Cool08:11
pooliei think08:11
pooliethere's a few minutes lag08:11
poolieit's always a bit "did that happen or not?"08:11
lifelessvila: I trust that the code and tests work. I'm talking about the design and structure of the patch, not the red/green tests passing component.08:11
lifelessvila: meet me halfway :)08:11
lifelessvila: As far as I can tell you've made 'bzr break-lock (remote url) much slower.08:13
vilalifeless: As always, you know I'd love to do that, show me where ! :) I'm adding docstrings and a better cover letter, let's talk about the result or give me more precise indications08:13
lifelessvila: Tell me more about the bits of the review that confuse you08:13
vilamuch ? config files are always local (well the ones we're talking about here)08:13
lifelessvila: but your code *looks* for the config file first.08:14
lifelessvila: rather than looking for the bzrdir first.08:14
lifelessvila: unless I misunderstand it, which is possible.08:14
vilaif I look at the bzrdir first I can't say if it succeeded or failed and whether I should try the config ones08:14
lifelessvila: then lets solve the UI problem differently.08:14
vilahehe, I punted on that after trying :)08:15
lifelessHow about '--config' as an option to break-lock08:15
lifelessbzr break-lock --config08:15
lifelesswhich will DTRT on windows, doesn't need people to know where the config is.08:15
vilaif that's the only remaining point of disagreement I can see why :)08:15
lifelessvila: I don't recall the full review offhand.08:16
vilait won't address the 'bzr break-lock' just do the right thing, thanks, I hate copy/pasting :)08:16
lifelessvila: but if you think that with that you can complete the review changes easily, why thats great.08:16
vilaI *can* go further and change the way break_lock works for all cases but that's definitely more work that I thought was necessary08:17
lifelessvila: I don't think that 'bzr break-lock' needs to be magic: its a recovery tool used when things are interrupted by flaky networks or crashes.08:17
lifelessvila: I think a simple if config: config-path else: bzrdir-path will be easy, give a nice UI.08:17
vilawell, it *is* magic today, *I* *never* specify location (nor had to)08:17
lifelessvila: most users have to most of the time they use it.08:18
lifelessIME08:18
lifelessI know this because we give out the wrong URL for lp branches today and they turn up here a lot :)08:18
vilagood enough then, the bug is pretty hard to encounter I think so recovering from it will remain exceptional08:18
vilabut that's exactly where using 'bzr break-lock' without arguments *does* the Right Thing ;)08:19
lifelessvila: I'm really not convinced by this08:20
vilaand even when you give a location, there are a lot of magic (checkout, master branch, branch and repo from wt, you name it)08:20
lifelessvila: Here is what I see:08:20
lifeless - you have an ambiguous exception (type doesn't match what the caller cares about all that well)08:20
vilatrue08:21
vilait's tailored for the specific need08:21
vilathat's not ideal08:21
lifeless - you add a VFS probe that isn't needed when the URL is a remote URL, and we want to *remove* those across the code base, VFS is deprecated.08:21
lifeless - Users are already following documentation to get to this command, so there is no particular need to have it be magic08:21
lifeless - Its possible for the magic to be very wrong. What if they have ~/.bazaar/ under bzr controll ?08:22
vilameh for last point, --config is ok for the previous ones08:22
lifelessvila: I don't know what you mean by that sentence.08:23
vilawhat's the problem with having .bazaar versioned ?08:23
lifelessbzr init ~/.bazaar08:23
lifelessbzr commit ~/.bazaar -m "This cannot be break-locked"08:23
vilalifeless: I think --config being required to break config locks is a good solution that addresses the points (minus the last one I don't understand)08:23
lifelessvila: ok, thank you. I thought you were still arguing for magic.08:24
vilano no08:24
vilaI *tried* to respect the magic, if I don't have to... I won't :)08:24
vilabut I still don't get why you can't break lock in ~/.bazaar if it's versioned ? Are you arguing that people will version control the lock files ?08:25
vilahuh ? Did anybody knows what the 'show' parameter to cmd_break_lock.run() has been supposed to mean ? It's not used...08:28
vilashow == dry-run ?08:29
lifelessvila: it shows whether there is a held lock, or used to.08:32
lifelessvila: say ~/.bazaar is versioned08:32
lifelessvila: and magic is present08:32
lifelessvila: now, say that the machine crashes while the working tree's lock is held.08:32
vilait won't break the wt lock08:33
lifelessvila: and to make it really obvious, say that the config dir lock is also held - e.g. bzr-svn had kicked in and was updating stuff.08:33
lifelessvila: right.08:33
vilalifeless: nice catch08:33
lifelessvila: and there wouldn't be any way to make it break it either.08:33
* lifeless takes a bow08:33
lifelesswhen designing magic08:33
lifelessthink *really really* paranoid.08:33
vilathere is a way: run break-lock twoce, hard to discover though08:33
vilatwice08:33
lifelessI'm not sure that would work, would it ?08:35
lifelessbecause it would find the config lock that isn't held, and stop08:35
vilaeeerk08:36
vilaerr, no, there are tests covering that08:36
viladamn, the tests are wrong08:36
lifelessvila: anyway, --config avoids this, and is simpler to talk about I think.08:37
vila+800008:37
lifelessso lets do that, and you can buy me a beer for finding your bug, at the epic :)08:37
vilahehe08:37
poolieValue "bzr+ssh://bazaar.launchpad.net/~bzr/bzr/packaging-dapper/" is masked by "lp:~mbp/bzr/packaging-dapper" from locations.conf08:46
pooliewere we going to change that?08:46
lifelessyes08:46
lifelessI hate that.08:46
lifelessI was going to do a spike, I ran out of tuits.08:46
lifelessbbiab, food n stuff time.08:57
poolieGaryvdM: hi there09:03
poolieGaryvdM: we do have a vm with the developer tools09:03
poolieit's on ec2 and currently shut down09:03
pooliei can start it back up for you09:03
poolievila, did we once have a copy of configobj and then later remove it?09:16
poolieit seems like that breaks dapper support09:16
vilapoolie: this doesn't ring a bell, we updated it several times but I don't remember *replacing* it (aka changing the file-id)09:22
vilaIMBW09:22
pooliei think it was deleted in the packaging branch09:22
poolieincorrectly, if you want the branch to work on dapper09:22
GaryvdMHi poolie.09:26
GaryvdMI can't do it now. I can do it this evening.09:26
jelmerpoolie: I removed it in the Debian packaging09:28
GaryvdMAnd I merge the debian branch into all the packing-* branches. Opps09:29
GaryvdM*merged09:29
CaMasonI've done a `bzr pull --overwrite` and there are text conflicts. How can I ask bazaar to just overwrite those conflicts with the versions in the repo?09:34
GaryvdMpoolie: I'll ask jam for access this evening.09:34
lathiatCaMason: bzr revert <file>09:38
vilaCaMason: resolve --take-other should address that but if you encounter conflicts here it means you have uncommitted changes in which case you ought to check that you really want to get rid of them, so 'bzr revert' may be better suited09:39
CaMasonI effectively want to switch to a different branch, losing all changes / commits / working tree changes09:39
vilabzr revert then09:39
spivI suppose there could be an argument for adding a 'bzr switch --revert' flag for that use-case.09:43
lifeless?09:43
spivlifeless: <CaMason> I effectively want to switch to a different branch, losing all changes / commits / working tree changes09:44
lifelessrelated to 'I want to shelve them all'09:44
spivlifeless: (they did a pull --overwrite, and got conflicts.)09:44
lifelessI think I'd like it if we added a shelve, and that gets close while covering more use cases09:44
spivPerhaps, this was just a quick idea before I disappear for dinner etc :)09:45
* spiv -> dinner etc09:45
lifelesssure09:45
lifelesssame09:45
lifelesswell, have eaten, I mean it was also a quick idea09:46
CaMasonback09:54
CaMasonok, so it's just a case of bzr revert, and deleting some of the *.moved files?09:54
CaMasonI know this is a broken workflow... it's a messy environment I've been having to work with09:56
lifelessbzr revert09:56
lifelessbzr resolve --take-other09:56
lifelessor so09:56
CaMasonI do believe `bzr resolve --take-other` said that the argument didn't exist. Sec..09:56
CaMason"ERROR: no such option: --take-other"09:57
lifelessah thats in a newer bzr09:57
lifelessso:09:57
lifelessbzr resolve09:57
lifelessremove any .moved files09:57
lifelesssorry09:57
lifelessrevert09:57
lifelessthen remove .moved files09:57
lifelessthen resolve --all09:57
CaMasonok thank yoyu10:00
=== oubiwann-away is now known as oubiwann
parthmi am trying to use assertRaises in a really simple test case. but it seems the the exception is not being handled by assertRaises. Am i doing something wrong? http://pastebin.com/aATNseAC14:19
lifelessI haven't looked at the pastebin14:19
lifelessbut the usual gotcha14:19
lifelessis that you are calling your function14:20
lifelesswhich means that assertRaises hasn't actually started running yet14:20
parthmno. i checked that "self.assertRaises(errors.InvalidPattern, p.match, 'foo')"14:20
lifelessyou have to use assertRaises like addCleanup - you give it something to call.14:20
lifelessok14:20
lifelesshmm, I will look - sec14:20
lifelesssee how it is in __getattr__14:21
lifelessits the lazy thing tripping you up14:21
lifelessdefine a lambda14:21
lifelessassertRaises(InvalidPattern, lambda:p.match('foo'))14:21
lifelessyou'll want a comment noting why this is needed.14:21
parthmyup. that worked. thanks :) ... i will add the comment.14:22
=== nlisgo_ is now known as nlisgo
mkanatthumper: So, are you managing loggerhead development now?14:50
mkanatjam: ping14:57
jammorning mkanat, haven't seen you around this early before :)14:59
mkanatjam: Yeah, I'm up early. :-)14:59
jamGaryvdM: are you around?14:59
jammkanat: what TZ are you in?14:59
mkanatjam: America/Los_Angeles14:59
mkanatjam: Do you have a few moments to help me figure out what's up with meliae on my system?15:00
GaryvdMHi jam15:01
jamyeah, it will be maybe 10 min, but then I'll be able to work with both of you :)15:01
GaryvdMjam: I'm done at work to :-)15:01
mkanatjam: Okay. :-)15:01
GaryvdMCool15:02
jamhi mkanat15:34
mkanatHey jam. Good timing. :-)15:34
jammkanat: so, first off, grab my meliae branch at lp:///~jameinel/meliae/skip_static_type_traverse_bug_58612215:35
jamwhich I think you have15:35
jambut I wanted to make sure15:35
mkanatjam: Yeah, I do have it.15:35
mkanatTree is up to date at revision 143 of branch bzr+ssh://bazaar.launchpad.net/~jameinel/meliae/skip_static_type_traverse_bug_58612215:36
jamk, run python setup.py build_ext -i && python run_tests.py15:36
jamand see if it builds and then runs the tests successfully15:36
mkanatAh, I get a bunch of test failures.15:37
mkanatI'll pastebin them.15:37
mkanatLet me start with a fresh checkout first, though.15:38
mkanatjam: http://pastie.org/102510915:42
jamso to start with the 'get_memory' not implemented is something I should probably implement, but shouldn't be an issue here.15:44
jamThe bigger one is the 'intset' failures15:44
jam    self.assertEqual(10000, len(iset)) AssertionError: 10000 != 25915:44
jamsays that I added 10k items, but now we are only seeing 259 in the set15:45
mkanatjam: If you need it, I can get you a shell on my machine.15:45
jammkanat: I might, this is probably specific to 64-bit or something15:46
mkanatThat seems likely. Or having something to do with my compiler flags.15:47
mkanat(Which are just the default compiler flags that Python is built with on Fedora, FWIW.)15:47
mkanatjam: If you need it, just email me your ssh key and whatever username you want.15:47
jamwell it is IDSet that is failing, which is especially suspect since you're on 64-bit15:47
* mkanat nods.15:48
jammkanat: sent15:52
GaryvdMjam: I'm reading docs atm.16:03
jammkanat: any ideas why "long myint; myint = 0x08; myint <<= 60, wouldn't end up with 0x8000000000000000" ? would it be a signed issue?16:34
mkanatjam: I really haven't done much C development in years, so it's hard to say.16:35
jammkanat: it was my formatting.16:37
mkanatjam: Ah, okay.16:37
jamI was printing using %x but needed %lx16:37
mkanatAh, okay. That's surprising, I'd expect that to Just Work on 64-bit architectures.16:38
maxb%x is specified as taking an int quantity16:43
maxbcommon 64-bit architectures are LP64, i.e. ints are still 32 bits16:44
jamyeha16:48
jamyeah16:48
mkanatYeah. Further proof that C is not really a high-level language.16:53
* mkanat shrugs.16:53
jammkanat: so no luck tracking it down yet, but still working on it, had some dead ends because of stuff like that17:08
mkanatjam: Okay.17:08
=== deryck is now known as deryck[lunch]
=== Adys_ is now known as Adys
PhoenixzQuestion.. Someone really borked up a merge, committed those changes, made a push to a centralized repo, we did a pull from there.. Now we have quite a mess.. Can I somehow undo this commit he made and have it undone in all repositories?17:47
PhoenixzI tried uncommit in my local repo, but when I do a pull from the central repo, I get that very same revision back again..17:47
GaryvdMPhoenixz: You can do either:17:48
GaryvdMbzr push --overwrite, but then everyone else needs to do bzr pull --overwrite17:49
GaryvdMor17:49
GaryvdMbzr revert -r -2 && bzr commit "Revert stuff up..."17:49
GaryvdMand push17:49
PhoenixzGaryvdM: ah, a brz revert -r will revert a specific commit, and then store those changes so with a pull / push everyone will recieve that revert?17:50
GaryvdMThe second option will show in the history.17:50
GaryvdMPhoenixz: Yes , after you do a commit17:50
PhoenixzGaryvdM: excelent. Thanks!17:51
GaryvdMPhoenixz: Hmm - maybe that is not the best option17:52
PhoenixzGaryvdM: what would be better?17:52
PhoenixzGaryvdM: Im also considdering the push --overwrite.. that way, there is no garbage in the history..17:53
GaryvdMPhoenixz: because then bzr will think that the branch he was trying to merge, is succussfully merged, which it is not.17:53
GaryvdMPhoenixz: If you do uncommit & push --overwrite then it will not think that it is merged17:54
Phoenixzok17:54
GaryvdMPhoenixz: just make sure to tell everyone that is gonig to pull about this.17:54
PhoenixzGaryvdM: that won't be a problem, I'll go for the uncommit and push --overwrite17:58
GaryvdMOk17:58
=== deryck[lunch] is now known as deryck
mkanatSo, the best migrator for CVS right now is cscvs, yes?18:39
mkanatI guess I should be asking jml or mwhudson, per the "top contributors"?18:40
jamI would actually say cvs2svn (which has cvs2bzr in the suite)19:07
jammkanat: ^^19:08
jamIt is what I've been using19:08
jamcscvs is probably the most robust in some senses, but requires much more effort to get working19:08
mkanatOkay. Yeah, we just need to migrate a single branch, once.19:08
chaosaddictwhen importing into bazaar, has anyone else run into problems with latin-1 encoded filenames or files?19:13
SpamapSso I want to use bzr-builder with a tarball from an upstream, do I have to first import the tarball into a bzr branch, then run my recipe?19:17
james_whi SpamapS19:26
james_wSpamapS: you would, yes, but bzr-builder isn't going to be particularly interesting with a single upstream tarball. What is it you wish to accomplish?19:26
SpamapSjames_w: just wanted to maintain the packaging in my own branch without all the upstream source19:29
james_wSpamapS: well, you're wrong, but even so, that is supported in bzr-builddeb, see "merge mode" :-)19:30
SpamapSwrong?19:30
SpamapSor misguided?19:30
james_whttp://jameswestby.net/bzr/builddeb/user_manual/merge.html19:31
SpamapSI don't think I actually suggested any sort of solution, just a desire.. so not sure how I can be wrong.19:31
james_wSpamapS: yeah, sorry, misguided19:31
SpamapSWell enlighten me19:32
james_wSpamapS: I was only trying to be funny though, it's perfectly supported, just not my choice19:32
SpamapSI'm totally new and have no preconceptions about large scale package maintenance, so now is the time to set me in the right direction.19:32
james_wI just think it is more useful to have all the code to hand, and to be able to track their co-evolution, which helps as things start to get trickier.19:33
SpamapSyeah I'm seeing that actually19:34
SpamapSits actually quite annoying having the packaging in its own branch19:34
james_wI agree that it's not so nice having the extra data carried around that is in some ways redundant, and for simple things having a more focused view of just the packaging can be useful19:34
SpamapSbut I got the idea that people were doing that on a regular basis19:34
james_wyeah, if you are upstream then you can ship the packaging in your branch, but even then people will still tend to want to modify it, as packaging that works across all releases of all (.deb-based) distributions is going to be rare.19:35
SpamapSvendors have been doing that for .spec files for a long time19:36
mtaylorSpamapS: I was just telling you yesterday about keeping the branch and packaging in the same branch...19:46
mtaylorSpamapS: you may find http://rbtcollins.wordpress.com/2009/12/19/debianising-with-bzr-builddeb/ interesting19:48
mtaylorSpamapS: that's the process I use19:48
SpamapSmtaylor: right I still hadn't chewed through that process yet19:49
SpamapSno better time than now I guess19:49
mtaylorSpamapS: I promise - once you do, you'll like it19:49
mneptokmtaylor sounds like a drug dealer.19:51
mtaylormneptok: I _am_ a drug dealer19:51
mtaylormneptok: but sssssh19:51
mneptok"Try it ince, you'll love it. Your first taste is free."19:51
mneptok*once19:51
SpamapSmtaylor: so I never bzr add debian, right?19:52
mtaylorSpamapS: nope. doing the import-dsc step will do that for you19:52
mtaylorSpamapS: also, be sure to look at the bzr mark-uploaded command once you upload packages to the repo19:53
mtaylorSpamapS: that way you can get the fine folks over in #launchpad to make the UDD listings for your package actually use your packaging branch19:53
SpamapSweird19:54
SpamapSso I bzr added debian so I could use bzr-buildpackage .. and then it won't let me bzr revert debian19:54
SpamapSoh wait no, it just won't delete it19:55
SpamapSsilly build artifacts19:55
mtaylorSpamapS: oh - also, this is going to be weird with gearman-interface since the upstream tarball doesn't match the upstream bzr...19:55
mtaylorSpamapS: I should perhaps come up with a better plan for how gearman-interface source works...19:56
ssylvanDoes bzr have a way to create a local branch in the same working tree (to avoid having to re-configure apps that make assumptions about paths etc.)?19:57
SpamapSmtaylor: I think it works ok19:58
mtaylorssylvan: yes, but it's not particularly easy or exposed in the UI directly quite yet  ... co-located branches is the thing you're wanting here19:58
SpamapSmtaylor: I'm settled on producing source packages for each language rather than trying to let the main one build them all19:59
ssylvanmtaylor: thanks19:59
SpamapSmtaylor: the complexity of the latter overrides its pure-correctness19:59
mtaylorssylvan: although I'd love to be an asshole for a moment and suggest that any app that makes assumptions about paths is broken in some way ;)19:59
mtaylorSpamapS: indeed... I'm just saying that robert's process I pasted in above assumes that the tarball is some reflection of the branch19:59
mtaylorssylvan: the write up on the work to implement it is at http://doc.bazaar.canonical.com/developers/colocated-branches.html20:00
ssylvanmtaylor: Well every IDE I've used will make assumptions about where to find various libraries, headers etc. It'll be based on environment variables, sure, but I'd rather not have to update all of them just to work on some separate feature in its own branch real quick...20:01
mtaylorssylvan: indeed.20:02
mtaylorssylvan: it's a flaw/bug in every IDE - but it is the case :)20:02
mtaylorssylvan: ah - this might be helpful at the moment:20:02
mtaylorhttp://doc.bazaar.canonical.com/plugins/en/colo-plugin.html20:02
mtaylorssylvan: I have not used it myself, so I can't vouch for it20:02
SpamapSmtaylor: ah .. true.. but I think it will be "ok" in this case, because I imported your pypi tarball20:03
SpamapSugh and now i just realized I pushed to ~me/gearman-interface instead of ~me/+junk ..20:03
mtaylorSpamapS: right - but that's what I was saying, robert's workflow starts with a branch of upstream and imports the tarball on top of it (which means you can pull in changes from upstream really easily)20:04
mtaylorSpamapS: but, of course, the way you are doing it will totally work20:05
SpamapSmtaylor: yeah ... and I'm done maintaining packaging separate from upstream. all the debian tools want to work on ./debian not ./20:05
SpamapSyay! "Start in 4 hours" ... yesterday it was 2320:06
ssylvanmtaylor: well, not sure it's a flaw. It needs to know where to find stuff somehow, and not everything can be kept in the same repository, so relative paths are out.20:07
andresjHello, I want to use the push-and-update plugin on a project, but I don't want it to interfere with other projects. Is there a way I can install it somewhere else from ~/.bazaar, or to enable it on a per-repository basis?20:07
mtaylorssylvan: I strongly dislike that IDEs often skip the configure step in favor of 700 configuratoin dialogs, which leads to exactly your problem. if IDEs had better integration with existing build system instead of inventing their own, it wouldn't be nearly as much of an issue20:10
ssylvanThe build system still needs to know where to find each component, and if working on a feature for one of those components changes the path then I can't quickly switch without having to somehow reconfigure the build settings which is annoying.20:11
mtaylorssylvan: I'm a bit of a snob for build systems that know how to discover dependencies and do not require a dev to spend time setting up a tree to be sueful20:11
mtaylorssylvan: right. but that's why I'm saying it's a flaw in the IDE design. I do not have this problem in any of the build systems for any of the projects I work on... it is a totally solvable problem, it's just that the IDE designers choose to not care about it enough to fix it20:12
mtaylorssylvan: it's certainly not the fault of the users of the IDE20:13
mtaylorand with that off-topic rant (apologies) ... I will now go get lunch. :)20:14
ssylvanssylvan: I don't think it's a flaw at all. When the compiler needs to find a header or the linker needs to find a lib it NEEDS to know where those are located, regardless of IDE. So the build system will have a depedecy on a path, or an environment variable. If I do a quick branch for a small feature, changing the path, I don't want to have to modify the build configuration... I *could* but it's just unecessary hassle which just leads to me not 20:15
ssylvanthat was for mtaylor, not myself obviously20:16
ssylvanAnyway, the solution is to be able to easily create quick local branches that are located on the same path and you can switch between them quickly. That way any config files relying on that path will not need to be updated.20:17
mtaylorssylvan: totally... that is certain a solution ... but another solution is just running ./configure in the new branch - I think your solution of co-located branches is an important one to have...20:18
mtaylorssylvan: I just think that it is _also_ a deficiency in many IDEs that I cannot choose to take the other solution20:18
ssylvanmtaylor: You'd still need to modify the configure script to tell it that you want branch B not A. Also, the problem is that ./configure may not be quite as fast as you'd hope... We have dozens and dozens of complicated dependencies and external applications and even though it really is automatic to switch my path around (I just need to change one file) it takes a long time to go through and verify all of that..20:20
GaryvdMjelmer: I'm tryng to build windows installers. The build script is trying to download http://subversion.tigris.org/files/documents/15/46880/svn-win32-1.6.6.zip , which no longer exists. I am struggling to fine alternatives. Could you give me any pointers on where to look?20:46
GaryvdM*find20:47
jamGaryvdM: well, after some chasing I did find: http://www.collab.net/downloads/subversion/21:51
jambut those look like runtime and not developer stuff21:51
jamGaryvdM: and I just followed your link, and it gave me a download21:52
jamlooking here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=11129&expandFolder=11129&folderID=021:54
jam1.6.6 is the latest uplead21:54
jamupload21:54
jamalthough subversion.apache.org says there is a 1.6.1221:54
GaryvdMThats odd I could not access it just now...22:01
GaryvdMjam: they were maybe doing maintenance..22:02
GaryvdMjam: we may need to look a building the latest in the future.22:03
jamGaryvdM: I'd *really* like to avoid setting up a subversion build stack if we can avoid it22:10
jamsomehow saying: "if you want to build the windows installers, first set up a subversion development environment" really doesn't sound right22:11
GaryvdMYes22:11
GaryvdMjam: http://pastebin.org/368612 - It seem that the server requires cookies.22:18
jamI thought we had something a while back about passing the username + password (for anonymous access) in the url22:19
GaryvdMIf I clear my cookies, and got to http://www.tigris.org/files/documents/15/46880/svn-win32-1.6.6.zip, I get redirected to http://subversion.tigris.org/servlets/ProjectDocumentDownload?documentID=46880, and then back to ttp://www.tigris.org/files/documents/15/46880/svn-win32-1.6.6.zip, which does not happen if I don't clear my cookies.22:20
jamFor example: http://guest:password@tortoisesvn.tigris.org/svn/...22:20
jamhmmm22:21
jamI really don't know hexagonit well. Perhaps sidnei (da silva) will show up sometime and we can ask him22:21
awilkinsjam: Shouldn't you just be able to use the older windows dev pack for builds and bundle the latest libs? The API won't have changed?22:22
jamhe was the one who did a lot of the work22:22
jamawilkins: well, who has the latest libs ? Extract it from the installers?22:22
jam(this is supposed to be a mostly-automatic build process)22:22
awilkinsHumph22:22
jamawilkins: http://subversion.apache.org/packages.html#windows talks about full builds and links to http://www.collab.net/downloads/subversion/22:23
awilkinsThey had bundles which were just archives the last I looked but reading up you may be having trouble auto-downloading them22:23
jamthat has source code and executables22:23
jambut I don't see any developer builds22:23
jamand now requires a login to proceed22:24
awilkinsDarn, used to know where they were when they were on tigris.org22:24
GaryvdMjam: Right now I don't have a good answer, so I think I should carry on without bzr-svn, and come back to it later22:24
jamawilkins: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=11129&expandFolder=11129&folderID=1112922:24
jamwhich is where we are getting them from22:24
jamwhich only has 1.6.622:24
jamand is causing problems for us to automate the download22:24
jamseems to work fine in a browser22:24
jambut not in hexagonit (buildout)22:24
jamGaryvdM: sure, though we would be a bit hard pressed to have an official build without them22:25
awilkinsjam: wget seems to grab them OK22:25
jamI think one option is to download them manually into build-win32/downloads22:25
lifelesscache it on lp?22:26
* jelmer waves22:26
jamawilkins: I think wget saves cookies, and python's httplib does not22:26
GaryvdMjam: sure22:26
GaryvdMHi lifeless, jelmer22:26
jelmerGaryvdM: you're having trouble getting a particular feature of bzr-svn to work?22:26
GaryvdMjelmer: I'm trying to build windows installers22:27
jelmerGaryvdM, ahh22:27
jamlifeless: lp:python-six22:29
lifelessyah22:29
lifelessthanks for that ref22:29
jamjelmer: I'd like to do a new release of meliae, I don't quite remember what the process was last time22:30
lifelessI think we rather drained the topic dry for now at least though22:30
jamsure22:30
jamI sent it mostly for you22:30
jamsince you were poking at py322:30
lifelessthank you :)22:31
jelmerjam: When you've got a tarball out let me know and I'll upload to Debian/Ubuntu.22:31
GaryvdMjam: I'm getting this error: http://pastebin.org/36863922:40
GaryvdMjam: I think we just need to install sphinx-builld22:40
GaryvdMeasy_install -U Sphinx22:40
jamGaryvdM: 1.0b2 installed22:43
GaryvdMjam: thanks22:43
jelmerjml: hi22:57
mkanatI'm guessing that bzr-fastimport trunk is stable enough for use?23:02
jelmermkanat, yeah, I think so23:04
mkanatOkay.23:04
jamjelmer: https://edge.launchpad.net/meliae/0.2/0.2.1rc123:14
jam0.2.1rc1 tarball has been uploaded23:14
jelmer\o/23:15
jmljelmer, hello23:23
jelmerjml: You had a nice introduction to getting started with the launchpad API somewhere, is available somewhere publicly?23:26
jmljelmer, yeah, it's on my blog23:30
jmljelmer, http://code.mumak.net/2010/03/launchpadlib-gotchas.html is the final part and links back to the first two parts23:31
jelmerjml: Thanks!23:33
pooliehi all23:35
pooliehi jelmer, garyvdm23:35
pooliemkanat, jam23:35
mkanatHey poolie. :-)23:35
jelmerg'morning poolie23:35
GaryvdMHi poolie23:35
pooliehappy new australian financial year :)23:35
GaryvdMjam: I'm going home now. Should I shutdown?23:46
poolieGaryvdM: oh did john start up the ec2 vm for you?23:46
GaryvdMpoolie: Yes - and I've been working on building the installer23:47
GaryvdMUsing igc's scripts23:47
GaryvdMjam: I've keep notes an pushed changes to lp, so it's ok if d is trashed.23:50
poolieway to go23:50
GaryvdMNight all23:50

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