=== medberry is now known as med_away === statik_ is now known as statik === BasicPRO is now known as BasicOSX [04:41] hi spiv? [04:45] Hi poolie [04:54] how are you? [04:57] poolie: extra good now that I just hit "propose merge" on https://code.launchpad.net/~spiv/bzr/lockcontention-pushing-tag-733350-2.3/+merge/53947 :) [04:57] Ubuntu bug 53947 in mplayer (Ubuntu) "incorrectly disables gnome-screensaver" [Medium,Fix released] [04:57] ubot5: uh, no [04:58] poolie: and thinking that my timing with the changelog_merge plugin is pretty serendipitous! [05:00] with linaro gcc? [05:00] yes, it is [05:02] I really only devoted more attention to it recently because it looked like relatively easy work for my cold-addled head last week. [05:13] poolie: I'm still really enjoying the kanban board btw [05:14] Even if some days I can't make things move as fast as I'd like [05:22] i'm glad [05:22] i'd like to make it read/write some time [05:30] done [05:30] * poolie goes to file a bug asking for 'tweak' state [05:31] https://bugs.launchpad.net/launchpad/+bug/373078 [05:31] Ubuntu bug 373078 in Launchpad itself "code review merge status and docs need clarity, particularly for 'tweak' cases" [High,Triaged] [06:16] spiv, is https://bugs.launchpad.net/udd/+bug/653312 anything like the other importer bugs you were working on? [06:16] Ubuntu bug 653312 in Ubuntu Distributed Development "Import fails with NoSuchRevision" [High,Triaged] [06:18] poolie: probably not, at a guess it'd be more like the "someone has done push --overwrite to a package branch that the importer doesn't know about" bugs [06:27] Hello [06:27] Can anyone tell me how to run the test suite? [06:28] I am just trying to run 'python bzrlib/tests/test_log.py' for example, but nothing happens (because there is no test runner in that file). [06:29] mgiuca: 'bzr selftest' [06:30] mgiuca: or for just that file, 'bzr selftest -s bt.test_log' is quickest [06:30] Oh, cool. [06:30] see 'bzr selftest --help' for more details [06:30] Thanks! I have done it before but I completely forgot. [06:31] (Don't forget to use ./bzr if you want to test the bzr you're hacking on rather than the system one) [06:31] Yup. [06:34] OK got it working now. Cheers. [06:34] (Had to download a custom version of testtools) [08:02] hi all ! [08:02] poolie:, jam: I tried to better explain the fix for bug #735477, please re-review ;) [08:03] Launchpad bug 735477 in Ubuntu Distributed Development "some imports survive a kill -SIGTERM leading to massive log output and no kill" [High,In progress] https://launchpad.net/bugs/735477 [08:09] hmm, I should dust off my changes for better ordering of package imports when catching up [08:11] maxb: yeah for 2.3.1 in bzr/ppa ! [08:12] maxb: so you ended up using dh_python for all series ? [08:15] I ended up just not merging the change to use dh_python2 for now [08:16] I think for the manually built PPAs it might be easiest to simply stick with whichever of python-support / python-central the package was previously using, for maverick and below [08:17] For the recipe builds for {karmic,lucid,maverick} & {natty} ... we really want a solution which builds all series out of a single branch [08:17] I have some evil machinations in mind [08:18] ha, excelllent, I was wondering if that was the sore point (using different packaging for different series and the associated fallouts) [08:18] Mainly involving a PPA with packages for the older series which install a fake dh_python2 which actually runs dh_pysupport/central [08:18] sounds pragmatic to me (but not understanding the details...) [08:33] maxb, yes, thanks [08:33] vila, are you able to give any ideas on https://bugs.launchpad.net/udd/+bug/653312? [08:33] Ubuntu bug 653312 in Ubuntu Distributed Development "Import fails with NoSuchRevision" [High,Triaged] [08:34] poolie: isn't it a dupe of a bug fixed by spiv waiting for a more recent bzr version deployed on jubany ? [08:35] i asked spiv and he thought it was something different [08:35] ha :-/ [08:36] then no idea, I'm not yet to the point where I can retry such failures locally but I'm working towards this goal [08:37] poolie: err, just checking camlp5 and it's listed as failing due to bug #653320 instead [08:37] Launchpad bug 653320 in Ubuntu Distributed Development "Import fails with "marked but not imported"" [High,Triaged] https://launchpad.net/bugs/653320 [08:38] couhdb is *not* listed as failing though [08:38] morning all [08:38] couchdb [08:38] i don't know where couchdb has gone [08:38] (yeah, searched the right one in http://package-import.ubuntu.com/status/ ;) [08:38] hey jam ! [08:38] just an update for them might be good [08:38] poolie: well, if it's not listed as a failure, it's supposed to succeed ;) [08:40] right, exactly [08:41] it's possible the package changed name [08:41] oh, would there be no page at all if it's passing? [08:41] that seems unlikely [08:42] poolie: I think that's the way it works now: pages are created only for failures (and deleted once the import succeeds ?) [08:42] * poolie looks [08:42] sometimes the simplest answer is the best [08:43] poolie: in categorize_failures.py get_info() calls remove_obsolete_pages() [08:43] perhaps we should leave them to avoid confusion? [08:44] well, write "succeeded at blah" [08:44] hooray [08:44] poolie: I think there is a bug asking to list succeeding imports too (where jam said we should have a different page for all the succeeding ones) [08:45] vila: yeah, I don't know if there is a bug, but certainly I've wanted it. [08:45] It is good to see the failures, but strange to have the page just disappear when they succeed [08:45] select * from revids where package='couchdb'; in meta-db hints that it succeeded at couchdb|1.0.1-0ubuntu9|natty|james.westby@ubuntu.com-20110129025244-i6nzlenngh54woq7|247954e4e2d02da1b1f49dfd059c0eb2aab39b75 [08:45] jam: I'm pretty sure you *wrote* it somewhere :) [08:45] the last commit was today which seems plausible [08:45] err, I meant the comment, not the page ;) [08:46] poolie: err, where do you see that ? [08:47] vila: I write stuff all the time. :) [08:47] bzr log lp:ubuntu/couchdb [08:47] or https://code.launchpad.net/~ubuntu-branches/ubuntu/natty/couchdb/natty [08:51] oh, bah, of course ;) [08:52] i didn't think of it til i spoke to you [08:52] i thought the absence of a page meant failure [08:54] Somthing escapes me there, the url above mentions 1.0.1-0ubuntu12 but not 1.0.1-0ubuntu9 and the opposite seem to be true on jubany (but maybe I don't know how to properly look on jubany) [08:56] wow, 1.0.1-0ubuntu13 appeared as we speak... [08:56] ha no, commit messages /tags misreading [08:57] right, seems like the packagers are faster than the importer then [08:57] 1.0.1-0ubuntu9 is revno 47 so this was created by the importer [08:58] that's a big cover letter :) [08:58] oooh, so were ubuntu13 ! [08:59] poolie: hehe, ryeah, sorry about that but I thought there were far too many hidden assumptions in my fix that led to far too many misunderstandings [09:00] did qlog always displayed the author instead of the committer or do I realize this only now because I don't often browse branches where they differ ? [09:01] s/displayed/display/ no ? I suck in English there :-/ [09:04] I wonder if we should not use a private bzr version for the importer... [09:05] ISTM that if we rely on the system one we will sooner or later encounter cases were we are not allowed to deploy a fix system-wide for an import failure [09:06] related to that, turning the package importer into a bzr plugin may also make it easier to implement some features... [09:09] Hi. I've got a question : I work on openerp, which is a big project, and doing a bzr branch on it take a long time over my slow connection. So each time I need to create a branch, I have to wait almost 1 hour... [09:09] How could I avoid that? [09:09] Merwin: use a shared repository [09:09] use a local shared...yeah [09:09] Merwin, well, you should make a local repository, branch into that [09:09] then just update your copy of trunk [09:10] So I branch for the origin location, and then re-branch for any modifications from my local directory ? [09:10] s/for/from [09:11] correct [09:11] I there any options to pass for the 1st pull to specify that it's a shared repository? [09:12] Merwin, you'll want [09:12] 'bzr init-repo openerp' [09:12] cd openerp [09:12] bzr branch lp:openerp trunk [09:12] then [09:12] bzr branch trunk my-branch-1234 [09:12] Ok, thanks ! [09:12] Merwin: no, that's a local configuration which you can change after the fact with 'bzr reconfigure' but poolie typing faster than me explain what you should do when starting from scratch ;) [09:20] vila: the upgrade to 2.3.1 will fix the 44 failures like http://package-import.ubuntu.com/status/adduser.html#2011-03-15%2022:54:36.634617 [09:21] spiv: yeah, that was my understanding [09:21] vila: I don't know of any other fixes in that update relevant to the package-importer [09:22] spiv: I thought the CHK ones weren't covered by one of your fix (landed in 2.3.[01] ?) [09:22] s/fix/dixes/ [09:22] fixes even [09:22] hehe, that was a piece of comedy to begin reading the channel. [09:23] vila: the CHK ones already fixed [09:23] mr-russ: my pleasure :) [09:23] vila: by deleting the damaged branches [09:23] haaaaa [09:23] vila: and restarting those imports from scratch [09:24] and shouldn't the ones related to bug #653312 be deleted as well ? [09:24] Launchpad bug 653312 in Ubuntu Distributed Development "Import fails with NoSuchRevision" [High,Triaged] https://launchpad.net/bugs/653312 [09:24] vila: the revisions involved appear to all be quite old, so the best guess is it's some nasty bug we never even knew we had [09:24] vila: but that we fixed ages ago [09:25] i think i should stop [09:25] good night all [09:25] vila: it was pretty baffling, I don't 100% confident about the fix because the failure was pretty scary, I simply cannot see how we ever could have that sort of problem [09:25] poolie: yes, probably :) [09:25] poolie: good night [09:25] thanks [09:25] spiv: I was under the impression that it was due to the too old bzr version used on jubany (before the 2.3b5 upgrade) and that we couldn't realize that without fixing 1) the branches on lp, 2) the bzr used on jubany 3) restart the imports from scratch [09:25] vila: I don't know about 653312 [09:26] poolie: enjoy your week-end [09:26] vila: no, too old bzr was a theory we tried, upgraded, no difference [09:26] vila: read the extensive bug comment history for the gory details :/ [09:26] spiv: but did you do 1, 2 and 3 above or only part of them ? [09:27] vila: I don't know what 1) means [09:27] argh, 1) delete the branches on lp [09:27] vila: we did 2), upgrade to 2.3b5, but it turned out to be irrelevant [09:27] In the end we completely deleted the branches on lp, the import records, everything [09:28] There was a false start where we *thought* we'd deleted all the branches on lp, and some didn't get deleted. [09:28] (Again, not sure why!) [09:28] yeah and doing that fixed the issue, hence me wondering about whether we should also delete the branches for the packages mentioned in bug #653312 [09:28] Launchpad bug 653312 in Ubuntu Distributed Development "Import fails with NoSuchRevision" [High,Triaged] https://launchpad.net/bugs/653312 [09:28] It was an immensely difficult and confusing bug, the bug comments are your best reference :) [09:29] Well, as I say I don't know about 653312 [09:29] It sounds like a different sort of problem to me [09:29] spiv: about the RetryWithNewPacks. I have the feeling there is something specific about what bzr-svn is doing differently from normal fetching [09:29] in particular, I believe it fetches N revs at a time [09:29] The other one was about two different repos disagreeing about the contents of one revid [09:30] (as in significantly different file contents!) [09:30] 653312 is NoSuchRevision, which on the face of it sounds like a different category of problem [09:30] jam: it's possible [09:31] jam: but on my reading of the code I don't see how N revs vs. 1 rev or whatever could lead to the state that causes a traceback [09:31] sure [09:31] what I mean is that as it is fetching, it creates intermediate pack files [09:31] spiv: ok [09:32] so when it is done, it has many packs (some of which may have been autopacked, etc.) [09:32] spiv: and 2.3.1 is good to deploy for the 44 failures right ? [09:32] jam: the main difference is that it always passes a hint [09:32] I agree that I'm not sure how it would have an effect, but we haven't seen it with just bzr [09:32] jam: but the code path for dealing with hints looks robust [09:33] And the test we wrote passes a hint [09:33] spiv: I believe it wasn't at one point, but should now [09:33] vila: yes [09:33] jam: I can't speak for the past, just for the code I've read recently :) [09:40] jam: anyway, hopefully when exarkun re-enables the offending configuration we'll be able to get more insight [09:45] spiv: A note on the LockingContention issue [09:45] I like caching the master branch, [09:45] I don't like uploading a potentially large tag dict ,that we just downloaded from the master [09:47] I believe I missed the other problem, which is that fetching a new tag was correctly trying to also upload it to the master, but the master was still locked from the fetch [09:47] so that part I certainly like [10:36] jam: oh, I meant to mention that in the cover letter [10:37] jam: the master branch is write-locked throughout [10:37] jam: which means the tags dict we just wrote it cachec [10:37] *cached [10:37] and so merge_to won't actually trigger any more actual reads and writes to the master's tags [10:39] It'll do get_tags_dict, which will return the cached answer, and it'll be the same as the one we would write (usually anyway! It would be possible but rare to have a situation where a master has more tags than an up-to-date bound branch), and so it would just return [10:41] It would be a bit more direct, and not depend on caching of tags, to tell _basic_push to ignore the master, but also more disruptive to the API. [10:41] (And caching the master is probably a good idea anyway) [10:41] it seems to be relying on happy coincidence, vs explicit statements, but I'm happy enough with it for now, then [10:43] Either happy coincidence or robust performance design ;) [10:44] I think _basic_push smells a bit, especially how it is actually not treated as private by bzr-svn [10:45] So it'd be nice to perhaps try replace it with something better one day [10:48] yeah, it's a bit odd how all that works === psynaptic|away is now known as psynaptic [11:39] vila: The plan is to have 2.3.1 in natty, right? [11:40] jelmer: sry was afk, but yes, it's our latest stable so it should go into natty. FFe AIUI but I don't know the process for that [11:41] vila: we need to do one for bzr-builddeb as well [11:42] jelmer: ok, does the fact that we have a MRE (Micro-Release Exception) for bzr has any influence on FFes (Feature Freeze exceptions right ?) [11:42] vila: I'm not sure, I'm not all that familiar with MRE [11:43] * jelmer looks at the wiki [11:43] vila: do you know if MRE is documented anywhere? [11:43] jelmer: AIUI, MRE basically says: you're allowed to go into -updates so, IMHO, it should also takes precedence over FFe [11:43] yes, just a sec [11:45] https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions [11:53] vila: Thanks [11:53] vila: It doesn't seem to mention FFe's, but I guess it would make sense if it did [12:30] vila: https://bugs.launchpad.net/ubuntu/+source/configobj/+bug/737491 [12:30] Ubuntu bug 737491 in configobj (Ubuntu) "Sync configobj 4.7.2+ds-2 (main) from Debian unstable (main)" [Undecided,New] [12:30] https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/737499 [12:30] Ubuntu bug 737499 in bzr (Ubuntu) "Sync bzr 2.3.1-1 (main) from Debian unstable (main)" [Undecided,New] [12:34] jelmer: thanks, very informative [12:34] jelmer: what's the '+ds' ? [12:35] vila: I have no idea :) [12:35] lol [12:36] * vila stops his internal TLA guesser (no, that's not debian stable ;) [12:36] heh [12:37] Ah, the changelog says: * +ds version, as release zip file contains root-level __MACOSX directory. [12:40] ooh, hmm, so probably related to the fact that OSX loves to create .DS_Store files all over the place (hidden in the OSX finder so few people notice) [12:40] I don't really know what is stored there but at least icons positions and some finder prefs... should be totally irrelevant :-/ [12:41] well, as far as packaging for non OSX oses is concerned at least [12:42] That's probably why Stefano removed it [13:25] jelmer: just noticed your discussion in #ubuntu-level with pitti :-/ [13:25] jelmer: so what should be done then ? "Just" an SRU ? [13:26] vila: no, just the sync request I mentioned here earlier [13:26] jelmer: ha, ok. [13:26] I *will* understand one day, I will [13:27] vila: 2.3.1 is for natty, so there's no need for a Stable Release Update, as natty is not out yet [13:27] * vila facepalms [13:27] vila: However, natty is past the feature freeze date. So releases that add new features require an exception (FFe). [13:46] * maxb throws a build of 2.3.1 using dh_python2 in natty into bzr/proposed for sync semi-validation [13:47] maxb: because you built 2.3.1 directly in bzr/ppa right ? [13:48] No? [13:48] * vila blinks [13:49] I previously built 2.3.1 using the old python-support / cdbs packaging in bzr/proposed [13:49] maxb: ghaa, that's the step I missed [13:49] Now I'm building essentially the same package but with dh_python2 / dh7 packaging [13:50] the thing I love with silly questions is that I really learned something when I'm wrong :-} [13:51] nothing beats learning :) [13:51] Later I will have the fun of backporting the cdbs->dh7 to maverick, but avoiding the python-support->dh_python2 [13:56] maxb: why backporting of the cdbs->dh7 to maverick? [13:56] Just to minimize unnecessary delta between series [14:23] I'm trying to "bzr checkout . . -r81" but I can't for the life of me figure out the syntax (I get error file exists ... ./.bzr) [14:23] arand, . .? [14:23] checkout into itseld? [14:23] *itself [14:24] "bzr checkout -r81" ? [14:24] Well I want to change the working dir to the state of revision 81 [14:24] maxb: Same error: bzr: ERROR: File exists: u'/home/arand/utv/poppler/.bzr': [Errno 17] File exists: '/home/arand/utv/poppler/.bzr' [14:25] arand: huh... could you pastebin 'bzr info' output please? [14:25] http://paste.debian.net/111121/ [14:25] "bzr co" creates a working tree, that doesn't work if you already have a checkout [14:25] arand: try "bzr up -r81" [14:27] That seems to work, so I basically only had the log in text and no data for the history? === hunger_ is now known as hunger [15:14] * jelmer can't believe he wasn't aware of BZR_TEST_PDB before [15:27] jelmer: yeah, really handy when you need it ;) [15:52] vila, jelmer: I'm off to pick up the family. Have a good weekend [15:52] jam: same to you ! [15:52] jam: You too, fijn weekend ! === deryck is now known as deryck[lunch] [16:37] I have a bound heavyweight branch checkout and have been committing locally using bzr commit --local [16:37] I need to push a set of the commits to the upstream branch [16:38] to avoid dumping thousands of line changes in one merge proposal [16:39] is there a common workflow for this? [16:41] psynaptic: you should be able to unbind the branch and rebase [16:42] so unbinding is like removing the central server info from the branch? [16:42] yeah - "bzr unbind" [16:43] ok, done that [16:43] there doesn't seem to be help for bzr rebase in our version [16:44] psynaptic: it's part of the bzr-rewrite plugin [16:44] right, thanks.. will need to speak with infra about getting this added [16:45] So, you want to squash lots of commits into a single one? [16:45] psynaptic: ^ ? [16:45] psynaptic: you should be also be able to install it locally in your home directory [16:46] maxb: nope, this is what I need: [16:46] I have say local 50 commits [16:47] I want to pick a point in time (a revno) and push all commits up to this point to the upstream branch [16:47] I'd like to keep the history intact [16:47] is this possible? [16:47] Oh, so you don't want bzr rebase at all then [16:47] oh ok [16:47] "bzr push -r whatever" [16:48] thanks, will try that [16:50] need to speak with the reviewer to see what he wants merging first, will try in 10 [17:06] psynaptic: has the mainline been merged since you did your first local commit? [17:07] yeah [17:07] I need to up [17:07] but last time I did that I got all the commits dumped into my working copy with pending merge tips for each commit [17:08] psynaptic: In that case you indeed want bzr unbind + bzr rebase [17:08] bzr push -r will complain about diverged branches [17:08] right [17:09] Is rebase strictly necessary here? [17:09] this is starting to get confusing! [17:09] but it's hard for people to review 5000+ line *changes* [17:10] maxb: to avoid the merge commit, yes [17:10] I'd be inclined to unbind, branch the local commits aside to a new branch, reset the working branch to current mainline, and then merge *some* of the local commits back from the second local branch === deryck[lunch] is now known as deryck [17:11] psynaptic: even with a merge the individual commits are still accessible for others to review [17:11] jelmer: sure, but we use launchpad and the reviewer just sees the whole review as a bundle to review, if that makes sense [17:12] also, my changes don't leave the working tree in a perfectly working state [17:12] which is a pain [17:12] psynaptic: that doesn't really change if the revisions are all on the mainline though [17:30] Hi, I was using branch.get_rev_id(revno), is there a similar method that would work with tags? [17:33] zyga: you can use branch.tags is the tag dictionary [17:33] thanks! [17:35] On a Windows 7 machine (that I do not have direct access to), 'bzr checkout' is failing with this error message: [17:35] bzr: ERROR: File exists: u'C:/cylon/buildslave/bs/windows7-64-py2.7/.bzr/repository/upload/hvb53sfw5m0wa72323g6.pack': [Error 183] Cannot create a file when that file already exists [17:43] hi exarkun [17:43] exarkun: what version of bzr is that? It looks like one of the bugs spiv fixed earlier. [17:44] Hm. [17:46] I don't know what version it is. Probably the version that was packaged in a Windows installer as of about a week ago. [17:49] actually, it's a different one [17:49] bug 376895 [17:49] Launchpad bug 376895 in Bazaar "HPSS cannot rename-over packs on win32" [High,Confirmed] https://launchpad.net/bugs/376895 [17:49] jelmer: my revisions are all local, does this affect it? [17:49] psynaptic: does it affect what? === beuno is now known as beuno-lunch [17:51] jelmer: I may just be able to push all my changes afterall, will find out [17:51] jelmer: Okay, thanks. === beuno-lunch is now known as beuno [18:47] maxb: thanks again for all the help yesterday, much appreciated! [18:47] Hello === psynaptic is now known as psynaptic|food [19:23] Question: I've got a checkout, and I want to "undelete" a directory that was removed in a previous commit... is the best way to do a pull of that directory at that previous revision? [19:37] grettke: I think the simplest way is "bzr revert -r past-revision-number-or-id-or-tag path/to/subdirectory/that/no/longer/exists" [19:57] is there a rpm for bzr-svn? [19:57] or is it a plugin? [19:58] The two are not mutually exclusive [19:58] Answers are "Almost certainly" and "Yes". [19:59] But I'm a Debian/Ubuntu person and shudder at the thought of RPMs [19:59] lol - [19:59] I'm almost 100% certain I've done a rpm install in the past but can't seem to find one today. === psynaptic|food is now known as psynaptic|afk [21:02] hi [21:03] ... [23:06] Hi - I'm trying to use bzrlib.log.logger to generate a log of just the mainline branch revisions. I'm specifying 'levels=1' in 'make_log_request_dict', but I still get all levels. Any ideas what I'm doing wrong? Here's the four lines of code involved: http://pastebin.com/Wh7sP7nd [23:13] hmm, it seems that I have to do something in my log formatter - I expected the settings in the request dict to determine what the formatter gets as input.