/srv/irclogs.ubuntu.com/2008/01/20/#bzr.txt

=== kiko__ is now known as kiko
=== Verterok-laptop is now known as Verterok
awmcclainHey all... anyone up?05:16
PengMaybe.05:19
awmcclainAnyone with experience intalling to ubuntu/debian from source?05:29
Peng"python setup.py install"?05:32
* Peng wanders off.05:33
cpintohi all12:10
cpintoi'm using bzr to be able to work disconnected from a subversion repo. after fetching the sources i did a bzr unbind. worked a little bit on them, committed stuff and i just did a bzr bind + bzr update as to update from the central repository. now I have a bunch of pending merges mixed with a few not yet merged changes to the code.12:12
cpintois there anyway to commit only the pending merges?12:12
=== cprov is now known as cprov-afk
Qhestionhow can i upgrad bazaar? downloading the newest sources and running "setup.py install" failed.15:14
Qhestionmy previous installation was bazaar v1.015:15
fullermdWell, you'd usually want to blow away the old install instead of just installing over it.15:15
Qhestionhmm, bzr now gives me an error message...15:15
fullermdBut that wouldn't cause it to error out.15:15
Qhestionwell, the setup ran fine15:15
Qhestionbut bzr now give me an error:15:15
Qhestionfrom django.utils.translation import ugettext as _15:15
Qhestionoops15:15
Qhestionbzr: WARNING: bzrlib version doesn't match the bzr program.This may indicate an installation problem.bzrlib from ['/usr/lib/python2.5/site-packages/bzrlib'] is version (1, 0, 0, 'final', 0)15:16
fullermdThat suggests that the install put bzrlib somewhere else.15:16
fullermdDo you have any plugins installed system-wide (as opposed to in ~/.bazaar/plugins/)?15:17
Qhestionbut both times i just ran "sudo python setup.py install"15:17
Qhestionno plugins.15:17
fullermd'k.  Then blowing away the 'bzr' executable and the 'bzrlib/' dir in site-packages should be all you need to deinstall.15:18
Qhestionk. tryin it15:18
fullermd(plugins install system-wide under bzrlib/, so you'd have to be more discriminating if you had them)15:18
fullermdThat'll give you a nice clean slate to work from.15:18
=== deepjoy is now known as deepjo1
=== deepjo1 is now known as deepjoy
Qhestionok, that did it15:21
=== Verterok-laptop is now known as Verterok
aklaverIs there any particular reason why the deb packages are lagging behind the other binaries in being released?18:21
beunoaklaver, what other binaries?18:22
datoor what deb packages18:22
PengIt surprises me that you guys don't get debs and whatnot out at the same time as releases when you're so good at everything else.18:23
* Peng shrugs.18:23
aklaverThe 1.1 installer for Windows and Mac.18:23
aklaverThere are no deb packages for 1.1 for either Dapper or Fiesty.18:24
PengThere's a 1.1 deb for Gutsy?18:24
datono18:24
PengExactly.18:24
datothere is for hardy, and for debian unstable18:25
dato(well, 1.1rc1, but the code is the same)18:25
PengOh, huh.18:25
Verterokaklaver: the 1.1 for Mac is *experimental* and only for ppc18:25
aklaverIt would seem a project sponsored by Canonical would have the resources to keep its own distribution up to date.18:26
beunoaklaver, the packaging is done by volunteers actually18:27
beuno(most of it)18:27
beunoso it really depends on who has time18:27
datobeuno: but robert is in "charge" of the gutsy/feisty/dapper/whatnot backports18:27
james_whttp://bazaar-vcs.org/releases/debs/dapper/bzr_1.0~rc1-3bazaar1_i386.deb18:27
beunodato, right, just not sure if it's part of "his job" or if it's more of a volunteer thing18:28
Verterokwhat about PPA? https://launchpad.net/~bzr/+archive - http://ppa.launchpad.net/bzr/ubuntu18:28
james_wbut I don't see a 1.1.18:28
datosome ubuntu person should step up and say, "I will take care of uploading from debian unstable to PPA as soon as the deb is out"18:28
datothe situation would improve a lot with that, it's my opinion18:28
jelmerdato: It's not the PPA that's the problem18:29
jelmerdato: It's the fact that there's only one person with access to the debs on bazaar-vcs.org18:29
datoI've already stated that I'd be happy to help with problems in those backports18:29
datojelmer: yes, but there was talk on the list to move from debs on b-v.o, to ppa, completely18:29
jelmerdato: afaik that plan was never accepted though18:30
beunoand we all have access to ppa18:30
PengOoh, 1.1 debs are in PPA.18:30
datojelmer: I think poolie has 60% happy about it, and robert wasn't18:30
beunowell, there is this email: https://lists.ubuntu.com/archives/bazaar/2008q1/036620.html18:30
datobeuno: I completely missed that mail18:31
jelmersame here18:31
beunoI poked the list for the same issue18:32
beunoI got that answer18:32
jelmerif the ppa is going to be used, it would be nice to have the old location marked as deprecated somehow18:32
beunobut no actual debs  :D18:32
datono18:32
datothat mail doesn't say ppa is going to be used18:32
dato?18:32
datobut it seems that it is18:33
beunonope, I think he meant uploading to bazaar-vcs.org18:33
datoyeah, but https://launchpad.net/~bzr/+archive18:33
beunobut neither has happened, so I don't know18:33
datowhat Peng said18:33
beunoaaaaah18:33
beunoright18:33
beunothen we're using PPA, and it hasn't been made public I guess18:34
aklaverSo how do I go about setting up PPA as a repository to get packages from?18:35
datobut then http://bazaar-vcs.org/DistroDownloads needs updating18:35
datoaklaver: go to https://launchpad.net/~bzr/+archive, select your distro in the combo box18:35
beunoyeap, which is what my original email stated https://lists.ubuntu.com/archives/bazaar/2008q1/036608.html18:36
datoI think dapper's is broken18:36
datoright, https://launchpad.net/~bzr/+archive/+build/49385118:37
beunoaklaver, did all this help?   :D18:37
aklaverYes. I think the repository issue needs to be resolved. This is a project that is heavily promoted by Canonical.18:39
aklaverThere should be a clear path to Ubuntu updates.18:39
datoaklaver: seems that it has been already, it's only the wiki page that needs updating18:39
beunore-sent an email to the list to try and finally close this issue18:42
jelmerwhoops, I just sent one as well18:42
beunoah well, it won't hurt to make some noise on the subject  :p18:43
jelmer:-)18:53
Flare183Is there a frontend of bzr for KDE?19:06
PengFlare183: QBzr?19:06
schierbeckhi y'all!19:07
Flare183Peng: thanks19:07
datoschierbeck: hey. hope you don't mind I bug you: I was using bzr viz yesterday, and I was missing a tooltip somewhere indicating the branch nick.19:07
datoschierbeck: I think it could be useful to have it somewhere.19:08
schierbeckhi dato, no not at all. i've actually been working on improving the tooltips in the viz, but i'd like to use the gtk API introduced in a later version of pygtk than is currently required by bzr-gtk19:09
schierbeckit's introduced in 2.1219:10
schierbeckbut even with that version i find it a bit tricky -- it'll need some work19:10
datoaha19:11
datoschierbeck: and will that bump the requirement of the version, or can its presence be detected, and just disable that feature if it is not? (which I think it would be good)19:12
schierbeckdata: it is entirely possible to do that, but i find that it increases the complexity of the code tremendously19:13
schierbecki'd like to look in to the possibility of bumping the required version of pygtk to 2.1219:14
schierbecki mean, is bzr-gtk even used on legacy systems?19:14
datowell, 2.12 is pretty recent, isn't it?19:15
datowell, "pretty"19:15
datopersonally I do not care, since *I* have it, but seeing how many people ask for bzr debs <gutsy...19:15
jelmerschierbeck: if there's a good reason, I don't think it'd be a problem to require newer versions19:16
schierbeckjelmer: it would really help me implement advanced tooltips in the viz19:17
=== brilliantnu1 is now known as brilliantnut
schierbeckdato: i've pushed a *very* early implementation of the new tooltips to: <http://bazaar.launchpad.net/~dasch/bzr-gtk/tooltips>20:02
deepjoyschierbeck: The requested URL /00/00/21/a0 was not found on this server.20:05
schierbeckdeepjoy: you have to use bzr branch http://bazaar.launchpad.net/~dasch/bzr-gtk/tooltips20:06
schierbeckthe just symlink from .bazaar/plugins/gtk to the branch20:07
schierbeck*then20:07
deepjoysorry20:07
datoschierbeck: ok. info looks good, only, tooltips should only appear over the node, not over anywhere in the line, no? (but I'm sure you're already aware ;)20:07
schierbecknp :)20:07
deepjoyya figured that out20:07
schierbeckdato: yeah, i've tried to make it appear where i want, but i'm having some difficulties20:07
schierbeckgtk.TreeView.set_tooltip_row() doesn't seem to cut it20:08
schierbeckdato: fixed it!20:11
schierbeckyou should be able to pull the new revision20:11
schierbeckjelmer: could i get you to take a look at a few patches sometime tonight?20:13
schierbecki've sent them to the ml20:13
jelmerschierbeck: sure, will do20:13
schierbeckthanks :)20:13
datoschierbeck: I see. well, what I meant is that hovering the mouse *anywhere* in the line pops up a tooltip, which IMHO is not desirable. I think tooltips should show only over specific parts of the line, eg. the colored node.20:16
schierbeckdato: hmm20:16
datoschierbeck: try to move the cursor around a bit, slowly.20:16
schierbecki disagree -- each row represents a single revision, and it's only natural that the tooltip for a row show the metadata for that revision20:17
schierbeckdato: i think that behavior is desirable20:17
datook, then let's just disagree20:18
schierbeckok :)20:18
schierbeckit's just that people don't always understand why only some parts of a row has a tooltip -- it's better to help them out20:19
misakaDoes anyone have any suggestions on how to use 'version-info' in a rails project?20:19
misakaI don't see a '--format=ruby', for example.20:19
datomisaka: but there is --template20:21
misakaIs that in 1.x?20:21
datoyes20:21
misakaI've only got 0.9* here, don't see --template with version-info.20:21
datoat least20:21
datomisaka: it's 1.1, sorry20:22
misaka*nod*20:22
misakaWell, that's a good start, but ... hrm.20:22
=== brilliantnu1 is now known as brilliantnut
misakaHow about an automatic way to keep a file up-to-date with the latest version-info?20:23
misakaI saw the suggestion about using it in 'make' but it'd be nice if that was up-to-date with each update ...20:23
* misaka hasn't looked into what kind of hooks bzr might expose yet.20:23
schierbeckmisaka: have you tried parsin it as YAML?20:25
schierbeck*parsing20:25
schierbeckit looks compatible20:25
schierbeckthen you'll get a nice Hash object to work with20:26
misakaHuh, there's a point.20:26
misakaI'll give that a go.20:26
misakaThanks, nice one.20:26
schierbeckno problem20:26
schierbeckmisaka: you could also use an autogen script to write the version info to a YAML file20:28
schierbeckbzr --version-info > version-info.yml20:28
schierbeckand then read it at runtime20:28
misakaNot familiar with autogen ...20:30
schierbeckit's just a bash script in the root of your project dir20:30
schierbeckcalled autogen.sh20:30
asabilhi all20:32
asabilany plans to have tags displayed in bzr visualize ?20:32
misakascheirbek - Thanks, will check it out.20:32
schierbeckasabil: yes20:32
schierbeckasabil: have you tried out trunk?20:32
asabilschierbeck: any branch already providing this20:32
asabilno didn'y do yet20:32
asabilI just checked out the code to try to implement it20:33
asabilis it already implemented ?20:33
schierbeckasabil: some aspects of it20:33
asabilcan you elaborate please ?20:33
schierbecktry "mkdir -p .bazaar/plugins && cd .bazaar/plugins && bzr branch http://bazaar.launchpad.net/~bzr-gtk/bzr-gtk/trunk gtk"20:34
misakascheirbeck - About autogen.sh, is this something bzr or rails would run, or would it be by hand?20:34
schierbeckasabil: well, there's a menu that lets you go to a revision by tag name, and the revision info pane displays the associated tags20:35
schierbeckmisaka: it's something you run before releasing20:35
misakaRight.20:35
schierbeckit's customary on autotools projects20:35
misakaYa, this being a rails project I'd probably make that a rake task, that's one way to do it.20:35
schierbeckmisaka: but if it's a ruby project, you might as well make it a Rake target20:36
schierbeck:)20:36
schierbeckis there a "release" task in Rails?20:36
misakaBut I'm going to check out the bzr hooks to see if I can try to keep it up-to-date automagically.20:36
asabilwow20:36
misakaschierbeck - No, not really.20:36
asabilthe new bzr vis is awesome20:36
misakascheirbeck - You'd be more likely to put it into capistrano, or whatever deployment/release process you use.20:36
schierbeckmisaka: well, okay20:36
schierbeckmisaka: tell me about it :D20:37
schierbecksorry, asabil: *20:37
asabilheh, why sorry ?20:37
schierbeckasabil: the message was meant for you, not misaka20:38
schierbeck:)20:38
asabiloh I just like the UI20:38
asabillooks better and more user friendly20:38
asabilI would however try to add something to the graph20:39
asabilfor example having a big dot inside tagged revisions can be better20:39
misakare: plugins, do I understand right that bzrlib/plugins can exist in the project root?20:43
schierbeckasabil: yeah, i'm thinking that, too20:48
james_wmisaka: no. It's user wide or system wide.20:48
schierbecki've got a branch where there's an icon on the row if the revision is tagged20:48
schierbeckjelmer: fuck, i've forgotten my username for bundle buggy -- is it your email or what?20:49
jelmerschierbeck: it's "dasch", apparently20:50
schierbeckthen what the hell is my password...20:50
schierbecki'll just keep trying20:50
jelmersee privmsg20:50
asabilschierbeck: can you point me to that branch ?20:54
schierbeckasabil: 1 min.20:54
schierbeckasabil: it's at http://bazaar.launchpad.net/~dasch/bzr-gtk/viz-tags20:59
schierbeckasabil: cd .bazaar/plugins/gtk && bzr merge http://bazaar.launchpad.net/~dasch/bzr-gtk/viz-tags20:59
asabilschierbeck: seems like the branch is ... gone21:00
asabilno is ok forget it21:01
schierbeck:)21:01
asabilhmmm, that's not exactly how I saw it21:02
schierbecki'm not sure changing the revision graph nodes will be enough21:02
schierbeck(oh, by the way, the icon is way off -- we'll need a real "tag" icon)21:03
asabilwhy would it not be enough ?21:05
asabilthe tag column is ... I don't know21:05
jelmerschierbeck: Have you seen how giggle displays tags?21:08
jelmerThat's the sort of thing I'd prefer to see for viz as well21:09
jelmerlet me see if I can add a screenshot21:10
schierbecki've got it right here21:10
schierbeckyeah, they have a treeview column with icons21:11
jelmerhmm, maybe I'm confusing it with something else then21:11
schierbeckand a tooltip displaying the tags when hovering the icon21:11
schierbecki think gitk has small labels on the revision graph indicating the tags21:12
jelmerah, I think gitk is the one I mean then21:12
asabilthat's how I would prefer it as well :D21:12
schierbeckyeah, that's pretty cool21:13
jelmerman, giggle has gotten slow21:13
schierbeckyup21:14
asabilhttp://www.jrock.us/branching.png21:14
schierbeckwell, i definitely think we should go the gitk way regarding tags, but it'll take some work21:14
schierbeckbut dear god gitk is ugly21:15
schierbeckit's almost unbelievable21:15
jelmerwell, it's a tk app21:18
jelmerthey're bound to be ugly21:18
jelmer:-P21:18
schierbeckyup21:23
awmcclainHey all... I have an SVN repo that looks like /projA/[trunk|branches|tags} /projB etc. I want to convert just projA into bzr... can I do that by using bzr2svn on a SVN working directory ?21:30
awmcclain* svn2bzr21:31
Pengbzr-svn is more popular now.21:32
PengNot that that's very helpful.21:32
PengYou could always just try it. At worst, you'll waste some bandwidth and time.21:32
awmcclainPeng: Ah... so I'd use bzr-svn to create a bzr branch and then work from there?21:34
PengYes.21:35
Pengbzr-svn is a bit of a pain to install though.21:35
jelmerpeng: That heavily depends on your platform21:36
awmcclainWell, here goes.21:37
jelmerit should be quite easy for SuSE, Debian, Ubuntu, Gentoo Linux and Windows. Other platforms may be harder21:37
awmcclainjelmer: is there a package for ubuntu?21:38
jelmerawmcclain: yes, in universe21:38
Pengjelmer: The svn bindings have been patched?21:38
awmcclainjelmer: Do you know offhand if it's compatible w/ bzr 1.1?21:38
jelmerPeng: Yes, Ubuntu feisty was the first that included the patches21:39
asabilhmm, doesn bzr-svn still have the huge memory leak ?21:39
jelmerasabil: that's been fixed although the fix is not included in the python-subversion packages yet21:39
asabilok nice to hear :)21:40
Pengjelmer: Cool.21:40
asabilstill, last time I tried (on gutsy), I found bzr-svn still quite slow :/21:40
jelmerasabil: an updated version will be uploaded to hardy in the next couple of days21:40
awmcclainIs bzr-svn a pure python package? Can i get 0.4.6 using easy_install?21:42
jelmerawmcclain: There is a package for bzr-svn compatible with bzr 1.0 in my debian repository at http://samba.org/~jelmer/debian/21:42
awmcclainjelmer: I just install 1.1, will that matter?21:43
awmcclain*installed21:43
jelmerawmcclain: yes, it'll work with 1.121:44
awmcclainjelmer: Fantastic. Thank you21:46
=== tchan2 is now known as tchan
asabilschierbeck: http://ifaedi/~asabil/bzr-viz-tags.png21:53
schierbeckasabil: you got a proper URL? :)21:53
asabiloups sorry21:54
schierbecknp21:54
asabiloups21:55
* asabil wonders why ctrl+a behaves like ctrl+q sometimes21:55
asabilschierbeck: http://ifaedi.insa-lyon.fr/~asabil/bzr-viz-tags.png21:55
schierbeckasabil: is that working code?21:56
asabilyes21:56
schierbeckit looks pretty good21:56
asabilI just cooked up something quickly21:56
schierbeckcan you try drawing a square instead of a circle, and remove the dot?21:57
asabilI was more thinking about putting a pixbuf next to it21:57
asabilwith a small tag icon21:57
asabiland remove the dot21:57
schierbeckasabil: even better21:58
schierbeckespecially if you can write the tag text inside it21:58
asabilnot sure it is a good idea21:59
asabilbecause technically speaking a revision can have multiple tags21:59
asabilbut let me try :D21:59
awmcclainjelmer: I should follow the key installation instructions @ http://samba.org/~jelmer/debian/ in order to use apt-get on ubuntu, correct?22:00
schierbeckasabil: they should be stacked next to each other22:00
asabilok will try22:01
jelmerawmcclain: without works as well, but apt will give warnings about using untrusted packages22:01
awmcclainjelmer: Ok, that's fine. Do I just add your url to my sources list? (Sorry, I'm not familiar with getting packages from other sources on apt-get)22:03
jelmerawmcclain: See the instructions at that url22:03
jelmeradd the following line to /etc/apt/sources.list:22:04
jelmerdeb http://samba.org/~jelmer/debian/ unstable/22:04
awmcclainAhhhh22:04
awmcclainOk, sorry22:04
awmcclainAh, ok. perfect. gpg is giving me "no option --export-keys"22:07
schierbeckawmcclain: just use --export22:07
awmcclaindone22:07
awmcclainty22:07
schierbecknp22:07
awmcclainug, of course, since I installed bzr 1.1 from source it's complaining i don't have the package installed. Prehaps I'll just go from source. :)22:12
=== mmkassem is now known as mahmoud_
asabilschierbeck: http://ifaedi.insa-lyon.fr/~asabil/bzr-viz-tags.png22:52
igcpoolie: call on now?23:07
poolieigc, hi23:07
pooliei'm at the sprint...23:07
pooliesorry23:07
pooliewill call you23:07
igcnp23:07
awmcclainIf we're implementing a mainline workflow, it makes sense to serve a shared-repository, right?23:08
pooliewill call back23:11
poolieawmcclain, yes,23:11
igcpoolie:dropped out ...23:12
awmcclainpoolie: I'm reading http://bazaar-vcs.org/SharedRepositoryTutorial now. Do I need to do something special if I've just created a branch from an SVN server using bzr-svn?23:12
LeoNerdLots of bzr-svn questions lately...23:12
Niklas_TechWorldIs it good practise to have one bzr-repo per package? Or is that overkill? Im working on a project that I want to divide in 3 .deb - would you suggest I set up a x-repo/x-trunk for each of the .deb?23:23
radixNiklas_TechWorld: I have a directory structure like ~/Projects/ProjectName/{trunk,other_branches}, and each ProjectName is its own bzr repository23:25
radixNiklas_TechWorld: I'm not sure how this matches up with your use case of .deb packaging, but I would generally just build a .deb from a particular revision of trunk.23:25
Niklas_TechWorldradix: Ok, so I guess you suggest me to split it up! Thanks for that. I thought that would be the best as well after having a look at the documentation. Thanks a lot!23:26
poolieNiklas_TechWorld, i think either way would be ok23:26
poolieif they're closely related i'd have just one, otherwise split it up23:26
Niklas_TechWorldradix: I agree. One project = one deb = one repository.23:27
Niklas_TechWorldpoolie: Yeah, I was just wondering for consistency sake :)23:27
=== Verterok-laptop is now known as Verterok

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