/srv/irclogs.ubuntu.com/2012/09/03/#bzr.txt

=== yofel_ is now known as yofel
=== bigjools-afk is now known as bigjools
=== Peng_ is now known as Peng
mgzmorning08:10
xnoxbzr-cia is broken due to hostname changes. Please review & merge https://code.launchpad.net/~xnox/bzr-cia/fix-hostname/+merge/12249010:56
jelmerxnox: Thanks, looks good10:56
xnoxjelmer: thanks. Kind-of broke the work flow used by #ubuntu-installer devs10:58
jelmerxnox: Merged now; I'll also update cia-clients11:00
xnoxcool! =) thanks11:00
jelmerWe should probably file a RC bug about this.11:00
kinkieHi all, a question: I need to merge a branch which is stored in a format 2a repo into one which is in format pack-0.92. direct merge will not work, nor will going through a bundle. Is there any way to do it without losing the merged branch history?11:24
kinkiethanks11:24
jelmerhi kinkie11:25
jelmerkinkie: how are things?11:25
kinkieHi jelmer11:25
jelmerkinkie: there is no easy way to do that. Why do you still have a branch in 0.92 format?11:25
kinkiejelmer: doing fine.. doing some endless refactoring on squid.11:25
kinkieSome squid developers are running old platforms and are not happy about being forced to upgrade to newer versions of bzr :\11:26
kinkieapart from that, I'm running marathons - it's fun and relaxing, but it  takes lots of time :)11:27
kinkieback to the merge: you said that there is no easy way. What is the hard way? :)11:28
jelmerkinkie: even to bzr 1.16, which was released in June 2009?11:29
kinkieGuess so.   I hope I'll manage to convince them sooner than later.11:29
jelmerkinkie: The hard way is to replay the entire branch in the 0.92 format somehow11:30
jelmerwith new revision ids11:31
kinkiebzr diff -c <revid>,  bzr commit -m "message"?11:31
kinkieforeach revid to be merged?11:31
jelmerkinkie, yes, roughly11:32
kinkiesigh.. there's 100 of them :\11:32
kinkieokay11:32
kinkiethanks11:32
jelmerkinkie: the rich root migration was a bit of a mess :-(11:32
kinkieHeh. I am sure that if it was a mess, it's because there was no other way11:33
jelmerkinkie: yup; doesn't make it less of a pain though..11:33
mgzcan't you fast import to older formats?11:34
mgzmanually scripting the replay seems painful and error prone11:35
jelmermgz: ah, that's a good point11:35
jelmerkinkie, that's worth a shot too11:36
kinkieSounds interesting. Is there a recipe?11:36
kinkieI'm branching the fastimport plugin now.11:36
jodhI'm having trouble getting a packaging recipe to work (http://paste.ubuntu.com/1183378/). The 'nest-part' seems to work, but when I attempt to build using pbuilder, no build actually happens and I end up with a .deb containing only config files. Anyone have any ideas?11:41
jelmerhi jodh11:43
jelmerjodh: Does the source package that result from the recipe look okay?11:43
kinkiehm..:11:44
kinkiekinkie@metro:~/squid/workspace/sourceformat$ bzr fast-export11:44
kinkiebzr: ERROR: Unable to import library "fastimport": bzr-fastimport requires the fastimport python module11:44
kinkiekinkie@metro:~/squid/workspace/sourceformat$ bzr fast-import11:44
kinkiebzr: ERROR: command 'fast-import' requires argument SOURCE11:44
kinkieyet the fastimport python module has installed without errors11:44
jelmerkinkie, note that the fastimport python module is different from the fastimport plugin11:44
mgzthat looks fine to me, the second one11:45
mgzyou want `bzr help fast-import` maybe?11:46
kinkieisn't it distributed with the fastimport plugin itself?11:46
kinkieok: lp:python-fastimport, right?11:47
mgzit's a dependency, but if you're branching from source, you're expected to be the kind of person who reads INSTALL11:48
mgzor at least after realising it doesn't work, reads it :)11:48
kinkieheh. Took me a short while ;)11:48
kinkiedone and installed11:48
kinkieso the suggestion is fast-export then fast-import to convert the 2a branch to pack and then merge?11:49
jelmerkinkie, yep11:50
kinkieor can I fast-export the bundle directly? It'd just work ont he merge directive, right?11:50
jelmerkinkie: I'm pretty sure that wouldn't work11:50
mgzit probably expects a branch, but you can convert a bundle to a branch reasonably simply11:50
kinkienah, I'll just go the branch way11:51
kinkieI'll be damned, it IS fast - 3k commits/minute11:52
kinkieneat11:52
sil2100Hello uys12:04
* sil2100 has keyboard problems12:04
mgzdo we need to think of words with lots of gs in to try to get you to type?12:05
jodhjelmer: thanks for the pointer. I don't understand why yet, but the usual ubuntu packaging seems to automagically add a couple of gobs of black magic to the packaging. And that doesn't seem to happen in the recipe scenario. However, I now have a lead to follow...12:05
jelmerkinkie: you shouldn't export the entire branch, just the new revisions - otherwise you'll have trouble merging later12:05
jelmerjodh: recipes are just a way of creating a source package12:05
sil2100Anyway, I need help, since I think I broke by accident the unity merger12:05
jelmerhi sil210012:06
sil2100Hi jelmer!12:06
jelmersil2100: what can we help with?12:06
jelmerjodh: so after you've built the recipe, the usual ubuntu packaging comes into play12:06
mgzsil2100: which branch? the quantal packaging one?12:06
sil2100jelmer: ok, so... we had a wrongly placed tag in bamf trunk, so I wanted to move it to the right place - so I did a bzr tag --delete, bzr tag and push, but now it seems that whoever wants to do a bzr pull gets a tag conflict12:06
sil2100mgz: no, bamf source branch12:07
jelmersil2100: the easiest workaround is for them to remove their local tag by that name and then pull12:07
mgzsil2100: okay, so everyone could do that same operation on their local branches (annoying)12:07
mgzor you could delete the tag from the master and just let it revert12:07
jelmersil2100: tags aren't versioned, so there is no easy way to replicate changes to existing tags12:08
sil2100jelmer, mgz: the problem is, the mergers do a bzr pull without any -overrides12:08
sil2100jelmer: if I re-add the tag in the same place as it was, will it be the 'same' tag and not make any conflicts?12:08
jelmersil2100: also, newer versions of bzr have 'bzr pull --overwrite-tags'12:08
jelmersil2100: yes12:08
mgzbasically, one side or the other needs to have the tag deleted before pull12:08
mgzno overwrite needed.12:08
jodhjelmer: well, something is going awry as the rules file for Ubuntu seemingly is behaving differently under pbuilder with upstream source than with the ubuntu source. I'm having to force a dh_autoreconf for the upstream case.12:09
sil2100jelmer, mgz: thanks!12:09
jelmerjodh: the ubuntu source probably comes with a prebuilt version of configure, whereas the upstream source doesn't have one12:09
jelmerjodh: in other words, the contents of the tarball and the upstream branch are different (does the tarball perhaps have an autogen.sh that's run?)12:09
jodhjelmer: you're right - the ubuntu branch has configure under vc whereas upstream doesn't. There is no autogen.sh in either branch.12:12
sil2100jelmer: just one more question - is there a nice way of moving a tag from one commit to another without breaking bzr pull's of others?12:15
jelmersil2100: only if they didn't have the old version of the tag (since tags are not versioned)12:30
sil2100jelmer: awww, too bad... thanks12:37
kinkiejelmer, mgz: I tried and failed to do as you suggested :( Maybe I need a step-by-step recipe :\ Can we talk about this tomorrow maybe?15:11
kinkieThanks15:11
kinkie(now I must go)15:11
jelmerkinkie: Sure, we'll be around tomorrow15:14
jelmerkinkie: Have a nice evening15:14
SamB_MacG5vila: Hmm, how do I uninstall the Qt packages installed by the mac installer? They aren't showing up in pkgutil(1)'s output...15:17
vilaSamB_MacG5: pfew, isn't there an uninstaller with the isntaller (it's been a looong time since I looked at an OSX install)15:19
vilaSamB_MacG5: if I were to try doing that myself, I'll search the recipe that every install leave in some dir below... /Library ? /System/Library ?15:20
SamB_MacG5vila: I got your name from the source paths compiled into the Python extensions from the most recent powerpc/i386 universal installer I could find15:22
* vila blushes15:22
vilaSamB_MacG5: yeah, I did build some installers for some time *after* I was really hacking on OSX, but really, just execute the scripts and smoke test them15:23
SamB_MacG5ah15:24
vilaSamB_MacG5: so I have some background but the mac I used is... not at my desk anymore15:24
mgzI'd think macs were best used as desks. anything not a computer, for that matter. door stop, frisbee...15:25
vilaSamB_MacG5: but I don't remember ever building powerpc stuff unless the compiler was a cross-compiling one being my back ;)15:25
SamB_MacG5Can't you, like, install Amiga OS 4 on powermacs or something ?15:25
viladunno, I install Ubuntu on the macs that are on my desk15:26
fullermdUnbutu?  Is that like Amiga OS 5 or something?15:27
vilayeah15:27
mgzit's like freebsod15:27
mgzbut with different colours15:27
fullermdfreelsd comes with every color.  And then some.15:27
SamB_MacG5vila: that would explain why the Qt, SIP, and PyQt included in the installer in question are all intel-only ;-P15:29
vilaSamB_MacG5: hehe, yes :) Are you really trying to install on a powermac ?15:30
SamB_MacG5oh, I installed it on a power mac ages ago15:30
fullermd(which is when pretty much anything done on a power mac was done  ;p)15:31
SamB_MacG5by which I mean some months15:31
vilabut with which version of OSX ? Due to lack of resources I think only osx 10.5 and 10.6 have installers built for them (at best)15:32
vilaon the other hand, building your own is pretty easy (but will probably take some time to compile qt...)15:33
SamB_MacG5now I'm just trying to fix the bzr 2.3 mac installer build scripts and accompanying README so that the resulting installer will be fully universal when built on 10.515:33
mgzSamB_MacG5: have you found lp:bzr-mac-installers?15:34
SamB_MacG5(distutils-based extension builds are automatically powerpc/i386 universal when built on 10.5)15:34
SamB_MacG5mgz: yes, I have, thanks to someone (you?) adding a link there to that one wiki page in response to my reporting a bug about there not being any mention of the build scripts there15:36
mgzI think credit goes to gordon (also the maintainer of the current mac installers)15:36
* SamB_MacG5 couldn't remember who did it15:37
TrmandyHi guys, I have a bzr branch in which I wish to "squash" all revisions up to 100 into a single commit, and retain revisions 101 and above. How can I go about doing this? I can't quite wrap my head around what is necessary to make this happen.16:31
mgzTrmandy: try playing with the export and import commands from bzr-fastimport16:34
mgznote this is rewriting history, so isn't a good thing for a public branch16:34
Trmandyyep, understood. This is a private branch16:35
=== yofel_ is now known as yofel
=== marienz_ is now known as marienz

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