/srv/irclogs.ubuntu.com/2010/12/18/#bzr.txt

=== Leonidas_ is now known as Leonidas
jderosequick question: what's a good tool for visualizing a complicated history of branches and merges with a lot of criss-cross?00:24
jelmerjderose: qlog probably00:26
jderosejelmer: cool, thanks :)00:26
=== frakturfreak_ is now known as frakturfreak
=== BasicPRO is now known as BasicOSX
lifelessvila: testtools is in unstable now09:35
lifeless0.9.809:35
lifelessvila: I don't know how that hepls the SRU09:36
vilalifeless: great !09:36
vilalifeless: it's rather involved: we need the related bug to be fixed in natty, which needs testttools and from there, cascading effects unblocks the SRU09:36
lifelessso09:37
vilaso we needed testtools in unstable so it can get into natty09:37
lifelessyou'll need to get python-fixtures09:37
lifelesspython-testtools09:37
lifelesssynced to natty - if they haven't synced themselves09:38
lifelesspython-fixtures is there already09:38
lifelessso just python-testtools is all thats needed09:38
vilahmm, never heard about python-fixtures before09:39
lifelessbuild-dep on python-testtools, like python-twisted09:40
viladon't tell me it's a new dependency not present in main or the whole circus will start again09:40
lifelessits a build dep09:40
lifelessso is python-twisted09:41
vilayes, that's exactly what python-testtools is for bzr and why we needed an up-to-date version09:41
vilaand why I asked for python-testtools to be included in main, so back to square one :-(09:41
lifelessI don't know the details09:42
lifelessbut it seems like you're making the change bigger than necessary, no ?09:42
vilaI'm trying to comply with the defined rules...09:43
lifelessI'd challenge the 'must be fixed in natty' component09:44
vilabug #684099 should gives you the entry point09:44
ubot5Launchpad bug 684099 in python-testtools (Ubuntu) "[MIR] python-testtools" [Undecided,Fix released] https://launchpad.net/bugs/68409909:44
vilabug #65995009:44
ubot5Launchpad bug 659950 in Bilboplanet "Statistique Nombres de post manquant" [Medium,Fix committed] https://launchpad.net/bugs/65995009:44
vilashudder09:44
vilabug #65959009:44
ubot5Launchpad bug 659590 in Bazaar 2.3 "dput sftp upload hangs after all files successfully uploaded" [Critical,Confirmed] https://launchpad.net/bugs/65959009:44
lifelesswell09:45
lifelesskeep me in the loop09:45
lifelessbut I expect us to add more build-deps as we add support for scenarios, other frameworks and so on to testtools09:46
lifelessI'm sure we can figure something out, but there is a balancing act between running the testtools tests and dragging lots of stuff into main transitively.09:47
vilawell, I'm pretty sure this means we should just give up then, the SRU is blocked since ~2010-10-13 and obviously we can't keep up09:47
lifelessI do wonder if the transitive requirement is entirely necessary for things like built deps09:47
vilathe middle path would be to have >= 0.9.5 available without added deps09:48
lifelesspython-twisted is in main09:48
vilamaxb: what do you think ? ^09:48
lifelesspython-fixtures has no unusual build-deps of its own09:48
lifelessyou probably just need an MIR for python-fixtures, which the distro team may do for you when python-testtools attempts to sync and FTBFS on natty09:49
vilahopefully your're right09:51
* vila off09:51
vilajelmer: thanks for the upgrade bugs triaging ! Good reminder as I'm tweaking fullermd's proposal.11:15
jelmer_vila: np, I suspected there were some dupes11:18
jelmer_there weren't, but it does seem like a week of upgrade hacking might be a useful thing to do at some point11:19
vilajelmer_: Yeah... some of them may be addressed by the proposal but this was an unfinished job (there are empty tests there) so it's a bit hard to see where the tweaks should end and where a new submission starts11:21
vilabut definitely it would be good to clear some backlog there11:22
* jelmer_ waits for testtools to enter sid so he can upload bzr 2.3b411:43
maxbvila: It looks like we have no choice but to MIR python-fixtures13:48
vilamaxb: thanks for the feedback13:49
vilamaxb: yet, we should not need python-fixtures on maverick for the SRU right ?13:49
vilas/yet/still/ ?13:49
maxbWe're fine there because 2.2 doesn't need the newer python-testtools13:50
vilamaxb: ok, so this doesn't propagate, good13:50
vilamaxb: so, if 0.9.8 enters natty (main) will it brings p-x with it ? (aka is the MIR implicit or not)13:51
vilanot p-x p-f == python-fixtures13:51
maxbWell, it'll sync, then FTBFS, and someone will check it and see the reason is a component-mismatch, and then consider MIR-ing at that point14:04
maxbOn a different note, I need somewhere to put a shell-script that I use for some of the bzr ppa maintenance. I don't want to put it in lp:bzr, because I don't want to have to do the MP-and-PQM dance for every change14:06
maxbThe script in question pleases me greatly, because I just did:14:06
maxbbzrppa-backport -s -u ppa:bzr/proposed -U medium -D "maverick lucid karmic jaunty hardy" python-fixtures_0.3.5-1.dsc14:06
maxbfor a one-liner upload of python-fixtures to all relevant series, stating just with the unmodified debian source :-)14:07
maxboh yay, python-fixtures tests are broken in python 2.514:53
* maxb wonders what to do about updating python-testtools for hardy in the ppa14:53
vilamaxb: sry was away, let me re-sync14:56
vilamaxb: you use the script locally only right ?14:57
maxbyeah14:57
vilamaxb: then lp:bzr is still the best place for many reasons14:57
maxband as it turns out, fixtures is FTBFS on hardy anyway, so I still needed to go back and do proper branches anyway14:57
vilamaxb: and as far as mp-pqm dance, since that's not blocking I don't quite get your reticences14:58
vilamaxb: additionally the constraints for such a script are vastly different than for the code so there shouldn't be issues14:59
vilamaxb: if I had some, it would be about clarifying the constraints about the branches handled locally, but it would be absurd to complain about that14:59
vilamaxb: I meant *blocking* a mp would be absurd15:00
vilaso, my point is: submit whatever works for you as soon as you can :D15:00
vilamaxb: I would even say: ask help from the pp if you feel some parts are missing, be it tests, docs, whatever15:01
maxbi guess so15:01
vilamaxb: and if the pp is too slow for your taste, nag the RM ;)15:02
txdvwhat is the default command to start bzr-gtk?16:38
jelmer_maxb: as you might've seen I've uploaded loggerhead17:18
lifelesstxdv: bzr-gtk has a bunch of cli accessible commands, and optional nautilus integration17:52
lifelesstxdv: you may be thinking of 'olive', a gtk ui along the same lines as bzr-explorer - its separate to bzr-gtk17:53
lifelessAIUI17:53
lifelessmaxb: is that bug 691916 ?17:55
ubot5Launchpad bug 691916 in Python Fixtures "tests are broken on python 2.4" [Undecided,New] https://launchpad.net/bugs/69191617:55
lifelessmaxb: or something idfference again?17:55
lifeless*different*17:55
=== Kilroo1 is now known as kilroo
txdvlifeless: but i cant find it anywhere in the ubuntu reps19:10
exarkunbzr svn-import exploded with an out of memory error, when I run it again, this happens, http://pastebin.com/AcEjtq0H19:12
Pengexarkun: After making triple-sure there really isn't another bzr process running, bzr break-lock /media/sda1/divmod.org/bzr/Divmod/branches/flattener-error-formatting-280819:15
exarkunThanks19:20
lifelesstxdv: sorry, what are you looking for ?19:24
txdvolive19:26
lifelessjelmer_: where does olive live these days?19:26
exarkunHm19:33
exarkunI did the break-lock, but svn-import failed the same way19:33
lifelessexarkun: does that file exist?19:36
lifelessif its a file rather than a dir, remove it (no idea how that would happen)19:37
exarkunit's a directory, with a directory `held` in it19:37
exarkunwith a file `info` in that19:37
exarkunOh.  But I guess the break-lock didn't do anything.19:43
exarkunCoz it's still all there afterwards.19:43
PengHow does break-lock not break the lock? o_O Permissions issue?19:49
PengThen I expect it would die horribly, though...19:50
exarkundoes this help, http://pastebin.com/WR10kDR519:51
PengThat makes my brain hurt.19:59
lifelessuhm20:02
lifelessI think it failed very early on in making the branch20:02
exarkunThere's very little in here, yes20:02
lifelessyeah20:02
lifelessdelete that 'branch' entirely20:02
exarkunhttp://pastebin.com/k217x2fv20:02
exarkunHrm.  Out of memory again.20:24
jelmer_lifeless, txdv: Olive lives at https://launchpad.net/olive these days20:34
jelmer_exarkun: hi20:34
exarkunjelmer_: Hello20:35
txdvhm20:36
txdvthanks20:36
jelmer_exarkun: I just got back - you're having locking issues running svn-import?20:36
Pengjelmer_: exarkun is having svn-import-OOMs-and-leaves-behind-locks issues.20:37
exarkunjelmer_: First I had memory issues so the import got interrupted.  That seems to have led to a locking issue.20:37
jelmer_exarkun: I guess I can see how that could cause locking issues20:40
jelmer_exarkun: how big is the repository?20:42
exarkun374MB20:42
jelmer_hmm, that doesn't seem too bad20:43
jelmer_what bzr/subvertpy/bzr-svn versions are you running?20:43
exarkunbzr 2.2.2, bzr-svn  1.0.4, subvertpy 0.6.9-120:44
exarkunno sorry, subvertpy 0.7.520:44
exarkun0.7.5-1~bazaar1~karmic120:45
exarkunlatest run is now stuck, using 3GB of RAM and 100% CPU.  Not sure if the previous attempts entered this state before they died, I wasn't paying that close attention.20:46
jelmer_exarkun: is one of the files particularly large?20:46
exarkuncd20:47
jelmer_cd?20:47
exarkunsorry, wrong window20:47
exarkunthere are a few files a little over 100kB20:48
exarkunnothing bigger than that20:49
exarkunmaybe there's a lot of branches?20:49
exarkunit's converted 244 branches at this point20:50
RenatoSilvaif your branch is outdated with trunk but you're about to merge, what do you prefer, merge from trunk then into trunk, or merge into trunk directly?21:17
jelmer_RenatoSilva: there isn't a particular reason for merging trunk into your feature branch first21:17
RenatoSilvajelmer_: not sure but maybe leave the conflict stuff in the merge from trunk not the merge in trunk from that branch?21:19
RenatoSilvajelmer_: so that when you qlog trunk and click the merge, you see a clear diff without hidden for-conflict-solving lines21:21
RenatoSilvaI mean, when you don't know which lines were result of merge conflict21:22
RenatoSilvathat way you'd be sure no conflict happened because you fixed it when merging from trunk21:22
RenatoSilvaand hence the diff of the merge from branch into trunk would be clear, without lines targeted at fixing conflicts21:23
RenatoSilvaDo I make any sense?21:24
lifelessRenatoSilva: that only works on projects with a small number of branch merges a day, or both trunk and the branches maintained by the same person21:30
lifelessRenatoSilva: otherwise, by the time someone has merged trunk and fixed conflicts21:31
lifelesstrunk will have new commits21:31
RenatoSilvaI see, but in that case, isn't it interesting?21:31
lifelessto some people, perhaps.21:31
lifelessI think having trunk always build-and-test-cleanly is much more interesting than how things get into trunk.21:32
RenatoSilvamerging from trunk immediately before merging into it is a way to ensure that21:33
lifelesslets say you have 50 developers21:33
lifelessand your test suite takes 40 minutes21:33
lifelessif each developer does one patch a day, you have 2000 minutes of tests to run per day (which fits, 3600 minutes in a day)21:34
RenatoSilvawithing these 40 minutes there would probably be a new commit in trunk21:34
lifelessright21:34
RenatoSilva*within21:34
lifelessif you have a serialised queue of things to land on trunk21:34
lifelessand test the test suite one at a time, you can avoid trunk regressions21:35
lifelessif you merge trunk to a branch, test *that*, then commit to trunk without testing - interactions between branches can easily - and often do for the Launchpad project which does it this way - break trunk.21:35
exarkunjelmer_: is there something I can do to reduce the memory requirements for the conversion?  or do I just have to switch to a 64bit machine?21:36
jelmer_exarkun: Our memory requirements are pretty heavy, but what you're describing sounds more like a memory leak of some sort22:21
jelmer_exarkun: I guess a 64 bit machine might work around it, but I'm still curious what would be going wrong.22:22
RenatoSilvalifeless: that's what I mean, you need to be as much updated with trunk as possible22:38
RenatoSilvalifeless: so that you can run the tests on your branch before merging into trunk, so that there are less diff as possible when that happens and hence trunk is less likely to break22:39
lifelessRenatoSilva: but thats different22:52
lifelessRenatoSilva: you are saying 'do this thing*in a branch*'22:52
lifelessRenatoSilva: I'm saying '*do this thing as part of the merge to trunk*'22:52
RenatoSilvalifeless: run the tests locally? ok22:57
lifelesswell23:15
lifelessnot necessarily locally23:15
lifelessbut as part of the do-a-merge-to-trunk-process23:15
lifelesshowever you're doing that23:15
RenatoSilvaok23:17

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