/srv/irclogs.ubuntu.com/2010/11/26/#bzr.txt

pooliehi lifeless, jelmer, maxb, spiv00:25
poolieurk, this scrollback looks bad00:25
jelmerg'morning poolie00:26
fullermdThat'll teach you to scroll back.00:26
pooliemaxb: thanks for the 2.2.2 upload00:26
pooliethat was superbly quick00:26
pooliemaxb, maybe we should take this back to the TB?00:27
maxbWell. The MRE was well reasoned. Running the testsuite makes sense.00:28
maxbIt's just we can't, because of dependencies.00:28
maxbIf we care (I'm not sure I do) about putting every micro release of bzr into the relevant ubuntu updates, then I think we need to sort out a MIR of python-testtools for natty00:29
jelmerI think we should.00:30
pooliei care about getting at least some bugfix releases into ubuntu00:31
maxbAnd for maverick, I think someone needs to have a discussion with the SRU team on whether they will consider allowing the testsuite to be run in a PPA to be "good enough"00:31
spivtesttools is a good library, I think having it in main in future makes senes.00:31
spivsense, rather.00:31
poolieif we can't do that, perhaps either it's not worth doing them at all, or the SRU process is wrong in this case00:32
poolie> whether they will consider allowing the testsuite to be run in a PPA to be "good enough"00:32
maxbThe SRU process is primarily built for cherrypicked backports of single fixes00:32
pooliethat sounds like a good pragmatic approach00:32
pooliei know00:32
pooliehowever, i know mark's very keen on getting things just like this in to previous releases00:32
poolieif it's done in a very safe way of course00:33
maxbI've kicked off a test build in https://launchpad.net/~maxb/+archive/ppa00:35
maxbHowever, I personally don't have the energy/motivation to get involved with the MIR or SRU team discussions I conjectured above00:37
jelmermaxb: I'm going to send in a request to become a PerPackageUploader, I might look at the MIR.00:39
pooliei sent one too, but it apparently stalled because i didn't go to the irc meeting00:47
pooliejelmer, that would be great00:47
pooliemaxb, i'll continue the SRU discussion00:47
pooliei wonder if sudo works :_)00:47
fullermdDidn't we have a discussion $YEARS ago about exit status on pull?01:16
lifelessyes01:16
lifelessi awas there01:16
fullermdI thought it went toward adding information.01:17
maxbAs in, indication whether anything was actually pulled or not?01:20
fullermdYah.01:20
maxbThe problem with this is that there's no way you can change behaviour here without breaking people's shell scripts and causing wailing and gnashing of teeth01:21
maxbIt seems like just checking the revno before and after would be better01:22
fullermdWell, it just broke my partly-written shell script   :p01:22
maxbs/better/achieve the same without compatibility issues/01:22
lifelessmaxb: we have major/micro to permit improvements01:22
maxbWell, yes, 2.0 would have been the logical place to do such a thing01:23
fullermdDon't worry, we have a VCS.  It's like a little time machine; we can just roll back to before 2.0...01:24
pooliewe can change this in 2.302:12
pooliejust describe it in news and whatsnew, make it as little disruption as possible, and do it02:12
=== ccxCZ- is now known as ccxCZ
lifelesspoolie: I'd love it if you could schedule https://bugs.launchpad.net/bzr/+bug/583667 for doing sometime fairly soon05:39
ubot5Launchpad bug 583667 in Bazaar "bzr talks to edge API servers to propose merges (but not for lp: url lookups) (affected: 1, heat: 1)" [High,Confirmed]05:39
poolieooh05:41
poolieschedule it, or do it?05:41
poolie:-P05:41
pooliesounds pretty easy though05:41
lifelesspoolie: if you're not doing it yourself, schedule. I'd love to see it done ;)05:42
pooliewhat's the actual problem?05:43
pooliejust tidyness?05:44
poolieah, the blog explains?05:44
lifelesswe can't redirect API clients05:44
lifelessyes, it does05:44
lifelesswe can't easily serve edge from the main cluster either05:44
lifelessdue to a couple of issues05:45
pooliei trust you but i am surprised05:45
lifelessthere is some machinery in zope05:46
lifelessbut we're using a mangled implementation because we adopted so early05:46
poolie:/05:47
lifelessgary is unsure that it would work, and sure that it would require effort05:47
pooliethis kind of sucks because everybody who tried to write an api client has been told "use edge"05:47
lifelessthat was, sadly, bad advice05:48
lifelessthe wadl served from a domain has the domain embedded in it05:48
poolieof course it's great we're going to move away from using a separate url space for this05:48
lifelessso we can't just redirect in apache05:48
pooliewe can't configure the main cluster to serve api.edge.l.n as well as api.l.n?05:49
lifelessno, see under zope machinery05:49
lifelessthe objects that are published would be the same as for the main site05:50
lifelessbut have to be on the site the request was received05:50
lifelessthis fights some global state05:50
poolieok05:51
pooliethanks for raising it then05:51
poolieand for the blog post05:51
pooliefrom the initial bug report against bzr, it was not at all obvious this would be urgent05:51
lifelesswe're going to have to keep the cluster until we've got every user migrated, or near enough to every05:52
lifelessso I would say urgent05:52
lifelessbut nice to do05:52
lifelessbzr would get better response by miving as well05:52
pooliemy only reluctance is about updating very old series05:53
pooliecf recent threads about ceasing updates for 2.0 except for critical issues05:54
poolieit would be pretty unfortunate to have that break05:54
lifelesspoolie: it would be unfortunate05:59
lifelessmy /preference/ would be to get everything on lpnet (see for instance ng's query about edge this morning)05:59
lifelessbut if thats particularly risky/problematic, staying on edge until you stop supporting 2.0 is fine.06:00
pooliei think if you kept it alive until at least the end of karmic (bzr 2.0.x) in april that would be ok06:00
poolieassuming nobody is still using hardy's original bzr06:00
sqwishyIs there a simple way to have a branch not store binary deltas?06:00
pooliewhat do you mean?06:01
sqwishySo when someone changes a binary file, it doesn't retain older versions of it.06:01
sqwishy:>06:01
sqwishyBasically, I have a project that will need potentially 10MB > binary resources that could be changed several timed. I'd like for them to be in the bzr repo with the code because then everything is in one place and can be updated easily.06:03
pooliesqwishy: sorry, no, we don't support that at the moment06:04
pooliei suggest you either06:04
poolie1- put them in a bzr branch but from time to time kill its history and make a new branch06:04
poolie2- download it by some other means like rsync06:04
lifelesspoolie: right, the goal is to shrink with all due haste, not to be cavalier06:05
sqwishyYeah, the project is in python so people don't run a build script to run the thing. There is no great place to put an automatic rsync fetchery thingy because scripts aren't run to build the app.06:06
sqwishyI might have to try and think of something clever.06:06
pooliespiv i'm going to finish up now06:20
pooliesuggest you do too :)06:20
spivpoolie: Heh :)06:21
spivJust finishing up writing some tests :)06:21
vilahi all !07:36
vilamaxb: ping07:37
vilamaxb: I've seen your mail about the MRE07:37
vilaSo basically we need python-testtools. Getting it into main may be the best solution long term wise.07:38
vilaEmbedding a private version, while frowned upon in debian may be a workaround ? (I'm not holding my breath here :) but I think it's worth mentioning07:40
vilaNow, where does it break precisely ? We are not releasing it, we need it to validate our code only, can't we find a way ?07:41
* vila reboots07:50
loxsI have 2 separate bazaar repositories. Is there some way to move a file from one to the other with all its history?11:01
augdawgwhen i try bzr branch, it always  asks me for my password. i hav tried telling it to unlck the keychain, but it wont work. can anyone help?13:18
jelmeraugdawg: Are you referring to the GNOME keychain?13:21
jelmeraugdawg: bzr-gtk's keychain support will only use existing credentials, it won't add new ones.13:21
augdawg_sorry jelmer, the wifi went offline briefly in my home.13:25
jelmer<jelmer> augdawg: Are you referring to the GNOME keychain?13:26
jelmer AfC ajmitch apw ahasenack augdawg13:26
jelmer augdawg: bzr-gtk's keychain support will only use existing credentials, it won't add new ones.13:26
jelmerArgh, xchat inserted the tab completion suggestions there. Sorry about the highlights :-(13:26
augdawg_i mean that it wont let me tell it to unlock my keychain for branching stuff off launchpad13:28
AfCjelmer: nice one13:28
jelmeraugdawg_: ah, this is for ssh? bzr just calls out to the main ssh binary to talk to Launchpad over bzr+ssh13:28
augdawg_so what does this mean?13:29
vilaaugdawg: that means the problem is with your ssh setup, what does 'ssh-add -l' says ?13:38
vilaaugdawg: or rather, to start, what does 'ssh -v bazaar.launchpad.net' tells you ?13:39
=== jelmer_ is now known as jelmer
maxbvila: Hi.  Yes, we need python-testtools. For natty the answer is to get a Main Inclusion Report done and approved.15:06
vilamaxb: hi !15:06
vilaSo, *why* precisely do we need it ?15:06
maxbTo run 'bzr selftest'15:07
vila..and this must succeed without any piece external to main ?15:07
maxbAny build in the Ubuntu archive must obey the component dependency model15:07
maxbmain only sees main. restricted sees main + itself. universe sees main + itself. multiverse sees everything15:08
vilaand where did that fail ? I mean, we started running the tests some time ago15:09
maxbYeah...... in PPAs. Enforcing this restriction is optional and usually disabled in PPAs15:09
vilaok, thanks for the clarification15:09
vilaSo indeed, that's bye bye MRE for maverick15:09
vilaSo, what's a 'Marin Inclusion Report' and who will do it ? python-testtools devs ?15:10
vilas/Marin/Main/15:10
maxbA main inclusion report is a document justifying that a package is sufficently well maintained and will not put an undue burden on the Ubuntu Security Team if included in main15:12
maxbhttps://wiki.ubuntu.com/MainInclusionProcess15:13
vilagreat15:15
vilaas for who should do that, I think the answer is: the bzr RM15:15
vila.. or he will never really learn how this works :D15:16
vilajml: ping15:18
jmlhi15:19
vilajml: err, where are you these days ? May be in your ... oh no! Great !15:19
vilajml: so, bzr has applied for Micro Release Exception with a pre-requisite of running the tests as part of the build15:20
vilajml: it turns out that python-testtools is not part of the main archive so we are blocked for maverick15:20
vilajml: What are your plans regarding inclusion of python-testtools in the main archive ?15:21
jmlvila: none as yet.15:21
jmlvila: whether we are in main or not doesn't matter much to me.15:21
vilajml: ok15:22
=== beuno is now known as beuno-lunch
cbzis jelmer around?16:00
jelmercbz: sortof16:02
jelmercbz: Hi16:02
cbzhi jelmer - using bzr-svn on windows it complains that it cannot create something because it is a simlink, in the repository itself it appears to be a dirctory in which a bunch of external items are to be pulled in16:04
jelmercbz: if you check out the repository using the "normal" svn client do you get a symlink?16:04
cbzno - svn creates a normal directory16:07
cbzactually no - it's created a file with a name inside16:09
cbzin one case16:09
cbzin the other case it created a directory16:09
jelmercbz: is this a public repo?16:16
cbzno, unfortunately not16:16
cbzit looks like the directory that it bitches about is the one defined as a home for a bunch of svn:externals16:18
jelmerwhat exactly is the error message?16:18
jelmercbz: ^16:19
cbzbzr: ERROR: Unable to create symlink 'test/selenium/vendor' on this platform16:20
cbzthats for the file that svn creates as a file containing "link ../target/dir"16:20
cbzwhichi presume is actually a symlink to a directory16:21
jelmercbz: That file would be created as a symlink on unix by the svn client16:21
cbzyes16:21
cbzI get an identical error message for another directory which as far as i can tell is only referenced by svn:externals16:22
cbzsvn will create the directory and populate it16:22
cbzbzr-svn throws an error message16:22
jelmercbz: this is unrelated to bzr-svn, it's bug 81689 IIRC16:22
ubot5Launchpad bug 81689 in Bazaar "Branches with symlinks can't be checked out on Windows (affected: 21, heat: 58)" [Medium,Confirmed] https://launchpad.net/bugs/8168916:22
cbzThe second issue does not appear to be symlink related16:23
jelmerwhat's the error you're getting?16:23
jelmerah, it's identical - sorry16:24
jelmercan you check with "svn cat" what the contents of the problematic file are in that second case ?16:25
jmljelmer: btw, are you familiar with http://twistedmatrix.com/trac/wiki/BazaarMirror#CommittingaBazaarbranchtoaSubversionbranch16:29
cbzjelmer: svn says it's a directory (which it is). I think it doesn't exist in the repository, svn:externals just refers to it and so svn is able to create it16:31
jelmerjml: No, I wasn't aware of that. Thanks for the link16:31
jelmercbz: bzr-svn ignores svn:externals at the moment16:31
jmljelmer: basically, it would be nice if there were fewer warnings about bzr/svn gotchas on that page16:32
jelmercbz: There might be something strange going on there, such as svn checkout removing it because the svn:externals directory overwrites it.16:32
kikojelmer, do you know why bzr diff -r submit: needs to hit the server?16:34
jelmerkiko: If the submit branch is a remote branch (it commonly is) it will need to check what the tip revision of the submit branch is.16:34
jelmerkiko: There are probably some other (less common) situations in which it can require remote access (if the local branch is a lightweight checkout, for example).16:37
kikojelmer, is there a shortcut to ask bzr to give me the changes between my current tip and the tip of the remote branch as it was when I last pulled a revision16:39
kikowithout hitting the server16:39
jelmerkiko: Not without manually keeping a local copy of the remote branch at the moment (or tagging the last remote revision, or something like that).16:42
jelmerkiko: When colocated branches land it should be a lot easier to do this sort of thing, much in the same way that git supports it ("remote refs")16:42
kikoright16:43
jelmerjml: the bzr metadata shouldn't really be an issue anymore. With a recent enough svn (>= 1.5) we no longer store the metadata in file properties.16:50
jelmerjml: I've considered printing a warning if we would end up writing to file properties16:50
jmljelmer: if we asked for confirmation, that would probably settle some fears in #twisted16:52
jmlprinting is a little chancy16:52
jelmerjml: bzr usually doesn't do interactive stuff (uncommit is the exception that confirms the rule). I guess we could require a configuration option though.16:53
jmljelmer: or warn, quit and say that you need to specify a particular option16:53
jelmerat this point repositories without custom revision property support should be really rare16:54
jelmerjml: That'd be reasonable. Care to file a bug ? :-)16:54
jmljelmer: sure, more than happy to. (once I finish dealing with my current silly self-imposed distraction)16:55
=== beuno-lunch is now known as beuno
fabio_kreuschI have a bzr repository on format 2a, and I'm trying to do a split. So I do 'bzr split path', then ''bzr join --reference path' and 'bzr commit', and everything is fine. But after that, whenever I try to access the repository, I get this message:17:11
fabio_kreuschThe method _generate_inventory is not supported on objects of type CHKInventoryRepository17:11
fabio_kreuschany thoughts?17:11
kikosounds like a bug :)17:12
fabio_kreuschI have found on launchpad this https://bugs.launchpad.net/bzr/+bug/51594717:12
ubot5Launchpad bug 515947 in Bazaar "cannot commit in the containing tree which has by-reference joined trees [2a] (affected: 1, heat: 0)" [Low,Confirmed]17:12
fabio_kreuschyep17:12
fabio_kreuschthat's the one17:12
fabio_kreuschbut17:12
fabio_kreuschwhat should I do than?17:12
fabio_kreuschOn that thread John Meinel says that --reference should not be compatible with 2a17:13
fabio_kreuschbut what should I do than so that I'm able to split my repo?17:14
maxbHrm17:54
maxbLooks like Gary accidentally marked lp:qbzr as not supporting bzrlib 2.317:55
maxbfabio_kreusch: I'm pretty sure --reference should be totally incompatible with 2a18:02
maxbHence, you can use 'bzr split', but you can't use 'bzr join --reference'18:03
fabio_kreuschmaxb: what I want to do is to have subtrees, can't I do that with 2a than?18:55
jelmerfabio_kreusch: no, 2a doesn't support nested trees.19:49
lamontbzr: ERROR: Unable to determine your name. <-- we did fix 2.3 so it doesn't consider that an error anymore, right?20:41
jelmerlamont: I haven't seen a fix for that yet.23:40
lamontgar23:42

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