/srv/irclogs.ubuntu.com/2008/06/17/#bzr.txt

lifelessoh, igcs updated loom, right00:00
abentleyYes, the patches igc submitted recently.00:00
igcabentley: what was the bug?00:00
lifelessdidn't jml have a patch for clone already?00:00
jmlI did00:00
jmlit got merged into abentley's branch too.00:01
abentleylifeless: yes, and it was my modification of that patch which exposed the bad behavior.00:01
abentleylifeless: Anyhow, when I thought it was about all_revision_ids, I thought I should confirm that it should work across fallbacks.00:01
abentleyThe bug is that we open a repository before opening a branch, and we attempt to use that repository even if we find a branch later.00:02
lifelessoh yes, references won't like that00:03
abentleyExactly.00:03
abentleyIt doesn't follow branch references and it also doesn't set fallback repositories.00:03
abentleyAnyhow, I've got a fix now.  I only pinged because I misdiagnosed the problem at first.00:06
lifelessabentley: sweet00:06
nosecowanother newbie question. just tried my first commit, and got this error: bzr: ERROR: Cannot lock LockDir00:22
beunonosecow, is this on a checkout?00:23
nosecowbeuno: no, the checkout was successful. created a test directory with one file, then tried to commit, and got that error00:24
beunonosecow, this was using a lp:~yadayada type for URL?  As in, from Launchpad?00:24
nosecowbeuno: no. bzr co ftp://myhost/var/www/mysite c:\apache\htdocs\mysite00:25
beunothat's odd then.  Can you paste in the full error?00:26
nosecowyes00:26
nosecowbzr: ERROR: Cannot lock LockDir(ftp://linuxdev01/var/www/propertypartner/.bzr/re / pository/lock): File exists: '/var/www/propertypartner/.bzr/repository/lock/un7w / nlmbyp.tmp': 550 Create directory operation failed.00:26
beunonosecow, what version of bzr are you using?00:27
bob2ms windows ftp server?00:27
lifelessnosecow: thats strange. Can you use 'sftp' instead of 'ftp' - it is a much nicer protocol and less problematic00:27
nosecowbueno: 1.5, just downloaded00:27
nosecowlifeless: had trouble with setting up sftp; will go edit my conf file...can i just checkout again once i change?00:28
lifelessnosecow: yes00:28
=== mw is now known as mw|out
nosecowlifeless: changed default scheme in authentication.conf to sftp; but bzr does not seem to be picking up the proper username - is still using it's 'guess'00:32
lifelessnosecow: put the username before the url like:00:33
lifelesssftp://USERNAME@hostname/.....00:33
nosecowokeydokey00:33
nosecowsigh: bzr: ERROR: File exists: u'C:/apache/htdocs/propertypartner/.bzr': [Error 183] C / annot create a file when that file already exists: u'C:/apache/htdocs/propertypa / rtner/.bzr'00:34
* igc back in a few hours00:34
nosecowshould i just delete it?00:34
nosecowand, i really appreciate this help...00:35
lifelessyes, you can just delete that if its where you want to checkout to00:36
lifelessback in a little bit : food00:36
nosecowOkay, sftp protocol used, checkout from linux server to windows machine works fine, adding a directory and attempting to commit yields:00:40
nosecowbzr: ERROR: Cannot lock LockDir(sftp://nosecow@linuxdev01/var/www/project/.bzr/repository/lock): Permission denied: "/var/www/project/.bzr/repository/lock/ctb89f5sh3.tmp": [Errno 13] Permission denied00:40
Pengnosecow: Does your sftp user have read/write access to the repo?00:41
nosecowooh good question. can you tell it's been a long time since I used unix? :)00:41
=== mwhudson__ is now known as mwhudson
nosecowpeng: excellent advice, thank you00:47
nosecowyesssssssssssss00:48
nosecowpeng,bob2,lifeless: thank you all for the help. i have the basics working now. I appreciate all of your help!00:48
Peng:)00:48
nosecowbye01:01
pooliespiv: were you going to come down here today?01:11
spivpoolie: yeah.  I'm just about to head out the door.  I slept badly, and was just trying to figure out if I was sick or just tired before I came down and possibly spread contagion :)01:19
spivpoolie: it seems I was just tired, which is good (relatively speaking...)01:19
lifelessbeuno: what do you think of the new loggerhead bugs?01:20
mwhudsonlifeless: https://bugs.edge.launchpad.net/loggerhead/+bug/240504 is a bit interesting01:23
ubottuLaunchpad bug 240504 in loggerhead "Should not generate revisioned URLs unless specifically needed" [Undecided,Confirmed]01:23
mwhudsonbecause if you want to generate a link to "file X in rev Y" i think you need to load the inventory for rev Y01:24
mwhudsonwhich is a pain, probably01:24
lifelessmwhudson: well01:24
pooliespiv, oh np, just wondered01:25
poolieglad you're not ill01:25
lifelessmwhudson: first approximation: load the inventory for .tip. If the modification revision is the same as in .tip, then you don't need to specify a revision01:25
lifelessmwhudson: anyhow, this is why bzr search has phrase searches for (file_id, revision_id) -> 'p', '', PATH01:26
mwhudsonah interesting01:26
mwhudsonso if we demanded bzr-search, we could do this more quickly?01:27
lifelessmwhudson: its how 'bzr search foo' can return README as a path01:27
mwhudson(not sure this is sane, of course)01:27
lifelessmwhudson: well, there are multiple answers. In particular I wanted to say to Olav that we agree its not friendly01:27
mwhudsonsure01:27
lifelessright now I'd do the low hanging fruit01:28
lifelessjam: spiv: I've mailed a sample of how to do it easily01:28
mwhudsonwell, i think the priority with loggerhead is to get some of the branches floating around merged01:28
lifelessjam: spiv: feedback + things that would make it easier appreciated01:28
lifelessusing tango stuff would be cute; cuter still if it was just an optional theme01:29
mwhudsoni don't think the visual stuff is going to be ready for merging for a while01:31
mwhudson(well, a week or so, let's say)01:31
lifelessmwhudson: :P01:31
* mwhudson is running on internet time01:31
lifelessblog aggregators must die01:34
lifelesshttp://www.asofterworld.com/oq-display.php?id=5801:34
lifelesshttp://datacharmer.blogspot.com/2008/06/mysql-sandbox-122-and-joys-of.html02:13
mwhudsonlifeless: nice02:14
pooliesweet02:28
poolielifeless: assertRaises where?02:32
lifelessin the test02:33
lifelessyou raise a specific exception02:33
lifelessand fail if its not raised02:33
lifelessthat fits assertRaises doesn't it ?02:33
pooliehum02:33
pooliei want to generate an ImportError02:34
lifelessif it doesn't thats fine - but its close enough people will get confused IMO so a note to that effect would help clarity02:34
pooliei don't see how assertRaises can do that for me02:34
pooliepossibly i should remove the 'else' clause; if for some reason that module is loaded it will fail in a different way02:34
pooliethe raise is just to generate the input for the real test02:35
pooliewhich is the call to format_exception02:35
lifelessright02:35
pooliei guess i could pass a lambda to assertRaises but i don't see the point02:35
lifelessthere is a bit of action at a distance happening I think. Specifically - are the args to ImportError well defined across python versions? If they are why don't you just 'raise ImportError'02:35
pooliei do...02:36
lifelessif they are not well defined then presumably the code is fragile, or we need python version based conditional logic02:36
poolieoh in the other test02:36
lifeless+        try:02:36
lifeless+            import ImaginaryModule02:36
poolieit seems like this is more realistic and no harder than just raising ImportError02:37
lifelessso I guess I'm saying I'd have done a test that 'import MissingModule' resulted in an ImportError with a specific value in the args, to catch python variations, and then all the other tests as 'raise ImportError(...)'02:37
lifelesswhich is close to what you've done ;)02:37
poolieok02:38
pooliethat would also work02:38
pooliethat would be a bit more precise, i don't think it's needed here02:38
pooliethanks for the prompt review02:38
lifelessanyhow, its bb:approve'd02:38
lifelessthe rest is sugar02:38
pooliecan you also read my comment on https://bugs.edge.launchpad.net/bzr/+bug/20523002:38
ubottuLaunchpad bug 205230 in bzr "error message recommending incorrect setting of PYTHONPATH" [Low,Confirmed]02:38
poolieat the end02:38
pooliewant to trivilaly fix that too02:39
lifelessthats an improvement02:40
lifelessa note though - folk with .zips (e.g. windows) may need 'bzr.zip' on the path.02:41
lifeless205230 is good as is02:41
lifelessjust speculating about potential further tweaks02:41
lifelesstime to pkill firefox03:09
lifelessah look, 20% cpu back just like that03:10
fullermdThat must be nice.  I get 100% (well, 100% of one CPU) back when I SIGSTOP it while not actively using it   :|03:34
* beuno looks at new LH bugs04:43
beunoah, fun04:45
beunomwhudson, I was thinking, it shouldn't be too hard for us to be able to optionally serve branches over http04:46
Verterokbeuno:  you have a few to look ;)04:46
beunowould be a nice feature to have04:46
* mwhudson loves how fast bzr log --short | less starts up now04:46
beunohey Verterok04:46
mwhudsonbeuno: um, true i guess04:46
mwhudsonbeuno: broadly speaking, i would tend to leave serving static files to apache... but i guess it wouldn't be hard04:47
beunomwhudson, we could even provide URLs to branch ay any given point in time, for your copy'n'paste comfort04:47
* mwhudson hmms04:47
beunoI agree, although as a plugin for bzr that would rock  :)04:47
mwhudsonyeah, interesting idea04:47
mwhudsonfile a bug on that too :)04:48
beunoheheh04:48
beunomore bugs?  :p04:48
mwhudsonbeuno: there's more stuff in my wsgi-ify branch now04:48
mwhudsonbeuno: bugs are great04:48
beunoabsolutely, makes it clearer what to do!04:48
* beuno looks at the whisky branch04:48
beunoalso, we should have export on there. "Download tar.gz for this revision"04:49
mwhudsonthat sounds resource intensive04:49
mwhudsonbut, well, sure :)04:49
mwhudsonso long as we can turn it off for lp...04:50
beunoprobably, but, well, generate it once, keep it forever :)04:50
mwhudsonwell, that just consumes a different resource04:51
beunostorage is cheaper, but yes, all these things should be optional04:52
lifelessgetting a tar is not expensive04:56
lifelesscompressing it is somewhat04:56
beunomwhudson, what do you think about setting a milestone for 1.3 in LP, and filing bugs on what we absolutely want for it, and target them. That way it should be easier to focus05:00
mwhudsonbeuno: i think that's a good idea05:00
beunomwhudson, cool, because only you can do that  :p05:01
mwhudsonbeuno: i've just made you a 'driver', does that let you do it? :)05:02
beunomwhudson, heh, no  :)05:03
mwhudsondarn05:03
beunoI wonder what that does anyway, I don't see anything new I can do05:04
mwhudsonmaybe it means you can target bugs to milestones?05:04
beunonot even05:05
mwhudsonbeuno: do you think i should create a new productseries?05:05
mwhudsonbeuno: you should apply to join the loggerhead-team, btw05:05
mwhudsoni'll poke robey to make me an admin05:06
pooliejml: "i'd love to" cute :)05:06
poolielike Robert's thing that "the code will do X" meaning "will after it's written" :)05:06
beunomwhudson, requested. I'm not sure about the series thing, that always confuses me. I think you *have* to05:06
* beuno applies05:07
mwhudsoni guess that it confuses me too points to a problem in launchpad...05:07
mwhudsonbeuno: do we call it 1.3 or 2.0 do you think? :)05:07
jmlpoolie: well, the first email was sent *before* I consulted my calendar :)05:07
beunomwhudson, 2.0 sounds cooler  :p    Maybe we can try releasing the same as bzr versions, to me it less confusing and obvious with what version it works with05:08
mwhudsonbeuno: that's probably a good idea05:09
mwhudsoni guess that means 1.6 then as we'll probably release between 1.6 and 1.705:09
beunoyeap, sounds good05:09
beunoI love how versioning is so flexible  :)05:09
pooliehello beuno, mwh05:12
beunohowdy poolie05:13
mwhudsonbeuno: i think maybe you can "nominate a bug for the 1.6 release"05:13
beunomwhudson, nope, I can for bzr, not for LH05:14
mwhudsonbeuno: how strange05:14
mwhudsonhttps://bugs.edge.launchpad.net/loggerhead/+bug/236702/+nominate says "The loggerhead release manager  is Martin Albisetti. " :)05:15
ubottuLaunchpad bug 236702 in loggerhead "No permalink to "latest revision of file" in Loggerhead" [Undecided,Confirmed]05:15
beunooh, I can access that link  :/05:15
mwhudsonreleases, productseries and milestones do not have entirely obvious interactions in launchpad05:16
* mwhudson adjusts his understatement settings05:16
beunoI can't find anywhere in the UI to do it...05:16
mwhudsonbeuno: "nominate for release" in the actions portlet?05:16
beunoah, target to release05:17
beunoand bzr uses "milestones"05:17
mwhudsonwell, i can add a milestone to the 1.6 series05:18
mwhudsoni'm not quite sure if i want to though05:18
beunodon't worry about it, I'll use that05:19
beunoit's odd, in bzr it *does* say Nominate for...05:19
mwhudsonoh, maybe all i can do is nominate for a release05:20
mwhudsonbut because you're the driver you can actually target it?05:20
beunobut you're part of the group and I'm not05:20
beunobut it makes sense05:20
beunosort of05:20
mwhudson:)05:21
mwhudsoni could actually read the code to figure this out, but it feels rather like cheating05:21
beunoright. " Bug nominations are evaluated by release managers and accepted or declined for fixing in a release. "05:21
beunohahaha, and, from the looks of it, you may get lost for a while  :p05:21
mwhudsonoh, https://help.launchpad.net/Projects/SeriesMilestonesReleases seems relevant05:22
beunomwhudson, bug #156453 probably should go away with the release of the zpt branch, right?05:25
ubottuLaunchpad bug 156453 in loggerhead "production loggerhead branch leaks memory" [Critical,Fix committed] https://launchpad.net/bugs/15645305:25
mwhudsonbeuno: hope so, let's see05:25
poolielifeless: is it ok with you if i disable test_35_wait_lock_changing (patch for this on the list)05:29
lifelesspoolie: if you must; I thought we'd discussed a simple way using a closure to test it with being timing dependent or threading05:29
poolienot as simple as this :)05:30
pooliei do want to finish that but i don't want to detour into it too much05:30
lifelesslet me rephrase - no, I don't think its a good idea to disable it. Its (I estimate) < 2 hours to fix properly. If we disable it, just delete it because noone will ever fix it..05:30
pooliehm05:31
poolieshould i fix it now or read the VF patch?05:31
lifelesslets ask spiv where is review is up to05:31
poolie(biab)05:31
lifelessspiv: where is your review up to05:31
poolielifeless: he was working on his hpss version handling patch05:51
pooliewe are both going back to that now05:51
lifelesspoolie: so, I don't know the answer to 'should i fix it now or read the VF patch?'05:54
spivlifeless: fwiw, I'm reading your knit.py changes atm05:55
lifelessbeuno: :)06:06
lifelessok, sending an incremental diff with the stuff I've improved so far06:06
pooliespiv/lifeless, i'm reading log.py06:08
poolielifeless: i'll read it now and do this06:08
pooliewill try to fix it properly later06:08
poolieif its timeslice expires i will just disable the test though06:09
igcpoolie: can I help with the VF review?06:09
igcotherwise, I'll review jam's annotate patch06:09
pooliemerge.py06:11
poolieigc, hi!06:11
pooliei think it's ok with spiv and me06:11
igchi poolie!06:11
mwhudsontime to stop for me today06:11
mwhudsonbeuno: another day without reviewing your urls branch, sorry about that :(06:12
lifelesspoolie: I'd like a chat with an intelligent teddy bear06:12
beunomwhudson, no problem. wsgi thing is more important. I still have a few tweaks to add to it. I'll try and get those done tomorrow so you can review all if it in one batch06:13
mwhudsonok06:13
lifelesspoolie: so I'm going to ring you :)06:13
spivlifeless: be careful with intelligent teddy bears06:14
spivlifeless: they can talk back!06:14
beunomwhudson, I reorganized the bugs a bit, but feel free to change around anything you'd like. I targeted more or less what we've been discussing. I assume we're going to release with the new theme, right?06:14
mwhudsonbeuno: i think we should06:15
mwhudsonso new templating engine, new look, new http front end, ...06:15
mwhudsonanything left for us to change? :)06:15
beunotests  :p06:15
mwhudsonmost of history.py isn't changing i guess06:15
mwhudsonah yes, good point :)06:15
beunono, but I saw you have a blueprint to replace that with something more sensible06:16
beunomaybe we can discuss that after this release, and work out a plan for that06:16
mwhudsonoh, er, that blueprint is way out of date06:17
mwhudsonthe idea behind it is still good perhaps06:17
beunoit's worth looking in to. I get the impression we should change it too, so we should have a talk about it after we get this release out, and see if it still makes sense06:18
beunoand, well, tests. Which can be the main focus of the next release, apart from maybe bug fixing   :)06:18
poolie(back)06:34
igcpoolie: jam asked this morning if you'd send an email to the list at the close of your day explaining where you and spiv were up to in reviewing the VFs stuff. That way, he can pick it up overnight. He'd also said it was fine if you completed the review before then. :-)06:47
poolieheh thanks :)06:47
poolieok06:47
pooliei think we can probably finish it today06:47
pooliei should send an update mail anyhow06:47
* beuno is off to bed. Night all06:48
poolielifeless: in so many places the key list is the mapping of a function over some other list it kind of seems like there should be a more direct idiom06:53
poolielike that you should pass in a closure that does the mapping06:54
pooliehowever i suppose this would not actually make it any cleaner06:54
lifelessI think it would make it less clean06:59
lifelessbecause it would pollute the interface06:59
pooliemm07:06
poolieit was not a suggestion, just a thought07:06
lifelessyah07:06
pooliemerge.py done, looking at your incremental patch07:06
lifelessI was just saying what I thought of the thought :)07:07
* lifeless eats lunch07:07
poolie> +    Tuple based apis below, string based, and key based apis above07:08
pooliei don't understand that sentence07:08
lifelessoh hmm07:08
lifelessso I'm trying to say that below the line the code deals only with tuples07:09
lifelessand above you have either plain strings07:09
lifelessor for some apis (existing ones!) tuples that are types in that tuple[0] means 'fileid', tuple[1] means 'revisionid' (for that specific interface)07:09
poolielifeless: ok, some feedback sent; if you want me to take a stab at rephrasing it i can07:22
poolieum07:22
pooliethere is the risk that by the time we get there i will just understand it and not need the docs07:22
pooliebut i think the initial review experience shows its worthwhile07:22
spiv+            if content._lines and content._lines[-1][1][-1] != '\n':07:24
spivOw :)07:24
=== timchen1` is now known as nasloc__
lifelesspoolie: I think there is value in that yes07:25
lifelessspiv: yes, but thats already in mainline :P07:25
lifelessspiv: I think.07:25
spivlifeless: Not that my quick search of the diff finds :P07:26
spivlifeless: I blame AnnotatedKnitContent rather than you, though ;)07:26
lifelessspiv: hmm, must have been pulled out with poolies other fix; I do recall not liking that line07:26
lifelessspiv: I think we can delete it07:26
spivlifeless: awesome :)07:26
lifelessoh, that reminds me07:27
lifelessthat bug is indeed fixed07:27
poolielifeless, spiv, some comments sent07:35
lifelessthanks07:35
spiv+                suffix_parents = self._kndx_cache[prefix][0][key[-1]][4]07:41
spivThat's perhaps even more impressive ;)07:41
pooliedoing reconcile.py07:43
pooliespiv, i guess you did all of remote.py etc08:03
spivpoolie: My notes say I've done remote.py, smart/repository.py, branch.py, bundle/serializer/v4.py, bzrdir.py, check.py and fetch.py.  And just sent knit.py08:05
poolieyay way to go08:06
spivpoolie: oh, and annotate.py, builtins.py and inventory.py (which are all pretty trivial)08:16
poolieok will do revisiontree08:35
lifelesspoolie: asking now to avoid latency...08:42
lifelessiter_topo_keys - why is it a good time now to fix a bug in existing code ?:P08:42
poolielifeless: in that it accepts keys=None?09:01
poolielet's not add a new api that propagates problems09:02
spivDone knitrepo.py09:02
pooliei suspect you can just delete those lines/words and it will work09:02
poolieif not it's ok to leave it09:02
pooliestill on revisiontree09:05
poolieok reading store/__init__.py09:07
lifelesspoolie: I'm fairly sure I can't :P09:08
poolieok well don't then09:18
poolieat least i'm sure it's never given one parameter09:19
poolieyou could do that09:19
poolieit's possible it's sometimes indirectly given None09:19
* spiv starts reading tests/*09:19
poolielifeless: it's a new function and there's only a handful of callers that do seem to pass a value09:20
poolieif it fals with that removed i guess it's not worth debugging09:21
poolieat the moment09:21
poolielifeless: about the changes in store/__init__.py, changing _iter_files_recursive09:21
poolieyou changed the way escaping is done there09:21
poolieah, np09:22
pooliethe diff context is a bit misleading09:22
=== RAOF_ is now known as RAOF
pooliegood night09:49
lifelessgnight poolie09:58
james_wIn python if I create a variable holding a value and don't use it I assume it takes up memory until the next gc, is that correct?10:26
james_wand if I immediately create another variable with the same value then that takes up the same amount of memory again?10:27
Leonidaswhy does bzr blame display the email adresses instread of the names on the lines?10:30
LeonidasI'd prefer to see the names there instead and maybe the initial would be even better10:31
Leonidas(displaying the initials if the initials on a project do not clash)10:31
james_whi Leonidas, I'm not sure, you could file a bug requesting the change.10:36
Leonidasjames_w: on launchpad?10:37
james_wLeonidas: yuppers10:37
james_whttps;//bugs.launchpad.net/bzr/+filebug10:38
james_walmost10:38
james_whttps://bugs.launchpad.net/bzr/+filebug10:38
Leonidasjames_w: yeah, ok. It's not that important, though :)10:38
james_wLeonidas: still nice to record these things.10:38
Leonidasjames_w: ok, writing it now.10:39
james_whanks10:39
james_wthanks10:39
james_wman, I should get off my ass and go to the shop to get some milk so I can have breakfast10:40
lifelessjames_w: when you do 'foo = bar'10:50
lifelessjames_w: 'foo' is bound to the result of evaluating 'bar'10:50
Leonidasthere it is: https://bugs.launchpad.net/bzr/+bug/240633 (lp does not allow me to set 'enhancement' on this)10:50
ubottuLaunchpad bug 240633 in bzr "Display names in bzr blame" [Undecided,New]10:50
Leonidasbreakfast sounds like a great idea.10:50
lifelessjames_w: if foo goes out of scope, then in CPython the ref count for whatever foo what bound to is decremented10:51
james_wLeonidas: done, thanks.10:51
james_whi lifeless10:51
lifelessjames_w: if there are no cycles this results in it being freed immediately10:51
lifelessjames_w: if there are cycles then yes, a gc run is needed to free it10:51
lifelessjames_w: if you rebind foo, by doing 'foo = bar2'10:51
lifelessthen the old thing referenced by foo has its refcount decremented, see above10:52
james_wthanks10:52
james_wso a = foo; b = foo; would increase the chances of a MemoryError?10:52
lifelessthis is a long winded way of saying: yes|no to the first question and yes|no to the second10:53
james_wthis is for the patch I just sent if you didn't guess.10:53
james_w:-)10:53
james_wlifeless: if you're not heading off then I have a question about the package work.10:55
lifelessshoot10:55
lifelessi"m playing games10:55
james_wI'm adding handling of native packages. The simple case is just that.10:56
james_wthe difficulty is when a package moves between native and non-native.10:56
lifelessso I'm biased here10:56
james_wI think non-native -> native should just import the native package as a merge of the packaging and upstream branches.10:56
lifelessI think native packages are a premature optimisation and a bug in dpgs10:56
lifeless*dpkg*10:56
lifelessnon-native->native should do a merge commit yes10:57
lifelessand the reverse seems clear to me10:57
lifelessto move from native to non-native there are two branches made, both which derive from the last commit on the native one10:58
james_wI was leaning that way, I just wanted confirmation that it was sensible, thanks.10:58
lifelessin the new upstream branch the packaging data is deleted10:59
lifelessin the new packaging branch a merge from the new upstream is recorded, and the version metadata is changed10:59
lifelessjam: hi10:59
james_wyep, that sounds fine, I've just got to think about how to figure out what should happen from the history we have available, it shouldn't be too hard.11:00
lifelessupstream content == tarball11:00
lifelessupstream parent == last native11:01
lifelesspackaging content == tarball + diff11:01
james_wthe other question is how, and indeed whether, we should indicate that the package is native at that point.11:01
lifelesspackaging parents = [last native, upstream]11:01
lifelessor perhaps the other way around11:01
lifelesswell, its not native now, its now non-native :P11:01
james_wI think that's the right way round.11:02
lifelessI dunno, I'd need to think :P11:02
james_wyeah, sorry, indicate that the package is native when it is.11:02
lifelessI think just the version number :P11:02
james_wthere's two things that impacts, one is when importing the next version so that we know to use the packaging branch as the upstream branch as well, and the other is when building.11:02
lifelessthere should always be a packaging branch, thats the one people get11:03
james_wif only :-)11:03
lifelessseriously, the version number is the only way to detect a native package AIU11:03
james_wnope, a native package is a native package, i.e. the .dsc just describes a tarball, not a tarball and diff.11:04
james_wthis can happen at any moment, with any version number.11:04
james_we.g. lvm2 just goes native at something.something-1ubuntu4, and then back to non-native at the next revision11:04
lifelessargh11:05
lifelesssee, native is a bug11:05
james_wI think it's a bug in dpkg that you get a native just because you didn't have a correctly named tarball/directory in the parent directory.11:05
lifelessnative's _existence_ is a bug11:05
lifelessso totally convinced of this11:05
james_wwell, trying to deal with this makes me dislike any variation, so I'd agree at this point.11:06
lifelessok11:06
james_wwhat builddeb currently does is versions a file in the tree which just says "native = True"11:06
lifelessso detecting native. hmm - think on it during your day, mail me if you don't have a good answer at the end :P11:06
james_wI can detect native fine.11:06
lifeless20:01 < james_w> the other question is how, and indeed whether, we should indicate that the package is native at that point.11:07
lifelessso, whatever you mean by ^^^11:07
james_wah, I meant indicate in the branch.11:07
james_wthe .dsc tells you fine, but we don't version that.11:07
lifelessright11:07
lifelessso the dsc represents a 'commit' to the 'debian vcs'11:08
lifelesswhy don't we preserve it11:08
james_wsounds reasonable, do you have any suggestions where?11:09
lifelessrevision properties perhaps11:09
lifelessonly need some of the dsc11:09
james_wyeah, I was thinking of adding some from this information.11:09
james_wthis works fine for imports, so I'm happy to do that for now.11:10
james_whowever, what's not great about it is when you are building a new version of the package, the native property would be set on the last imported revision, but do we build the current package native?11:11
lifelesswell11:11
lifelessI think that this is arguably something debian/control should answer11:11
lifelessit would solve the bug of sometimes getting native when you don't want, etc11:12
james_wI wouldn't mind enforcing the rule from the version number, but I wouldn't be surpised if there were packages out there that intentionally break the rule.11:12
james_wyes, debian/control would be great.11:12
james_wI think format 3.0 may actually do this.11:13
james_wyeah, you specify "3.0 (native)"11:15
james_wI don't think we could block on having 3.0 by default though.11:15
lifelessindeed11:15
james_wAm I right in thinking that bzr doesn't provide a mechanism that allows you to associate something with the branch rather than a revision?11:17
james_wi.e. branch.conf isn't copied on "branch" is it? Or at least not all of it?11:17
lifelessthat correct11:17
james_wand that wouldn't help too much, as we would want it to be versioned.11:18
lifelessash keybuk how he solved this11:19
james_whct? or Mom?11:19
lifelesshct11:19
james_wok, thanks.11:19
lifelessand I can think more about it but not tonight :P11:20
james_wI've one last thing that I wanted to ask.11:20
james_wwhen we chatted with jml and everyone else about branch naming we only discussed packaging branches.11:20
james_ware we going to push the upstream branches to launchpad separately, or just extract them as needed from the packaging branches?11:20
lifelesswell11:21
lifelessMark wants to keep the two incompatible branch sets separate11:21
lifelessso lets keep them implicit in the branch as tags only for now11:21
james_wsure, easy enough.11:21
james_wthanks for you time. I don't need to block on the native thing, but we need to get it right before making the branches available, so if you have any thoughts I'd appreciate it.11:22
lifelessI suggest a mail on it when you've chatted with scott & perhaps colin11:22
james_wsure, I'll start that today, thanks.11:23
james_wyou're going to be at the distro sprint again, is that right?11:23
lifelessyes11:23
lifelessguadec + london + wolverhampton11:23
james_wah, I'm doing the last two.11:24
Jc2klifeless: your at GUADEC?11:26
lifelessJc2k: I will be yes11:27
lifelessJc2k: the Gnome folk at UDS thought it would be good to be able to grill me with others at GUADEC :)11:27
Jc2kfor the DVCS stuff?11:28
* Jc2k hopes to get to wave his finger at the Git camp :)11:29
pygiis there really a point in pointing fingers, instead of collaborating?11:31
Jc2ki was joking, obviously, but the last time GNOME debated DVCS one of the Git users threatened to take their ball in.11:32
mwhudsonJc2k: hi :)11:33
* mwhudson is not really here11:33
Jc2klo mwhudson :)11:33
Jc2koh dear..11:33
Jc2k:)11:33
mwhudsongot my email?11:33
Jc2kyes i did, and i've updated bzr-mirror with your latest :)11:34
mwhudsonand the annotate links work now, good11:45
mwhudsonolav filed a bunch of loggerhead bugs, so i guess you showed it to some of the gnome people :)11:46
Jc2kjust a couple11:46
asabil_Jc2k: btw, thanks for setting up the bzr gnome mirror :)11:48
Jc2khehe, np asabil_11:49
Jc2kasabil_: im working on making it easy to use from jhbuild, if thats of any use to you11:49
asabil_Jc2k: that sounds very nice :)11:49
asabil_I think what is still lacking is a branch hosting facility, similar to launchpad's branch hosting11:50
Jc2kindeed, mark phoned me to discuss bzr-mirror and we are looking meant to be looking into that11:51
=== kiko is now known as kiko-afk
Jc2kasabil_: watch this if your interested :) http://bugzilla.gnome.org/show_bug.cgi?id=53850711:51
ubottuGnome bug 538507 in general "Jhbuild should be able to use bzr-mirror.gnome.org" [Normal,Unconfirmed]11:51
asabil_oh thanks11:51
asabil_I am *very* interested11:52
Jc2k:)11:52
lifelessI showed that to jamesh, no comment so far :P11:56
lifelessjam: ping11:56
Jc2k:P11:56
mwhudsonJc2k: do you have any loggerhead issues you'd want me to focus on particularly?11:57
mwhudson(other than the reasonably obvious one of "get what you're running into trunk")11:57
Jc2kmwhudson: anything that olav wants, nicer urls would be lovely (so i can guess a url if i know the layout of my project, for example) and some way for me to start giving it the GNOME skin11:59
mwhudsonah yes, themable html11:59
mwhudsonthat's beuno's department :)11:59
Jc2kmwhudson, bueno: might be worth hanging out in #gnome-bzr on irc.gimp.org?12:00
mwhudsonyou can supply your own css now of course, it's just a static file12:00
Jc2kyou too asabil_12:00
asabil_oh oki12:00
mwhudsonbut you'll probably want to hurt yourself before you got anywhere12:00
mwhudsonJc2k: oh right12:00
asabil_btw Jc2k, you are the conduit author right ?12:01
Jc2kim one of the core devs, aye12:01
asabil_we need to talk :D12:01
Jc2kace12:01
Jc2k#conduit on gimpnet then ;D12:01
asabil_:)12:01
lifelessmwhudson: I did mention #gnome-bzr on gimpnet right ?12:02
mwhudsonlifeless: you did12:02
lifeless:P12:03
mwhudsoni had some reason for not joining at the time you mentioned it, i forget what it was :)12:04
Jc2k:P12:05
jelmer:-( dak migrated to git12:57
lifelessgarh12:58
lifelesswho maintains dak?12:59
james_wftpmasters I believe13:08
james_whttp://blog.ganneff.de/blog/2008/06/16/byebye-bzr-hello-git.html13:08
lifelesserm no browser13:12
lifelesswhats the summar ?13:12
james_wAs the title says - the Ftpmaster dak repository is now using git instead of bzr.13:14
james_wI never did like bzr, so I recently asked what the rest of the team thinks of switching to git. Luckily I got no objections, so here we are, with a VCS thats not dead-slow.13:14
datolifeless: that the person doing most of the works nowadays just dislikes bzr, and no other member of the team opposed to moving to git13:14
datos/works/work/13:14
james_whi dato13:15
datohello james_w13:16
james_wdato, jelmer: any thoughts on https://bugs.edge.launchpad.net/bzr/+bug/228298 ?13:24
ubottuLaunchpad bug 228298 in bzr ""common-post-build-indep" target in debian/rules became obsolete when bzr became arch-specific" [Undecided,New]13:24
lifelessok13:25
lifelesssearch suggestions done13:25
lifelessby done, I mean 'unit tested and works to the ui', not 'performant' or 'cleanly coded'13:26
jelmerjames_w: Looks like a genuine bug in the debian bits13:27
jelmerjames_w: The submitters suggestion looks reasonable13:27
lifelesshi dato13:27
datojames_w: yeah, I think as Jelmer13:27
datohello lifeless13:27
james_wjelmer: cool, shall I file it in Debian as well to keep track of it, or just do it?13:27
jelmerjames_w: Should be trivial enough to just fix, but whatever works best for you is fine with me13:28
james_wsure, I'm just doing some triage, I'll get to it after. Thanks.13:28
jelmerjames_w: thanks for your triaging work, btw, bzr itself is way behind on that :-(13:30
james_wno problem. I noticed we were close to 1000 open bugs13:30
lifelessgnight all13:31
Jc2knight lifeless13:31
jelmergutenacht lifeless13:31
james_wnight lifeless13:31
lifelessJc2k: I've just mailed beuno a suggestion (and the necessary code in bzr-search) for some bling; if he does it - and he is attracted to shiny things - then the search will be seriously sexy13:31
Jc2korly?13:32
* Jc2k wraps bzr-mirror.gnome.org in glitter and throws it to beuno13:32
mtaylorlifeless: if I have a revid, how do a get a revno from a branch?14:02
mtaylorlifeless: (in the code, not in the command line)14:03
mtayloroh. damn. he's gone to bed14:03
mtayloranybody else? ^^14:03
bob2branch.get_revision_id_to_revno_map()[revid]?14:08
mtaylorbob2: is that better than branch revision_id_to_revno() ? (which I just noticed...)14:10
bob2ah, I would say no :)14:11
mtayloruh...14:24
mtaylorhelp?14:24
mtaylorTwo plugins defined the same command: 'cmd_parent'14:24
mtaylorNot loading the one in <module 'bzrlib.plugins.mysql.parent' from '/home/mtaylor/.bazaar/plugins/mysql/parent.py'>14:24
mtaylorPreviously this command was registered from <module 'bzrlib.plugins.mysql.parent' from '/home/mtaylor/.bazaar/plugins/mysql/parent.py'>14:24
mtaylorthose look like the same place to me14:24
Jc2kbuggy plugin? can you not just move it out of the way?14:25
awilkinsI'm trying to ignore all files with the extension .txvClassDiagram20 *except* default.txvClassDiagram20 - the RE I think it should be is RE:.*(?!default)\.txvClassDiagram20  .. but this doesn't seem to work.. any pointers?14:26
mtaylorJc2k: yes. and I finally see the problem ... but WOW, what a weird error message14:28
Jc2kmtaylor: i've seen python get the path wrong if you move *.pyc files around14:28
Jc2kawilkins: if you bzr add a file, then it doesnt matter that its in .bzrignore *i think*14:29
awilkinsJc2k: Yup, agreed, but these files are not already added.14:29
Jc2kso add them? :)14:29
awilkinsJc2k: It's the other way round, I want to PREVENT automatic adds of all txvClassDiagram20 files EXCEPT default.<blah>14:30
awilkinsSo I want to ignore them apart from default...14:30
mtaylorJc2k: in this case, it was a "foo: %s" foo14:30
mtaylorJc2k: without a % between the string and the var :(14:30
Jc2kmtaylor: eep14:31
Jc2kawilkins: ahh ok, i figured there wouldnt be any new default.foo files to add14:32
awilkinsI think the .* is being too greedy14:32
awilkinsBingo, I wanted .*\b(?<!default>\.txvClassDiagram20$14:39
awilkinsDon't you just love regular expressions .....14:39
Jc2kwrite-only language :)14:46
awilkinsMy old colleagues used to joke about some of mine achieving sentience and taking over the world.14:46
awilkinsThey were'nt even very complicated as Regex go....14:47
abentleyawilkins: .bzrignore supports regexes.15:56
abentleyawilkins: Just prefix them with RE:15:56
Jc2kabentley: he solved the problem with regexes just a few lines up :)15:56
Jc2k14:39 < awilkins> Bingo, I wanted .*\b(?<!default>\.txvClassDiagram20$15:56
abentleyawilkins: I didn't see that he knew he could use that regex.15:57
abentleyOr Jc2k, actually...15:57
Jc2k:)15:57
=== kiko-afk is now known as kiko
catleeHello16:32
catleeI've been trying to use bzr to work on a local branch of a svn repository16:32
catleeBut I've noticed when I push changes back to the svn repo, all of my intermediate merges from the svn repo are included in my commit.  Is there a better way to work with a svn repo than bzr merge / commit / push?16:34
awilkinsjam: There's a bug on lp that says you use bzr/cygwin, have you ever used a bzr/cygwin sshd to serve bzr+ssh://  ?16:35
jelmercatlee: You can use rebase instead16:36
jelmercatlee, (instead of merge)16:36
catleejelmer, ok I'll give that a try, thanks16:36
jamawilkins: I use bzr/win32, I just run a cygwin shell16:36
catleegot an AssertionError when I tried to rebase with no arguments16:37
jamI've never run openssh server on cygwin16:37
jelmercatlee, what version are you using?16:37
catlee1.516:37
awilkinsjam: I think I just thought of a solution anyway... let me try it16:37
jelmercatlee, sorry, what version of rebase ?16:37
catleejelmer, how do I tell?16:37
catlee0.3.016:38
awilkinsjam: Problem I'm having is that the shell script is #!-ing a path to Python that Cygwin doesn't grok16:38
jelmercatlee: If you specify a location explicitly, it probably works better16:38
jelmerI think this issue as also been fixed in bzr-rebase, just isn't in 0.3.0 yet16:38
jamawilkins: you could have a different bzr in your cygwin path, which it *does* understand16:47
jamyou just need it for the shell script16:47
jamI use this:16:48
jam#!/bin/ash16:48
jam# Simple 'ash' script to thunk over to the real python16:48
jamexport BZR_PLUGIN_PATH='C:\Users\jameinel\dev\bzr\plugins'16:48
jamexec /cygdrive/C/Python25/python.exe 'C:\Users\jameinel\dev\bzr\bzr.dev\bzr' "$@"16:48
catleejelmer, not sure if I've really messed up my branch now...bzr rebase errors out saying there are no common revisions16:48
jelmercatlee: You really want the trunk version of bzr-rebase in that case16:48
catleejelmer, where is it?  the branch link from the Rebase wiki page is empty16:49
jelmercatlee, That link should work, you can run "bzr branch <link> ~/.bazaar/plugins/rebase"16:49
catleehttp://people.samba.org/bzr/jelmer/bzr-rebase/trunk/16:50
jelmercatlee, yes16:50
catleeah, I guess apache is hiding the .bzr directory16:50
catleeI'll give it a try, thanks16:51
awilkinsjam: That works a lot better ; do bzr+ssh URIs understand "~" ?16:53
Pengawilkins: No.16:53
jamawilkins: not yet16:53
jambut you can use the "contrib/bzr_access" script to change the meaning of /16:54
awilkinsWould using Cygwin Python be any easier, DYT?16:55
awilkinsHow do you specify the path, I'm now guessing you can't use <URI_ROOT>/home/branch  ?16:56
awilkinsI got SFTP working nicely, but the completist in me wants to see bzr_ssh work16:56
awilkinsAha, you just use the drive letter :-)16:58
awilkinsBlech, that's horrible16:58
awilkinsright ,time to go17:00
=== thekorn_ is now known as thekorn
beunolifeless, is it expected I get this when pulling bzr.dev:  http://paste.ubuntu.com/20914/17:44
awilkinsjam: How do you get the smart server to serve branches that are not on the same drive as Python on windows?19:18
jamawilkins: add a "cd ???" before starting the interpreter?19:19
jamI would have thought bzr+ssh://host/D:/aoueaoeu would work19:19
jambut if you are finding that it does not19:19
awilkinsjam: It doesn't... f you leave off the drive letter it can serve branches on the same drive (ie c:)19:21
awilkinsjam: But the chroot stuff is trying to read a path c:\c:\home\branch even if the drive letter is on the same drive19:21
uwsI'd like to19:22
uwsimport a bzr branch to a newly created SVN repo19:22
awilkinsI think it needs a bit of a patch in request.py : translate_client_path19:22
uwsbzr push svn+ssh://..../trunk doesn't work since there are no common revisions (branches have diverged, but the svn repo is new, doh)19:22
uwsany clue how to do this?19:22
uwsAnd no, I'm not moving away from bzr. Actually I'm importing to Gnome SVN for i18n reasons, development will still be in bzr :)19:23
=== mw is now known as mw|food
bkoruws: you mean http://live.gnome.org/BzrForGnomeDevelopers19:23
bkor?19:23
jamawilkins: is that using bzr_access or just plain bzr+ssh?19:23
jamuws: 'bzr svn-push' to create a new branch19:23
awilkinsjam: that's bzr+ssh//, bzr:// (although different paths, same problem)19:24
uwsjam: trunk/ dir is already there...19:24
uwsbkor: that's the other way around19:24
uwsbkor: I already have a bzr history19:24
awilkinsjam: bzr+ssh:// is over local cygwin sshd ; sftp to the same branch works19:24
awilkins(as long as you use the /cygdrive/ root to get to other drives)19:25
schierbeckahoy19:25
uwsbkor, jam: I tried removing trunk/, but gnome svn won't let me because it wants a MAINTAINERS file19:28
jamuws: can you try pushing to another location (svn-push) and then something like copy them over?19:29
bkorehr, you shouldn't remove trunk19:29
jamyou might want to try on a local repo first19:29
jamuws: another option19:29
jamif there is only 1 revision in trunk19:29
jamyou can use19:29
jambzr merge -r 0..-1 .../trunk19:29
awilkinsjam: push-and-copy isn't going to work, alas, SVN repos being what they are.19:29
jambzr commit19:29
jambzr push trunk19:29
jamI'm not sure what bzr-svn has to say about that19:30
jambut it would work for bzr branches with diverged histories19:30
awilkinsI've done it for empty branches, I think19:30
uwsjam: first create a svn checkout and merge that from the to-be-imported-into-svn-bzr-branch?19:30
jelmeruws: Hmm19:32
jelmeruws: You may be able to merge the current trunk and then push19:32
uwsbzr merge -r0..-1 ../svn/trunk19:32
uwsThat's what I just did in my bzr branch19:32
uwsthe svn/ dir is a svn checkout (empty repo)19:33
uwsjelmer: ^19:33
jelmeruws: If you commi that, can you then push?19:34
uwsjelmer: no19:34
jelmeruws: What error, diverged branches?19:36
uwselin:~/Computing/Projects/gnome-specimen/development > bzr merge -r0..-1 ../gnome-specimen.bzr-svn/19:36
uwsAll changes applied successfully.19:36
uwselin:~/Computing/Projects/gnome-specimen/development > bzr ci -m 'Merged Gnome SVN trunk'19:36
uwsCommitting to: /home/uws/Computing/Projects/gnome-specimen/development/19:36
uwsCommitted revision 205.19:36
uwselin:~/Computing/Projects/gnome-specimen/development > bzr push svn+ssh://svn.gnome.org/svn/gnome-specimen/trunk/19:36
uwsbzr: ERROR: Branches have no common ancestor, and no merge base revision was specified.19:36
uwsOops, too many lines. sorry19:36
uwsjelmer: ../gnome-specimen.bzr-svn/ is a trunk checkout made using bzr-svn19:37
jelmerProbably because it's not a lhs ancestor :-/19:38
uwsthe common use case is to branch from svn, and commit back to svn19:38
uwsi want to import a bzr branch into svn :)19:39
uwsjelmer: fwiw, my bzr branch is linear (no merges)19:39
jelmeryeah, the unfortunate bit here is that bzr-svn is a bit strict about where it can push to19:39
jelmerI was planning to fix this in 0.5, but we're not there yet..19:40
jelmertrying to think of workarounds..19:40
uwsjelmer: I'm now trying svn-push to a trunk-from-bzr dir19:41
uwsjelmer: That seems to work19:41
uws(after committing a MAINTAINERS file to the completley empty just created real trunk/)19:41
uwsit's now pushing19:42
uwsI'll try to move trunk-from-bzr to trunk/ afterwards19:42
uwshttp://svn.gnome.org/viewvc/gnome-specimen/19:42
jelmerAh, that's a nice idea19:42
uwsif you refresh you see it going :)19:42
uwsheh, "age:  very little time"19:42
Jc2kuws: oooh19:42
uwsit's halfway done now.19:42
uwsJc2k: ?19:42
Jc2kthis should be interesting, i wonder if bzr-mirror.gnome.org will pick it up automatically19:43
* Jc2k goes to watch the log unfold19:43
uwsJc2k: I've done the regular    "ssh svn.gnome.org new-svn-repos gnome-specimen"   so it should be no different from another new svn repo19:43
awilkinsThey have websites for that kind of thing19:44
uwswhen this is done, I'll discard the original bzr branch in favor of a bzr-svn clone of the new trunk/19:44
uwsawilkins?19:44
jelmeruws: There shouldn't be a need for that19:44
jelmeruws: Since cloning the new trunk/ will create an exact copy of what you already have locally19:44
awilkins^^ watching the lgo unfold (a poor scat joke)19:44
uwsjelmer: I can keep pushing from the original bzr branch to turnk/19:44
uwsjelmer: even if it wasn't a svn checkout in the first plae?19:44
Jc2kuws: i've never watched a new module be born, though :)19:45
uwsanyway, http://svn.gnome.org/viewvc/gnome-specimen/trunk-from-bzr/  seems to be ok now19:45
uwslet's try to move it19:45
jelmeruws: Yes, since it was created with svn-push.19:45
jelmerIn hindsight, it may be useful to start out by pushing to branches/from-bzr rather than trunk-from-bzr19:46
jelmerTo avoid trouble with bzr-svn picking up the branching scheme19:46
jelmerIf it's easy to strart over, you may want to do that19:47
uwshmm ok19:47
uwsbkor: still here?19:47
bkoruws: sort of19:47
uwsjelmer, bkor: jullie houden net zo veel van voetbal als ik zeker? :)19:47
uwsbkor: can you rm -fr the gnome-specimen repos from svn.gnome.org now?19:47
jelmeruws: idd (-:19:47
uwsbkor: I've just created it so there's no need to backup19:48
uwsbkor: I'll recreate and try the svn import in a correct way, like jelmer suggests19:48
bkoruws: GOAL!19:48
bkoruws: I mean.. done!19:49
* uws loves "direct lines" to people in OSS projects. bzr-svn trouble? ask the maintainer. Gnome SVN issues? ask bkor 19:49
Jc2k:)19:49
uwsbkor: I would've heard a sound coming from the people on the street ;)19:49
uwshttp://svn.gnome.org/viewvc/gnome-specimen/19:49
uwsand there is is agai n:)19:49
awilkinsBen Collins-Sussman once very kindly uploaded a build of SVN to my SFTP server19:49
awilkinsIRC is great19:50
awilkinsFreenode in particular19:50
uwsawilkins: Colleagues make fun of me because I don't do the msn thingy. i know better though :)19:50
awilkinsIM networks are too fragmented19:50
awilkinsThey won't be any use until it all does XMPP19:51
uwsawilkins: irc.gnome.org is even better than freenode for my particular case :)19:52
uwsbkor, jelmer: http://svn.gnome.org/viewvc/gnome-specimen/branches/import-from-bzr/  incoming! :)19:52
Jc2kuws: can bkor and i lure you into #gnome-bzr on irc.gimp.org?19:52
Jc2k:)19:52
uwsjelmer, bkor: ok, import in branches/import-from-bzr almost done19:55
uwsnow how do I get this as trunk/ ?19:55
uwsI had to commit a MAINTAINERS file to trunk/ first btw otherwise the push commits would fail19:55
jelmeruws: What's the exact post-commit script that's used in gnome svn?19:56
uwsjelmer: dunno, ask bkor19:56
jelmerbkor: Still there?19:56
Jc2ki can take a look19:56
Jc2ki think19:56
Jc2kif its in the rysncs19:56
uwsjelmer: msgfmt checks for .po files, and MAINTAINERS file in trunk/ methinks19:56
uwsJc2k: Why do you use rsyncs?19:56
uwsjelmer: but apart from the commit hook (if it's a real problem we can ask bkor to disable it for like 2 minutes), how would I get this branch as trunk?19:57
bkorjelmer: post-commit? why does it matter?19:57
jelmeruws: it's probably easiest to just do a checkout of the repository root and then do a "svn rm trunk" followed by "svn mv branches/import-from-bzr trunk"19:57
Jc2kuws: i had rsyncs of svn.gnome.org for the initial bzr-mirror conversions19:57
jelmerbkor: I was mainly interested in how it checks for MAINTAINERS - does it make sure the MAINTAINERS file is there after the commit or does it actually look at the delta of the commit?19:58
bkorjelmer: that is a pre-commit19:58
uwsbkor, jelmer: eh, pre-commit methinks19:58
uwsexactly19:58
uwsjelmer: Ok, but I have to commit after removing the trunk/, and before moving the branch into its place19:58
uwsbut commiting the "svn rm trunk/" fails because of the pre-commit hook19:59
bkorjelmer: http://pastebin.mozilla.org/46238819:59
bkorit is on purpose19:59
uwsI like the   "`whoami`" != "ovitters"   part19:59
uwsbkor: could you type this for me:20:00
Jc2koh so its not just bzr-mirror that needs a workaround for gnomemm :)20:00
jelmeruws: ahh, ok. It is possible to do such a change when using the svn API, guess it's just the UI that forbids it.20:00
uwssvn checkout svn+ssh://ovitters@svn.gnome.org/svn/gnome-specimen20:00
uwscd gnome-specimen/20:00
uwsrm -fr trunk20:00
jelmeruws,bkor: Disabling the hook and then doing the move would be easiest20:00
uwssvn commit -m "Removed trunk/ so bzr import branch can be moved into its place"20:00
jelmerotherwise, I can come up with a python script that does it for you20:00
uwsjelmer: according to http://pastebin.mozilla.org/462388   bkor can avoid the checks20:01
uwsso if he removes trunk/ for me20:01
uwsI can move the branch back20:01
uwsmethinks20:01
bkoruws: svn rm svn+ssh://svn.gnome.org/svn/gnome-specimen/trunk is easier, and done20:01
uwsbkor: ah, didn't know that works as well20:01
Jc2kits probably worth trying the replay idea, the next time this crops up20:02
jelmerJc2k: replay breaks all copies of the bzr branch you're pushing though20:02
jelmerJc2k: what we're doing right now doesn't20:02
Jc2kah20:02
uwsYay20:03
uwshttp://svn.gnome.org/viewvc/gnome-specimen/20:03
uwsit seems to have worked20:03
uwsjelmer, bkor: it seems ok to me.20:04
uwsjelmer: now  bzr push svn+ssh://svn.gnome.org/svn/gnome-specimen/trunk/    from my original bzr branch ought to work, right?20:04
jelmeryep20:04
jelmeror, actually - you have to pull first20:05
uwsyeah, pulled the "move" commit20:05
uwswhich doesn't seem to change anything locally20:05
uwsjelmer: at least the output "bzr diff --verbose -r204..205" is empty20:05
=== mw|food is now known as mw
uws(r205 is the "Moved branches/import-from-bzr to trunk to (hopefully) complete the import." commit)20:06
jelmeruws: Yep, that all looks fine20:06
LarstiQuws: btw, I still have books of yours20:06
uwsLarstiQ: Hmm. that's right. which ones?20:07
uwsLarstiQ: alphabet + brown, right?20:07
uwsLarstiQ: coming to guadec by any chance?20:07
uws(that would be a ridiculous place to hand those back, btw ;>)20:07
* jelmer will most likely be at Guadec, btw20:07
uwsjelmer: You will? great. Chime in on #gnome-nl!20:08
LarstiQuws: yes, what/where?20:08
uwsLarstiQ: also coming to guadec?20:08
* LarstiQ rephrases more clearly20:08
LarstiQuws: Those two books indeed. I'm familiar with guadec, but I don't know when or where it is this time around?20:09
uwsLarstiQ: istanbul, July 6--1320:14
uwsanyway, dutch oss hackers should probably team up for a beer/other drink sometime20:15
uwsgnome and bzr ppl, for instance20:15
LarstiQno Guadec for me20:16
LarstiQuws: but totally agreed about drinking ;)20:16
Verterokmoin20:40
beunohowdy Verterok20:41
Verterokbeuno: hi (I'm suffering a bit of lag :P)20:52
beunoVerterok, ah, 11 minutes lag is going to be interesting  :)20:53
Verterokbeuno: hehe20:54
=== dpm_ is now known as dpm
grantgmdoes bundlebuggy actually perform requested merges, or does it just track them for code reviews?21:58
mwhudsonit tracks them21:59
mwhudsonpqm is what performs them21:59
grantgmok, thanks. Is pqm documented anywhere? the description at https://launchpad.net/pqm sounds pretty awesome, and I'd like to push for bzr (incl. bundlebuggy and pqm) to be used for our department22:05
grantgmthere seems to have been some discussion here: https://lists.ubuntu.com/archives/bazaar/2007q4/032572.html22:06
grantgmdoes anyone know if there's been any progress towards packaging or documenting it since then?22:07
thumpergrantgm: I don't think so22:07
thumpergrantgm: but I'm actively fixing a few pqm bugs22:07
grantgmgood to hear that its still being actively developed. is it in a state where I should be pushing for our department to use it, or is it still really only used within bzr?22:11
tcaI originally reported https://bugs.launchpad.net/bzr/+bug/205564, and this bug seems to be fixed in latest bzr.dev. Should I just close the bug myself?22:14
ubottuLaunchpad bug 205564 in bzr "bzr log fails with KeyError: 'null:'" [Medium,Triaged]22:14
PengI'm pretty sure you can, so it wouldn't hurt to.22:15
PengIf you're sure it's fixed.22:15
nslaterhow would i check the latest revision of a remote repository?22:46
beunonslater, bzr revno LOCATION22:46
nslaterthanks beuno :)22:47
beuno:)22:47
awilkinsHmm, there appear to be some DNS issues22:56
Pengoh?22:58
awilkinsI'm getting problems resolving my newshost, but it seems to resolve OK from a host in the states22:59
awilkinshttp://just-ping.com/index.php?vh=news20.forteinc.com&s=ping!22:59
niranthe bzr-svn page says that merged revisions show up as ghosts in svn. what does that mean?23:10
jelmerniran: They show up as ghosts in bzr23:11
jelmerniran: In other words, right hand side revisions (in other words, revisions show indented by "bzr log") are not pushed into subversion themselve but a pointer to them is23:12
niranoh... so the actual changesets shown NOT as ghosts in bzr are the same ones that will end up in svn?23:12
jelmerniran: If you push a branch into Subversion and then run "bzr branch" on the Subversion URL somewhere else23:12
jelmerit will only be able to copy the left hand side (not indented in "bzr log") revisions23:12
niranjelmer: ok i think that makes sense23:13
niranone more question23:13
niranwhen pushing multiple changesets to svn, do they each get a separate commit, or do they all show up at once?23:13
jelmereach left hand side revisions gets a separate commit23:14
niranok, thanks for your help23:14
lifelessbeuno: hi23:30
beunomornin' lifeless23:30
lifelessbeuno: you have an old index23:36
lifelessbeuno: that was before I added reporting of paths, just delete the index23:37
lifelessbeuno: also, completion, whaddya think :) :) :)23:37
beunolifeless, good, Still bugless then  :p23:38
beunocompletion?23:38
lifelesscheck your gmail23:38
lifelesssorry, suggestions23:38
lifelesssearch completion/suggestions same thing23:39
jmllifeless: are you off to the vibe today?23:39
beunolifeless, odd, I somehow missed that email completely  :/23:39
lifelessjml: I think so23:39
* beuno checks gmail filters23:40
beunooh, VERY cool23:40
jmllifeless: cool. I'll pack some books.23:40
* jml will head off in a few minutes.23:40
lifelessbeuno: so I guessed right that that is bling you'd find interesting :P23:42
beunolifeless, replied back. You rock  :)23:43
beunoI still don't understand how that email got marked as read23:44
beunolifeless, can you send a test email my way?23:44
lifelessdone23:44
beunohrm, works fine. Odd.23:45
lifelessbundle in a sec23:45
beunothanks  :)23:45
beunoI've got a dinner, but I already know how to do the ajax bit for that, so it should be just a couple of hours work23:46
lifelesssweet23:46
lifelessafter work tonight I'll do the refactoring and partial-read work required to make it faster23:46
beunoLH will look *very* web 2.0 in a month's time23:46
mwhudson:)23:47
beunolifeless, I get: beuno@beuno-laptop:~/bzr_devel/bzr-search$ bzr pull ~/Desktop/trunk-38.patch23:48
beunobzr: ERROR: Revision {('robertc@robertcollins.net-20080617122537-eyv8tt7s1dki5dyw',)} not present in "<bzrlib.knit.KnitGraphIndex object at 0x894f7ec>".23:48
lifelessyou probably don't have 3723:49
lifelessoh, or my hacking send glitched cause there is no public branch23:49
beunobeuno@beuno-laptop:~/bzr_devel/bzr-search$ bzr revno23:49
beuno3723:49
lifelessabentley: how can I force bundle to include data for a revision23:52
lifeless(bundle/send/whatever)23:52
beunolifeless, maybe just send me the whole branch?  should be small enough23:52
lifelessbeuno: I have :P23:54
lifeless401K including its own index :P23:54
beunolifeless, very very very cool  :)23:57
beunoand, fast as hell compared to other apps to doing this23:57
abentleylifeless: create a branch that lacks that revision and use it as the submit branch23:58

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