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

=== Ursinha-bbl is now known as Ursinha
GungaDinyes.00:01
GungaDinthx.00:01
=== Chex changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: vila | Release Manager: vila | 2.3b2 is officially released, test it ! | work on bzr: http://webapps.ubuntu.com/employment/canonical_BSE/
GungaDinis there a special way to rename a branch in bzr?01:38
LeoNerdmv01:43
LeoNerdA branch doesn't need to know its own name.. it's simply a location, a directory path on disk01:43
KombuchaKipWhat is the difference between bzr pull and update commands?01:45
fullermdpull is for updating one branch relative to another.  update is for updating a working tree relative to its branch.01:47
spiv'pull' brings a branch up-to-date with another copy of that branch (so long as they haven't diverged).  'updated' brings a tree up-to-date with its branch.01:47
fullermd(except for bound branches, which break the rules to keep you on your toes)01:47
* KombuchaKip is confused01:48
fullermdMy work here is done   :)01:49
jbowtieThe way I remember it is:  bzr checkout, use bzr update; bzr branch, use bzr pull.01:49
KombuchaKipSo in the centralized model, does it make a difference?01:49
peitschieKombuchaKip: in the centralized model, you are usually be using checkouts correct?01:52
jbowtieIn the centralized model (svn-style) you would typically do bzr checkout, which means you'd be using bzr update (because other people are checking into the same branch)01:52
KombuchaKippeitschie: Yes, I use typically a checkout first time.01:52
peitschieKombuchaKip: jbowtie beat me to it :).... so you'll be using update, not pull01:53
KombuchaKippeitschie: Ok, so I will just forget pull for now.01:53
peitschieKombuchaKip: yup :).  when to start treading into branching and such, then you can learn about pull/push/merge etc.01:54
KombuchaKippeitschie: Fair enough. I'm still trying to decide whether to use it for my project (www.avaneya.com) or not, but leaning towards it and away from svn.01:55
peitschieKombuchaKip: bzr is definitely worth a look.... even if you decide to stick with svn for now, don't write bzr off though :)01:56
KombuchaKippeitschie: My main concern is compression and handling of large binary files.01:56
KombuchaKippeitschie: Well, fortunately I have the luxury of choice at this point since nothing is under SCM yet so I can still choose.01:57
peitschieKombuchaKip: that does help.  What size binary files are you talking about out of interest?01:57
KombuchaKipOn the order of tens of megs to possibly around a gigabyte.01:58
KombuchaKippeitschie: And they won't compress well, nor will deltas be computed likely efficiently.01:58
peitschieKombuchaKip: ahh... i get the feeling bzr may struggle with those resources.  Though work is being done to improve large binary management... I suspect gigabytes will likely blow its socks off01:59
KombuchaKippeitschie: I hope though that there is some attractive GUI for managing an apt repository that draws from Bazaar source.01:59
KombuchaKippeitschie: Well, to be fair, I don't know of any SCM that handles them well.02:00
fullermdI think that's the arena that Alienbrain targets.02:00
peitschieKombuchaKip: i'm not too knowledgable about the apt repo based on bazaar source guis... I think there are a few02:01
* KombuchaKip googles said02:01
KombuchaKippeitschie: Yes, I'll take a look.02:01
* fullermd glances at the site.02:02
fullermdOh, and alienbrain is highly portable; it works on both Windows AND MacOS!02:02
peitschieKombuchaKip: but your definitely right about large binaries... to some degree i'd suggest for now managing their life cycle outside your code if possible?02:02
peitschielol... wow! both of them?02:02
KombuchaKipfullermd: lol ;) I only run GNU.02:03
fullermdIn Africa, the GNU runs YOU!02:03
KombuchaKippeitschie: Yes, that might be best to do. I'll only commit source media asset files, like models and such and have derived works like large videos generated by make.02:03
KombuchaKipfullermd: ;)02:03
KombuchaKipHmm Alienbrain doesn't look like it's free.02:04
fullermdI think it's highly not.02:04
peitschieyes... it's so non-free my wallet would hurt from talking to it i think :(02:04
KombuchaKippeitschie: hah. It would be nice if we had something free for stuff like this. Or rather, eventually extend the functionality of Bazaar and work within its framework to have it more flexible for artists and their data too.02:05
peitschieKombuchaKip: it's definitely coming :).  there is a lot of activity on the mailing lists around these types of problems... so even if its not there yet, bzr moves quite quickly... so i don't see it being terribly far off (<6months if progress maintains)02:06
fullermdWell, the needs of meda management and text file management are pretty divergant.02:06
KombuchaKipfullermd: Agreed.02:06
fullermdAB's biggest selling point is integration with all sorts of meda-type programs (photoshop, stuff from Avid, etc)02:06
fullermdSecond to that is handling big files.  I mean *big*, multi-hundred-gig-plus, files.02:07
peitschie KombuchaKip: it wont jump up to gigabytes overnight... but tens of megs is becoming more easily within range with current advances... merge tool work is being done to allow merging of binary data (e.g., merging images, tars etc)02:07
fullermdbzr probably isn't going to target files that size any time soon  ;)02:07
KombuchaKipfullermd: I understand.02:07
peitschiehehe... for sure.... theres a lot of very specialised memory management stuff that needs to happen at that level02:07
KombuchaKipThanks for everyone's help and advice. I'm going to go eat some avocados now.02:08
jbowtieYeah, it would be great if we get the Unity3D people to talk about how they do asset management.02:08
jbowtieThey've got some sort of homegrown VCS for managing all those ame assets.02:09
jbowtie*game assets02:09
KombuchaKipWell, I'll be sure to add Bazaar to game credits and boast of how great it is on the project website.02:09
* peitschie thinks acovados then bzr sounds like a life preference02:09
KombuchaKippeitschie: As a raw foodist, I like my software raw as well. I don't like it when the source code is cooked out of it.02:09
peitschierofl02:10
peitschiei never thought of it that way... my mind expands once again :-/02:10
fullermdWell, I know I've dealt with software that felt like it gave me salmonella before...02:11
KombuchaKippeitschie: Raw food goes perfectly with free software. I can't stand proprietary food. No joke, we've got patents on food now. Monsanto.02:11
KombuchaKipfullermd: Or diarrhoea.02:12
peitschieKombuchaKip: open source does tend to build the freshest binaries...02:12
KombuchaKippeitschie: I even mailed Stallman a copy of The China Study since we need to get him raw. His mind is already raw, but his body needs to be too so he'll be around for another century and finally finish Hurd.02:12
KombuchaKippeitschie: That's right, organic too, and not sprayed with DRM.02:13
peitschieKombuchaKip: hehe... i dont know if a century is going to be enough for Hurd to get there.  Looks like Duke Nukem Forever might beat Hurd completion lol02:13
KombuchaKippeitschie: Oh probably. At the least, I think he is actually reading it and that's the main thing. I want to see him healthy.02:14
peitschieKombuchaKip: an admirable aim for sure :)02:14
KombuchaKippeitschie: ;) Alright, dinner time.02:15
KombuchaKipBy the way, what's the "Gateway to LAN" I see in the Bazaar preferences for? Sounds cool.02:19
jbowtieOK, here's a scenario. Decided to branch a large, slow repository. Connectivity is lost partway through.03:55
jbowtieSo on disk I have most of a repository, no branch, no working tree.03:55
jbowtieWhat I'd like to do is implement some sort of resume command that just pulls the rest of the repository revisions, creates the branch, creates the working tree.03:56
jbowtieWhere do I start?  Somewhere in sprout?03:57
jbowtieLooks like what I want is BzrDir.open_branch(), followed by WorkingTreeFormat2.initialize(), followed by a bzr pull. Does that sound right?04:01
lifelessjbowtie: bzr checkout .; bzr pull04:13
lifeless?04:13
spivjbowtie: the key problem at the moment is that the partial stream from the remote repository will almost never be in a wholly complete/consistent state, so bzr atm can't simply save the partially fetched revision data into the local repository.04:14
lifelessjbowtie: note that bzr's streaming fetch does /one/ big transaction, so unless you're doing just-in-time conversion, you won't be actually resuming anything.04:14
* spiv looks up the relevant bug04:14
spivhttps://bugs.edge.launchpad.net/bzr/+bug/116148, and also https://bugs.edge.launchpad.net/bzr/+bug/12506704:15
ubot5Launchpad bug 116148 in Bazaar "bzr branch should be resumable if interrupted (affected: 4, heat: 10)" [Wishlist,Confirmed]04:15
jbowtiespiv: OK, at least its bzr and not my code.04:19
spivWhat you can do is fetch smaller amounts, e.g. 1000 or even 100 revs at a time.04:19
jbowtielifeless: Actually I'm converting a foreign repository, commits after each revision, so that should be all right.04:20
spivOh, 1 at a time works too :)04:21
spivIn that caes lifeless' first suggestion is good.04:22
jbowtieOh, I actually missed that line. I'll see if that works.04:22
jbowtieThat didn't work, mucked up the bookkeeping playing with bzr reconfigure I think.04:25
jbowtieBut I'll try it if I lose the server connection again.04:25
=== Ursinha is now known as Ursinha-afk
pooliehi spiv06:23
spivHi poolie.  I've made some progress on bug 653307, as perhaps you've seen in my comments to it.06:45
ubot5Launchpad bug 653307 in Ubuntu Distributed Development "Import fails with missing referenced chk root keys (affected: 1, heat: 8)" [Critical,In progress] https://launchpad.net/bugs/65330706:45
spivI've got a simple 'bzr cross-check' tool now that compares the inventory roots agree for the common inventories of 2 or more repos.06:46
spivIt seems to be a similar kind of problem to bug 485601.06:46
ubot5Launchpad bug 485601 in Bazaar "missing chk node(s) for id_to_entry maps (affected: 2, heat: 13)" [Medium,Incomplete] https://launchpad.net/bugs/48560106:47
peitschiespiv: you need a test sucker?06:53
* fullermd mentally pictures a giant squid with a clipboard...06:56
spivpeitschie: this is a different bug, not involving bzr-svn :)06:56
spivpeitschie: (but so far looks like a similar sort of cause in the relevant code that creates bzr branches out of deb packages)06:57
peitschiespiv: I did see that on the description... I was thinking more that I have the two pure bzr repositories made from svn that exhibit the issue if you had any interest in the results to this check :)07:03
pooliehey spiv, that sounds good07:21
vilahi all08:06
bialixbonjour vila!08:08
vila_o/08:08
mgzmorning all.08:08
* fullermd waves at vila.08:10
maxb16:03 < vila> maxb: yeehaa for the beta-ppa !08:12
maxb16:05 < vila> maxb: does this mean the tests are running there ? For bzr only or did you try for some plugins too ?08:12
maxb16:05 < vila> maxb: did you remove the install-related failing one ?08:12
maxbTests work! bzr only. I caused it to skip, but it was only testing whether the install script would actually run, so that's valid - since the package build implicitly tests that anyway :-)08:13
vilaexcellent work ! That's a significant stepping stone on the MRE road08:14
vilaSo, how did you skip the test ? Unconditionally or based on source tree availability ?08:15
maxbIt had existing code to skip based on the presence/absence of setup.py, but the code was dodgy - it tested presence in one directory, then tried to execute it in a different directory08:16
maxbSo I fixed that08:17
maxbIn the packaging branch only. Need to merge propose that08:17
vilamaxb: ok, can you put up... yeah :) Can you try to target 2.2 for it ?08:17
maxbNot 2.1? In case we want to SRU lucid?08:18
vilaI don't think we'll be able to run the tests successfully for 2.1 (or did I misremember ?)08:18
vilamaxb: but if you can target 2.1, that's better anyway08:18
maxboh, alright08:20
vilamaxb: I mean, I'd be delighted to be able to run the tests for 2.1, but I prefer to focus on 2.2 and 2.308:21
vilamaxb: you may want to update bug #64401508:32
ubot5Launchpad bug 644015 in bzr (Ubuntu) "bzr package build should run the test suite (affected: 1, heat: 155)" [Undecided,Confirmed] https://launchpad.net/bugs/64401508:32
C-KeenDerGuteMoritz: ah it is something in my code, could affect the gazette as well then08:33
C-Keenoops sorry08:33
=== peitschie is now known as 5EXABLZH6
jbowtieCause I don't really want spend the next 8 hours pulling revisions by hand when I already have 95% on disk.10:00
vilajbowtie: still there ? If the local repo is sane, bzr won't pull the already present revisions10:00
jbowtievila: Yes and sounds good.10:00
vilajbowtie: bzr missing should tell you, but it can be a bit verbose...10:01
ddaaNo help in #emacs, so I'll ask here...10:09
jbowtievila: Almost works, this is where some of the corner-cutting in my bzr-tfs plugin rears its ugly head.10:09
ddaaanyone knows how to teach emacs that ReST comments are multi-line?10:09
jbowtieNot this vim user.  ;)10:10
viladdaa: no idea10:10
jbowtievila: Just implemented Transport.clone, looks like I now need to implement Branch.get_rev_id.... oh, well, next milestone was overdue anyway.10:12
jbowtieThanks for the hints, will go away and hack for a bit until this works.10:13
vilajbowtie: make sure your plug your transport into the test suite10:13
vilajbowtie: that could reveal many subtle bugs there10:13
jbowtievila: Yeah, it's probably far enough along now to make that worthwhile.10:14
vilajbowtie: roughly you need a get_test_permutation function defined in your transport module10:15
vilajbowtie: hmm, you also need a test server... that may be more complex :-/10:15
vilajbowtie: there is lp:bzr-local-test-server that can help use a real server under certain conditions though10:16
jbowtievila: One of the reasons I've been putting it off. But I can mock it since it's all XML messages in the end.10:16
vilaha10:16
jbowtievila: Don't laugh, it's horribly painful even when it works.  :)10:17
vilajbowtie: not laughing at all, it was more a: 'Ha, hmm, yeah, not trivial'10:17
jbowtievila: It's also why it's so slow in creating a repository. Anything I can do to make that more resumable is a big win.10:18
yann2Hello, I ve got a question about the "decentralised with shared mainline" workflow11:02
yann2the developer creates his own branch using bzr branch, regularly gets update to the mainline using bzr merge...11:03
yann2commits locally using bzr commit - but how can he push his changes back to the mainline?11:03
Glenjaminit depends on who has write access to mainline11:03
yann2I cant seem to find how to do a bzr merge <dest>11:03
Glenjaminbasically you bzr push <dest>11:04
yann2the push wont overwrite changes made to the mainline by other users?11:04
Glenjaminif there are changes which the destination doesn't have, the push will be rejected11:04
Glenjaminhang on, i'm not explaining this well, lemme start again11:05
yann2ok I think I understand - user tries to push, fails because mainline has modifs the user doesnt have - so user needs to merge and push again?11:05
Glenjaminyann2: thats correct - but with one caveat11:06
Glenjaminpush makes the destination a mirror of the source, so pushing could alter the order of the history slightly11:06
Glenjaminthe best approach is to have a direct mirror of the central branch locally11:06
Glenjaminmerge your feature branch into that, then push it back to central11:07
yann2you mean bzr pull instead of bzr branch?11:07
yann2ah you mean having two branches locally, one a direct mirror, and one a branch of that mirror...11:08
Glenjaminyes11:08
Glenjaminin order to merge to mainline, you have an exact mirror of mainline on local, and use that to merge and update mainline11:08
yann2so bzr pull to a local mirror, bzr branch from that mirror, bzr merge to the mirror and bzr push to sync the local mirror with the mainline?11:09
Glenjaminwhere you bzr branch your feature branch from is unimportant, but yes11:09
Glenjaminyou can also use bzr checkout and bzr update to have your local mirror of mainline remain in sync11:10
yann2I got only one dev so will try without for now... but will definitely get back to this if we get more11:10
yann2afraid I might scare him otherwise :)11:10
Glenjaminyeah, if you're not too worried about history order possibly changing, then just push11:10
yann2thanks for your help11:11
elmohow do I review a branch against mainline without merging it?11:18
elmoand preferably without making a copy of mainline and merging into that to do the diff11:18
Glenjaminmerge --preview, or (q)diff11:18
Glenjaminbzr diff --old=path/to/mainline11:19
elmoGlenjamin: thanks11:20
aa_hi everyone, can I extract a subdirectory of a repo as a new repo with revision history intact?11:40
spivaa_: you can use the bzr-fastimport plugin to export the history, and then filter it to only have the directory you want, and import that.11:45
spivSo the answer is: sort of.  You can synthesise a new revision history that just contains the subdirectory.11:46
aa_spiv: ok, great, that sounds like what I meant anyway, a new history would need to eb generated I guess11:46
aa_spiv: thanks :)11:46
spivAnother option is you could also just make a commit that deletes everything except the subdirectory, and moves that subdirectory to the root of the tree.11:47
aa_spiv: ooh, didn't think of that11:48
aa_but then I have all the revision history too11:48
spivRight.11:48
spivSo which you want depends on exactly what effect you want.11:48
aa_the first one11:48
spiv*nod*11:49
virus_foundHello. Why is it so?  $bzr revno lp:cuneiform-linux    returns "491", but   $bzr log -r491     returns "bzr: ERROR: Requested revision: u'491' does not exist in branch: BzrBranch7('file:///home/virus_found/abs/cuneiform/src/cuneiform-linux/')"14:16
virus_foundDo I need to pull/fetch/whatever it in order to see the log of 491 revision?14:17
rubbsyou don't need to pull, but you do need to specify the remote location if you want to read the remote location's log14:17
virus_foundOh, thanks, I'll try.14:18
rubbssomething like $ bzr log -r491 lp:cuneiform-linux14:18
rubbsnp.14:18
virus_foundThank you so much :)14:18
virus_foundWorks.14:18
rubbsnot a problem. glad to have helped14:19
virus_found:)14:19
=== Ursinha-afk is now known as Ursinha
vilamgz: ping, do you have a wip about the transport hook ?15:20
vilamgz: and did we have a bug for it ?15:27
mgzvila: not yet but it's down for today, and no.15:28
mgzI'm guessing branching off lp:~spiv/bzr/hooks-refactoring is the lower conflict path.15:29
vilamgz: but you have a branch already no ?15:37
mgznope. I read some background, but haven't had multiple uninterrupted hours till now.15:38
mgz(I do now have a branch, but really just now)15:39
vilamgz: what did I try then ? Only a pastebin'd patch ?15:39
mgzoh, I'm not building on that one, it was just a hack branch to test the theory.15:40
vilaoh I know, I found it back15:43
mgzah, sorry, I didn't realise you wanted it again, would have pasted the link15:47
vilanp, my question was vague anyway15:47
mgzokay, that's a hook stubbed out.15:51
mgzas a post connect hook is going to (potentially) be called multiple times per transport15:51
mgzaccounting for reconnections15:51
mgzbut disconnect is a once? per transport thing, what should the test code do with this new hook exactly?15:52
mgzokay, implemented.16:00
mgzworking backwards though, now I need to work out what tests I need.16:01
awilkinsIs there an svn-fast-import (not export) ?16:02
=== james_w` is now known as james_w
vilamgz: sry, wasn't paying attention. Hmm, yes, it could be called multiple times by transport but only once by connection (i.e. only if we need to reconnect)16:11
vilaawilkins: meh, may be the svn devs know better ? ;)16:12
mgzmy code at the moment is just calling disconnect multiple times in this case and it seems to not blow up.16:12
mgzso I'll do that for the moment and people can think of better ways in review16:12
vilaHmm, disconnect should be protected against multiple calls because a connection can be shared between several transports16:13
vilamgz: yup, it is (at least the http one I'm looking at)16:14
awilkinsvila, The use case is ; I want to give a training course, splitting the participants into two groups, Group B gets Bazaar, Group S gets subversion16:15
awilkinsvila, Although silly me, I shall probably construct a repo in Bazaar and just push it into an SVN one16:15
awilkinsvila, Was just thinking that you could store course materials as fast-export and run it on any VCS16:16
vilaawilkins: things are often clearer when you need to explain them to someone other than.. yourself ;)16:16
vilaAlso, groups B S... are you sure ? ;)16:16
awilkinsBazaar and Subversion :-)16:16
awilkinsI might address group S first in any given location :-|16:17
vilaOh, I got that, but some people have such perverse habits to deform everything the teachers say...16:17
Glenjaminthen always say them in the other order16:17
Glenjamin"Groups S and B"16:17
awilkinsAnything that excites their neurones enough to keep them conscious16:17
vilaawilkins: good point16:17
awilkinsNot like I'm training nuns16:18
fullermdNot habitually anyway.16:18
vilafullermd: Dunno why I wsa thinking about you... so you finally managed to get noticed when someone thinks about you... explain why you can't sleep anymore ;)16:19
fullermdSleep?  I've heard of that, I think...    I thought it was just a rumor.16:19
awilkinsIn the same tone, I will call my working copy folder "WC"16:21
awilkinsAlthough my course materials for this are usually sandwich recipes. Less hilarious.16:22
vilasandwich recipes in working copy folders ?16:23
=== zyga is now known as zyga-dinner
fullermdI think he's just trying to flush out all the bad puns.16:23
awilkinsIt's something people can edit and merge without thinking about code ; has a list of steps and a list of ingredients people can disagree about, etc16:24
awilkinsSometimes I have to give this kind of instruction to people who are not programmers16:24
Glenjamininteresting, what format?16:24
awilkins.txt16:24
vilaGlenjamin: triangle or baguette16:25
awilkinsCut crosswise! Remove crusts! To toast, or not to toast, that is the question!16:25
fullermdWrong question.  Corned beef or proscuitto?16:26
vilanope, baguette ham butter, the ultimate16:26
awilkinsCorned beef or pastrami16:26
fullermdAcceptable.  As long as it's measured in pounds.16:26
Glenjamini cut mine like this: http://pastebin.com/Dr6cZ3BN16:27
vilagherkin is a nice option16:27
awilkinsTrapezoid cut sandwiches .....16:27
* awilkins gathers some ideas for "libraries"16:27
Glenjaminhalfway between rectangles and triangles16:28
* awilkins now has trapezoid, oblong, diagonal sandwich cut ASCII arts :-)16:31
awilkinsYou get authors credit on the trapezoid one16:32
mgzokay, two crappy tests I've ripped off parth.16:34
mgzreally this needs some higher level stuff checking that say, the http transport uses the hook16:34
mgzbut might put up for review as is so I stay way ahead of schedual for the day16:34
=== beuno is now known as beuno-lunch
=== zyga-dinner is now known as zyga
mgzvila: mp posted.17:02
=== deryck is now known as deryck[lunch]
vilamgz: reviewed and pre-requisites pinged17:22
vilamgz: thanks !17:22
mgzvila: thanks back! might be worth giving it a go on babune too to check it's as good as the hack on all tests, I only did a subset.17:26
vilamgz: started17:30
vilamgz: hmm, almost. Re-started17:31
vilamgz: be aware that I upgraded a bunch of hosts today, so all failures may not be your fault ;)17:32
mgz:)17:32
=== beuno-lunch is now known as beuno
vilamgz: doesn't look good: http://babune.ladeuil.net:24842/view/debug/job/selftest-subset-gentoo/lastCompletedBuild/testReport/17:57
mgzcool, gives me a set of tests to check.17:58
vilaprobably very shallow17:59
mgzand some of it at least is just me being dumb.17:59
mgzokay, the other part looks like a clash with transport_util18:09
mgzjust updating that should do.18:09
mgzit's like... exactly the code I wrote but tests only.18:10
vilamgz: which part ?18:14
vilamgz: I'm almost off ;) But ping me later if you want a re-rerun, I'll pass around18:15
mgzthe adding a hook in _set_connection bit. am just deleting code now to see how much of the rest is needed.18:15
mgzwill do vila.18:15
vilamgz: oooooh, I see, this probably can be rewritten better now, this is very very old code ;)18:18
mgzright. :)18:18
mgzI'm hoping for a delete-whole-file, just thinking through what the scheme replacing stuff is trying to do.18:18
vilawhile this may shed some doubt about my memory, I think it re-enforce my coherency :)18:19
vilathe scheme replacing stuff is only there to get the right kind of transport because that was the only one with the right hook at the time18:19
mgzI'll try deleting it and seeing how many broken pieces I get.18:20
vilabut there is still the begining where ftp/sftp is selected for all kind of environments, *this* will be harder to delete and test18:20
vilamgz: you don't have to address that yet IMHO, a big FIXME would be enough18:21
roryythat's a FIXME in extra large font?18:22
vilaroryy: yup, red and blinking18:22
mgzwell, transport_util seems to only be used in those few tests that failed in babune, so I have hopes for moving any logic we still need somewhere closer to site18:23
sidneiheya, is it possible to mark a (autogenerated) text file as binary in bzr so that it doesn't show up in diffs and so it gets different conflict resolution? or is that a stupid idea?18:26
MTecknologyIs there a difference between bzr up and bzr pull?18:27
fullermdMTecknology: Yes.  That was easy   :)18:28
MTecknology:P18:28
MTecknologythanks18:28
* fullermd is a helper!18:29
MTecknologyfullermd: indeed18:30
fullermdFor my next trick...18:30
=== deryck[lunch] is now known as deryck
MTecknologyfullermd: You going to write a bzr plugin to do everything I'm doing?18:35
fullermdYes!18:35
fullermdI think.18:35
fullermdIf that's code for "eat a sandwich and take a nap".18:35
MTecknologythat doesn't sound like a plugin18:36
MTecknologythe plugin i want...18:36
fullermdWhat do you have against napping?18:36
Glenjaminits probably the sandwich he objects to18:37
Glenjaminis bzr xml output included by default in most packages?18:37
MTecknologyI meant it doesn't sound like a bzr plugin18:37
MTecknologybzr create-new-server-configure-it-and-migrate-existing-site-in-one-layout-to-new-server-on-completely-different-setup18:37
fullermdHm.  Well, I'm flexible; I'll go with cocktail shrimp if that's better...18:37
MTecknology^ that's the bzr plugin you should make for me :D18:37
Glenjaminsounds to me like you should configure your servers more uniformly :D18:38
fullermdYou wouldn't have this problem if all your stuff was in Teh Cloud!18:38
fullermd'cuz then you'd just, like, waft sites around, and it would all work perfectly with no effort and scale infinitely.  Says so right here on the label.18:38
MTecknologyIn dev I need to fully lock off every website from every other website on the same system18:39
MTecknologywhen the dev site moves live it needs to change to a setup where it runs entirely different - designed for high caching and huge req/s18:40
fullermdI use Makefiles (or their immoral equivalent) for that sorta thing.18:41
MTecknologyI know makefiles are great for this, but I'm just using a bash script18:42
MTecknologyand a python script18:42
Glenjaminwhat language is the app?18:42
MTecknology... and about 4 other python scripts18:42
MTecknologyIt's Pressflow18:42
Glenjaminif you know python, i'd always use python scripts over bash18:43
Glenjaminand generally spend your time developing a proper build/deploy script - deployment/building is the most important feature of any app18:43
MTecknologyexcept in bash I can just say.. tar "$(grep ... | sed ..).tgz" "$root_dir$(grep ...)"18:44
Glenjaminand no-one can read that18:44
Glenjaminshort != good18:44
MTecknologyI had to learn python to do this actually18:44
MTecknologyI never worked with python before18:44
Glenjaminthen you could have used php-cli18:45
MTecknologyThere's some pretty screwy things I need to do to make this work too18:45
fullermdOh, that's nothing.  I spent a giant pile of time last weekend in the bowels of Apache and mod_rewrite.  You wanna talk about some screwy things...18:46
MTecknologyyucky18:49
MTecknologyapache is too much like msft to me18:49
Glenjaminanyway, i missed the start of this conversation, i don't actually know what the original problem was18:49
Glenjaminapache is a known quantity, mostly :)18:49
MTecknologyI've saved many people by moving to Linux because of the high system load Windows caused for older hardware18:50
MTecknologyAnd also s/Linux/Ninx/ s/Windows/Apache/18:51
MTecknologyGlenjamin: my original problem.. I asked about bzr pull vs. bzr up - then the convo kinda digressed18:51
Glenjaminah yes18:51
Glenjaminreminds me, does post-pull run after update?18:51
mgzvila: pushed some updates if babune can have another go at running the branch when you next pass this way19:03
vilamgz: passing, noticed http://babune.ladeuil.net:24842/job/selftest-subset-maverick/9/testReport/bzrlib.tests.test_source/TestSource/test_coding_style/19:33
yann2is it possible to do a bzr export to a remote server?19:34
mgzgra, need to watch my reindent19:34
vilamgz: started a new one19:35
yann2or what bzr command should I use to deploy the latest version of a branch to a production server?19:35
vilamgz: that's what you get for reporting an indent bug this morning ;)19:35
vilayann2: lp:bzr-upload if you don't want to publish your history19:35
mgzI need a pre commit hook with some stuff, juggling editors means I always mess something whitespacey up.19:36
vilayann2: lp:bzr-push-and-update if your want both the branch and the working tree on the remote server19:36
yann2I dont have such a command vila19:36
vilayann2: there are plugins19:36
vilathey*19:36
yann2how do I install them?19:37
yann2I dont want the history so upload looks like it19:37
vilayann2: that os/bzr versions are you using19:37
yann2ubuntu server 10.419:37
yann264bits if thats of interest19:37
vilayann2: http://doc.bazaar.canonical.com/plugins/en/19:37
vilayann2: upgrade to 10.10 :-D19:37
yann2cant, just upgraded to 10.4 :)19:38
vilaha no, server, LTS ?19:38
yann2yep, keeping all my servers lts19:38
vilayann2: I suggest using the bzr ppa to get access to the latest stable release and plugins19:38
yann2https://itwiki.thehumanjourney.net/images/7/7f/Devworkflow.png trying to get this done19:38
vilarats, upload is not part of the stable ppa19:39
vilayann2: yup, typical use case for bzr-upload19:40
* vila off19:40
maxbWell, we can add bzr-upload easily enough... :-)19:44
maxbShall I do it right now?19:44
yann2it is packaged on 10.4 , I just checked :)19:45
* maxb wonders if anything has changed between lucid and what's in sid19:46
yann2any idea how to access the man though?19:46
yann2ii  bzr-upload                0.1.1+bzr60-1             Bazaar plugin for uploading to web servers19:47
yann2seems exactly like what I was looking for though ;)19:47
GaryvdMyann2:  Once installed: bzr upload --help19:47
yann2cheers19:47
maxbA fair number of fixes after revno 6019:48
yann2maxb, what issues should I be aware of?19:57
yann2I like to stick to regular repos whenever possible, but if there are serious bugs of course I'll install a ppa19:58
maxbI don't use it myself, I just glanced at the commit logs19:58
GaryvdMzazyPing220:09
GaryvdMsigh20:10
yann2I get this error using bzr-upload if anyone has an idea: http://pastebin.ca/1962389 ...20:15
Glenjaminas a general rule, i like having the remote deployments be a branch/checkout - it means you can be sure exactly what revision they are20:20
yann2Glenjamin, but then the .bzr archives would be accessible via http?20:26
Glenjamindepends on your config20:26
yann2well even I'd like to keep that out of the vhost if I can20:26
yann2but right now  I get nothing working :(20:26
Glenjaminyann2: try sftp instead of bzr+ssh20:27
yann2that worked :) thanks a lot20:27
mwhudsonjam: did you get the mail about lp-service failures?20:28
mwhudsonjam: is it just that the acceptance tests are not starting a forking service?20:29
jammwhudson: that's what it looks like. I didn't see those tests when I was looking around20:29
jamit seems "bin/test lp.codehosting" doesn't actually run the codehosting tests20:30
jam(it runs *all* tests for some reason)20:30
jamanyway, I'll fix it up, thanks for running it for me20:30
mwhudsonjam: basically all the bzr+ssh tests failed and non of the others, so it's likely something fairly simple20:30
lifelessjam: bin/test -t <pattern>20:30
mwhudsonjam: that sounds strange20:30
mwhudsonlifeless: should work without the -t though20:30
lifelesszope.testrunner is extremely idiosyncratic20:31
jamlifeless: that *loads* all tests and then runs a subset20:31
jamwhich is ok, but slow20:31
mwhudsonthen the pattern just matches the module path20:31
lifelessjam: yes, but it works :)20:31
mwhudsonof course, you should _always_ have -vv in there20:31
jambin/test lp.codehosting.sshserver runs the subset I thought I cared about :)20:31
mwhudsonsadly not20:32
mwhudsonjam: you ok to make the required changes?20:40
mwhudsonoh, you already said that20:40
erosshow do I check something out without having to be a contributer - eg.  not entering a pass phrase20:50
lifelessuse an anonymous protocol like http20:50
jammwhudson: I'll let you know if I can't figure out how to get the service running, but I'm hoping it will be fairly straightforward20:53
mwhudsonjam: yeah, it shouldn't be too bad, there's code to manange the ssh server process, you'll just need to make it manage the forking service too20:54
jammwhudson: at this point, I should be updating against launchpad/devel, correct?20:57
mwhudsonjam: yep20:57
GaryvdMjam: Out of interest, have you ever worked with python amd64 on windows?20:59
jamGaryvdM: nope, I've never had 64-bit windows (ever)21:00
Glenjamini ran it briefly once, 3rd party lib support was poor, and 32-bit mode was fine21:00
erossty21:01
GaryvdMjam, Glenjamin: Cause Iq21:01
GaryvdMjam, Glenjamin: Cause I'm trying to do an amd64 python installer, and I'm finding what Glenjamin said.21:02
GlenjaminI last tried it 2-3 years ago21:02
Glenjamindissapointing it hasn't improved since :s21:03
Glenjaminbut in general, windows x64 has transparent support for all 32 bit apps, and hopefully bzr isn't using more than 3.4gig of memory21:03
GaryvdMe.g. no 64 installer for setuptools, but found on from 3rd party.21:04
jamGlenjamin: well, you can only get access to 2GB of memory unless you run special flags, and then you can only get 3GB21:05
jam(both boot-time flag /3G and the program needs a bit toggled to say that it is high-bit safe)21:05
Glenjaminheh, that'll teach me to be vauge in a tech-related channel :D21:05
jamI just looked into it very closely in the past for other work21:07
jamas when you have a 4GB machine, it is a shame that you can't actually use it in a single process21:07
jamalso, if you are allocating *large* chunks of memory21:07
Glenjaminanyway, my point was that if you're trying to run bazaar in 64 bit python, you're probably savvy enough to go build it yourself21:08
jamthe cap is often like 1.3GB because of fragmentation due to how windows maps shared libraries into your process space21:08
jamGlenjamin: well, we were hoping to build an installer for people, so that they wouldn't have to be savvy enough to install it themselves21:08
Glenjaminoh i see21:08
Glenjaminas a windows 64 user, i'd say ~50 of my apps run in 32bit mode, and there are no issues with this21:09
jamGlenjamin: I would also say that memory consumption usually doubles in python 64-bit, since almost everything is a 'long' or a pointer21:09
jamso while you have access to more, suddenly you consume a lot more too21:09
Glenjamina quick survey shows: 40/83 processes running in 64-bit mode21:10
jamGlenjamin: and the other 43 are all system processes, right ? :)21:10
Glenjaminhrm21:11
Glenjamin4 non-system 64-bit processes21:11
Glenjaminso yeah - i'd expect windows users to be happy with a 32-bit installer. unless 64-bit turns out to be simple (which i doubt)21:13
jamGlenjamin: people are currently complaining because of running OOM with large files and enough mem to handle them otherwise21:14
Glenjaminoh21:14
jamnot *many* people, but enough that we're trying21:14
jamat least to give them the option21:14
Glenjaminwell i'm happy to test out the installer if you want21:15
GaryvdMGlenjamin: thanks, watch this space.21:15
Glenjamindo you guys know of a version control tool that can version inside of archives?21:18
Glenjaminfor example, docx is just a compressed set of mostly xml files - in theory a VCS could apply this knowledge to intelligently merge word documents21:20
dashGlenjamin: that would require knowing how to intelligently merge xml files :)21:20
Glenjaminhaha21:20
pooliehello jam21:28
jamhi poolie, shocking to see you here so early21:28
vilajam, poolie: ouch, I should really go then ;)21:29
jamsleep well, vila21:29
vilahehe, soon, soon21:29
poolieheh, yeah, sleep well21:30
pooliehi jam, i'm trying to migraet towards your timezone21:30
pooliei'm actually fairly often on 30-60m after this21:30
vilapoolie: I just noticed that my mps about bug #323111 were first posted more than a month ago, I will go to sleep and dream that they'll get reviewed enough for me to fix them so that we can land them :-D21:31
ubot5Launchpad bug 323111 in Bazaar "Cannot delete directory with ignored files (affected: 2, heat: 9)" [Medium,In progress] https://launchpad.net/bugs/32311121:31
pooliethat would be nice21:33
=== mordred_ is now known as mtaylor
pooliejam, how are you?22:10
jampoolie: doing pretty good. there were some failing "acceptance" tests because we weren't starting the extra service there, I'm tracking that down now22:12
poolieoh ok22:13
jamnot sure why mailman is repeatedly failing to import22:13
jamwhile running codehosting tests22:13
poolieah, i think i've seen failures there too22:13
poolietrying to load something that looked like it might be auto generated?22:13
pooliemailman_path.py?22:13
pooliesomething like that?22:13
jam"no module named mailman.monkeypatches.lpmoderate"22:14
pooliemm i saw that too; you could ask on the lp list i guess22:16
poolieis bzr rebase included in the windows installer?22:25
pooliere https://answers.edge.launchpad.net/bzr/+question/12946722:25
=== oubiwann is now known as oubiwann-away
poolies//rewrite22:25
=== oubiwann-away is now known as oubiwann
Glenjaminrebase in the message implies its not up to date?22:26
jampoolie: rebase was renamed to 'rewrite' and the new installer installs the new one, but doesn't delete the old one22:30
jamknown bug, I believe it is attributed to bzr-windows-installers22:30
GlenjaminAre there any plans to put xmloutput in core? I've run into a few things lately where tools are parsing the normal log output (since they usually copy the svn implementation and tweak it). It'd be nice to be able to rely on xml being available22:34
maxbIs there any convention to log messages for bzr - wrap at 80 characters, vs. one linebreak per notional paragraph?22:36
maxbs/convention/recommendation/ I guess22:36
pooliewrap before 80, like in code22:42
poolieGlenjamin: i'd be happy to see it in core if you would like to put up a merge proposal22:43
peitschiemornin all :)22:44
maxbDid I do something wrong with https://code.edge.launchpad.net/~maxb/bzr/2.1-test_setup-skip-properly/+merge/38465 - why is it listing a PQM revision under "Unmerged revisions" ?22:45
jammaxb: because you started at bzr/2.1 and targeted bzr22:47
jamand that specific revision hasn't propagated up eet22:47
jamyet22:47
jamdid you mean to target lp:bzr/2.1 ?22:47
jam(The branch name would hint at that)22:47
maxburgh22:47
maxbI entered ~bzr-pqm/bzr/2.1 in the form. I guess the radio button must have been wrong22:48
jammaxb: it is possible that entering text doesn't update the radio button22:48
jamIIRC I filed a bug on that a long time ago22:48
jamfor a different form, though22:48
maxbright, reproposed properly this time :-)22:49
jelmermaxb: Did you see my updated meta-lp-deps mp?22:50
maxbI did. And then I forgot about it. Oops :-)22:50
jammwhudson: got the failing tests to run, now to fix... oops EOD22:55
mwhudsonjam: ok22:56
jamthe one good thing is that while waiting for the test suite to run, it gives me time to work on bzr code22:56
mwhudsonjam: i'll subscribe to the branch and look to see for stuff tomorrow morning22:56
=== _thumper_ is now known as thumper
spivHooray hard disk failure :/23:56

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