/srv/irclogs.ubuntu.com/2010/10/17/#bzr.txt

maxbjelmer: What is the intended minimum version of Subversion supported by subvertpy?12:21
maxb0.7.4 seems to have broken vs. svn 1.412:21
jelmermaxb: 1.4 should still be supported. Can you file a bug?13:07
ddaaI vaguely recall that one point, plugins needed to be installed in directory that had a specific name for each module13:32
ddaafor example, bzrtools needed to be in a directory called bzrtools, not bzr_tools13:33
ddaaand bzr-svn needed to be in a directory called "svn"13:33
ddaaHas things become more flexible, or easy to figure out, or is documentation, guesswork or source code inspection still required to find out the correct dirname?13:34
jelmerddaa: They still have to have a specific name.13:41
jelmerddaa: generally though "bzr-<foo>" becomes <foo>13:41
ddaayeah, I'm figuring this out13:41
ddaaI guess, except for very simple plugins with only the __init__.py13:42
ddaaor maybe those using relative imports13:42
jelmerddaa: It would be nice if we supported one extra layer of directories there. So you could just put *any *directory in ~/.bazaar/plugins and have bzr look in that directory for your plugin name.14:30
jelmerThat way we could support eggs, users didn't have to know about what name to give the directory, and several other standard python tricks would work (e.g. no need to override package_dir in setup.py)14:31
ddaayep, that would make sense and there would be no backwards compatibility issue.14:31
ddaait would make startup microcospically slower, but I don't imagine that being an issue14:32
maxbddaa: BZR_PLUGINS_AT is a slight exception - it provides a way to run plugins that are not in a directory with the expected name. However you still need to know the name14:52
* ddaa nods14:52
maxbi.e. BZR_PLUGINS_AT=svn@/home/maxb/wc/bzr/bzr-svn/trunk for example14:52
ddaathat's quite advanced though. Thank you for the reminder, I need to put a link to that doc.14:52
maxbjelmer: acknowledged, will file a bug in the next day or so once I've had time to investigate a little more14:56
ddaaIs there a stable URL for the documentation of the latest bzr documentation on doc.bazaar.canonical.com?14:58
jelmermaxb: Thanks. Is it just building that's failing or something at run time?14:59
maxb1.4: --> fails in testsuite. build succeeded because of C's charming "hey, undefined function, let's just assume it takes no parameters and returns int" behaviour14:59
maxb1.5: --> fails in build, for a different reason15:00
jelmeroh, if 1.5 fails as well I might have a look now.15:01
maxbthey are two distinct bugs15:02
maxbthe 1.5 failure was a "wrong number of parameters for function" compile error for svn_wc_crawl_revisions3, IIRC15:03
* maxb afk15:05
mgzhm, I could probably fix this NFD issue pretty easily, but don't have a mac16:09
mgzbabune will probably do once we land the leak fix and vila puts up a mac slave16:10
mgzexpanding all voiced kana must be hell annoying.16:11
* jelmer is tempted to start hacking on bzr-mtn16:24
mgzjelmer is already too much of a superman.16:27
mgzwhile you're here, though, mind if I repurpose bug 587074 as a non-utf-8 filenames don't work bug, now you've fixed utf-8 ones?16:28
ubot5Launchpad bug 587074 in Bazaar Git Plugin "Branching tree with non-ascii filenames fails (affected: 1, heat: 2)" [Medium,Fix committed] https://launchpad.net/bugs/58707416:28
vilamgz: adding a mac slave requires the leak fix16:52
mgzI... said that!16:52
vilamgz: fixing the NFD issue would be great, but I fear it has to be pretty invasive as it requires, at the minimum, to store the native paths in the dirstate (imbw, but I'm 80% sure, jam could be more precise)16:53
vilamgz: right, sorry16:53
mgzwell, there's a choice. either bzr normalises the internal store or it doesn't.16:53
vilamgz: that's because I thought about it more and I think we should land the hack_transport one waiting for a proper hook fix16:53
mgzthat's an option.16:54
vilamgz: and I thought about that because I start suspecting it to address some spurious failures on babune16:54
mgzyeah, might do the random sftp failures on babune16:54
vilaincluding some 'lost connection during test;16:54
mgzwe've not seen any in the branches we've tested that disconnect transports properly16:55
vilamgz: there is another one related to cleanup_pipe, surprisingly it triggers for some sftp tests (we may be using an http server during the setup...)16:55
vilabug #65555716:55
ubot5Launchpad bug 655557 in Bazaar "http cleanup_pipe related test failures (affected: 1, heat: 13)" [Medium,Confirmed] https://launchpad.net/bugs/65555716:56
vilathe number itself is screaming: I want to be fixed by vila16:56
mgzyou missed an ever better number by 2.16:57
mgz*even16:57
vilaor by 4 :)16:57
vila4 instead of 7 would have respected 6 5 4, meh so by 316:58
vilamgz: did you get better ideas for the hook fix ?16:59
mgznot so far, I agree that it'd be good to have som input from spiv on it, as smarts are his baby17:00
mgzhey GaryvdM17:02
vilamgz: when we implemented shared connections, the medium == connection was good enough17:02
GaryvdMHi mgz/vila17:02
vilaGaryvdM: hey :)17:02
GaryvdMmgz: saw your installir patch - Tommorow :)17:03
GaryvdM*installer17:03
mgzI think it should also fix your cpp runtime issue, but I don't quite remember where you hit that, so I might need to add something extra17:03
vilaGaryvdM: while you're there, it would be good if windows installers always mentioned the '-1' in their name (and '-n' when needed)17:03
GaryvdMvila: Ok17:04
vilaGaryvdM: it's documented this way in... our doc (can't remember the file name)17:04
vilaGaryvdM: no big deal, but I think it will make things clearer *when* a '-2' is needed17:04
GaryvdMmgz: I figured it out - we are excluding MSVCP60.dll, and not MSVCP90.dll17:06
GaryvdM*but not17:06
mgzwe don't want to exclude it now, as qt really does need it17:07
GaryvdMyes17:07
mgz(unless we ship the mingw qt, which we probably don't)17:08
mgz+ want to17:08
vilamgz: why ? Wouldn't using mingw address the microsoft related problems once and for all ?17:09
mgzyeah, we'd get mingw related problems instead.17:10
mgzthey've got some other pointless dll we'd need to bundle somehow, and generate bigger and slower libraries17:10
vilaAre they known ? Wouldn't them be easier to address ?17:10
vilaha17:10
vilabigger and slower sounds... surprising though17:11
=== Ng_ is now known as Ng
mgzblast, thought I had a repo, but it's a different bug18:45
mgzoh, nope, two different symptoms of the same18:48
mgzand the workaround still works.18:48
mgzbah, and it is fixed already, and has a targetted bug, but not one that includes the error message, so search didn't find it.19:04
lifelessheh19:09
mgzI'm gonna create a giant chain of dupes here I think...19:13
lifelesson i18n filenames?19:13
lifelessplease be careful be to be sure they /are/19:13
mgz662254 > 303954 > 205636 > 19285919:13
lifelessrather than similar symptoms with different call sites19:13
mgznope, this is different symptoms and ways to break add.19:14
lifelessmy rule of thumb is 'if I can fix one bug without fixing the other, its not a dupe'19:14
lifelessmgz: and I have a hunch that that will apply here19:14
mgzit all seems fixed, but may want some specific tests as poolie was mostly looking at the symlink angle I think.19:15
lifelessmgz: sounds wise to me19:20
GaryvdMHi mgz20:00
mgzhey Gary20:00
GaryvdMI just tried a build of your branch20:00
GaryvdMStill getting a MSVCP90.20:01
GaryvdMdll can't be found error20:01
GaryvdMI'd like to try find a better fix20:02
GaryvdMany ideas?20:02
GaryvdMmgz: is there maybe a env var I can set to point to it?20:04
mgzright, when, is what I want to know.20:05
mgzI'm copying over when we were copying msvcr90 before, but that may be too late for py2exe20:05
GaryvdMWhen dose the env var get set? = Before I run the build20:06
GaryvdM*does20:06
* GaryvdM need a dose of how to spell does...20:07
GaryvdMmgz: ok - now I understand what you were saying20:10
GaryvdMmgz: so my question is, how do we tell setup.py py2exe what msvc_redist_dir is .20:14
mgzwe don't strictly need to I think, if we can just make it stop whining20:16
mgzit's not smart enough to bundle it itself, if we can tell it to shut up then copy it across later20:16
mgzor, we could copy it before, to somewhere py2exe sees20:16
GaryvdMmgz: so if we tell it to ignore it, like this: http://bazaar.launchpad.net/~garyvdm/bzr/no_MSVCP90.dll_2.2/revision/5102 - would that be ok, because bzr-windows-installer will copy it anyway?20:18
mgzI believe so.20:19
mgzWe don't copy it yet though, so you need that branch of bzr and my branch of bzr-windows-installers20:19
GaryvdMOk - I'm going to build with our 2 branches.20:20
mgzwhat the hell, my new tests still fail with trunk merged...?20:23
mgzI... *checked* it worked with dev ;_;20:25
GaryvdMhttp://pastebin.ubuntu.com/515194/  - Huh - Is this stacking error? How do I fix?20:33
GaryvdMYes - it's a 2a repo, and it is stacked on ~ree/gf.recipe.bzr/trunk which is Packs 6 rich-root20:42
=== Guest16378 is now known as jelmer
=== jelmer is now known as Guest5922
GaryvdMmgz: that worked well, except I built 2.3b2, and not 2.2.1, so I start new build.21:21
GaryvdMand submit mp for my branches.21:22
thumperjelmer__: are you up?22:06
jelmer__thumper: Hi22:06
thumperjelmer__: https://code.edge.launchpad.net/~vcs-imports/mesa/master22:07
thumperjelmer__: has the problem been fixed in bzr-git?22:07
jelmer__thumper: No, I haven't looked at it again yet. As far as I can tell it only affects the mesa import and I can't reproduce it locally.22:10
jelmer__thumper: This is bug 649531.22:10
thumperjelmer__: not even with an incremental?22:10
ubot5Error: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/649531)22:10
thumperjelmer__: I'm wondering if we have fixed it since then, and may have been a transient bug22:12
thumperjelmer__: perhaps blowing away the server copy and starting again _might_ fix it22:12
jelmer__thumper: I haven't tried a local incremental import yet since I don't really have an easy way to do that.22:13
thumperjelmer__: the LP codeimportworkers can be run locally :)22:14
jelmer__thumper: I don't think anything significant has changed since last time, though it's worth a shot.22:14
jelmer__thumper: Is this particular import significant for some reason?22:16
thumperjelmer__: only because of https://answers.edge.launchpad.net/launchpad-code/+question/122971, and I'm feeling bad it isn't working22:16
jelmer__thumper: Ah, ok.22:22
jelmer__thumper: Also, are retries of failed imports now happening daily ?22:22
thumperno22:22
* jelmer__ tries another clone of mesa with -Dverify with the hope his machine won't run out of memory22:25
=== Ursinha is now known as Ursinha-afk
maxbjelmer__: Hi. I'm trying to implement subvertpy tests which need to assert different things based on the version of Subversion being used. I was contemplating using subvertpy.wc.version() as an indicator of the underlying libsvn version, even in non-WC tests. Too horrid, or ok?22:56
jelmer__maxb: That's alright.22:57
jelmer__maxb: Please note that we have both version() and api_version()22:57
jelmer__I suspect you'd want api_version() in this case.22:58
maxbAh, correct, since all the compatibility decisions are made at compile time23:01
maxbalthough, hmm23:01
maxbwell, never mind, I think I'll just use api_version everywhere for now :-)23:02
peitschiehiya jelmer, maxb23:03
pooliehi there maxb, jelmer, peitschie23:04
peitschieoh... hi poolie :)23:04
=== poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | Release Manager: vila | 2.3b2 is officially released, test it ! | work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/
poolie(spiv is pp)23:06
maxbpoolie: Hi. In https://code.edge.launchpad.net/~maxb/hydrazine/lp-promote-ppa-v2/+merge/38389, is the implication of (tweak) that I should consider the MP approved having fixed the lack of NEWS entry?23:09
poolieyes23:10
maxbjust checking :-)23:10
poolienp23:10
poolieit's not a big deal but i meant to suggest you would have just one news entry like23:10
poolie* New lp-promote-ppa command to promote (copy) packages from one ppa to another.  By default all packages are copied, or the source packages can be filtered by name or distroseries.23:11
pooliesomething like that23:11
pooliego ahead and merge; you should have access23:11
* GaryvdM successfully ran ./setup.py build with 64bit python on windows. \o/23:12
GaryvdMgoing to run selftest now23:12
maxbI like that style of NEWS entry better --- /me tweaks and lands23:13
mgzyou're on a roll Gary.23:16
mgzfile bugs if you see test failures babune doesn't! (and that aren't smart-server random junk)23:17
GaryvdMHmm  ./setup.py build givs no errors, but I see warning: some compiled extensions could not be loaded23:18
GaryvdMHow can I see where those warnings come from. Nothing in .bzr.log23:18
mgz-Werror ?23:19
* GaryvdM tries that23:19
maxbGaryvdM: ./setup.py build -i ?23:19
maxbOr rather, python setup.py build -i, as setup.py's should not be exectuable by convention23:20
poolieGaryvdM: great :)23:20
GaryvdMmaxb: I'm using msys, so ./setup.py works :) - I'll try -i23:21
GaryvdMbuild_ext -i23:22
maxbhurrah, successful subvertpy test run on hardy23:24
GaryvdMmaxb: Thanks.  build_ext -i was what I needed.23:24
=== jelmer__ is now known as jelmer
peitschiejelmer: i just quickly wanted to touch base and see if you'd had any time for the missing chknodes bug in bzr? (bug #485601)23:32
ubot5Launchpad bug 485601 in Bazaar Git Plugin "mesa incremental import fails with bzrlib.errors.RevisionNotPresent (affected: 1, heat: 7)" [Medium,Triaged] https://launchpad.net/bugs/48560123:32
peitschieerr... thats not the bug at all....23:32
peitschiehey ubot... try bug #485601 again...?23:33
ubot5Launchpad bug 485601 in Bazaar "missing chk node(s) for id_to_entry maps (affected: 2, heat: 13)" [Medium,Incomplete] https://launchpad.net/bugs/48560123:33
* peitschie is very puzzled23:33
jelmerpeitschie: So, we now have a clearer idea of why that bug is cropping up (after discussion with spiv and jam)23:33
jelmerpeitschie: The question is what to do with ghosts in bzr-svn.23:33
peitschiejelmer: thats what I figured would b the sticking point :).  are there any ideas or workarounds at this point? or are we looking a longer wait with this?23:35
jelmerpeitschie: there are some ways you can work around it - basically trying to avoid ghosts23:37
jelmerpeitschie: The issue crops up when you merge from another branch that fills in ghosts.23:37
peitschiejelmer: we've actually been trying to do that at the moment... the major difficulty is that essentially devs can't merge directly to svn from any place other than the central network repository23:38
peitschiejelmer: i've gotten them feeding svn updates via the network repo, so that works ok... but committing is sticky as they need to ssh into the network repo box and do the commit locally there... i couldn't think of any other way to prevent all ghosting :(23:39
jelmerpeitschie: What do you mean with the network repo exactly?23:41
jelmeris that a svn repository?23:43
peitschiejelmer: sorry... fixing other issues :)23:47
maxbjelmer: merge proposal filed for subvertpy compatibility issues mentioned earlier today.23:47
peitschiejelmer: so by network repo I mean the shared bzr repository23:48
peitschiejelmer: in order to avoid the ghosting, I needed a centralized copy of all the unique revisions.   I did this by creating a shared repository devs create bound branches in their own local repositories23:49
peitschiejelmer: so wen a dev commits to their local feature branch, that is automatically replicated up to the network shared bzr repo23:49
peitschiejelmer: so that all works great at the moment... I have a cron job atm pulling svn updates in to the repo (i.e., there is a branch of svntrunk in the network repo, and the cron job runs 'bzr pull' all the time)23:50
jelmerpeitschie: ah, cool23:50
peitschiejelmer: the catch is that as soon as a dev tries to merge their feature into svntrunk locally (having branched svntrunk from the shared repo, and then bound it to the real SVN repo), they are no longer able to pull in updates from the central network repo23:52
jelmerpeitschie: right, because in that case they end up with ghosts again23:52
peitschiejelmer: yup :).  so far, the only workaround I can think of is to get the dev to perform the final merge into svntrunk directly on the network repo via ssh23:53
jelmermaxb: When you said using wc.api_version() in the other tests I thought you meant using e.g. svn.ra.api_version() in test_ra.py23:54
maxbum, didn't I?23:56
* maxb rechecks diff23:56
jelmermaxb: You did, but you also added a call to wc.api_version() to test_repos.py23:57
jelmermaxb: I've followed up to the MP.23:57
maxbjelmer: because there is no subvertpy.repos.api_version()23:58
jelmerpeitschie: A proper solution to ghosts and bzr-svn will probably take a while longer.23:59

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