/srv/irclogs.ubuntu.com/2009/07/07/#bzr.txt

jmllifeless, hello :)00:04
spivjml: pong00:22
spivjml: how was EuroPython?00:23
jmlspiv, it was great :)00:23
jmlspiv, I just sent my trip report to warthogs & am about to send my Bazaar sprint report00:23
jmlspiv, regarding the --allow-writes patch. I'm thinking of marking the bug as wontfix, you filed the original bug IIRC -- what do you think?00:24
jelmer'evening spiv, jml00:24
jelmerspiv: Do you perhaps know what the state/plans for nested trees is?00:25
jmljelmer, g'day.00:25
spivjml: I did?  I vaguely thought it was poolie...00:25
jmlspiv, you are right.00:26
jmland I am daft.00:26
spivjelmer: morning :)00:27
spivjelmer: abentley's was working on addressing the various concerns people had, the details of that are in his devnotes branch I think.  It certainly won't make 2.0, but given that abentley has a fair bit of code already and the design questions are largely worked out it's hopefully not too far into the future.00:28
spivIt probably depends on abentley's other priorties more than anything else...00:29
jelmerspiv: ah, ok - thanks00:29
spivspm: ping; where did we get to with lp: URLs and bzr's PQM?00:58
spivspm: (it's still not working)00:58
pooliehello01:34
pooliehello jml, welcome back01:35
pooliei think regarding --allow-writes there is still an issue there that should be addressed01:35
pooliebut01:35
poolieperhaps not in the way recommended by the bug01:35
pooliehow about just giving a warning if it's used in --serve mode/01:36
pooliei mean, in non-inetd mode01:36
jmlpoolie, yeah. I've reverted the bug back to 'Triaged'.01:36
jmlpoolie, that sounds fine to me. Simple & to the point.01:36
pooliedid you pick this because it looked easy, or was there some stronger motivation?01:39
SpamapSI want to make a copy of my current working copy and then revert so I can build the old version.. can I just 'cp -arf working working2' and then 'bzr revert' in working, and still keep my local changes in working2?01:52
poolieyes01:53
lifelessyou can also branch and then use 'bzr merge --uncommitted'01:54
lifelessjml: bug 30716601:55
ubottuLaunchpad bug 307166 in bzr "bzr fails when attempting to fetch branch using lp:" [Undecided,New] https://launchpad.net/bugs/30716601:55
lifelessjml: I'm curious why you removed the launchpad tag?01:55
jmllifeless, because I didn't read the stack trace.01:56
jmllifeless, and reading only the error, I assumed that the OP mistook a general network error for a Launchpad-specific thing.01:57
jmlIn any case, it's a dupe of a bug I just fixed.01:57
lifelesscool01:57
lifelesswhat about bug 21692401:57
ubottuLaunchpad bug 216924 in bzr ""bzr push lp:" on windows leads to socket.sslerror traceback." [Undecided,New] https://launchpad.net/bugs/21692401:57
jmlwow, untriaged bugs starting with 201:58
jmllifeless, do you think it's a bug in the lp plugin?01:59
lifelessyes01:59
lifelessthe backtrace shows its the lp plugin calling xmlrpclib01:59
lifelessits got nothing to do with ssh02:00
jmlyou think the plugin should catch that error and... ?02:01
lifelessI think we should determine the root cause02:01
lifelessmy gut says its a dup of the 'lp plugin does not honour proxy settings'02:01
lifelessbug02:01
lifelesswhat does the 'launchpad' tag mean to you?02:01
jmlbug in the launchpad plugin02:02
lifelessto me it means 'fixing this bug will make life easier/nicer for users of bzr with launchpad02:02
jmlI see.02:03
poolieto me just 'related to launchpad'02:03
lifelessthe lp plugin is just 'code that is unique to working with lp'02:03
lifelessnot the entire set of related to lp02:03
lifelessjml: I'm tagging that launchpad again02:04
jmllifeless, ok02:04
lifelessjml: because you can only get that error using lp:02:04
lifelessas only lp: uses xmlrpc02:04
jmllifeless, fair enough.02:04
jmllifeless, re: "the lp plugin is just 'code that is unique to working with lp' not the entire set of related to lp" -- yes that goes without saying, what's your point?02:05
lifelessjml: my point is that the tag, and experience is broader than the plugin02:09
jmllifeless, I'd kind of like a way of saying "this bug affects the launchpad plugin".02:16
lifelessjml: why?02:17
jmllifeless, but I guess that the space of bugs related to launchpad more generally isn't big enough for that to help02:17
pooliejml, i've read your trip report, if you want to chat just give me a call02:17
mwhudsonhey guess what02:17
mwhudsonlrucache isn't thread safe02:17
jmllifeless, because it matches my mental model of the world :)02:17
* mwhudson really really should not have made that mistake :/02:18
poolie:/02:18
pooliemwhudson: there's not really any promise that any bzr class is thread safe02:18
mwhudsonpoolie: yes, i know02:18
poolieand in general making single classes threadsafe can be an antipattern02:18
pooliek02:18
mwhudsona failure to think straight on my part02:18
lifelessjml: you'd need to explain your model then.02:21
lifelesswe're threadsafe like the C++ STL is02:22
lifelesswhich is to say, we're safe for a single thread :)02:22
fullermdThreadsafe, not threadSsafe   :p02:23
mwhudson"not conspicuously stupid about it"02:24
jmlabentley, bundlebuggy appears to be down02:46
abentleyjml: restarted02:47
jmlabentley, thanks.02:47
pooliejml, i filed bug 39633504:09
ubottuLaunchpad bug 396335 in bzr "want a deb that adds the bzr ppa and keys" [Low,Confirmed] https://launchpad.net/bugs/39633504:09
lifelesspoolie: uhm04:09
lifelesspoolie: I don't know if you are aware but there are a bunch of other approaches for that04:09
lifelessthat don't need maintenance in the same way04:09
pooliei know there's various efforts to have a systematic way to add/remove ppas04:10
pooliethis bug is kindof a workaround for the lack of them04:10
pooliewhat kind of maintenance are you talking about though?04:11
lifelesstwo things mainly04:11
lifelessone is that the deb is introducing static data, so it has to be at least a little careful because users may remove the data without removin the deb04:12
lifelessand the other is that the keys it adds are static04:12
lifelessbut archive keys are often rotated04:12
pooliereally?04:12
lifelessand even if lp isn't rotating ppa keys today, I fully expect it will have to at some point04:12
lifeless(it being whatever deb is created)04:12
pooliefor values of often = never :)04:13
pooliewell,04:13
lifelessubuntu and debian archive keys are rotated04:13
poolieif they start doing that, they'll have to work out some some solution for the thousands of people who've manually added the keys now04:13
jmlwow.04:15
jmljust came across the first time I've ever wanted to sort bugs by id04:16
lifelessjml: thanks for the slides; looks like you created a really good narrative04:16
jmllifeless, my pleasure.04:18
jmlbtw, I just came across this bug: https://bugs.edge.launchpad.net/bzr/+bug/18383104:20
ubottuUbuntu bug 183831 in bzr "bzr add <softlink> follows the link" [Undecided,Confirmed]04:20
jmlit has a patch that hasn't been responded to.04:20
jmlthe author of the patch asked me about it at EuroPython, I think.04:20
RenatoSilvaHow do I unpush?04:43
lifelesspush --overwrite -r -204:43
lifelessor whatever is the right revision04:43
RenatoSilvaI pushed a new revision, I want to uncommit and push the revision again to lp04:43
RenatoSilvalifeless: thank you!04:43
lifelessor if you have a new revision locally, just push --overwrite04:43
RenatoSilvalifeless: ?04:46
RenatoSilvalifeless: pushed revision was 130...04:47
RenatoSilvalifeless: I uncommited, commited again (a new 130)04:47
RenatoSilvalifeless: if worked without specifying the rev number04:47
RenatoSilva*it04:47
lifelessyes04:54
lifelessthe rev number is when you want to specify a rev other than  tip04:55
lifeless--overwrite is all that is needed to force the push04:55
RenatoSilvalifeless: thank you05:04
* spiv -> lunch05:06
RenatoSilvaWhen a bug is invalid for a project, but there's a watch in the project for a external bug, what does this mean?05:11
lifelessit means the bug is recorded in  two places05:12
RenatoSilvaI mean it's like the bug itself is invalid05:14
lifelessI'm not sure what you mean05:15
lifelessbut perhaps an example would help05:15
RenatoSilvalifeless: in bug 388300, Eclipse was checked as invalid, however I reported it initially as general error "bzr-eclipse does not work with accented paths"05:15
ubottuLaunchpad bug 388300 in bzr-xmloutput "Encoding problems in xmloutput: non-ascii URLs and unchecked string decodings" [High,Confirmed] https://launchpad.net/bugs/38830005:15
RenatoSilvalifeless: now we know it's an xmloutput issue, but the external bug may also be affecting bzr-eclipse05:16
RenatoSilvalifeless: eclipse was marked as invalid, because the title changed...that's ok, I just wonder if I should generalize the title again (and change eclipse's invalid status), or either open a new bug pointing to that bug05:18
RenatoSilvato the eclipse external bug05:18
lifelessRenatoSilva: if changes are needed to eclipse to close the bug05:21
lifelessRenatoSilva: then it would be appropriate for a task to be open (not invalid) on eclipse05:22
lifelesshowever the external bug is marked resolved05:22
lifelessperhaps the external link needs to be updated05:23
pooliejml, any reason you're using BB rather than lp reviews?05:26
pooliei hear they're rather good :)05:26
jmlpoolie, well, I'm not really.05:31
poolieoh, i just thought i saw one from you05:32
pooliealso, maybe you shoud send your report somewhere else too05:33
jmlpoolie, yeah, that was an RFC patch05:33
poolielike a europython list?05:33
jmlpoolie, I guess I could have used a merge proposals05:33
jmlbut I hoped I'd get responses more quickly on the ML05:34
jmlI guess I was wrong05:34
pooliemm05:34
jmlgood idea re forwarding05:35
RenatoSilvalifeless: it's just about organizing the issues, maybe it's better to create a new bug05:35
lifelessRenatoSilva: I don't know05:35
RenatoSilvalifeless: is is resolved as duplicate of another bug (also watched in lp bug)05:35
pooliejeez i'm sick of launchpad repeating the bug description in the first bugmail05:37
=== abentley1 is now known as abentley
RenatoSilvalifeless: most of bug content is about xmloutput, eclipse's bug is a little part05:37
jmlpoolie, yeah.05:39
lifelessI don't mind it being included05:39
lifelessit helps when you are added to an already inflight bug05:40
poolieit's provably stupid when it's including *the exact same text* twice05:40
poolieffs05:40
poolieseriously05:41
lifelessoh, I haven't noticed that05:41
pooliesending you the description when you're added to a bug would be useful i agree05:41
poolieand even when i have 'include bug descriptions' turned off05:41
=== abentley1 is now known as abentley
poolie</grump>05:51
pooliegoing back to reconfigure05:51
=== abentley1 is now known as abentley
poolielifeless: in the context of unstacking06:44
poolieat the moment unstacking fails with revisionnotfound if you have any tags pointing to not-present revisions06:44
pooliethis should probably not happen...06:45
lifelessI think fetch is still broken wrt that case06:46
poolieat any rate it should be consistent with branch, which seems to only copy things referenced in the branch06:46
poolieit looks like fetch makes no effort to copy the revs referenced by tags?06:47
lifelessthats right; there is a bug open on that06:48
lifelessciao07:13
spivWoah, "repo.add_inventory(...)" on a stacked gc repo is adding the inventory to repo's fallback, not repo.07:20
spivHmm, something is weird here.07:21
vilaspiv: isn't the fallback read-only ?07:21
vilaerr, Hi all ! :)07:21
spivHmm, or it's just the way I'm introspecting the vf that's the issue.07:22
pooliehello spiv07:28
pooliehello vila, spiv07:28
pooliespiv, how's stuff?07:28
jmlis https://bugs.edge.launchpad.net/bzr/+bug/393349 a dupe of something deeper?07:30
ubottuUbuntu bug 393349 in bzr "exceptions.AttributeError: 'AbsentContentFactory' object has no attribute 'get_bytes_as'" [High,Triaged]07:30
poolieprobably07:35
jmlpoolie, spiv, vila: could one of you please review https://lists.ubuntu.com/archives/bazaar/2009q3/060202.html08:01
jmlit's one of the patches from the sprint.08:02
vilaI think spiv is the usual suspect here :)08:02
spivpoolie: alright, that stacking cross-format test is passing finally.  I'm just trying to figure out why more mundane (pack-0.92 to pack-0.92, for instance) tests are failing, which I only just noticed after fixing the stacking bug.08:03
spivjml: heh, coincidentally I updated my bzr-ping plugin to report that just a few days ago.08:04
spivAah, ghosts.  I see the bug.08:09
* spiv fixes08:09
spivOk, just one failing test left.08:15
spivWell, 1 x every format :)08:15
spivWeird, only one format fails when I run just those tests.08:20
lifelessspiv: global state08:28
spivlifeless: you'd think so, but it turns out be pebkac (well, that and test names that are very similar to the eye, particuarly in the rather noisy output of multiple test failures) :)08:32
* spiv exhales and pushes the branch with all interrepo and fetch tests passing, finally.08:51
* vila cries, one more bug in python http server...08:54
=== awilkins_train is now known as awilkins
awilkinsvila: Heh, and the bugs in the RFC implementations bump into the bugs in IIS's implementations :-)09:28
vilaawilkins: err, any specific in mind ? I just fixed one where the http server weren't inserting a Content-Length header (which I more or less think is kind of mandatory in 1.1 which presumably is needed for https)09:30
* vila sounds very confident isn't it ? :-D09:30
awilkinsvila: It's the one I worked around somewhere...09:30
* awilkins looks up the revision09:31
vilaawilkins: really ? The only case where it seems to cause a problem is pycurl+https client hanging, all other combinations are fine09:31
awilkinsr 353909:31
awilkinsIt's a problem with it serving ranges in IIS09:32
awilkinsRFC822 in Python is wrong, as is RFC2046 in IIS09:32
awilkinsIt's essentially about the way it quotes multipart content boundary lines09:33
vilaawilkins: Oh, I remember that one09:33
awilkinsBut it has a workaround ; and really, you're not going to get it fixed in IIS09:33
vilaSure, but the one I just fixed is in the python's http server09:33
vilaAnd *that* means that our http clients are tolerant about that, except pycurl for https :-)09:34
fullermdFunny how every time I hear 'pycurl' here or on the list or anywhere, it's followed by "is screwing up XYZ for me"...09:35
awilkinsOff the top of my head the only thing I can think of for your automatic make-a-tunnel problem is that you may want to have a private key with no passphrase ; the part where it's automatically starts the tunnel is escaping me09:36
vilafullermd: that's called rumors and I suspect someone is trying to get pycurl deprecated09:36
awilkinspycurl screws things up for me on Windows09:37
vilaawilkins: Oh, good, I end up to that conclusion too (no pass-phrase) as for the automatic start, I found 2 possible solutions: 1) use inetd, 2) a perl script called autotunnel (a bit hackish though and not because it's written in perl ;-)09:37
vilaon the other hand, the automatic part is really needed only for my laptop usage and less important09:38
vilaawilkins: what is pycurl screwing ?09:38
awilkinsI'm content with manually establishing tunnels tvbh09:38
awilkinsvila: I don't recally, I abandoned using it about a year ago09:39
vilatvbh ?09:39
vilatbvh I can translate to 'to be very honest' with my crystal ball but... tvbh...09:40
awilkinsvila: Was meant to be tbh but I'm suffer from fat fingers. Too many sausage sandwiches I think.09:46
fullermdThrough Verbose Barnyard Hovels?09:46
vila:)09:47
awilkinsAnd pycurl must have annoyed me, the folder is now called "curl_off"09:48
bialixvila: bonjour10:10
vilaHello bialix !10:10
bialixI have a question about review process on LP10:10
vilaAre you asking if you can ask ?10:11
bialixwhat should be done to mark patch as approved10:11
bialix?10:11
vila:-)10:11
bialixe.g. https://code.launchpad.net/~bialix/bzr/lp-bzr.exe/+merge/825910:11
bialix2 approve votes is not enough now?10:11
spivvila: I don't think Content-Length is mandatory; e.g. if the transfer-encoding is chunked you don't need it to reliably determine end-of-body.10:13
vilabialix: the second rapprover should land the patch :)10:13
Peng_(testing my IRC client, sorry) bzr+ssh://example.com/10:13
vilaspiv: yeah, chunked and Content-Length are exclusive10:13
* fullermd fails Peng_'s client.10:13
Peng_fullermd: :D10:14
bialixvila: wait, there is 2 queues now: https://code.launchpad.net/bzr/+activereviews and https://code.launchpad.net/bzr/+approvedmerges10:14
bialixmy patch in the former10:14
bialixwhat should be done to take it into the latter?>10:14
bialixand what is "Review type" when I'm adding manually additional reviewers?10:15
knielsenHi, I'm a bit worried about this bug: https://bugs.launchpad.net/bzr/+bug/375898 ... it has been sitting there for a couple of month now, and it's basically a showstopper, crash on merge into tree with no known work-around :-(10:15
ubottuUbuntu bug 375898 in bzr "bzr merge fails: bzr: ERROR: No final name for trans_id 'new-1'" [Medium,Triaged]10:16
vilabialix: ha, yes, the proposal status should be update, that's not the same as the review status10:16
bialix_rats, my new patch for unicode locks affected by difference between lp:bzr and http//bzr.dev10:16
knielsenThere is a reproducible test case ... it's been blocking our merge of PBXT into MariaDB for two months now :-( ... so any help would be much appreciated10:17
bialix_what should I do now?10:17
vilabialix: ha, yes, the proposal status should be update, that's not the same as the review status10:17
bialix_vila: sorry, I have been disconnected for some time10:17
vilaas for "Review type", I have no idea :) Try searching lp help :D10:18
bialix_vila: so, I'm not bzr-core member, so I have no rights to change proposal status, it seems10:18
spivbialix_: for bzr just leave the review-type blank; some projects (e.g. launchpad) have separate UI review and database schema review on top of basic code review.10:19
spivBut for bzr we just have reviews, no special differentiation.10:20
bialix_ok, my new patch https://code.launchpad.net/~bialix/bzr/lock-unicode-win32/+merge/8297 affected by divergence between bzr.dev and lp:bzr. Should I resubmit it later?10:20
vilagenerally yes10:21
knielsenimportance for  https://bugs.launchpad.net/bzr/+bug/375898 is "medium" which seems too low, as it basically makes your tree corrupt and unusable ... sounds more like critical to me ... ?10:21
ubottuUbuntu bug 375898 in bzr "bzr merge fails: bzr: ERROR: No final name for trans_id 'new-1'" [Medium,Triaged]10:21
bialix_vila: ok, will do later today10:22
bialix_jam is working these days?10:22
vilaknielsen: it would be best to check with jam and abentley in a couple of hours US TZs10:23
knielsenvila: ok, will do, thanks10:23
pooliehello vila10:30
vilapoolie: hi again :)10:30
poolieif you have a chance, robert would appreciate you doing his check review10:32
poolieit's kind of big10:32
pooliehe got an initial review from ian, but ian is away this week10:33
vilapoolie: I'm already reviewing it :-)10:33
fullermdHopefully that doesn't mean reviewing it drives people away  :p10:33
poolieon the other hand it cures cancer :)10:34
vilafullermd: in fact it does... I'll be in vacations the week after next week :)10:34
=== bialix_ is now known as bialix
poolie:)10:38
fullermdHm.  I'll review it then; I could use an escape week...10:38
* LarstiQ fumbles about with the launchpad review ui10:49
=== abentley1 is now known as abentley
maxbI have bzr-gtk installed to be able to use "bzr visualize", but I don't want the popup notifications when I bzr pull - where can I stop those? Thanks.11:11
Wellark^1hi! I'm planning to start a project which uses bazaar for version control. I'm interested about the current state of GPG integration. This page http://bazaar-vcs.org/BzrGpgSigning seems to be outdated and I would like to know what's the current status. Particularly I'm interested whether or not is it possible to demand and force every commit which land to shared repositories on remote server to be signed. Thanks.11:11
poolieWellark^1: it's probably possible by writing a hook on the server11:15
pooliei think there may be one already11:15
Wellark^1ok. cool!11:22
Wellark^1I'm sure I can work that out when I begin deployment11:22
poolieyou could send mail...11:23
Wellark^1I was just worried if GPG side is completely broken or something like that :)11:23
lifelessmaxb: disable the applet11:50
maxbwhat applet?11:50
maxbremoving the bzr-dbus package seems to have stopped them11:51
lifelesstheres a bzr gtk process being started by your session11:51
lifelessbzr-dbus is just the transport11:51
maxbOh, so there is. Too much magic :-)11:53
lifelessbzr-dbus has glue to do notifications on cross process, or LAN etc11:55
lifelessand I plan to hook in jabber when I get some time11:55
NEBAP|workis it possible to checkout a shared repository?12:49
mzzNEBAP|work: it's definitely possible to checkout branches living inside a shared repository.12:49
mzzNEBAP|work: checking out an entire shared repository doesn't make sense, but there may be a command that automates checking out all the branches inside one.12:50
NEBAP|workmzz: but then I have to create a shared repository myself in the local location, too. Is there a way to checkout the hole "structure" of a project?12:50
mzzNEBAP|work: see above.12:50
NEBAP|workhmm12:51
mzzNEBAP|work: it's not at all required for your local shared repository layout to match the remote one12:51
NEBAP|workI introduce the layout I want to have for the project, maybe I´m wrong with building it in bazaar12:51
mzzNEBAP|work: for example if the remote repository has /path/to/repo/trunk, /path/to/repo/branches/foo-feature, etc, it'd make perfect sense to put them in local/repo/remote/trunk, local/repo/remote/branches/foo-feature, etc12:52
mzzNEBAP|work: compared to (say) svn: a svn repository is much more like a bzr branch than a bzr repository. bzr repositories are normally purely an optimization12:52
NEBAP|workhmm12:54
bob2multi-pull plugin12:55
NEBAP|workCan you checkout my preferred layout and tell me what each folder should be (e. g. branch or shared repository)?? http://pastebin.com/d496f052112:55
NEBAP|workI´ve started using bazaar for some private projects which worked very well12:56
NEBAP|worknow I want to setup a bigger project in our company with bazaar12:56
mzzNEBAP|work: the bazaar manual documents the pros and cons of a handful of repository layouts. Have you read that bit?12:56
NEBAP|workyes12:57
NEBAP|workbut there is no hint how to setup those layouts12:57
NEBAP|workthe question is12:57
vilaNEBAP|work: Both (MyProject) and (Module1, Module2) are good candidates for shared repos12:57
mzzNEBAP|work: unless your projects are pretty large you shouldn't worry too much about repository layout imoh12:58
mzzimho, even12:58
NEBAP|workis it useful for a developer to just use a branch (e. g. bzr branch .../MyProject/Module1/Branches/FeatureX; make changes and commit)12:58
vilathe choice mostly depends on the expected volume, the safe bet is to use Module1, Module212:58
* vila agrees with mzz12:58
NEBAP|workso it´s ok to use some shared repos in a shared repo?12:59
vilaNEBAP|work: you can, but be sure everybody understand the consequences12:59
NEBAP|work^^12:59
NEBAP|workwhat are the consequences?13:00
NEBAP|workI think I´ve understand the usage of a shared repository with some branches13:00
vilaUnexpected use of 'MyProject' repository ?13:00
vilaOr did you imply some other repos *below* ModuleN13:00
NEBAP|workyes13:01
vilaNEBAP|work: let's forget about repos for a minute,13:01
NEBAP|workok let me tell you about the functionality I want to have13:02
vilaimagine that each branch stores the whole history of a project, each time you create a branch you copy that whole history to start with, and then each branch update its history, pull/push/merge occur, the histories are now different13:02
NEBAP|workusing the layout I´ve posted before13:03
NEBAP|workI want to have a overall place where the hole project (all modules) are stored13:03
NEBAP|workto let a developer checkout all stuff in a single call (e. g. bzr checkout .../myproject)13:04
vilaNEBAP|work: you can't right now13:04
NEBAP|workfor each module I want to have a trunk storing the mainline of the project and a container for the branches to let a developer checkout a the trunk, create a feature branch under branches, commit to it and then merge it back to the mainline branch13:05
NEBAP|workhmm13:05
NEBAP|workis it possible to use a shared repository in a branch?13:06
vilaNEBAP|work: A standalone branch use its own private repository13:06
NEBAP|workhmm13:06
NEBAP|worka shared repository is useful for the feature branches to use a common place to store the history and prevent the branches to keep a history themselfes, right?13:07
vilaright13:07
NEBAP|workso the moduleX folder should be a shared repo13:07
vilaI think so13:08
NEBAP|workok13:08
NEBAP|workwhat is if I use a branch for the ProjectX folder?13:08
NEBAP|workwhich contains the shared repositories?13:08
vila:-)13:08
NEBAP|workthe ProjectX folder doesn´t have to share the history13:08
vilaNEBAP|work: you mean http://bazaar-vcs.org/NestedTreesDesign/13:08
NEBAP|workbecause there is no code in the container folder :)13:08
vilaNEBAP|work: define ProjectX13:09
NEBAP|workProjectX is just a container for the ModuleX folders (shared repos)13:10
NEBAP|workbut shouldn´t hold a common history13:10
NEBAP|workbecause Module1 and Module2 have nothing to do with each other13:11
NEBAP|workthe only thing I can´t do in this layout is "bzr commit" in the ProjectX folder to commit each modules changes13:12
NEBAP|workright?13:12
vilaright13:13
NEBAP|workhere is my updated example http://pastebin.com/d63396cf813:14
vilaNEBAP|work: that sounds a lot like a server layout though, developers don't have to fully mirror it13:14
NEBAP|workyes13:14
NEBAP|workbut they can if they want :)13:14
NEBAP|workdoes this layout make sense?13:14
vilaMyProject is not a branch, it's just a directory13:14
vilaof course they can if they want13:15
NEBAP|workbut does it make sense to set MyProject up as branch?13:15
vilabut I suspect they don't want a copy of all feature branches even if they want all trunks13:15
vilanot really, what will you put into it ?13:15
NEBAP|workto let developers do the following: "bzr branch .../MyProject" ?13:16
NEBAP|workto load the hole project13:16
NEBAP|workor doesn´t it work?13:16
vilano, that will not work13:16
NEBAP|workk13:16
vilabut the developers can use the multi-pull plugin13:16
vilawhich address, I think, your need13:16
NEBAP|workmy current layout looks similar to the posted but "MyProject" is just a folder and "Branches" is just a folder is that fine?13:16
NEBAP|workk13:17
NEBAP|workmaybe they won´t need13:17
NEBAP|workbut thank you for the hint :)13:17
NEBAP|workbut now this is the layout on my server13:17
NEBAP|workwhat has a developer to do if he / she wants to start a new feature branch?13:17
NEBAP|workbuilding up a local shared repository13:18
vilaerr, "similar..but...is that fine?" is quite a tricky question :)13:18
NEBAP|work^^13:18
NEBAP|worksorry, I´m not the best english speaker ;)13:18
NEBAP|workI just wanted you to ask if you think this layout is ok: http://pastebin.com/d3bed789313:19
vilamkdir MyProject ; cd My project ; bzr init-repo Module1 ; bzr branch <server_url>/MyProject/Module1/Trunk Module1/Trunk13:19
NEBAP|workok13:20
vilayup, layout ok13:20
NEBAP|workso the developer has to setup a local branch :)13:20
NEBAP|workthank you13:20
NEBAP|workif I´m right, the developer shouldn´t use the --no-tree option as this doesn´t show the folders ..13:21
vilahas to setup a local shared repo, yes, that's better if he intend to use several branches, but that's not required13:21
NEBAP|workk13:21
vilaexact, the developer is *supposed* to work with the trees :-0)13:21
NEBAP|workbut holding the trunk as a mirror and using some branches is "better" in a shared repository, because the history is just hold one time in the shared repo13:22
NEBAP|work?13:22
vilaIt is more important when working disconnected from a central server but still not mandatory (ok, I will stop to mention the non-mandatory part from now :)13:22
NEBAP|workk :)13:23
NEBAP|workthank you alot13:23
NEBAP|workvery helpful13:23
vilaOn a LAN, you care less about having a local mirror13:23
vilabecause your network bandwidth/latency may be better than your disk's :-)13:23
NEBAP|workit´s very hard to understand all the useful functions of bazaar in a short time ;)13:23
NEBAP|workhehe13:23
NEBAP|workyeah13:23
vilaThat's why we try to start from the workflow before chosing the layout, but it's not, oops13:24
NEBAP|work^^13:26
NEBAP|workI just want to setup the server layout at first to avoid problems later13:26
NEBAP|workloosing a history can be a very big problem ..13:26
mzzimho as long as you get what goes into what branch right you'll be mostly ok13:28
mzzthat is: as long as you figure out if you want separate branches per project or need one branch containing multiple projects for some reason13:29
NEBAP|workhmm13:29
* vila agrees with mzz13:29
mzzyou can reorganize at what level repositories live transparently, and to some extent move branches around on the filesystem too13:29
mzzsplitting up or joining branches is much more of a headache13:29
NEBAP|workI´ve just seen the cool log entries if you using the feature branch layout13:29
mzzoh, yes, you definitely want feature branches13:30
NEBAP|work:)13:30
mzzbut where on the fs those branches live is much less important13:30
NEBAP|workit´s just a few times more readable using this feature13:30
NEBAP|workah k13:30
mzzit's just that any checkouts that are currently bound to them get upset if they move around13:31
NEBAP|workwe´ve just used subversion before, bazaar gives us a bunch of new possibilities :)13:31
mzz(I forgot just how badly confused a non-lightweight checkout gets)13:31
mzza heavyweight checkout can probably just be unbound if the branch it is bound to goes away, and an unbound branch doesn't care13:31
mzzso those filesystem paths don't matter that much, they don't make it into history (the branch nick does, but the full branch location shouldn't)13:32
mzzso if you change your mind on how you organize branches you'll have to deal with some temporary pain as people currently using them switch to the new location, but it won't show up in history13:33
mzzmakes sense?13:33
NEBAP|workyes, I just hope I got you right :), as I said, I´m not the best english speaker ..13:34
NEBAP|workyou mean that checkouts have problems if the corresponding server location changes?13:35
mzzI don't recall if heavyweight ones do. Let me try.13:35
NEBAP|workdon´t think, because you can use the unbind function to let them stay standalone (imho)13:36
vilaNEBAP|work: I you use plain branches, you won't run into the problems mzz mentioned13:36
NEBAP|workk13:36
NEBAP|workwhich type of branches does mzz use?13:36
vilalightweigth or heavyweigth checkouts I presume which allow an indirection between the working tree and the branch itself13:37
mzza heavyweight branch will just unbind and rebind if the underlying branch moves13:38
mzzso that's not an issue (no more of one than when using regular branches, and you have to respecify the push/pull location)13:38
=== mrevell is now known as mrevell-lunch
mzzlightweight branches get a bit upset13:39
mzzthat's probably a bug, and there might be a workaround for it13:39
NEBAP|workhmm13:40
mzzmy local setup is slightly odd (I store code in working-tree-less branches on a fileserver on my lan, and hack in lightweight checkouts on the local drive)13:41
NEBAP|workbut all those problems are just present if I change the server location, right?13:41
mzzyou might want to not duplicate that setup :)13:41
NEBAP|work^^13:41
mzzit's really a nonissue unless you use lightweight checkouts, and I should file a bug on those actually13:41
mzzif you use heavyweight checkouts or regular branches you can just tell bzr where the parent branch went if it moves13:42
NEBAP|workhmm I just want to use the a lightweight checkout to mirror the trunk in each module13:42
NEBAP|workk13:42
NEBAP|workok, but server location shouldn´t change13:42
NEBAP|workso there should be no problem with my setup :)13:42
mzzlightweight branches you'd have to recreate, unless you're feeling adventurous and change the location in .bzr/branch/location (but that's pretty horrible)13:42
NEBAP|work^^13:43
mzzbut I'm pretty sure that's just a bug and I should file it13:43
NEBAP|workyeah, should be possible to reroute the lightweight checkout like the heavyweight one13:43
NEBAP|workjust one last question, should the developers in my layout store there branches on the server?13:44
NEBAP|workI think they should for backup reasons13:44
vilas/should/can/ they want to do that either for backup or because they are ready to share or because they want it to be reviewed before merging, etc13:45
NEBAP|workk13:45
NEBAP|workthank you both for your very good help13:45
NEBAP|worksafed me a lot of time and probably a lot of trouble :)13:46
vilaNEBAP|work: always happy yo help (tm)13:47
NEBAP|work:D13:47
vilas/yo/to/13:48
mzzah, interesting13:49
mzzNEBAP|work: https://bugs.launchpad.net/bzr/+bug/105192/comments/7 if you do want to use lightweight checkouts and end up rearranging13:50
ubottuUbuntu bug 105192 in bzr "bzr bind should work for lightweight checkouts" [Undecided,Confirmed]13:50
NEBAP|workmzz thanks13:50
NEBAP|workI think most commercial projects / softwares can learn from the great support some open source projects offer ..13:51
NEBAP|workor better the communities behind those projects13:51
NEBAP|workone last question13:53
NEBAP|workif I want to create a branch of the trunk13:53
NEBAP|workshould I create this branch from the server location of the trunk13:53
NEBAP|workor from my local trunk mirror?13:53
NEBAP|workthe trunk mirror is a lightweight checkout from the server13:53
vilaa lightweight checkout is *not* a mirror (at least, that's not what is generally called a mirror whose purpose is to avoid accessing the mirrored server)13:55
vilasince in both cases you are accessing the server, it doesn't matter13:55
NEBAP|work^^13:55
NEBAP|workso I shouldn´t use the lightweight checkout for the mirror?13:56
NEBAP|workwhat should I use instead?13:56
vilaa standalone branch13:56
vilaand pull regularly13:56
NEBAP|workI´m trying to use the feature branch layout13:56
NEBAP|workok13:56
NEBAP|workso make a branch from the server trunk13:56
NEBAP|workmake the feature branch13:56
vilathat's what *I* do13:56
NEBAP|workcommit13:56
NEBAP|workmerge the feature branch into the trunk mirror13:57
NEBAP|workand push the trunk mirror back on the server?13:57
vilahaaaa, now you're exposing your workflow :)13:57
NEBAP|work^^13:57
NEBAP|workso you see, your help isn´t just wasted time ;)13:58
vilain that case you'b better keep your trunk as a lightweight checkout :)13:58
NEBAP|workk13:58
NEBAP|workso after commiting to the feature branch is just13:59
vilabut don't call it a mirror and think about 'bzr update'ing it on a regular basis and especially before merging13:59
NEBAP|works/is/I13:59
NEBAP|workjust merge the feature branch in the trunk checkout13:59
vilaright13:59
NEBAP|workand then commit the trunk checkout to send changes to the server13:59
vilayes13:59
NEBAP|workah cool :)13:59
NEBAP|workbut using push in a brunch doesn´t just overwrite the target, it does more like a commit, right?14:00
vilaat worst you will run into diverged branches if someone else committed between your last update/pull and your commit14:00
vilapush *add* revisions to the target putting both branches (local and remote) back in sync14:01
NEBAP|workhmm14:02
NEBAP|workso maybe is push more safe then using a lightweight checkout?14:02
NEBAP|workto use the send command (using a readonly branch on the server), have I to use a branch or a checkout?14:03
mzza checkout of a readonly branch is itself pretty readonly14:04
mzzwell, I guess there's --local, but if you want to commit I'd just use a plain old branch14:05
NEBAP|workah ok, sound logically ^^14:05
NEBAP|workok14:05
mzzin fact generally when in doubt just use a plain old branch14:05
NEBAP|workthank you guys14:05
NEBAP|work^^14:05
NEBAP|workI just tried to use the cool send feature and run into some troubles14:06
NEBAP|works/run/ran14:06
vilaWhat do you want to use 'send' for ?14:06
mzzand yeah, who or what are you sending to?14:06
NEBAP|workto avoid problems when more people commit to the trunk, my idea was to make the trunk readonly and force the developers to send the changes to the "committer" which then, can also do some code review14:07
vilaNEBAP|work: send needs a public branch and a submit branch14:08
NEBAP|workbut in contrast it becames a very complex layout then, if I don´t want to lose the possibilty to backup the feature branches ..14:09
vilathe submit branch is where your want the merge proposal to be applied, the public branch is where you will find revisions not included in the bundle if you need them14:09
NEBAP|workpublic branch -> read only on the server, submit branch?14:09
NEBAP|workah ok14:10
NEBAP|workseems to be a bit hard with my layout ^^14:10
NEBAP|workjust an idea :)14:10
NEBAP|workthank you14:11
=== mrevell-lunch is now known as mrevell
bialixhello jam14:39
Takjelmer: ping14:40
bialixjam: thank you.14:51
Takok, so `bzr pull` from a branch of an svn repo fails with an unknown branch id15:30
Takbut `bzr rebase` gives "Base branch is descendant of current branch. Pulling instead" and succeeds15:31
vilajam: += 1 in pyx ? What pyrex version are you using :-D15:42
jamvila: 0.9.8.515:52
jamI'll certainly fix those for landing15:52
jamanyway, I'm in-and-out, (mostly out) this morning because my son is sick again15:53
jamIf you want, you can call my cell phone right now15:53
vila:-/15:53
jamI'll have 30min or so to talk15:53
vilajam: I'm reviewing your rework-annotate proposal15:53
jamsure15:53
jamI thought you might want to talk directly about it15:53
flutherbenHi all--I have a question: Is there a way to make the output of "bzr revno" not show the progress bar and all the download statistics?16:11
beunoflutherben, maybe if you add -q?16:12
flutherbenThanks, beuno, I tried --quiet, didn't seem to do it16:13
flutherbenI think it's some kind of global bzr setting16:13
beunoflutherben, then you will likely have to do it through python to avoid getting a progress bar16:14
mzziirc there's some magical env var to disable progress bars16:16
mzzsec16:16
* beuno does not know the encantation16:16
beunovila, hi  :)16:16
mzzBZR_PROGRESS_BAR=something, I think, sec16:17
mzzof course I'm not getting any progress bar on "bzr revno" anyway. Hmm, what gets me a progress bar16:18
flutherbenit's only since I moved to 1.1616:18
flutherbennow I'm seeing a bug about "not respecting BZR_PROGRESS_BAR", though it's not clear what the options are yet16:18
mzzhmm, yes.16:19
mzzthe one function looking at BZR_PROGRESS_BAR is marked deprecated16:19
mzzerr, or maybe not. sec.16:19
mzz"bzr help configuration" still documents BZR_PROGRESS_BAR16:20
flutherbenhmmm, what's strange it is only seems to be happy on my server, though it's the same version of bzr16:24
awilkinsHoly dungbeetle, verterok, bzr-hudson makes Maven download lots of stuff16:35
vilahi beuno :)16:36
verterokawilkins: yes, hudson plugins download a lot of stuff :)16:36
awilkinsBah, no bzr-java-lib16:36
* awilkins sets up a Hudson job for that too16:37
verterokawilkins: bzr-java-lib? btw, some changes landed in bzr-java-lib trunk, now it's using commons-logging16:37
flutherbenI can't find any way to turn it off (the BZR_PROGRESS_BAR)16:40
vilaflutherben: 'BZR_PROGRESS_BAR=none bzr revno' should work16:40
flutherbendoesn't work16:40
vilawhich bzr version ?16:41
flutherben1.16.116:41
flutherbenhttp://dpaste.com/64136/16:42
vilaflutherben: fixed in bzr.dev, will be part of bzr 1.1716:42
flutherbenah, that explains it16:42
flutherbenthanks16:42
vilathere was bug #321935 and bug #339385 at least, both are fixed16:43
ubottuLaunchpad bug 321935 in bzr "[master] Progress bar leaves artifacts in output" [High,Fix released] https://launchpad.net/bugs/32193516:43
ubottuLaunchpad bug 339385 in bzr "bzr: BZR_PROGRESS_BAR is ignored" [High,Fix released] https://launchpad.net/bugs/33938516:43
flutherbenalright, I guess it's time I move to the dev version16:51
CalicoJckhello, i was hoping someone might be able to point me in the right direction here...i'm trying to integrate to a subversion server that doesn't have a consistent repository layout.  Depending on which subtree of the repository you are in, branches and tags exist in different locations (or sometimes not at all).  Is there a way to specify the repository layout in subversion.conf for different subtrees of the same subversion repository?17:03
flutherbenGreat, using the dev version, now it works17:04
flutherbenthanks17:04
flutherbenalso, is bzr co --lightweight the fastest way to get a copy of a branch?17:05
exarkunCan I specify a custom Python function implementing a merge algorithm to be applied to files which match a particular pattern?17:05
beunoflutherben, you just want a working tree?17:05
flutherbenyeah17:05
beunoif so, maybe "bzr branch BRANCH --stacked" is faster. Not sure17:05
flutherbencool, thx17:05
=== thekorn_ is now known as thekorn
hufhi. what's the best way to backup a bzr repo?19:07
hufjust copy the files as they are?19:07
hufor is there some command i can use that converts to a more future-proof format?19:07
beunohuf, I just rsync .bzr19:08
beunobzr isn's very nice to rsync, but it works19:09
knielsenabentley: someone suggested I ask you about https://bugs.launchpad.net/bzr/+bug/375898 ... any ideas? It's been sitting for about two months, it is a case where repo gets basically corrupt/unusable due to bzr merge crashing, there is a reproducible test case ...20:19
ubottuUbuntu bug 375898 in bzr "bzr merge fails: bzr: ERROR: No final name for trans_id 'new-1'" [Medium,Triaged]20:19
knielsenI'm asking, as it is somehow blocking our merging of PBXT into MariaDB ...20:20
knielsenjam: ^^^ your name was also suggeste :)20:21
abentleyknielsen: Problems like that are quite subtle, so I have no idea how easy or hard it would be to fix.20:22
knielsenabentley: hm, really?20:22
knielsenabentley: well, I agree the test case is far from minimal :-( probably >50k commits20:22
knielsenand not at all clear how to reduce it20:23
abentleyknielsen: I'm not sure how to respond.20:24
knielsenabentley: no worries, I think you responded fine, the issue has been looked at, but the root cause is not known ....20:25
knielsenthat means probably that we should look into an alternative way to solve the problem, as a fix is not likely to appear soon. Maybe we will have to track merging manually, which ought to avoid the problem20:26
alecwhHi, I want to branch my code to work on a site redesign. In git, all I do is "git branch feature_x" (where feature_x would be the experimental feature) in the working directory, and then "git branch" to see which one I'm currently "on".  Then I want to merge my branch back in when I'm done with the site redesign. how do I do this in bzr?20:29
knielsenabentley: It does worry me somewhat so see repository corruptions like this, was quite fortunate that I happened to test that particular merge before pushing into our main repository and potentially having to roll back lots of commits20:29
Peng_alecwh: "bzr branch" and "bzr merge". It's just that it's more equivalent to "git clone".20:30
abentleyknielsen: This is not a repository corruption.  It's all to do with merge and the working tree.20:30
knielsenabentley: hm... are you saying you can see from the bug that the branch is ok, and once the bug in bzr is fixed, the merge could complete?20:31
alecwhPeng_: when I do this in bzr, inside my working directory, it says, "bzr: ERROR: Not a branch: "/var/www/redesign/"." (from this command: bzr branch redesign)20:31
Peng_alecwh: bzr help branch :P20:31
alecwhPeng_: good point, thanks. =)20:31
abentleyknielsen: I am saying there's no reason to suspect this is anything other than a bug in merge.20:31
Peng_alecwh: cd .. && bzr branch $OLDPWD redesign && cd redesign20:32
Peng_alecwh: :D20:32
knielsenabentley: ok, thanks for your help!20:32
alecwhPeng_: Thanks, I'll be sure to check the docs next time.20:32
alecwhDoes bazaar support topic branching (like git's "branch feature_x")?20:40
dashalecwh: sure. 'bzr branch oldbranch/ newbranch'20:40
SamBgit doesn't support topic branching in particular -- it just supports branching20:41
SamBmore-or-less correctly20:41
Peng_alecwh: Bazaar just doesn't support having multiple branches in the same directory.20:41
alecwhdash: no, I don't want bzr to create another physical branch. With git, I can do a "git branch" and it will show me what branch I am currently on, and then I can switch to one very easily without navigating directories.20:42
SamBhow you use it is your bussiness20:42
alecwhPeng_: ah, dang.20:42
Peng_(Well, you can sort of do it with a lightweight checkout and "bzr switch", but...)20:42
SamBalecwh: I usually use a repo dir full of treeless branch directories in parallell with a lightweight checkout of one of them20:42
dashweird20:42
Peng_I'm lazy. I just have lots of trees sucking disk space. :D20:42
dashsame here20:43
Peng_I usually "bzr remove-tree" them when I'm done, at least on the larger projexts.20:43
RenatoSilvajoin #launchpad21:24
RenatoSilvaverterok: hi21:53
RenatoSilvaclear21:53
verterokRenatoSilva: hi21:54
RenatoSilvaverterok: I've written the other test...21:55
RenatoSilvaverterok: they're running ok for me21:56
verterokRenatoSilva: thanks!, I have the email in my TODO queue, just that I wasn't hable top take a look yet, I think in a few hours (after my "work day")21:56
RenatoSilvaverterok: ok22:09
flutherbenI was moving hard drives, and I copied over a bzr directory, and now when I commit I'm seeing "aborting commit write group: NoSuchId"22:41
flutherbenany simple way to fix this?22:42
LarstiQflutherben: could you paste the traceback?22:45
flutherbenhttp://dpaste.com/64303/22:46
LarstiQinteresting22:46
LarstiQflutherben: the ~/.bzr.log should have a fuller traceback22:47
LarstiQflutherben: what does `bzr info` say?22:47
flutherbenah22:47
* LarstiQ wild guess would be that it's a branch without its repository22:47
flutherbenbzr info is pointing to a renamed home repository22:47
flutherbencan I re-brand this brand to a new repo?22:48
LarstiQdepends on what is going on22:48
flutherbenok, I'll paste the output22:49
LarstiQif I'm right, then no, because the branch's revisions are not in the repo it is finding22:49
flutherbenthis is the output from bzr-info:22:49
flutherbenhttp://dpaste.com/64306/22:49
flutherben(and panda-mirror has been renamed to panda-trunk22:49
flutherbenbut it's a new hard drive22:50
flutherbenso it's not the exact same tree22:50
flutherbenand here's my bzr.log22:51
LarstiQright, so it is using a shared repository22:54
LarstiQflutherben: do you know which repository it was using on the old harddrive?22:54
flutherbenyeah, and I still have access to it22:54
flutherbenpanda_mirror22:54
flutherbener, panda-mirror22:55
LarstiQso if you cp -a this branch there, does it give the same error?22:57
flutherbenlemme see22:58
flutherbenI'd prefer to use this new repository, but that would actually be fine22:58
flutherbenhold on22:58
LarstiQjust trying to confirm my suspicions22:59
LarstiQflutherben: how did you copy this branch over from the old to the new one?22:59
flutherbenI just copied it (using os x finder) from the old repo into the new repo22:59
flutherbenseems kinda foolish when I think about it now22:59
flutherbenbut the repos are both checkouts of the same branch23:00
LarstiQflutherben: yeah, I thought that might be the case.23:00
LarstiQflutherben: repo != branch23:00
flutherbenyeah, that makes sense23:00
LarstiQflutherben: the repository is what contains the actual revisions, a branch just references them23:00
LarstiQflutherben: so if you copy a reference to a place that doesn't have the actual data, boom23:01
=== RAOF__ is now known as RAOF
LarstiQflutherben: using `bzr branch` instead of os cp would prevent that from happening23:01
flutherbengot it23:01
flutherbenlemme try and move it back to the old repo23:01
flutherbencheck in there23:01
flutherbenand then bzr branch it in23:02
flutherbenok, moving it and committing worked23:05
flutherbenI'm getting confused about the bzr branch command23:05
flutherbenis it bzr branch old_dir new_dir?23:05
flutherbenand it will just know to switch repos?23:05
flutherbenwow, it all just worked23:09
flutherbenthanks a lot, LarstiQ23:09
flutherbenI was about to start manually changing things23:09
flutherbengreat!23:09
LarstiQflutherben: yes, it will know about which repos to use23:10
LarstiQflutherben: pleased to be of help23:11
LarstiQflutherben: in the future, please don't cp/mv branches out of their repositories, but either copy the repository too or use `bzr branch` :)23:11
flutherbenyeah, for sure23:11
=== beaumonta is now known as abeaumont
lifelessbbs23:36
pooliegood morning23:58
LarstiQmoin poolie23:59
pooliei'm hoping to fix the rest of bug 391411 and other stacking issues today23:59
ubottuLaunchpad bug 391411 in bzr "want "reconfigure --unstacked" or --stacked-on" [High,In progress] https://launchpad.net/bugs/39141123:59
pooliehi LarstiQ23:59

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