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

GaryvdMmbt: I'm busy for a fix for that bug (https://code.launchpad.net/~garyvdm/bzr/bug492116-ls-file/+merge/45679)00:00
mbtOh!00:01
mbtI'll mark my bug a dup00:01
mbt*dupe00:01
vilaGaryvdM: hawk eyes you have :)00:02
mbtGaryvdM, thanks!00:02
jmlspiv: has it landed yet?00:03
vilaGaryvdM: the issue is that there is some weird interaction with hudson, so for the time being I keep them blacklisted00:03
vilaGaryvdM: I know "some" people are still running them so I'm not worried about regression there :)00:03
vilaGaryvdM: especially since they cover a developer feature :D00:03
mbtzyga, am breaking for dinner; will be back in a bit.  if you need to get a hold of me my email and jabber info is on my LP profile00:03
vilaGaryvdM: oh, and by the way, these tests are disabled for *all* platforms, not only windows00:04
GaryvdMvila: oh!00:04
GaryvdMvila: I also had problems with them in the past. So I'm also running with ""-x TestBreakin"00:05
vilaGaryvdM: you shouldn't !00:05
vila:-D00:05
vilaI rely on *you* :)00:06
GaryvdMok00:06
* GaryvdM restarts tests.00:06
GaryvdMvila: btw - this is on windows, with the standalone install.00:08
GaryvdMvila: I00:11
GaryvdMvila: It hangs on "blackbox.test_breakin.TestBreakin.test_breakin_harderbreakin_harder"00:11
vilaGaryvdM: hmm :-/00:12
vilaGaryvdM: file a bug or is there one already for that ?00:12
vilaGaryvdM: and ping jam :)00:12
GaryvdMvila: ok00:14
GaryvdMI'll do that tomorrow. Good night.00:14
=== GaryvdM is now known as GaryvdM_away
zygambt: okay00:18
zygambt: I got first _very_ rough version that talks with remote daemon00:18
zygambt: I only route the info() request this way00:19
zygabut it works00:19
mbtzyga, I am back.01:22
exarkunWhat is the "submit branch" (in particular in comparison to the "parent" branch)?01:25
zygambt: great01:25
zygambt: I'll commit and push my stuf01:25
zygambt: it's not much01:25
mbtexarkun, It is the branch used for the "bzr send" command01:25
exarkunweuoook01:26
mbtexarkun, you can specify the parent branch as :parent01:26
mbtexarkun, e.g., bzr send :parent01:26
zygambt: pushed01:27
zygambt: check it out01:27
zygambt: it's nice, I'm working on more01:27
exarkunmbt: okay thanks01:28
mbtzyga, sure thing, one second01:28
mbtzyga, what's the link to the branch?01:28
mbtoh nvm, I can pull can't I.01:29
zygalp:~zkrynicki/+junk/redmine-bzr01:29
zyga:-)01:29
zygaright01:29
fullermdI think submit is also used as a default for merge.01:29
zygambt: the adapter hardcodes the location of the rpc server01:31
mbtzyga, looking now,01:31
zygambt: eventually you will be able to talk to the server entirely so the url/root url will no longer be meaningful and the branch server can be all that you specify01:32
zygambt: with my branch you can also see all the merges01:32
zygambt: but there are some bugs so if you find something broken leave me a note01:32
zygambt: if you compare my adapter to yours you'll see I removed some if's01:32
=== dOxxx is now known as dOxxx_away
mbtzyga, what's the change to config/environment.rb for?01:34
zygauh01:34
zygarandom junk, sorry01:34
zygait's 2AM01:34
mbtlol okiedokey just making sure 'cuz I was all like "interrobang"01:35
zygauncomited and pushed again01:35
zygawith --overwrite01:36
mbtAh, I see how this works01:38
zygait's just a start, but we can manage everything this way01:38
zygathe server has to be moved to initialize01:38
zygabut I'm already dying here, I'll hit the bed soon01:39
mbtWhat's going to manage the lifecycle for the bridge process?  Or can Redmine be setup to start it up when it's persistent Rails process is started?01:39
zygambt: it's a separate topic, IMHO it can be done in several ways that will make it not a problem in practice01:39
zygambt: such as xml-rpc hosted inside apache01:39
zygambt: or just plain deployed as a separate service alongside01:39
zygambt: redmine does not need to care about this, all you give it is xmlrpc url01:40
mbtzyga, well, it should be able to, lest people have to do extra work when setting up for Bazaar repositories anyway01:40
mbtBut yes, later01:41
zygambt: you don't have to setup lp.net to use lp.net url with redmine01:41
zygait think it's out of scope01:41
mbtI'm just thinking in terms of expectations.  All other SCMs work out of the box with no additional effort, so this should, too.01:41
zygawell that's true01:42
zygambt: we might setup something that will work like that01:42
zygambt: one thing I would look at is performance01:42
zygambt: if it's faster than everyone else01:42
zygathat's a plus :-)01:42
mbtzyga, True.  It does look like, though, the way this XML-RPC thing works, it'd be entirely possible to choose a front-end (e.g., also support command line invocation)01:43
mbtright01:43
mbt?01:43
zygambt: I only worry that setting up stuff like that is flaky01:43
zygambt: stuff like the helper dying01:44
mbtNo more flakey than shelling out 10 times per page view to determine if the current revision is the latest one01:44
zygaetc01:44
mbtlol01:44
zygait's part of the system services to oversee this01:44
zygaputting it inside redmine will only be more broken01:44
zygaright but this is about fixing things01:44
zygapersonally01:44
zygaapache + xmlrpc server is probably most resiliant method01:44
zygabut we'll need to check how all those read locks behave01:45
zygaI'm really curious how lp.net does this01:45
mbtHrm.01:45
zygarunning loggerhead _AND_ allowing you to push all the time01:45
mbtI'm sure that "buy-in" will be better if it can be done as an either/or01:45
zygaunless they mirror the branch you push to scratch space to run loggerhead from01:45
mbtzyga, probably doesn't hold the locks any longer than necessary01:45
mbtor that.01:45
zygambt: I never saw it hold any locks and loggerhead can take a while to run01:46
zygambt: setting up redmine is ~10 minutes if you follow the docs01:46
zygambt: I'd add +2 minutes to setup the service for bzr01:46
zygabut in a way that will recover, not just running it like that from the comand line01:46
zygathat can be done after it works01:46
mbtWell, one could use dæmontools or Upstart01:46
zygambt: yeah there are lots of options01:47
mbtBut not every server is going to have the ability to do that either01:47
zygaapache is the logical choice if you already run it01:47
zygato run what?01:47
zygawhy not? managed crippled hosting with rails?01:47
mbtA server where you can deploy rails apps, might not permit ssh access or the ability to run any (other) persistent processes01:47
zygambt: perhaps, but personally I dont find this that important, if you already host your code somewhere else you might as well host it using public services, setting up a django app on google app engine that will do this is trivial and will not require anything fancy01:49
zyga(perhaps apart making sure that the app can actually talk to the repository)01:49
zygambt: so for the moment, let's fix the adapter, figure out how to make people deoploy it later01:49
mbtIndeed.01:49
mbt:)01:49
zygambt: another thing, it can run on _separate_ sever01:50
mbtWell, go ahead and head to bed, and I'll work on this for a while, maybe see if I can get feature-parity tonight01:50
mbtzyga, Indeed01:50
zygambt: usually you do have bzr+ssh to get the code in the first place01:50
zygambt: thanks, I'll talk to you tomorrow01:50
zygambt: btw, I'm +1GMT, you?01:50
mbtzyga, sure thing.  Thanks!01:50
mbtzyga, -050001:50
zygaokay, see you tomorrow01:51
mbtSo noon there is several hours before I wake up here :)01:51
mbtzyga, yep, night01:51
=== frakturfreak1 is now known as frakturfreak
=== dOxxx1 is now known as dOxxx
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== zyga is now known as zyga-efika
senderI am on revision 10. I bzr rm'd a file on revision 4. How do I get that file back?10:45
senderThanks :)10:45
bob2bzr cat -r3 xxx > xxxx10:45
senderbob2: thanks, will try now10:45
senderbob2: great, never knew about bzr cat. brilliant.10:47
mgzyou'll not get any blame like that, no?10:47
bob2note: bzr will have no idea what you did10:47
bob2mgz: right10:47
sendertrue10:47
sorenYou can revert the file back to r3.10:47
mgz`bzr merge -r4..3 xxx` any better?10:47
sorenThat way, bzr will know it's the same file.10:47
bob2mgz: oh, didn't think of that10:48
senderi've tried that too, bzr revert -r3 robots.txt - didnt do anything10:48
mgzI'm not certain it's any better, but might be.10:48
sorenWorks for me.10:49
sorenJust tested it.10:49
awilkinsjelmer, Do you know the evolution codebase well, or do you just keep a PPA of it?10:49
=== oubiwann is now known as oubiwann_
=== oubiwann_ is now known as oubiwann
mgedminbzr branch lp:ubuntu/$suite/$package rules!13:21
=== oubiwann is now known as oubiwann_
Odd_BlokeI want the contents a particular revision of a bzr branch (I'm packaging, I don't care about history whatsoever).  Currently I'm doing 'bzr co -r ... <branch>'.  This is slow.  Is there a better way?13:57
Odd_BlokeIn fact, can I use 'bzr export' on the remote branch?13:57
Lo-lan-doYou probably can, yes.14:03
Odd_BlokeHmm, that causes problems.14:06
Odd_BlokeIn that previously I had a local copy that I could use for looking up revnos (for example).14:06
Odd_BlokeWhereas now I'm using the remote one, which could change between my export and my revno lookup.14:06
Odd_BlokeIs there any way I can get a lightweight checkout of a particular revision?14:07
Lo-lan-doYou could use a revid, which isn't going to change.14:09
awilkinsOdd_Bloke, What about export14:09
awilkinsbzr export -r URL14:09
awilkinsoops14:09
awilkinsbzr export -r revid URL14:09
awilkinsNo checkout, no baggage, just the files14:10
awilkinsOops, didn't read all the scrollback14:10
Odd_Blokeawilkins: :)14:10
Odd_BlokeAdded complication: I'm exporting by tag but need to look up the revision.14:11
Odd_BlokeAh, and 'bzr revno' won't let me specify a revision.14:13
awilkinsOdd_Bloke, You can use revno or revision-info with the --tree argument on a lightweight checkout to get the revision of the current tree14:13
awilkins(knew it was supported because qlog does it)14:14
Odd_Blokeawilkins: But I don't think I can create a lightweight checkout of anything but the head of a branch.14:14
awilkinsOdd_Bloke, So you can do a checkout --lightweight -r tag:WIBBLE14:15
awilkinsOdd_Bloke, Just performed a lw checkout of a 2 revision branch at r114:15
awilkinsbzr revno --tree  # returns 1 as expected14:15
Odd_Blokeawilkins: Victory!  Thanks. :)14:18
=== gthorslund_ is now known as gthorslund
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== oubiwann_ is now known as oubiwann
maxbYikes. This morning, I thought, "I'll just see if bug 705279 is reproducible"15:57
ubot5Launchpad bug 705279 in bzr (Ubuntu) "bzr crashed, when pulling from a bzr mirror of an svn repo, with BzrCheckError in _commit_write_group()" [Undecided,New] https://launchpad.net/bugs/70527915:57
maxbIt's been running for hours, is half way through, and has transferred 3.3GB15:58
=== beuno is now known as beuno-lunch
awilkinsmaxb, Is the vcs import of the chromium sources an old-style or new style one, I wonder16:19
awilkinsmaxb, The newer ones use bzr-svn, the older ones use some other thing that isn't interoperable with it16:19
maxbIt's the new kind16:20
maxbcscvs is hellspawn16:20
awilkinsI suppose I might have guessed that 'coz Jelmer created it...16:21
=== beuno-lunch is now known as beuno
jelmerawilkins: hi17:47
jelmerawilkins: I know the evolution-mapi source code a bit, not familiar with the core17:47
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
SpamapSif I do 'bzr commit -x debian' .. the debian dir should be totally ignored right?17:49
james_w`SpamapS, yes17:50
SpamapShrm.. not happening. :(17:50
SpamapSactually...17:50
james_w`SpamapS, you are seeing it in the diff if you "bzr diff -c -1" after the commit?17:50
SpamapSit shows in the modified list if I specify no message..17:50
SpamapSbut it is not actually committed17:50
james_w`yeah17:50
SpamapSDOH17:50
* SpamapS looks for the surely already open bug report to +117:51
awilkinsjelmer, Ah, it's more the evolution-exchange stuff I was interested in ; our Exchange server is trapped behind one of these cookie redirectors so I was wondering how hard it would be to implement the same sort of solution described here  ; http://blogs.interknowlogy.com/timmccarthy/archive/2006/08/05/3659.aspx17:51
james_w`bug 55280517:51
ubot5Launchpad bug 552805 in Bazaar "Commit message template does not exclude files" [Medium,Confirmed] https://launchpad.net/bugs/55280517:51
SpamapSjames_w`: I'm not sure what to make of the fact that you know the bug # by heart ;)17:51
james_w`SpamapS, only google knows that17:52
glyphpossibly this should not be an internal error: http://buildbot.twistedmatrix.com/builders/debian64-py2.4-select/builds/894/steps/bzr/logs/stdio18:20
spivglyph: I agree.  jelmer?18:22
spivglyph: jelmer says that may already be fixed in current bzr-svn18:23
spivglyph: inspection of the code suggests yes18:23
spivglyph: interactive testing however suggests no!18:25
spivglyph: investigations continue18:25
spiv(Apparently this is not ERR_UNKNOWN_HOSTNAME?)18:26
glyphspiv: I don't know man, I don't even work here18:39
mbtDumb question, I can't find this in the docs it seems: given a branch and a file_id, how do I get the last revision that modified the file_id?18:43
GaryvdMjelmer: please can I ask you do advise me on bug 70484019:04
ubot5Launchpad bug 704840 in QBzr "qlog crashes on svn working copy" [High,Confirmed] https://launchpad.net/bugs/70484019:04
GaryvdMI posted a question in the bug.19:04
vilaGaryvdM: thanks for the installers !19:08
GaryvdMvila: It's a pleasure :-)19:09
GaryvdMvila: I got the test suit to finish for the first time (with the standalone installer.) I had to exclude a bunch of https that were causing the test suit to fail.19:12
GaryvdMs/fail/hang/19:12
vilaGaryvdM: fail19:12
vilaGaryvdM: grr, file a bug with as much relevant  -s xxx you can think of and I'll try to give you more instrucitions19:13
vilato better localize the problem19:13
GaryvdMOk will do. I'm going to slowly work at.19:14
=== Ursinha is now known as Ursinha-afk
vilaGaryvdM: by the way, 2.2.3 in the pipe... :)19:43
GaryvdMvila: Ok19:44
jelmerGaryvdM: hmm19:45
jelmerGaryvdM: I think we should fix the bzr-svn config19:45
jelmerGaryvdM: but I'm also a bit surprised by the actual implementation in bzr.dev19:46
GaryvdMjelmer: ok19:46
GaryvdMI battling to grok the "increasing the python requirement " thread in ml. Where any decisions made?19:49
jelmerI'm not sure, I had the same problem :-)19:50
spivGaryvdM: "stick with 2.4 for now" is the short answer19:50
GaryvdMspiv: Thanks19:51
spivGaryvdM: with some interest in playing with 2to3 etc sometime soon to see how hard it would be to run on 3.x19:51
mythrilhow do I eliminate a specific revision?19:55
* mbt 's ears perk up19:58
mbtPython 3.x?  Yes?  Yes?  :)19:59
spivmbt: I wouldn't hold your breath...20:00
mbtlol, yeah, that seems to be the general consensus in most major python systems20:01
mbtspiv, You wouldn't know how to answer my ? from earlier, would ya?  I'm still stuck; I seem to be barking up all the wrong trees20:03
mbtha, ha, that was an awful pun20:04
GaryvdMmythril: if there are no revisions after the revision you want to eliminate, then you can do a bzr uncommit20:05
=== Ursinha-afk is now known as Ursinha
mbtmythril, Do you need to eliminate it from the history, or would reverting it be sufficient?20:06
GaryvdMmythril: if there are revisions after, you could do a reverse cherry pick to revert the changes made by that revision, but the revision would still be in the history..20:06
mbtShould be possible also, in theory, to make a new branch, then on the old one, uncommit repeatedly to back way up, and then merge from the new branch as a cherry pick.  Then only the dead revision has to be pruned, right?20:08
jammbt: this is also something that bzr-rewrite was developed to help with20:16
jamI don't know the specific invocations, though20:16
jam(something like "bzr rebase")20:16
jambut there have been complaints that rebase doesn't work very well with a single branch, etc.20:16
GaryvdMmbt: re you question about getting the revision that last modified a file20:24
GaryvdMIf you get the inventory item for the file, you can call item.revision to get the revid.20:24
GaryvdMYou will then need to get a revno for the revid.20:25
mbtI _think_ I found a way, using iter_entries_by_dir from RevisionTree20:27
GaryvdMI'm not sure how you are iterating the files, and hence what is the easiest for you to get the inventory item20:27
GaryvdMThat will do.20:27
GaryvdMmbt: shout if you need help to go from a revid to a revno20:28
mbtGaryvdM, That I think I have; but whether or not the way I am doing things is going to be efficient is yet to be determined.20:29
GaryvdMmbt: is this for a web server?20:29
mbtYeah, I'm workign on getting Redmine (a Ruby on Rails application) to try to support shared bzr repositories.20:30
mbtBut the way that the bzr command line tool works, and the way that Redmine works, well, they don't have the same conceptual model of things.20:31
mbtUnless I am missing something in bzr or bzrlib, without a branch context a lot of operations are impossible.  But Redmine does not give you the branch context if you tell it that the revision system supports branches; instead it treats branches as a reference to a revision number (as if it were a tag in reality), and path information won't include the branch in that instance.20:32
mbtSo instead, I'm trying to use the approach that it uses for subversion, which is to pass the repository as the URL; the URL may or may not be a branch, and if it is not a standalone branch, then the branch will have to be found from the relative path information20:33
mbtThat seems to be working, but then I am left with breaking apart the branch information to find the relative path for the directory being browsed20:33
mbtAnd the odd thing is that since that comes from the RevisionTree, which comes from the repository, I can get a whole tree, but then I have to get into the branch context again to map the revision IDs to branch-local revision numbers.20:34
mbtWhat I am trying to figure out now is the most direct way of finding a path in the revision tree20:34
GaryvdMmbt: Ah - the api is like that, because the calculation of revision numbers is dependent on knowing branch tip20:36
mbtI get the why, but I don't understand why Redmine doesn't pass (branch, rel_path) to the VCS20:36
mbtThat would make live a lot easier, and would make the bridge between bzr and Redmine a lot less ugy20:37
mbt*ugly20:37
GaryvdMI see20:37
GaryvdMif you can guess the branch tip, and are willing to go down a api level, you could calculate the revnumbers with out a branch ref20:37
mbtOnly other thing is: can I get a path without kicking off the generator? Something like revisiontree.get_file_inventory(file_id) some how or another?20:37
mbtOh?20:38
mbt(Or for that matter, just get the inventory for the root directory of a working tree, since the inventory apparently has references to all of its children)20:39
GaryvdMYes20:39
mbtI see get_root_id in revisiontree, but I don't see a way to get its inventory without a generator somewhere.  For that matter, I'm not even sure that I'm hunting in the right place in the API20:42
GaryvdMrevision_tree.inventory[file_id]20:43
mbtOh?20:46
mbtOh, well, sheesh.20:47
mbtWhy didn't I see that like three hours ago lol20:48
GaryvdMI'm not sure if that is abusing the api a bit. Maybe one of the core devs can comment on that.20:48
mbtI don't know but it eliminates a function or two from my own code20:48
mbtso that isn't bad20:48
zyga-efikambt: hi20:57
zyga-efikambt: I'm still busy today but I looked at your changes20:57
zyga-efikambt: I'll try to rewrite the single-branch model first20:57
zyga-efikambt: and see how that works20:57
zyga-efikambt: but it seems this will work20:57
mbtzyga-efika, I am looking at single branch ATM but I think it will transparently work for both.20:58
mbtI can commit my WIP in a sec20:59
mbtI have a very unhappy Entries list lol20:59
zyga-efikaunhappy?20:59
mbtIt loads without crashing, but with empty fields20:59
mbtit's what I'm working on right this sec21:00
mbtit's up21:00
mbtI think it's unhappy because I have not yet taught it fetch_changesets21:01
mbtwhich is I think what I need to do next21:01
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie | 2.2.3 is frozen, time to build the installers ! (rm vila)
zyga-efikambt: I'm still occupied with my daily job, I need to finish some of the stuff in my backlog21:13
mbtzyga-efika, no biggie21:13
mbtam going to bind my branch so i don't forget to push21:14
zyga-efikambt: thanks21:15
mbtzyga-efika, np... thank you21:16
GaryvdMabentley: I can't see 1.1 in lp:bzr-pipeline. Maybe you forgot to push?21:28
pooliethanks for the windows builds gary21:29
GaryvdMHi poolie.  np :-)21:30
GaryvdMpoolie: it feels good to be able to get back in to the swing of things :-)21:31
poolieit's great to have you back21:31
abentleyGaryvdM, the 1.1 release is on the stable branch, not the trunk.21:32
GaryvdMabentley: oh - ok21:33
lifelessmkanat: hi22:04
mkanatHey lifeless.22:04
lifelessI was talking to poolie22:05
lifelessabout loggerhead & branches and launchpad22:05
lifelessuhm22:05
lifelessso you know that we've reorged the Launchpad team, right ?22:05
mkanatlifeless: Don't know anything about it, no.22:05
lifelessah22:05
lifelessso http://blog.launchpad.net/general/changing-how-we-track-launchpads-bugs-questions-and-blueprints references a mail from me22:06
mkanatlifeless: Okay. But that wouldn't apply to loggerhead, since it's a separate product that's used elsewhere in addition to being used by LP.22:06
mkanat(Much like bzr itself wouldn't become part of launchpad.)22:07
lifelessthats true22:07
lifelesswhat is concretely means is that we're less siloed22:07
lifelessso we are more likely to fix things that are important rather than things that are important in one area22:08
mkanatlifeless: Although I'd think that it will also mean that your design will become more haphazard in the individual pieces, if the same people aren't always working on them. But that's more of a side note.22:08
mkanatPerhaps though the overall design will become more cohesive. Hard to say.22:08
lifelessone way to find out :)22:09
lifelessalso its kindof my job, and jml's job to keep the technical and user stories cohesive22:09
mkanatlifeless: Sure, I just would be concerned that this will shift *all* design work onto you.22:09
mkanatInstead of allowing you to have sub-designers for the individual pieces.22:10
lifelessmkanat: nah, I chase after rather than being a bottleneck22:10
lifelessI like being able to sleep22:10
mkanatlifeless: Haha. :-)22:10
lifelessanyhow22:10
lifelessso - I'm worried that with the separate trunk + for-lp branch that we'll end up diverging, if trunk stays unsuitable for lp for extended periods22:11
mkanatlifeless: Oh, that is a temporary situation.22:11
lifelessand AIUI you may be spending less (no?) time on loggerhead22:11
lifelesswhat are your medium term plans vis-a-vis loggerhead?22:12
mkanatlifeless: Whether or not I'll still be working on loggerhead depends on administrative details at Canonical, so it's hard to say.22:12
mkanatlifeless: The only thing I'll be able to complete in the time that Canonical has currently allotted is bug 567729.22:12
ubot5Launchpad bug 567729 in loggerhead "loggerhead could mark all pages cacheable" [Medium,Confirmed] https://launchpad.net/bugs/56772922:12
lifelessmkanat: will this leave trunk unsuitable for lp ?22:13
lifelessor is it currently suitable?22:13
mkanatlifeless: It will leave trunk unsuitable. I had a plan to make trunk suitable for LP, but it was not approved.22:13
mkanatlifeless: The disapproval was not technical, it had to do with contracting.22:14
lifelessok, I'll talk with poolie and flacoste about that22:14
GaryvdMHi jam.22:14
lifelesshow much work has landed since the point it became unsuitable?22:14
mkanatlifeless: Well, I can't be sure that history_db itself is unsuitable.22:15
mkanatlifeless: But /raw/ is definitely not suitable.22:15
mkanatlifeless: Although we could just hack out /raw/ easily, for LP.22:15
mkanats/unsuitable/suitable/22:15
GaryvdMjam: I'm running into a bzr bug when building the win installer. The bzr on the ec2 instance is quite old.22:15
lifelesspoolie: btw, that all pages cachable thing isn't useful for lp22:15
poolieoh, because?22:16
lifelesspoolie: we can just tell squid to do that in ~2 minutes22:16
poolieah, true22:16
GaryvdMjam: Admin is needed to install a new version. Please could you do that for me.22:16
mkanatlifeless: BTW, the CSS for loggerhead on LP seems to be wrong.22:16
mkanatlifeless: This page, for example, does not have the right CSS: http://bazaar.launchpad.net/~loggerhead-team/loggerhead/trunk-rich/annotate/head:/.bzrignore22:17
lifelessthe raw controller has a knob overriding it though?22:17
mkanatlifeless: It doesn't, but it would just involve commenting out a few lines.22:18
lifelessok22:18
mkanatlifeless: The only think LP needs for it to work properly is the token thing, because of the private branches.22:18
mkanatlifeless: I'd be totally thrilled to do the work to make trunk stable and on LP though.22:19
lifeless:)22:20
pooliejam, GaryvdM, i'd like to sometime migrate the windows vm to use an ebs-based root partition22:20
pooliethen it'll be easier to save the state22:20
poolielifeless, will you comment on that squid bug or shall i?22:21
lifelessI will22:23
GaryvdMpoolie: I'm only using the ec2 instance for 2.2 builds. For 2.3, I'm hoping I'll be able to get a 64 bit build done, so I'm using a local 64bit vm.22:23
poolieah, ok22:24
GaryvdMpoolie: having my own local vm allows me freedom to changes things, but I guess it's not good if I need to hand over to someone else.22:27
mkanatlifeless, jam: Is there some plan for how storing and updating history_db would work for LP?22:28
jammkanat: hand-wavingly every project would get its own sqlite db file22:29
jamwhich gets updated on demand22:29
jamand we would pre-seed projects like emacs22:29
mkanatjam: Okay. Does history_db do incremental updates now?22:29
jamalways has22:29
mkanatjam: Okay, cool. I thought so, just wanted to check.22:30
jamjust that the *first* update is faster if you do it manually22:30
* mkanat nods.22:30
jamplus, it means that someone hitting the website isn't the one waiting for it to complete22:30
mkanatYeah, for sure.22:30
mkanatIn an ideal world we'd update it asynchronously every time somebody changed the tip.22:31
jammkanat: it actually wouldn't be a lot of overhead from that, at least my timings showed it to be quite feasible to run it as a post-commit hook in bzr22:31
mkanatjam: That'd be great if we could do that. Would require instrumentation and changes on codehosting, of course.22:31
jamat least once it has the first 100k revisions completed :)22:32
mkanatRight. :-)22:32
jammkanat: yeah, some sort of job-task that triggers when a branch is updated22:32
* mkanat nods.22:32
jamwe already have the branch scanner which does similar work22:32
jamand we've been talking a bit about changing some of the postgres tables to use the history-db-like layout22:33
jamsince BranchRevision currently is something like 0.5Billion rows22:33
mkanatWow.22:33
jamanyway, when we poke at that, loggerhead could just use the production tables (possibly via an intermediate db, rather than the actual live one, etc)22:34
jamabentley: didn't you write up a LEP on this?22:34
mkanatRight. That'd be even simpler if we had history_db use an ORM.22:35
abentleyjam, not quite a LEP, but: https://dev.launchpad.net/Code/BranchRevisions22:36
jamabentley: thanks. I wanted to point mkanat at the idea that we were looking at that sort of thing.22:36
jammkanat: well, it is pretty generic sql, using python dbapi222:36
jamso you could do it to pretty much any SQL backend22:36
mkanatjam: True.22:36
jamsome of the create syntax is sqlite specific22:37
mkanatabentley: I wonder about the "use loggerhead" proposal, there. It's possible we could make it fast enough.22:37
jam(PRIMARY KEY AUTOINCREMENT vs using SERIAL in postgres)22:37
abentleymkanat, it's not a complete solution.22:38
mkanatabentley: Okay. Because you need to JOIN that table against other things in SQL?22:38
mkanatjam: Yeah, this would seem like a good reason to abstract history-db out into a plugin, again, reading this BranchRevisions proposal.22:40
GaryvdMjam: Thanks - the upgrade fixed the bug.22:40
jammkanat: it is a plugin22:40
abentleymkanat, it would not address "Finding the most relevant branch for any given revision" "Allocating revision karma" or "Merge detection in the scanner "22:40
jamwe pulled it into loggerhead to avoid having a weird plugin dependency22:40
mkanatjam: Ahhh.22:41
jamfor people that want an easy way to set up loggerhead22:41
jamthe history is synced up, though, so loggerhead can merge updates from the plugin, and you can cherrypick loggerhead changes back to the plugin22:43
mkanatjam: Oh, okay. Are there changes that I should pull in, now?22:43
jammkanat: nothing I know of22:45
mkanatjam: Okay.22:45
lifelessmkanat: ok, I has spoken with poolie and flacoste22:48
lifelessmkanat: what we propose to do is:22:48
Erimos_WolfHi at all, i have a question considering the behavior of the bazaar plugin for eclipse. Iam not sure if this is the right channel22:48
lifeless - push the history-db & raw stuff to a experimental/future branch and push stable to trunk22:48
lifeless - have the launchpad team adopt the loggerhead project, so we'll do bug triage & code review22:49
GaryvdMErimos_Wolf: ask away22:49
lifelessmkanat: does that sound sensible to you?22:49
mkanatlifeless: Ah, that doesn't quite make sense.22:50
mkanatlifeless: history_db is already on trunk.22:50
mkanatlifeless: As is raw.22:50
mkanatlifeless: stable is well behind trunk.22:50
mkanatlifeless: Pushing stable to trunk wouldn't make any sense.22:51
Erimos_WolfI followed the instructions and installed bazaar on my local machine. In eclipse i have under Project->Team all bazaar instructions. But when i try to commit it says every time "nothing to commit". A look at the bazaar explorer says different. There i can commit. Is this normal?22:51
mkanatlifeless: trunk is the experimental and future branch.22:52
mkanatlifeless: The launchpad branch of loggerhead has many important things from trunk that aren't on stable.22:52
lifelessmkanat: yes, thats my understanding; we want to get trunk stabilised and this seems the most robust way to do it22:52
jammkanat: he wants to turn that around22:52
jammake trunk stable22:52
jamand start and experimental branch22:52
jamby "resetting" trunk22:52
mkanatlifeless: Right, I want to make trunk stable as well.22:52
mkanatjam: I'm not sure that makes sense at this point.22:53
mkanatWhy not just do the work to stabilize what's on trunk now?22:53
mkanatIt would be a few weeks of work at the most, I think.22:53
mkanatlifeless: Also, I'm not sure that having only the launchpad team work on loggerhead will be the best for the non-launchpad users of loggerhead.22:54
GaryvdMErimos_Wolf: I guess that's not normal. verterok?22:55
mkanatlifeless, jam: Also, it's not possible to extract the unstable parts of trunk, for the most part--they involved a lot of refactoring and then what comes after is built on that refactoring.22:55
mkanatIt would probably be almost as much work to "reset" trunk as it would to actually make trunk stable.22:56
lifelesssorry, local interrupt22:58
Erimos_Wolfis there a log file to digg through?22:58
lifelessmkanat: so the bzr team is focusing on udd22:58
GaryvdMErimos_Wolf: ~/.bzr.log22:58
GaryvdMMy Document\.bzr.log on windows22:59
lifelessmkanat: which means that AFAIK there isn't anyone really worrying about loggerhead atm except you23:02
mkanatlifeless: Yeah, although that's been true for about a year now.23:03
lifelessright23:03
lifelesslaunchpad has a vested interest in loggerhead being a solid component, and we're decent folk - we like reusable modules and components23:03
mkanatlifeless: Yeah, I agree. I just want to be sure that the user experience or configuration experience doesn't degrade for people who aren't LP.23:04
lifelessI am pretty sure it won't23:04
jammkanat: I think Peng is a good test subject23:04
jam:)23:04
mkanatjam: Okay. :-)23:04
lifelessI doubt it will improve without someone interesting it making that *better* stepping up23:04
Erimos_WolfI think the plugin doesnt call bazaar in any way. It just reacts with this message. The log shows only the last actions take from the explorer.23:04
lifelessPeng: yo, around?23:04
lifelessmkanat: now, for the question of code stabilisation23:04
lifelessmkanat: you're saying there are three branches?23:04
lifelesstrunk, stable and lp ?23:04
mkanatlifeless: More or less, yeah.23:05
lifelessok23:05
lifelessso, I think that I'm proposing23:05
lifelessfuture, trunk and lp23:05
mkanatlifeless: That was something we were forced to do because of my limited time.23:05
mkanatlifeless: Honestly, I think that's just a non-standard terminology change.23:05
mkanatlifeless: "trunk" should mean "future".23:05
mkanatlifeless: I don't see the advantage we'd get from renaming it.23:05
mkanatlifeless: The solution I'd prefer to see is that trunk become stable, then branches for 1.19, and then 1.19 and trunk are both maintained.23:06
mkanatlifeless: And from that point forward, trunk releases frequently in new stable releases.23:06
lifelessso, because of limited resources23:06
lifelessI'd rather not maintain multiple branches23:07
mkanatlifeless: There are just as many branches as in your solution. In fact, there is one less.23:07
lifelessin particular, having patches build on history db when its not production ready (whatever that means) is a bit counter productive - we'll end up being essentially forked, which is undesirable23:07
lifelessmkanat: going forward, after future is integrated, it could be deleted.23:08
lifelessmkanat: in my proposal23:08
mkanatlifeless: Oh, that's what I'm talking about doing in any case.23:08
lifelessI don't have an answer for how future would get integrated23:08
lifelessso we'd just have trunk and lp23:08
lifelesswith trunk always stable23:08
mkanatlifeless: Well....23:08
mkanatlifeless: I think it would be better to have trunk and stable, and lp just runs stable.23:08
mkanatOr trunk and "current stable branch".23:09
lifelesswhat advantage does an unstable trunk offer?23:09
mkanatlifeless: This is stuff I've already planned out in detail with poolie, quite a bit.23:09
mkanatlifeless: The advantage is in a stable branch, not in the trunk.23:09
mkanatlifeless: And I'm sure you already know the advantages of a stable branch, and me explaining them to you would be redundant.23:10
Erimos_Wolfno ideas?23:10
mkanatErimos_Wolf: You might want to ask whoever maintains the Eclipse Bzr integration.23:11
mkanatErimos_Wolf: bzr does keep a ~/.bzr.log23:11
Erimos_Wolfok, thank you23:11
GaryvdMErimos_Wolf: bzr-eclipse is maintained by verterok.23:12
GaryvdMErimos_Wolf: bzr-eclipse is probably looking in the wrong directory.23:13
GaryvdMThat might show up in the log if you look at the paths23:14
Erimos_Wolfthe directory for the bzr exe is setup23:14
Erimos_WolfI "shared" the project like the tutorial says.23:15
GaryvdMErimos_Wolf: maybe you have to add files before you can commit them in bzr-eclipse?23:16
Erimos_WolfThere was already a "hello world" code23:16
Erimos_Wolfif i do any changes, the plugin doesnt recognize them. Although the "history" is written correctly23:18
mkanatlifeless: FWIW, stabilization of trunk would probably just involve some refactoring, writing some tests, and doing some tests to show that everything will work at LP scale.23:18
mkanatlifeless: "writing some tests" is the longest part of that, probably.23:18
Erimos_Wolflooks like verterok is not availible, idle for almost 3 hours23:20
GaryvdMvila: 2.2.3 windows installers are done.23:36
vilaGaryvdM: hmpf ! This time you beat the osx packagers :D23:37
vilaGaryvdM: nice work !23:37
GaryvdM:)23:37
dOxxxthere was a 2.2.3 release? doh23:37
viladOxxx: :D23:37
dOxxxbah, you cheated. you posted while I was at work. :P23:37
viladOxxx: by the way, I'll be on the move tomorrow so I may not be able to build the 10.5 one before.... some days :)23:38
dOxxxvila: just fixing up the release notes and what's new for my mergetools mp23:38
viladOxxx: ok23:38
dOxxxvila: hmm ok23:38
dOxxxvila: I think the 10.5 audience is smaller so it's probably not such a bad thing if it's delayed a few days23:38
viladOxxx: hmm, but you pushed that already no ?23:39
viladOxxx: and as long as it's available when we *announce* (instead of freeze), that's good enough23:39
dOxxxvila: pushed release notes and then noticed in the diff that I forgot to move what's new23:39
viladOxxx: ha, ok23:39
dOxxxvila: also rewording it a bit23:39
dOxxxpipeline is cool :)23:40
GaryvdMdOxxx: Do you think you patch will land in bzr before 2.3 final. If so, I'll push to get the qbzr side in to.23:40
dOxxxalthough the handling of conflicts could be a little better. It would be nice if it could pre-populate the commit message, so I would just have to fix the conflicts and commit.23:40
dOxxxGaryvdM: I doubt it. I'm moving my release notes to 2.4.23:40
GaryvdMdOxxx: ok23:41
dOxxxGaryvdM: unless vila has a sudden change of heart ;)23:41
GaryvdMI've fallen a bit behind on email, so I'm not sure what the status is.23:42
vilaGaryvdM, dOxxx : hehe, let's make it rock in 2.4 instead of trying to shoehorn it in 2.3 :)23:42
dOxxxyeah23:42
viladOxxx: my heart is behind the efforts there, I can assure you23:43
dOxxxvila: oh for sure, otherwise you wouldn't have stuck with it for so long :)23:43
dOxxxvila has been slowly weeding the Java OOP out of my mp ;)23:43
dOxxxvila: okay, all set for review :)23:48
GaryvdMjam: Do we have any documentation on how to do a bundle of  desolation?23:48
viladOxxx: ok, I'll try to review it now (~20 left), if I fail to do that... that will be tomorrow only :-/23:49
jamGaryvdM: I don't think it is explicitly documented. It is go to the AWS console, and tell it to create a bundle, when that finishes, tell it to create an AMI23:49
dOxxxvila: sure, no problem. thanks :)23:49
jamGaryvdM: there *is* doc/developers/ec2.txt23:49
GaryvdMI tried but I'm getting: NoSuchBucket(404)- The specified bucket does not exist23:49
jamGaryvdM: what S3 bucket are you trying to bundle into?23:49
jamdo you want me to do it?23:50
GaryvdMjam: I entered desolation-20110121 for the bucket name. Do I have to create it first?23:50
GaryvdMjam: I would like to learn.23:51
jamGaryvdM: no, but you need to set the bucket to ec2.bazaar-vcs.org23:51
GaryvdMok let me try that.23:51
viladOxxx: approved, well done, I'll pqm it23:51
dOxxxvila: yay!23:51
jamGaryvdM: from the web console23:51
jamright click on the instance23:51
jamsay "bundle"23:52
jamthen S3 bucket name is ec2.bazaar-vcs.org23:52
jamthe S3 Key Name is desolation-2011012123:52
GaryvdMOk - and then shut down from rdc23:52
jamGaryvdM: the bundle request should handle the shutdown23:52
jamso you don't have to do it manually23:52
jam(It didn't always work for me from ElasticFox, but it has always worked from the web console for me)23:53
jamby having "bundle" do it, it will also bring it back up when the bundling is finished, I think23:53
GaryvdMOk - so I have to remember to come back and shut it down.23:54
GaryvdMjam: thanks - it's working now.23:55
jamGaryvdM: right 3% is the "it isn't shut down yet" but it should progress from there23:55
GaryvdMOk - I better go. They lock the gates for the office park at 2am . I might come on line at home.23:57

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