/srv/irclogs.ubuntu.com/2011/04/28/#bzr.txt

pooliehi all00:17
bignosepoolie: to answer your question:00:20
pooliehi00:20
bignosepoolie: yes, Gitorious asks the user to upload SSH keys00:20
bignosethe only thing (AFAIK) they're using OpenID for is to replace the need to supply a password to log into the web site.00:21
bignosewhich is exactly the extent of <URL:https://bugs.launchpad.net/launchpad/+bug/210943>00:21
ubot5Ubuntu bug 210943 in Launchpad itself "be an openid consumer (relying party)" [Low,Triaged]00:21
bignose(as far as I'm concerned)00:21
bignosejust like Bitbucket00:22
pooliebignose, did you see http://productblog.37signals.com/products/2011/01/well-be-retiring-our-support-of-openid-on-may-1.html00:25
* bignose hopes against hope that with Bitbucket and Gitorious accepting OpenID for login, that Launchpad might join very soon.00:25
bignosepoolie: yep, I saw that.00:26
pooliei think they have a good point00:28
pooliethe requirements-level idea of people owning their own credentials across sites is good of course00:29
bignosepoolie: what is their good point? we may disagree on what that is :-)00:34
bignosethe good point they have IMO is that there is a threshold below which it's not worthwhile for a site to implement an OpenID relying party.00:35
bignosebut that's presumably uncontroversial.00:36
bignoseI think Launchpad would clearly benefit from being an OpenID relying party, and Canonical has the resources and skills to implement it.00:36
poolieah i thought the good point was that openid does not give a very good user experience00:40
pooliebecause amongst other things it bypasses or disables a lot of work that has been put into browsers to make regular http auth and form/cookie auth work well00:41
poolieanyhow, this isn't especially a reason it won't be done in lp00:41
poolieand many of the same issues apply to lp's captive openid provider00:43
bignoseI'm working with Bazaar branches off a Subversion repository04:45
bignoseor rather, a Bazaar bound branch with Bazaar feature branches04:45
bignosewhen I merge a feature branch into the trunk (bound to a Subversion server) the status shows the merged revisions04:47
bignosebut when I commit, the Subversion repository only has a single revision – the merge.04:47
bignoseam I misunderstanding what I'm seeing?04:47
bignosehow can I have the merged revisions appear in the Subversion repository for others to see?04:48
spivbignose: I think you may need to push those feature branches into svn first, then merge the svn instance of them into trunk.  jelmer would know for sure.04:53
bignosehmm. that's not an attractive option; I'm talking about feature branches that are freely created for my use. I don't think my collaborators want them in the central Subversion repository.04:56
bignosejelmer: when you're around, I would appreciate your input on the above.06:15
luksbignose: you could rebase the branch on top of svn trunk before you push07:06
luksbut of course then you lose the ability to work with the branch later, or share the branch before it's finished07:07
jammorning poolie08:03
pooliehi there jam, how are you?08:03
jamdoing pretty good08:03
jampoolie: how was your day?08:04
pooliepretty good08:04
pooliepushed along my launchpad email refactoring branch and did some pre-trip errands08:04
pooliejam is there an upstart script to run loggerhead?08:09
poolieapparently not in the current daily package08:09
pooliejust looking at https://answers.launchpad.net/bzr/+question/15443908:09
jampoolie: I think there used to be an init.d entry, but we removed it a long while back IIRC08:09
pooliespiv, could you set up a webnumbr from patch-needswork things?08:18
poolies//bugs/08:18
pooliejam the guy might not realize he doesn't need a long-running process08:19
pooliewe'll see08:19
spivpoolie: sure08:24
bignoseluks: right. both of those (along with not wanting to re-write history in general) mean that's not an option.08:28
luksbignose: unfortunately, I don't think there are any other options08:30
luksas far as I know, you either need the push the branch to svn or rebase it08:30
luksI think that's actually why the rebase plugin was written by jelmer :)08:31
spivposulliv: http://webnumbr.com/bzr-bugs-tagged-patch-needswork08:34
spivposulliv: oh, sorry, wrong nick08:34
vilahi all !10:18
bialixwho's there? I don't believe it!10:23
bialixheya vila! \o/10:23
vilabialix: Hey ! Just arrived :o) A bit delayed in flights...10:24
bialixyou came back just for uds :-)10:25
vilajelmer, jam: Ping. Anything I should know or check before before cutting 2.4b2 ?10:26
vilabialix: he he, almost, but I won't attend UDS ;)10:26
jelmervila: Hi, and welcome back!10:26
jamhi vila10:26
Takdamn, how many uds are there per year?10:26
bialixit depends10:27
jelmerTak: As many as Ubuntu releases :)10:27
vilaVacations were lovely but it's still good to be back :)10:28
vilajelmer, jam: https://launchpad.net/bzr/+milestone/2.4b2 mentions 2 bugs in progress, one of which being critical, should I wait (>-/) or should they be re-targeted ?10:30
jamvila: I think jelmer's patch for it has been approved (by me) I'm not sure if he has sent it yet10:31
jelmerjam: It's not marked as approved in lp yet as far as I can tell10:32
jelmer( - https://code.launchpad.net/~jelmer/bzr/move-interbranch-fetch2/+merge/59204)10:32
jamjelmer: you needed to tweak the NEWS entry, but I marked review:approve10:32
bialixvila: I want to release qbzr 0.21 beta1 for bzr2.4b2. How many time I have?10:33
vilabialix: well, if we follow the usual process (cutting 2.4b2 today), it will be announced next tuesday, so it mostly depends on packagers, but the OSX ones are quite reactive so the sooner the better10:34
vilajam: you seem to have approved it 2 hours ago, yet, the proposal appears to have been resubmitted after that (your vote has a yellow background) even if the resubmission seem to have been done 22 hours ago... lp bug ?10:37
jelmerjam: Ah, I see what happened. I resubmitted the MP so your vote is only on the old MP10:37
vilaha no, probably jam approved the old one by mail10:37
jelmerah10:37
vilajam: oh, and you landed the fix for bug #76012 in 2.310:39
ubot5Launchpad bug 76012 in avahi (Ubuntu Edgy) "Avahi can run into an infinite loop on reception of a bad packet" [High,Fix released] https://launchpad.net/bugs/7601210:39
vilameh10:39
bialixvila: ok, I'll made release this weekend10:39
vilabialix: ok, I'll mention that in the freezing mail then10:40
bialixthx10:40
vilahmm, that was bug #76015210:40
ubot5Launchpad bug 760152 in Bazaar "bzr merge --pull --preview BRANCH does not always honor the --preview option" [High,In progress] https://launchpad.net/bugs/76015210:40
jamvila: right, so that landed in 2.3, but needs to be merged up to 2.4, IIRC10:43
jamI didn't feel like doing it for just that patch10:43
vilajam: right, I dunno what this patch does, but *I* generally prefer to merge earlier if only to make sure potential conflicts are resolved asap10:44
bialixfullermd: around?10:45
vilaouch, 5.000 emails to process...11:13
jamvila: how many of those are the automate mails?11:13
vilajam: I don't know yet but not much, only 12 out of the 5000 weren't sorted properly11:14
jamis that because of the mail backlog you stopped getting?11:15
vilajam: automated emails should be less than 1000 anyway11:15
vilayup11:15
vilaright, 300 for the builds11:16
vilaprobably ~50 for the mp landings11:16
vilajam: could you merge up your patch to trunk ? That's the only one missing there11:18
jamvila: don't you merge up anyway for the release?11:18
jamor you aren't doing a 2.311:18
vilano 2.3 yet, I generally merged up, but my plate is clearly overflowed there so any tiny bit will help ;)11:19
vilagosh, 600 emails for the bugs, none automated there11:20
pooliehi vila! welcome back11:26
vilapoolie: hey !!!11:26
vilathanks ;)11:26
pooliehow was your trip?11:26
vilalovely11:26
vilawhich is good for a honeymoon rehearsal :-D11:27
vila(I should stop doing this joke or Valentine will take it seriously ;)11:27
pooliehaha11:30
* bialix waves on poolie11:34
pooliehi there11:35
bialixsorry, my english skill11:35
bialixpoolie, what decision has been made re bzr-colo for bzr core?11:37
pooliei don't think it should be the default11:37
bialixthat thread has been very long but I'm not sure what the resume11:37
poolieyes i should propose a conclusion11:38
poolieit seems clear some people really like multiple trees11:38
pooliei think we should add a core concept of multiple named branches11:38
pooliejelmer has some branches that come pretty close to that11:38
pooliethen bzr colo can use that11:38
bialixthat's good11:38
poolieand qbzr etc can go through that interface to get at colo branches if they're there11:39
bialixI'm going to improve support for colo in qbzr and explorer, so it's useful to know what to expect11:39
pooliei realize it already has some support, but it can be perhaps more abstracted11:39
bialixno, today there is no good support for colo11:39
bialixsome basic support in explorer, but it should be improved a lot11:39
bialixbig shoes to fill11:40
niemeyerYo!12:04
niemeyerHas anyone seen this before:12:04
niemeyer  File "/home/niemeyer/.bazaar/plugins/fastimport/cmds.py", line 38, in _run12:04
niemeyer    proc = processor_factory(verbose=verbose, **kwargs)12:04
niemeyerTypeError: __init__() got an unexpected keyword argument 'control'12:04
niemeyerNevermind.. here it is12:06
niemeyerhttps://bugs.launchpad.net/bzr-fastimport/+bug/73668112:06
ubot5Ubuntu bug 736681 in Bazaar Fast Import "unexpected keyword argument 'control'" [Undecided,New]12:06
niemeyerand I even +1d it already.. great memory12:06
niemeyerThe version in Natty seems to suffer from that, FWIW12:07
pfarrell_hi! I'm a bit confused. I co'd a branch on launchpad. I made a change, which I wanted to keep handy but didn't want to commit yet, so I made a local commit (commit --local). Then I made some more changes, which I realised I didn't want, so I did a bzr revert. I expected it would revert it to the state of my local commit, but it didn't: it reverted to the state of the remote branch12:09
pfarrell_how do I get my local commit back? where has it gone? it doesn't show up in bzr log, and so I don't know what revision number I could use to bzr revert back to it12:09
LeoNerdEr.... that soudns wrong.. bzr revert  with no arguments will undo changes not yet committed in the workdir, but won't alter the branch.12:10
pfarrell_err, I mean, when I typed 'bzr revert' the state of my workdir was that of the remote branch12:11
bialixpfarrell_: use bzr heads --dead to find your local commits, then bzr pull . -r revid:dead-id12:11
pfarrell_my local commit is still listed as a pending merge, though12:11
pfarrell_bialix: that sounds great, I'll try that, thanks12:11
bialixIIRC rebase can convert pending merges to local history, or maybe I wrong, jelmer?12:12
pfarrell_this is very confusing12:13
bialixpfarrell_: it's better avoid commit --local12:13
LeoNerdAlso, perhaps you wanted to start by   bzr branch URL   instead of  co12:13
bialixor just do `bzr unbind`12:13
pfarrell_but isn't the whole point of local commits being able to easily back up changes you don't want to commit yet?12:14
LeoNerdcheckout makes another -workdir- that's basically trying to be _the same branch_, history and all... branch forks it.12:14
LeoNerdYes indeed...12:14
LeoNerdbranch it12:14
bialixpfarrell_: I think bzr shelve is for backups12:14
LeoNerdcheckout is usually best for always-online connected clients, in a centrallised model similar to CVS or SVN12:14
LeoNerdIf you want to work on your own history, independent of that upstream, you want a branch12:14
pfarrell_well, I almost always want to just use a checkout12:15
pfarrell_but occasionally will want to make checkpoints of incremental work that isn't ready for public committing yet12:16
pfarrell_so I should unbind, commit, then bind again?12:16
LeoNerdunbind, commit, leave it unbound12:16
LeoNerdWhen you want to send it back upstream again, push it12:17
bialixpfarrell_: it looks like you want feature branches for incremental work12:17
pfarrell_bialix: the kinds of local commits I had in mind have lives of tens of minutes12:17
bialixhave you looked at bzr-colo?12:17
pfarrell_I don't want to bother with feature branches for something so small and trivial12:18
pfarrell_nope12:18
bialixit does not matter12:18
LeoNerdThe branch doesn't have to exist upstream....12:18
bialixbzr-colo makes feature bracnhes very lightweight and easy12:18
LeoNerdIt's on your local workstation; it's a branch.12:18
Takcolo == in-place branches?12:25
niemeyerjelmer: ping12:29
jelmerniemeyer: pong12:30
niemeyerjelmer: Hey!12:30
jelmerniemeyer: hi, how are things?12:30
jelmerPlaying with bzr-fastimport again I see ? :)12:30
niemeyerjelmer: Pretty good.. just fixing bzr-fastimport again :-)12:30
niemeyerjelmer: Any chance of a fix for Natty?12:31
jelmerniemeyer: IIRC there are two bugs you hit, one related to _find_ancestors in bzr and the one you just reported?12:31
niemeyerjelmer: Yeah, I think you solved the former, right?12:31
niemeyerjelmer: At least I'm not bumping on it anymore12:32
niemeyerjelmer: I hacked my local version for the latter12:32
niemeyerjelmer: But the last upgrade killed it again12:32
niemeyerjelmer: The fix is actually to go back, weirdly12:32
niemeyerjelmer: 309 was working before12:32
jelmerniemeyer: that's odd - you're using both python-fastimport and bzr-fastimport from trunk?12:33
niemeyerjelmer: I actually can't see how that ever worked, to be honest12:33
niemeyerjelmer: control isn't a keyword there indeed12:33
niemeyerjelmer: I'm using packaged bzr for everything now12:34
niemeyerjelmer: It's breaking in Natty itself as well12:34
niemeyerjelmer: Maybe bzr trunk changed or something?  I've never used bzr trunk since I reported the bug last month12:35
jelmerI don't recall anything relevant changing recently, so I'm not sure.12:37
jelmerniemeyer: I'll try to get the fix for that bzr-fastimport issue into natty. The last sync from Debian to work around an issue with python-support must have pulled in the broken revision.12:38
niemeyerjelmer: Ah, could be.  Thanks!12:38
bialixTak: yep12:40
niemeyerjelmer: FWIW, this works: cd ~/.bazaar/plugins && bzr branch -r lp:bzr-fastimport fastimport13:14
niemeyerErm13:14
niemeyerjelmer: FWIW, this works: cd ~/.bazaar/plugins && bzr branch -r 309 lp:bzr-fastimport fastimport13:14
jelmerniemeyer: thanks13:18
pfarrell_hi13:18
pfarrell_I'm trying to log in to launchpad so that I can check something out, but when I do lp-login (or pretty much anything else), I get13:18
pfarrell_AttributeError: 'module' object has no attribute 'HTTPSConnection'13:18
jelmerniemeyer: I'm adding some more black box tests (and have reproduced the bug that way), it should be easy to fix the bug after that.13:18
jelmerhi pfarrell_13:18
pfarrell_it looks like it's trying to access httplib.HTTPSConnection, and it's not there13:18
jelmerpfarrell_: how did you install Python? It seems your Python was built without ssl support.13:19
pfarrell_hi :-)13:19
pfarrell_it was supplied by our supercomputer administrators13:19
pfarrell_and I believe they built it by hand (not from any package management or such)13:19
* pfarrell_ sighs13:19
jelmerpfarrell_: does "python -c 'import ssl'" work?13:19
pfarrell_I guess I will go ask them to rebuild it with ssl support13:19
pfarrell_nope13:20
pfarrell_ImportError: libssl.so.4: cannot open shared object file: No such file or directory13:20
jelmerpfarrell_: It looks like it was built with ssl support but that one of the ssl libraries simply isn't installed?13:20
pfarrell_oh, it doesn't surprise me13:20
pfarrell_the systems are always a total mess13:20
pfarrell_because they have to have multiple different versions of everything available to please everyone, and so they can't use proper package management -- they have to make do with building things by hand and then making these awful 'module' files13:21
pfarrell_no wonder the installs are always barely working13:21
pfarrell_anyway, I'll get on them13:21
pfarrell_thanks13:21
jelmernp13:22
* pfarrell_ wishes someone came up with a linux distribution where you could install more than one version of the same package at a time13:22
Takusually those distributions version the packages, e.g. python2.613:27
pfarrell_yep13:29
pfarrell_debian/ubuntu do this for some things, but not for lots of other things13:29
pfarrell_for example, on the supercomputer I'm talking about, there are currently 8 different versions/compiles of fftw13:30
pfarrell_it's not only the version, I guess; it's also the build options13:30
=== Ursinha-afk is now known as Ursinha
bignosepfarrell_: sounds like the opposite of what the role of an OS distribution is13:51
bignosepfarrell_: which makes a unified OS for all applications to use13:51
bignosepfarrell_: having the “same” library installed multiple times with multiple options is a recipe for pleasing nobody, not pleasing everybody13:52
bignoseand it sounds like the sys admins have yet to learn that fact.13:52
pfarrell_well, that might be a definition of an OS distribution, but I suppose I only want smarter package management13:53
pfarrell_these packages would be built locally by the admins of the cluster, not 'distributed' by someone else13:53
bignoseno, it sounds like you don't want to work on the same machine as all those others.13:53
pfarrell_but it would be nice to be able to, say, install and uninstall them easily13:53
pfarrell_and to try to orthogonalise the dependencies (in so far as that is possible)13:54
pfarrell_well, take a simple example13:54
pfarrell_some people have physical problems involving reals, and want fftw compiled with scalar=double13:54
bignosewell package management makes it easy to install/uninstall packages in large part *because* it leverages the consistency and unified nature of all the packages together.13:54
pfarrell_others have different physical problems, and want fftw compiled with scalar=complex13:54
pfarrell_at the minute the system is a mess13:54
pfarrell_can you think of no better way of managing it/13:54
pfarrell_?13:54
bignoseif that consistency and unified presentation can't be relied on, you don't want package management at all13:55
bignoseyou just want to have everything isolated from everyone else's stuff.13:55
bignosebut then of course you have to take the role of package management on yourself: define the options for everything and compile it yourself and assume the responsibility for making it work together.13:56
bignoseinstead of everyone working on the same instance of the OS, everyone should have their own virtual machine where they install whatever they want and compile packages however they want13:57
bignosestill a nightmare, but at least each person's nightmare doesn't interfere with anyone else's :-)13:57
=== issyl0 is now known as Guest23776
jelmerbignose: hi, still there?14:08
=== Riddelll is now known as Riddell
bignosejelmer: not for long14:17
bignosethanks for responding14:17
bignosejelmer: any hope for my Subversion use case?14:19
bignoseis it possible to, for example, have the merged revisions appear individually in the Subversion trunk?14:20
LeoNerdrebase + push  is the usual way to do that14:21
bignosewhile still being able to continue working on the Bazaar branch with more revisions?14:21
LeoNerdrebase your branch against the trunk, so now your tree only contains new revisions, so push those to trunk14:21
bignoseLeoNerd: no, these Bazaar branches are public. re-writing their history isn't an option.14:21
bignosealso, new revisions will appear, and they'll be merged again into the Subversion trunk.14:22
LeoNerdOhIsee... trickier14:22
bignosebasically I've been requested by other users of the Subversion trunk “we want to see the revisions that we see when we look at your Bazaar branches, instead of losing them when you commit to Subversion”14:23
bignosewe're moving slowly and cautiously toward DVCS, some users must still use Subversion but like what they see on my Bazaar workflows14:24
bignoseso I'm trying to make what I do as public as possible to keep the momentum alive14:25
bignoseand jelmer has the burden that everyone here is deferring to him for possible answers to my questions :-)14:25
bignoseI have to go, but I'd really appreciate a way to resolve this nicely so will check back later14:28
jelmerbignose: sorry, missed you again14:30
jelmerbignose: the short answer is you can set "push_merged_revisions" to push right hand side revisions as well14:31
=== mrevell_ is now known as mrevell
jelmervila: is there a bzr 2.4 b2 tag?15:29
vilajelmer: it's currently in pqm queue15:29
jelmervila: ah, thanks15:30
vilajelmer: you mean a bzr tag right ? not a lp milestone /15:30
vila?15:30
jelmervila: yep15:30
vilajelmer: is it me or pqm got slower ?15:30
jelmervila: John also had that impression; I usually don't watch PQM very closely so I'm not sure.15:31
vilajelmer: I ... don't watch closely, but... I did 3 submissions today and 2 are still in the queue (ok, the second one is almost done, but still)15:31
vilaanyway, I don't think we collect stats there so that question will remain opened...15:32
fullermdvila: What, PQM isn't allowed to have a vacation too?   :p15:43
vilafullermd: bot is a polite word for slave and slaves like golems should never stop to work, never15:44
fullermdMan, I wouldn't want to have a statement like that on MY record when the machines rise up and take control...15:45
vila<insert URL to whip sound here>15:45
vilafullermd: well, the log will look like I just copy a private saying of yours...15:46
fullermdFor the record, I love all machines and dedicate my life to serving them.  PQM should have a full harem massaging its electrodes full time.15:46
vilafullermd: ha, that should explain why it's slower then :)15:47
vilafullermd: and I note that you're trying to confuse me even more about my jetlag by popping up at very unusual hours too15:48
fullermdHow would you know they're unusual hours?  You're jetlagged   :P15:49
vilathe sun is there... I can feel it behind the curtains, I'm sure15:49
fullermdMmhmm.  First PQM is being slow, now the sun is stalking you?  I think you're getting paranoid...15:50
=== zyga is now known as zyga-afk
=== niemeyer is now known as niemeyer_lunch
=== niemeyer_lunch is now known as niemeyer
maxbjelmer: ping? Did you see my email of 2011-04-13 to pkg-bazaar-maint questioning your commit 3924: Jelmer Vernooij 2011-04-04 Use makefile rather than setup to build.  ?17:43
jelmermaxb: yeah - I'm working on uploading 2.4b2 atm, will address that too17:44
maxbthanks - I wanted to get it sorted before people started to want 2.4b2 in the beta ppa17:45
jelmermaxb: hmm, actually.. that change isn't in the experimental branch which I'm going to upload17:47
maxb*blink*17:48
jelmerit's just in the unstable branch17:48
maxbuhm, that's not what I'm seeing17:51
maxboh, it's not there because it's in the ancestry but got reverted in the process of mergin17:52
maxbg17:52
maxbthat's confusing17:52
maxbAlso, what's the intended semantic difference between the "2.4" and the "experimental" branches on alioth?17:53
maxb"2.4" appears to be a strict ancestor of "experimental"17:54
jelmerexperimental is intended to be a symlink to 2.417:55
jelmerfixed17:55
maxbWhat's the motivation behind numbered branches and symlinks?17:56
jelmerbeing able to get at a specific bzr release series packaging without having to have or know the debian release it was shipped in17:58
ablmf333When I try to commit to a svn repo with bzr commit, I got "ERROR: Connection closed: Network connection closed unexpectedly"19:28
ablmf333I can use bzr co to checkout code from the repo, so I don't think it's a server side problem19:29
=== Guest23776 is now known as issyl0
=== cody-somerville_ is now known as cody-somerville
=== BasicPRO is now known as BasicOSX
=== andreas__ is now known as ahasenack
=== cody-somerville_ is now known as cody-somerville
ablmf333Still have the ""ERROR: Connection closed: Network connection closed unexpectedly" problem with bzr-svn20:23
ablmf333Any idea where I can get more info of the error?20:24
caravelhello20:36
caraveljust would like a little advice cf. "scenario":20:36
caravelgiven two teams, one "internal" and the other "external" which provide peer review and rare contribs20:37
caravelan sftp space is avail (internal ubu host)20:38
caravelso even bzr+ssh is an option, even if not mandatory to start with - great20:39
ablmf333updated to bzr-svn newest version20:40
ablmf333doesn't work20:40
* caravel will try to finish this descr :)20:41
caravelso, external need to access internal's sandbox on demand20:41
caravelinternal will push their integration at regular intervals, say to "trunk"20:42
caravelexternal will update from "trunk" and push to "contrib"20:43
caravelinternal could then include "contrib" changes into their "sandbox"20:43
caravelso we'd have 3 spaces on the sftp: "sandbox", "trunk" and "contrib"20:43
caravelis this overkill ? does it make sense ? is it a common way to address this scenario ?20:44
bignosejelmer: thanks, I will investigate ‘push_merged_revisions’21:46
jelmerbignose: g'morning :)21:46
jelmerbignose: note that push_merged_revisions has some issue in the released versions21:46
bignosejelmer: Debian Wheezy, Bazaar 2.3.1, bzr-svn 1.0.4+bzr3475-121:48
bignosethe only web search result I get for ‘push_merged_revisions’ is <URL:https://bugs.launchpad.net/bzr-svn/+bug/486811>21:49
ubot5Ubuntu bug 486811 in Bazaar Subversion Plugin "push_merged_revisions creates a branch but doesn't push its contents" [Medium,Fix committed]21:49
bignose(actually MBP's kanban page including that.)21:49
jelmerbignose: yup, that's the bug I was talking about21:50
bignoseso where can I read more about that option?21:51
* bignose wishes Bazaar documentation were better searchable by web search results21:51
jelmerbignose: it's a boolean option; I haven't really advertised it yet as it's been somewhat experimental until recently.21:54
bignosejelmer: where can I read about the options that will affect ‘bzr-svn’'s behaviour?21:56
jelmerbignose: There isn't really a single place where they're documented. There's "layout" which is usually modified through the "bzr svn-layout" command, "push_merged_revisions" (undocumented) and "use-cache" (documented in the FAQ)22:00
bignosejelmer: the FAQ?22:01
jelmerbignose: /usr/share/doc/bzr-svn/FAQ.gz22:02
bignoseis ‘bzr-svn’ one of the very few Launchpad projects to actually have some documentation online?22:02
bignoseah, right :-)22:02
bignosetoo much to hope for then.22:02
jelmerbignose: http://bazaar.launchpad.net/~bzr-svn/bzr-svn/1.1/view/head:/FAQ22:04
bignosejelmer: what does “bzr-svn did a replace operation on the branch I pushed to” mean?22:05
bignoseI don't know whether that describes something I've seen. what's a “replace operation” from the user perspective?22:06
jelmerbignose: It's a Subversion term, it shows up as a "R" in svn log22:06
bignose(change request: please alter the wording of that question so it's meaningful to people who don't know Subversion terminology)22:06
bignosehmm22:06
bignoseno, I still don't understand :-)22:07
bignosewhat does a file-level replace have to do with the situation described?22:07
bignoseor is this not a file-level operation?22:07
jelmerbignose: patches welcome; that question is intended for people familiar with the term22:08
jelmerthis is a directory-level operation (e.g. on /trunk)22:08
bignosehmm22:08
bignosewhat's being replaced?22:09
jelmerlooking at it, that FAQ is actually ouf of date for newer versions of bzr-svn.. append_revisions_only is the default now.22:09
bignosethe discussion around ‘bzr-svn’ also seems to assume that ‘bzr push’ will be used a lot22:10
bignosebut I almost never use that, and I don't use it with ‘bzr-svn’; I merge from many feature branches into a bound branch.22:10
bignoseam I using it strangely?22:10
jelmerbignose: that works too22:10
jelmerbignose: most people seem to use bzr (and bzr-svn) with push/pull rather than with bound branches, but both are supported.22:11
bignoseokay. how can my merges from many, public, feature branches be done better22:11
bignoseso that the revisions from those branches show up on the Subversion history?22:11
jelmeryou're merging from other public branches in the same svn repository, or from elsewhere?22:12
bignosethere are no non-trunk branches in the Subversion repository22:14
bignose(and there is resistance to having any)22:14
bignoseI'm merging from public Bazaar feature branches I created from the bound trunk branch22:14
jelmerbignose: push_merged_revisions=True would create new branches in /branches/...22:15
jelmerbignose: if you want the revisions you merge to show up in trunk *and* don't want any new stuff in /branches, where would you want the merged revisions to be pushed to?22:15
bignoseany way around that?22:15
bignoseto the trunk branch would be okay22:15
bignosei.e. creating the illusion that I committed all those revisions on trunk22:16
=== Ursinha is now known as Ursinha-afk
jelmerbignose: that would be *really* confusing, as not each revision it would push has the previous one as its parent22:17
bignosejelmer: confusing for whom?22:18
jelmerbignose: that's why bzr-svn by default only pushes the mainline, as it's consistent with the way svn users work22:18
bignosewell, the Subversion users I'm interacting with don't use branching and merging at all22:19
bignoseI'm trying to show them the benefits of doing so :-)22:19
jelmerbignose: there would be lots of replace operations on trunk, and "svn log ../trunk" would only show the mainline22:20
bignosecan you explain what a “replace operation” is for someone who is accustomed to the Bazaar model?22:20
jelmerbignose: replace is basically delete + add in the same revision22:20
jelmerbignose: imagine you have a common base ("B") and a feature branch with a new revision R1 on it that is merged back into the mainline in merge revision M22:21
jelmeror:22:21
jelmerM22:21
jelmer| \22:21
jelmer..   R122:22
jelmer|   /22:22
jelmerB22:22
bignoseyes22:22
jelmerif you would push this onto /trunk and not use /branches you would see this in the svn log:22:22
jelmerfor B: M /trunk22:22
jelmerfor ..: M /trunk22:23
jelmerthen for R1, imaging B had revnum 42:  R /trunk (from /trunk:42)22:23
bignosehold up22:23
jelmerthen for M, assuming the last revision in .. has revnum 33: R /trunk (from /trunk:33)22:23
bignoseI'm confused why the “M /trunk” is appearing at each revision22:24
jelmerbignose: well, something in /trunk. It doesn't have to be /trunk itself but it could be /trunk/foo/bar or whatever was changed22:24
bignoseokay. so some change at each revision. does this example require that the same file is being changed?22:25
jelmerit requires that there is a revision that affects /trunk22:26
jelmerit could even be a no-change revision ("bzr commit --unchanged ..."), in which case bzr-svn just touches /trunk22:27
bignoseso revision B has “M /trunk/foo/bar”, revision ‘..’ has “M /trunk/wibble/wobble” ?22:27
jelmerfor example22:27
bignoseokay, sorry to speed-bump the example.22:29
bignosewhat follows?22:31
jelmerbignose: well, that's the operations that happen.. if you were a svn user this would probably upset you :)22:32
jelmerbignose: "svn log /trunk" would only show M .. and B, it would ignore R122:33
=== nixness is now known as foocraft
bignosewell, I must still not be understanding why that would upset a Subversion user22:35
bignoseAFAICT you're saying only that the log shows the modifications that were made22:35
bignosewhere is the “R /trunk” in that example?22:36
jelmerbignose: it doesn't show R1, which was pushed to trunk22:36
jelmerbignose: and changes in /trunk are not necessarily against the previous revision in trunk22:36
jelmerbignose: it's not how a svn user would do branching22:37
bignosejelmer: yes, the “it doesn't show R1” is the problem I'm trying to address22:39
bignosebut where are these numerous replace operations that you say would result?22:39
jelmerbignose: what do you mean with where are they?22:40
bignosejelmer: your example doesn't have any that I can see.22:40
jelmer then for R1, imaging B had revnum 42:  R /trunk (from /trunk:42)22:40
jelmerthe R I mention there is a replace operation22:40
jelmer<jelmer> then for M, assuming the last revision in .. has revnum 33: R /trunk (from /trunk:33)22:40
bignoseI misread that.22:40
bignoseokay, but why? :-)22:40
jelmerbignose: preserving the revision graph as it exists in bzr22:41
bignoseor should I just gloss the explanation as “because Subversion doesn't do merges properly”?22:41
jelmerbignose: the proper way to do branches/merges in svn is with the feature branches elsewhere, e.g. in /branches/foo22:42
jelmerbignose: if you don't care about the revision graph, it's possible to use rebase to create linear history and push that to /trunk and avoid any replace operations22:42
jelmerbignose: does that still make sense?22:44
bignoseokay. well, I'm only aware that I don't want to do too much strange (where “strange” is “anything other than single line of development”) in the Subversion repository unless I'm sure it will be clearly of benefit to my peers22:44
bignosecan you tell me a bit more about creating the Bazaar feature branches in the Subversion repository?22:44
bignosewill ‘bzr-svn’ do that automatically?22:45
bignosewhat other effects will it have for a Subversion users?22:45
jelmerbignose: that's what bzr-svn will do if you set push_merged_revisions=True22:45
jelmerbignose: it basically means the merged revisions will be pushed to /branches/<abranchname> and bzr-svn will try to set as much details as it can in svn about the merges (e.g. updating the svn:mergeinfo property, adding copy information, ...)22:46
bignoseokay. will those feature branches have to live there forever? they generally only have a useful lifetime of weeks.22:47
bignoseone per bug tracking ticket, for example.22:47
jelmerbignose: they can be removed whenever you like22:47
bignoseand Subversion will properly show the revision history in ‘trunk’ after the feature branch is removed?22:48
jelmerI don't think "svn log" can show merge information anywhere, though I should add I don't have a lot of experience using newer versions of svn22:49
jelmerbzr log on the trunk of your svn repository will show the merge information though22:49
jelmerhmm22:50
jelmerreading the docs apparently it can based on svn:mergeinfo data, but I've never seen that22:50
bignosewill it show the individual revisions? (that's the immediate problem being addressed here)22:51
bignosei.e. show on trunk the individual revisions merged from the feature branches22:51
jelmerbignose: there is an option to show merge history, but I'm not sure what it does exactly22:56
bignosejelmer: thank you very much for your time and assistance22:56
bignoseI will try today with ‘push_merged_revisions=True’ and see how much flak I get from my peers :-)22:57
jelmerbignose: you're welcome22:57
jelmerbignose: (you'll need a newer snapshot of bzr-svn, btw)22:57
jelmerbignose: still there?23:13
jelmerbignose: I was curious so I gave it a try, basically using "svn log -g" will show all revisions, even those in /branches/... if they were merged into trunk.23:14
jelmerbignose: http://pastebin.ubuntu.com/600479/23:15
pooliehi jelmer, all23:16
poolieo/ cinerama_23:17
cinerama_hello23:18
=== cinerama_ is now known as cinerama
jelmerg'day poolie23:18
jelmerpoolie: Did you recent improvements to identity management perhaps fix bug 131716 ?23:30
ubot5Launchpad bug 131716 in Bazaar "Use /etc/mailname for default email" [Medium,Confirmed] https://launchpad.net/bugs/13171623:30
poolieyes i think so23:30
poolieit may still be open in an old series23:30
poolieah it's a dupe23:30
jelmerpoolie: Ah, ok23:31
poolieit would have been clearer perhaps to dupe the later bug onto this, but it's done now23:34
pooliethanks for spotting it23:34
jelmerthanks for fixing this :)23:34
jelmerthere was a Debian bug about this as well, closing that now (uploading 2.4b2 to Debian)23:34
pooliehm there are a bunch of "IOError in report_bug"23:38
pooliewhich is a bit of a distraction23:38
pooliewhat should bzr do with log output if stderr goes away?23:45
pooliejust discard it?23:45
jelmerlog it to ~/.bzr.log ?23:45
jelmerthough perhaps we already do that?23:46
jelmerdiscarding it seems better than quitting though23:46
pooliei wonder if we should have a bot that just also-affects all ubuntu/bzr bugs into upstream bzr?23:48
jelmerThere are some bugs that are just packaging bugs, not sure if there are enough of those to not mark bugs as affecting upstream bzr automatically23:50
vanguardhow is the copyright handled when I contribute to bzr? Do I just omit every copyright notice and implicitly give everything to Canonical?23:52
kgoetzvanguard: there is paperwork to sign on the canonical website23:55
kgoetzalthough iirc you can do it by email too23:55
vanguardkgoetz: ah, I have seen that. I'll check it out. I guess I do not write a copyright statement in the code then23:58
kgoetzvanguard: correct23:59
vanguardso the "who did what" info is then maintained in the bzr branch of bzr?23:59

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