/srv/irclogs.ubuntu.com/2011/01/15/#bzr.txt

upmauroalguem fala portuguẽs e pode me ajudar ?01:34
=== frakturfreak_ is now known as frakturfreak
=== ereslibre_desk is now known as ereslibre
=== ereslibre is now known as django
=== django is now known as ereslibre
maxbouch.15:21
* maxb gazes sadly on the number of plugins complaining about api versions against bzr.dev15:21
maxbWe really need a better way for handling this15:22
maxbWhy was bzrlib.api_minimum_version bumped already?15:28
aquariusI'm trying to branch https://code.launchpad.net/~lemoncouch/dexter-rolodex/experimental-u1-support, but when I try "bzr branch lp:~lemoncouch/dexter-rolodex/experimental-u1-support", I get bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~postler/dexter-rolodex/dexter/".15:46
aquariusPossibly this means that that branch was stacked onto a branch that no longer exists? If so...how do I get the code? confused15:47
mgedminI might be wrong, but I think the only way is to ask the user 'postler' to resurrect his branch15:50
aquariusthat's unfortunate :(15:50
mgedminthis happened to me once, when I changed branch ownership15:50
mgedminall branches that were forked from my branch became broken15:50
mgedminI had to clone the main branch back to the old url15:51
mgedminI'm pretty sure this is a launchpad bug, maybe fixed, maybe not yet15:51
mgedmin#launchpad is probably a good place to talk about this15:51
aquariusmay give that a shot :)15:54
maxbI know this problem well15:55
maxblet me look at the branches concerned15:55
maxbYes, it's a classic case of the usual launchpad bug15:56
maxbwe need ~lemoncouch or an admin to fix the stacking location in their branch15:56
aquariusthat's what I was thinking15:57
maxb(or if you want the content right now, it's possible to copy the branch locally via sftp, and fix the stacking location locally)15:57
aquariuswell, atm I'm just browsing the diff on LP, which gives me the info I need15:58
maxbI've filed https://answers.launchpad.net/launchpad/+question/141568 to have the admins fix the branches. It'll probably happen on Monday or Tuesday16:05
dOxxxanybody know if vila will be on today?16:28
james_wdOxxx, maybe, depends if he spends all day looking round Dallas I guess16:33
dOxxxthanks17:09
lifelesshe's on now :)17:12
mgedminso, I'm trying to learn how to use shared repositories (because waiting for the network all the time sucks)17:30
mgedminI have a mirror branch foo of lp:foo, and I accidentally pushed a different branch into this local one17:30
mgedminhow can I reset it to be a pure mirror of lp:foo again?17:30
=== Ursinha-afk is now known as Ursinha
mgedminbzr pull --overwrite?17:31
=== marienz_ is now known as marienz
maxbyes, but that doesn't have anything to do with shared repositories17:38
dev001hi.  i just installed bzr trunk, as well as lp:bzr-svn.  when i exec any cmd, i'm getting: "Unable to load plugin 'svn'. It requested API version (2, 3, 0) of module <module 'bzrlib' from '/usr/local/lib/python2.6/site-packages/bzrlib/__init__.pyc'> but the minimum exported version is (2, 4, 0), and the maximum is (2, 4, 0)".17:47
dev001  is this likely a bug, or simply an out-of-sync/un-updated repo?17:47
maxbdev001: bzr.dev recently moved to a new API version declaration. Almost every plugin that checks for API versions strictly will report errors17:52
maxbvila: You there?17:52
vilamaxb: yup17:52
maxbvila: When opening 2.4, did it really make sense to bump api_minimum_version already?17:53
vilamaxb: by 2 votes in favor one against and 2 abstain17:53
maxb"yuck"17:53
vilamaxb: an option was to wait for one month17:53
maxbI suppose I should broach a discussion on changing our API policies to suck less17:54
vilamaxb: but since we're sprinting, the expectation was that 1) most plugins can be fixed quickly, 2) this gives a slight incentive to release stable versions (and associated branch/series)  compatible with 2.317:54
vilamaxb: now would be a good time for this, yes17:55
dev001maxb: sounds like switching to lp:bzr/2.3 is, then, the sane thing to do for "the resst of us" ... at least for now?17:55
maxbThe key to which is "Are we really going to do anything at all in 2.4 which will break plugins built against 2.3?"17:55
vilamaxb: keeping in mind that plugins that check *strictly* are *asking* about the observed result...17:56
maxbdev001: tracking lp:bzr is only for people who *want* the bleeding edge ;-)17:56
viladev001: or use a PPA17:56
dev001thx!17:57
vilamaxb: as far as I'm concerned, I think that bumping the api is the best way to make it painful *now* to push plugin authors to do the right choice (and there are really many ways to deal with it)17:57
vilamaxb: we offer enough different ways to track coherent sets of bzr/plugins for users to *also* make their own informed choice17:58
fullermdWha?  Nobody ever told me I was allowed to be coherent and informed...17:59
vilamaxb: and until we have a better way express this compatibility story, I prefer to bump sooner rather than later17:59
vilafullermd: indeed, you're a special case, go get your medics17:59
fullermdMom always told me I was 'special'...18:00
vilamaxb: but anyway, the above was my personal opinion, I'd more than happy to see the topic discussed more broadly18:01
vilas/whatever/I'd be/18:01
dOxxxvila: hey!18:03
dOxxxvila: are you going to be around for a while today? I'd like to talk about the mergetools stuff.18:03
jelmerdOxxx: he is one the phone :-)18:03
dOxxxok18:04
viladOxxx: still otp, but yes I'll be around18:18
dOxxxvila: ok.18:21
viladOxxx: I'm back18:48
dOxxxvila: hey :)18:48
dOxxxvila: I'm tyring to pick up where I left off on the mergetools stuff18:49
viladOxxx: cool !18:49
maxbaarrgh18:49
dOxxxvila: I've replaced the Config.set_merge_tools with set_merge_tool and remove_merge_tool.18:49
vilafrom the top of my head, I think the main point was about checking the availability of mergetools18:49
maxbmy bzr-svn has been doing the same thing over and over because it's not committing its sqlite cache at exit18:49
dOxxxvila: the difference between user-defined merge tools and the known merge tools?18:50
viladOxxx: right, the fact that if you set known merge tools at a given point it can become obsolete, whereas if you check on demand, you're always right18:50
dOxxxvila: so Config.get_merge_tools and find_merge_tool should only return the user-defined tools? So how then do clients (e.g. qconflicts) find a known merge tool? do they have to query mergetools.known_merge_tools separately?18:52
dOxxxi.e. should Config methods only deal with the contents of the config file?18:52
viladOxxx: yup, I think qconflicts should query against the potential ones and find which one are available18:53
viladOxxx: and users should be able to manage the potential ones18:54
dOxxxvila: okay. so I'll add a find_known_merge_tool to the mergetools module, which clients will query Config first and then mergetools.find_known_merge_tool if it wasn't find in the Config18:54
viladOxxx: yeah, something like that, maybe mergetools.check_availability18:55
dOxxxwell, it's meant to return the MergeTool object itself so it can be invoked since that's when it's being called18:56
dOxxxcheck_availability implies boolean to me, so I'll stick with find :)18:56
viladOxxx: ECONTEXT, I haven't re-read the proposals yet18:56
dOxxxvila: basically, qconflicts and the commandline stuff are given a merge tool *name* by the user, so they need a function to get the MergeTool object for that name. There has to be one in Config and there will need to be one in the mergetools module to get one of the predefined, i.e. 'known', merge tools, if it's not found in the config.18:58
viladOxxx: that's it18:59
dOxxxcool18:59
dOxxxI has a plan!18:59
dOxxx:)18:59
* vila re-read19:01
dOxxxvila: I've pushed some changes already but still making the last few changes to separate user-defined and predefined merge tools.19:01
vilaso, there is still duplication, remote_merge_tool is not needed now that bzr config is available,19:02
dOxxxvila: it's needed by qconfig19:02
vilaput it there then :)19:02
dOxxxvila: but then qconfig has to know that the option is called 'bzr.mergetool.<name>'. That knowledge should be in Config.19:03
dOxxxthen if we need to change it, it only has to change in one place19:03
vilanot more than knowing that it should call remove_merge_tool19:03
viladOxxx: we won't add accessors for any and all config variables, that's the point19:03
dOxxxthen why aren't we doing file('bazaar.conf').write('blah')?19:04
dOxxx:)19:04
dOxxxoh19:04
dOxxxis this a change in policy?19:04
vilathat's where we're heading yes, even if all the pieces are not there yet19:04
dOxxxso really, should I have anything in Config then?19:05
vilabut even the current policy only requires get acessors19:05
dOxxxah19:05
dOxxxso get_merge_tools and find_merge_tool and get_default_merge_tool are ok?19:05
vilaget_merge_toolS is more tricky and should stay I think19:05
vilaget_default_merge_tool is not needed19:06
dOxxxfind_merge_tool is not needed either then19:06
dOxxxsince it's pretty simple19:06
dOxxxbut it does construct a MergeTool object19:06
vilaI'd be ok with find_merge_tool since it handle the fallback to defaults19:06
vilaand we don't have that piece yet19:06
dOxxxhmm now I'm a little confused. by defaults you mean the predefined merge tools in mergetools.known_merge_tools, right?19:07
vilaexactly19:08
vilanow, I see you have MergeTool.is_available, so may be there is a way to get rid of find_merge_tool, not sure19:09
dOxxxfind_merge_tool is just looking up a MergeTool object by name19:09
dOxxxeither in a Config or, as I was intending to do now, in the predefined list in the mergetools module19:09
vilayeah, I'm still confused about when you check the availability probably19:10
dOxxxthat's a function that's on the MergeTool object, once it's been found.19:11
vilayeah19:11
dOxxxso, user selects tool by name through command-line or GUI and says "invoke this!" we have to then find the MergeTool object for that name and then check it's availability before invoking.19:11
vilaI think ideally (but not now), I'd like known_merge_tools to be replaced by config options definitions providing the default value19:12
vilayup19:12
dOxxxvila: I see. So config is going to grow a defaults mechanism at some time19:12
vilayup19:12
viladOxxx: and the lack of it right now is what makes your proposal so hard to land, sorry about that19:13
dOxxxok, so for the moment, the find_merge_tool function Config will have to fake this defaults mechanism by using the known_merge_tools info in mergetools module.19:13
vilayup19:14
dOxxxokay!19:14
dOxxxI'll go hack on this and get back to you.19:14
vilacool19:14
viladOxxx: do you think you'll be able to have a look at the osx installers too ?19:14
dOxxxvila: oh yeah, I was wondering what to do about plugin versions there? just look at whatever is current stable?19:15
viladOxxx: I'm away from home so I can't build the 10.6 one (well, I *could* but there are quite a few hops to reach the right machine :-/)19:15
dOxxxI can do 10.6 no problem19:15
viladOxxx: yup, making sure it's compatible with 2.3 (but I don't expect many plugins to have been upgraded to 2.4 at this point)19:16
dOxxxvila: ok19:16
dOxxxvila: anything that doesn't have a stable release tarball, I'll just use their trunk tip19:16
viladOxxx: and then probably posting an excerpt of config.py to list which versions are used so we can nag the plugin authors to create appropriate series or not ;)19:17
dOxxx:)19:17
dOxxxor rather, I'll use the revision number that is currently the most recent on trunk.19:17
viladOxxx: oh, and I didn't follow closely but should upgrade to qtx.7.y or something ?19:17
dOxxxlooks like I should19:17
vilaok, so long compile times ahead for me :-p19:18
dOxxx:)19:18
viladOxxx: just send me an email when I can pull the latest changes19:18
dOxxxvila: will do19:18
viladOxxx: my tip is revno 111 so far with 'Release 2.3b4' as the commit message19:21
dOxxxyah I haven't made any changes on that yet19:22
=== dOxxx is now known as dOxxx_away
=== dOxxx_away is now known as dOxxx
=== r0bby is now known as robbyoconnor
=== cody-somerville_ is now known as cody-somerville

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