/srv/irclogs.ubuntu.com/2010/05/31/#bzr.txt

exarkunDone, https://bugs.launchpad.net/bzr/+bug/58769200:06
ubot5Launchpad bug 587692 in Bazaar "Sometimes "bzr version-info" doesn't complete (affected: 1, heat: 0)" [Undecided,New]00:06
igc1morning all00:49
=== igc1 is now known as igc
pooliehi all, igc00:51
spivGood morning.01:03
pooliehi there spiv01:20
pooliewhat fabulous adventures will you have today?01:22
spivFinishing the patch(es) for allowing bzr-builder to merge just debian/ dirs from parallel imports, I hope!01:26
poolienice01:27
lifelessback02:51
pooliehi there lifeless03:13
lifelesshiya03:19
pooliehi03:21
pooliere high bugs03:21
poolieif you want to strike while the iron's hot and fix it, feel free03:22
pooliebut it's not as critical as some others03:22
duffydpoolie: hi03:23
duffydpoolie: was just talking to lifeless on #nzpug re. finding a good hotel in brisbane03:23
duffydpoolie: he thought you might have some suggestions :)03:23
lifelesspoolie: I really feel that if we allow things to slip, they stay slipped; the broken windows theory of code maintenance03:23
lifelesspoolie: in particular I was expecting/hoping parthm would pick it up with the priority I'd set it, as he's slowly getting deeper and deeper in.03:24
lifelessduffyd: also wikitravel if you haven't looked there already ?03:24
duffydlifeless: oh ta03:24
pooliere broken windows, i sympathize but the important thing is to fix them, making all bugs high won't help03:26
lifelessthats true03:26
lifelessI feel that regressions should be equal to the highest priority open bug, in essence03:27
lifelessI know you don't feel that way, and I don't understand why, yet.03:27
poolielifeless, if "regression" means "used to work, now doesn't"03:30
pooliethen, i agree it's an interesting thing to track03:31
pooliei don't think it jumps to the top of the queue03:31
poolieif somebody picks up a copy of bzr today and hits say 5 bugs03:31
pooliethe fact that one of them was once working and the other was not is not super important03:31
pooliein a sense if you have too many of them, then it seems that your quality process is not very controlled03:32
lifelessthats true too03:32
poolieeither you're lacking tests or people are careless03:32
lifelessDoing them first, always, should either be a small time fraction (and ok) or a burden and thus make it clear you have a problem earlier in the process03:33
lifelessI think its these two things that keep me coming back to this and not accepting the 'at any point in time, what is the most useful improvement to work on' argument03:33
lifelessI think thats a great argument when choosing new stuff to make good03:33
lifelessbut not for choosing how to deal with things that we've permitted to slip [through whatever reason]03:34
pooliei think saying 'we will throttle the amount of new work by not starting any while there are regressions open' would be ok03:34
lifelessI expect that to add more latency to addressing regressions than I'd like us to achieve.03:36
lifelessanyone got python2.4 handy ?04:24
spivI seem to still have it installed.04:26
lifelesscan you do from email import Message ?04:29
spivYep.04:30
lifelesscool, thanks04:30
anders_hi guys.04:41
anders_I want to use cherrypicking, but I hope it can merge with history information. How can I do?04:42
pooliesorry, we don't do that at the moment04:42
anders_Why not?04:43
pooliesorry, what's you question precisely?04:43
anders_I think it is a valuable function.04:44
pooliei agree04:44
anders_Is there any plans to implement it?04:44
poolieat the moment bzr doesn't track history for cherrypicks04:44
pooliewe'd like to implement it04:44
pooliethere is a bug you can subscribe to04:44
anders_Poolie, thank you.04:46
lifelesspoolie: so you suggested tagging regressions; did I miss ail about that ?04:50
pooliei didn't send mail about it yet04:50
lifelesskk04:50
poolieyou can04:50
lifelessok04:50
pooliei think the issue of where they should be prioritized is interesting but also one i don't want to spend much time on atm04:51
poolieweapons free to fix them on demand04:51
lifeless:P04:51
poolieby which i mean, as they come up04:51
lifelessI'm interested in that, but not in chasing  it if noone else is; so I won't ask you to spend much time on the priority discussion, but I will kick one off on the list, unless thats a concern for you04:52
lifelesspoolie: you expressed concerns about dirstate2's complexity04:56
lifelesspoolie: can you be a little more detailed ?04:56
pooliei did-04:56
poolienot right now but i do want to go back and reply in that thread04:56
lifelessok04:56
pooliei'm not totally trolling in asking04:56
pooliewhy fix this now rather than fixing regressions?04:57
pooliemost of the bugs in dirstate have been there since it was first done04:57
lifelessits my fault its like this04:57
lifelessok, thats a shallow answer04:57
lifelessuhm04:57
poolieno, it's a reasonable answer04:57
lifelesson regressions, I have a complex of feelings there04:58
lifelesstied into the cost of accepting contributions I guess04:58
poolieit's complex for me too05:00
pooliefor me at least marking them is a start05:00
lifelessdirstate2 has a few interesting things05:01
lifeless - if its not ready when we do 3, we don't get it for X more years05:02
lifeless(per Mark and changing formats)05:02
lifeless - it affects a great number of users in varying ways, and is, I think, causing bzr explorer and tortoise-bzr users particular pain on windows05:02
lifeless - I really want emacs folk to be happy05:03
pooliei'd really like to see it fixed too05:04
pooliei was using gannotate the other day and it bit me05:04
poolieif we can finish it soon for 2.2 that would be good05:05
pooliei guess i'm mostly concerned about being able to deal with the fallout05:05
poolie- getting proper review for it, not rubberstamps05:05
lifelessoh, and one more thing - its in-stock inventory at the moment05:05
poolie- and whether it takes too much attention away from udd and other kinds of bugs05:05
lifelesssomething I abhor05:05
pooliemm05:10
pooliei don't want the fix for it to stuff more things into the pipeline than will fit, or to cause it to be overloaded as we deal with fallout05:10
poolieotherwise, i agree05:10
lifelessagreed05:10
lifelessNote that dirstate2 is a very specific thing05:10
lifelessits not a new dirstate serialiser, for instance05:10
lifelessJohn would like to see more work done on what-is-stored-where, and so would I, but I think that that sort of thing is very high risk.05:11
lifelessOTOH doing that might make the overall design simpler. So we should talk next Monday briefly about that.05:11
wgrantSo, mgiuca is trying to sign the contributor agreement, but the link on http://www.canonical.com/contributors is broken.05:15
lifelessugh05:15
poolieoops05:16
pooliewell, it's a very attractive 40405:16
pooliethough not really the attitude you'd expect mark to take :)05:16
lifelessI'll file a bug05:16
pooliek05:17
pooliehttps://bugs.edge.launchpad.net/ubuntu-website-content/+filebug05:17
lifelessyes05:17
wgrantThe latest copy I have is of 2.4, but 2.5 appears to be the real latest. Is there another copy of that floating around somewhere?05:19
lifelesshttp://www.canonical.com/files/Canonical%20Contributor%20Agreement,%20ver%202.5.pdf gives a 40305:19
pooliei have 2.5 here05:19
lifelessbug 58775505:19
ubot5Launchpad bug 587755 in ubuntu-website-content "Contributor Agreement PDF link on http://www.canonical.com/contributors is broken (affected: 1, heat: 0)" [Undecided,New] https://launchpad.net/bugs/58775505:19
pooliewgrant, http://sourcefrog.net/tmp/1y/Canonical%20Contributor%20Agreement,%20ver%202.5.pdf05:20
wgrantpoolie: Pointed him to it. Thanks.05:21
frionso I run bzr branch lp:dcplusplus, download the patch posted at http://launchpadlibrarian.net/49406269/plugins.patch , and when I run "bzr patch plugins.patch" I get "bzr: ERROR: Error invoking patch: Invalid argument"05:38
frionthis is with bzr 2.1.1; why might this be happening?05:38
pooliefrion, hm, there's no other details about which argument was invalid?05:39
pooliemaybe something in ~/.bzr.log?05:39
frionthe only Google result for anything similar is http://www.mail-archive.com/leo-editor@googlegroups.com/msg06411.html and that sort of gives up on the actual cause (it suggests using an external patch tool)05:39
frionoh, didn't check, but no, not displayed, regardless of being in verbose mode or no05:40
poolieis this on linux?05:40
frionWindows05:40
parthmhello. i noticed that the imports in bzrlib.status and bzrlib.ignores are not lazy. is this intentional or just that no one has gotten around to doing it? i benchmarked (time) 'bzr st' with/without lazy and performance seems the same.05:41
frionLooking for .bzr.log actually, now.05:41
spivfrion: bzr --version should tell you05:42
frionspiv: ah, yup05:43
spivfrion: or just repeat the command with -Derror to force it to show the full traceback, i.e. "bzr -Derror patch plugins.patch"05:43
friongot the traceback already in the log05:43
frionhttp://pastebin.com/4NMfXjLF05:44
frionStill no obvious information on which argument is invalid, as far as I can tell05:45
pooliefrion is this on linux?05:47
pooliesorry,05:47
pooliejust saw your message05:47
poolieparthm, not sure off hand05:47
poolieif there's no comment explaining why they have to be non-lazy then there's probably no good reason05:48
poolietry adding stuff to test_import_tarrif05:48
spivfrion: it seems that trying to start a 'patch' subprocess is failing, perhaps simply because you don't have an executable called 'patch' on your PATH?05:49
parthmpoolie: thanks. will look at it. if there are no problems i will make it lazy as i am doing some imports.05:49
spivparthm, poolie: or perhaps because there's no observed benefit to making them lazy?05:50
poolieright05:50
frionah, that's not internal to the standalone release? the first "patch" in the path seems to be in the strawberry Perl directory, though I don't know if that's a sufficient GNU patch05:50
poolieparthm, also, perhaps some can just be removed altogether05:50
pooliewhich is better05:50
spivmwhudson's branch of pyflakes can spot unused imports (even when lazy_imports are used)05:51
parthmpoolie: will check that too.05:51
frionah that's also the only "patch" in the path05:51
spiv(FWIW, pyflakes doesn't warn about any unused imports for status.py or ignores.py for me)05:52
spivI'm a little surprised that bzrtool's patch command calls out to an external patch tool, I would have thought bzrlib has most of that functionality builtin already.05:54
frionand without that in the path, it fails with some 'can't invoke patch' message, so obviously it's trying and failing and for whatever reason Perl's patch.exe isn't sufficient05:54
frionit does seem to be buildable from bzr's core functionality05:54
poolielifeless, reading your diff now05:57
pooliefor dirstate205:57
lifelesspoolie: thanks05:59
lifelessI'm about to cook dinner05:59
lifelessthen I'll be back for a bit05:59
parthmFor a test case I need to put junk into $BZR_HOME/ignore. This seems to fail http://pastebin.com/V2VC2cBk06:04
parthmAm I doing something wrong?06:05
pooliei don't think so, but perhaps this is not a testcaseintempdir and needs to be?06:05
parthmpoolie: This is TestCaseWithTransport. I checked the hierarchy, it derives from TestCaseInTempDir06:06
pooliesorry i don't know then06:07
poolieah, maybe the code that creates ~/.bazaar has not run?06:07
spivparthm: where are you doing this?06:08
parthmspiv: bzrlib.tests.blackbox.test_status.TestStatus06:08
spivparthm: I mean, at what point in the test?  In a test method, or overriding setUp, or?06:09
parthmspiv: oh. Its a test method.06:09
parthmI want to add junk into .bazaar/ignore and then run_bzr06:09
spivOk, so that seems reasonable.  So I guess there's no .bazaar set up for soem reason, did something change there recently?06:10
spivHmm, I'm probably getting confused with the whoami change.06:11
parthmspiv: looking at tests/__init__.py there does seem to be code but it doesn't seem to be working. http://pastebin.com/RxVxpJz106:11
parthmspiv: whoami change touch EMAIL env variable and nothing else so I don't think it should matter.06:12
spivparthm: I think perhaps you have a wrong assumption about when .bazaar/ignores is created06:13
spivparthm: look at get_user_ignores()06:13
spivparthm: it has the code that does the "try open that file, if it doesn't exist create it"06:13
parthmspiv: I am opening it in write more but the creation is failing ... http://pastebin.com/V2VC2cBk ... so looks like some dir is missing in the hierarchy06:14
spivparthm: "in the write more"?06:14
parthmspiv: sorry. I meant, write mode for the test case. I don't care about existing content. Just want to add 1 junk entry.06:15
spivparthm: use the APIs in bzrlib.ignores, don't write the file directly06:15
spivparthm: compare how test_ignore works06:16
parthmspiv: good idea. will try that.06:16
spivNote that it calls get_user_ignores, or _set_user_ignores06:16
parthmspiv: ok.06:16
spivAnd _set_user_ignores explicitly does "ensure_config_dir_exists"06:16
spivOr perhaps add_unique_user_ignores would be more appropriate in your case.06:18
spivAnyway, you're running into trouble because you're bypassing the APIs in bzrlib.ignores which take care of this stuff for you :)06:18
parthmspiv: yes. that was it. add_unique_user_ignores takes care of it. thanks :)06:20
poolielifeless, ok, dirstate2 comments07:09
poolie.. sent07:09
lifelessthanks07:09
poolieit's not inherently scary :)07:09
pooliethere are both some substantial comments and some on the description07:09
zpphi everyone... I'm looking for someone that is well versed in the bzr-svn plugin for some help with bug hunting :)07:09
poolieoh i meant to say thanks so: 'thanks'07:09
poolielest all the criticism seem too much07:10
pooliezpp, jelmer's the expert; he'll probably be on in a bit07:12
poolieyou can just ask though07:12
lifelesspoolie: I appreciate the thorough examination07:14
pooliei appreciate the code and documentation, and the openness to feedback07:15
lifelesspoolie: some bits I do disagree with (I don't want hashes in the dir with working tree config files etc, experience tells us folk facing too-many-files apply big hammers07:15
lifelessfiguring out what makes things correct given fs nastiness is really the key bit, I think07:16
pooliei think so too07:16
pooliei had a go at listing adequately pessimistic assumptions07:16
lifelessI've starred your post for next pass at the code07:16
pooliei probably should have added that you can barely count on ordering in the normal case07:16
lifelessby which I mean, i won't reply till then07:17
poolieeven without crashes network clients may be incoherent07:17
poolienp07:17
lifelessbut I have read it07:17
pooliei may have a go at removing write-during-read07:17
lifelessyes07:17
poolieit may suck07:17
lifelessOTOH bad-network-protocols are bad07:17
pooliemm07:17
lifelessthe problem07:17
pooliethere's another alternative which is to just say "sorry, no"07:18
lifelesswith write-during-read is that we aim to have our operations take < 3 seconds07:18
poolieand keep relying on OS locks for writing07:18
lifelessthat would still not work on NFS, for instance.07:18
pooliesorry i don't follow you07:18
lifelessI will note that the pack repo format, which I built using an earlier version of the same algorithm has been pretty darn reliable07:18
lifelesssorry, changed horses07:19
zpppoolie: sorry... just got back :)... thanks for that07:40
zppIm attempting to create a remote branch with a bound local repo & checkout and keep getting this error when I push data to the remote branch: ErrorFromSmartServer: Error received from smart server: ('error', 'Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps')07:42
vilahi all07:43
lifelessok07:44
lifelessEOD07:44
lifelesspoolie: ^07:44
pooliehi there vila, cheerio lifeless07:45
spivzpp: ooh, interesting07:49
spivzpp: I guess that's probably https://bugs.edge.launchpad.net/bzr/+bug/48560107:50
ubot5Launchpad bug 485601 in Bazaar "missing chk node(s) for id_to_entry maps (affected: 2, heat: 12)" [Medium,Incomplete]07:50
spivzpp: that bug seems to be stalled on a way for bzr devs to reproduce it, though07:51
spivzpp: I don't suppose your repositories are public? :)07:51
spivIt's interesting that bzr-svn always seems to be involved.07:52
mohitrankaHi...08:00
mohitrankaIs it possible to give access to bzr without creating a user account at the system?08:00
=== radoe_ is now known as radoe
pooliemohitranka, over ssh?08:07
mohitrankaPoolie, yes08:08
pooliesee http://doc.bazaar.canonical.com/bzr.dev/en/admin-guide/security.html#authentication08:11
zppspiv: yep I think so too... it's causing us a lot of issues so i'm hunting it now :)08:18
zppspiv: I actually believe it might be a race condition somehow...08:18
zppspiv: if you see jelmer before i do... can you let him know i'm hanging around?08:33
zppi have a fun way of reproducing the issue now it seems08:33
spivzpp: great!08:37
igcnight all08:37
zppspiv: unfortunately it's all closed source stuff so i can't gie direct access to the repo08:37
zppspiv: but it looks like under some conditions multiple svn checkins get identical bzr rev numbers...08:37
spivzpp: Hmm!08:38
zppspiv: and these checkins then appear in svn...but the files never appear (or the log entry) in a bzr clone of the svn repo08:38
spivzpp: anyway, please post about it on the bug report.  That will make sure interested people see it, and will help pool knowledge about what's going on08:38
zppspiv: yep... definitely will do :)08:38
bialixhi all09:04
bialixbonjour vila09:04
bialixhi poolie09:05
vilabialix: privet Sacha :)09:05
bialixprivet :-)09:05
zppjelmer: are you around atm?09:05
bialixvila, at uds you asking me and Gary about adding new feature to qbzr09:06
bialixvila: about checking branches and their relations with their parents/submit branches09:06
vilabialix: yeeeees....09:06
vilaand ?09:06
bialixvila: can you file a bug report please so we don't forget it?09:06
vilaI won't forget it (in fact I badly needed it again when my HD died),09:07
vilabut the last discussions left me with the idea that I could start with command-line plugin09:08
vilaif only to explore a bit what is needed there and provide low-level stuff for qbzr09:09
vilaor any other GUI  :-P09:09
jelmerzpp: hi09:10
vilabialix: I think I saw you continuing on your idea about branches in the same repo and being able to add/remove them interactively to qlog, which is also very good and complementary09:10
zppjelmer: hi.... I'm currently chasing on bug 485601 atm... would you have a moment to lend a quick hand? I have a theory... but am not sure how to reproduce atm09:11
ubot5Launchpad bug 485601 in Bazaar "missing chk node(s) for id_to_entry maps (affected: 2, heat: 12)" [Medium,Incomplete] https://launchpad.net/bugs/48560109:11
bialixvila: ok, just head up. I recall that discussion this morning and decided to ping you anyway09:12
vilabialix: thanks, but don't worry, I won't forget this one09:13
vilabialix: it just keeps haunting me every other day09:13
bialixhmm, why people said that my summary about uds is very good? I've just written my personal impressions. I can't say for other: what they did, what they talking about09:14
bialixvila: at least summary mail to qbzr ML will be good to have, maybe somebody else has similar ideas and willing to implement ;-)09:15
=== nlisgo_ is now known as nlisgo
vilabialix: sure, I'll try to do that as soon as I recover from the fallouts of my HD death09:18
bialixoh, sorry09:19
zppjelmer: I believe there is a race condition in bzr-svn that can cause revisions to not be picked up by bzr from the svn repo09:20
vilabialix: what ??? You're the one who killed my HD ?09:37
vila:-)09:37
bialixsorry for bother you while you in such problem09:37
fullermdIt's not dead, it's just in Vegas for the weekend.09:42
jelmerzpp: there is an open bug report about an issue like that10:12
ignashi,  I am trying to install bzr on a mac, but seem to be unable to download the dmg file10:12
zppjelmer: I'm just finishing a script to reproduce it reliably, and a potential work around.  I'll file a new bug and you can mark as dup if it's the same :)10:13
ignasI keep getting not-found error10:13
ignasfrom launchpad10:13
vilafullermd: you know the funny thing about that ? I'm pretty convinced now, that the OS tried to inform me about the problem via syslog looong ago (months), but always failed to do so because... the HD had parked its heads and was refusing all requests :)10:15
jelmerzpp: cool,t hanks10:15
vilafullermd: observing syslogd consuming 100% CPU is what led to me think about this scenario10:16
vilasyslogs 100% and no disk IOs ? Wtf ??10:16
fullermdvila: Well, that's why you have the OTHER hard drive in the mirror, right?10:19
* fullermd hugs his ZFS close.10:20
vilahaaa, interesting solution... I still haven't played with raid so far...10:20
* fullermd twitches.10:21
fullermdI haven't built a system in more'n a decade without it.  I'm not paranoid; I know for a FACT that hardware it out to get me.  I don't trust hard drives as far as I can swallow them.10:22
vilaThat wasn't an option with that box anyway, I had to give it for repair as I couldn't access the single HD there (without removing the LCD and having to play with thermal glue or horrors like that)10:23
vilaHD failures are still rare enough for me that I can cure them on a case-by-case basis, I may have to reconsider though :)10:25
bialixignas: try later maybe10:27
ignasbialix, I thought broken link maybe ;)10:29
bialixwhich one?10:30
bialixif there is broken liunk then it could be a bug in lp10:30
vilabialix: no worries, you couldn't know :)10:34
bialixI'm don't10:39
mgzhey bialix, why did you put your diff filenames branch back to WIP? Looked good to land to me.11:36
bialixmgz: heya!12:10
bialixafter some discussion I'd like to change mbcs to terminal_encoding and add --path-encoding command-line option12:11
vilabialix: I think it would be better to land what has been approved first. A further (smaller) submission will be easier to discuss13:35
vila(Just a general rule, I didn't follow closely enough to know if it was approved or if some tweaks were required)13:36
mgzIt was basically approved, and yeah, further improvements could land on top.13:39
bialixthen at least I should change from mbcs to terminal_encoding13:57
bialixmgz, vila: ^13:57
vilabialix: yup, sounds fine14:00
mgzhmph, the problem with using terminal_encoding is you need to be sure it's actually ending up on the terminal (and in which case, you'd be better using unicode)14:04
mgzmbcs is at least still a reasonable option if it's going into a pipe or file14:04
parthmlifeless: ping14:09
mgzhe should be sleeping, unless he's not liking his bed again.14:10
parthmmgz: yes .. just looked up the time in google ... 1am. i really should start taking timezones into account :)14:11
bialixmgz: not really. mbcs is not good choice for piping14:20
mgzdepends where the pipe goes, which we can't know.14:20
bialixmgz: with terminal encoding user can at least change that encoding with chcp command14:20
bialixif I stick with mbcs then...14:21
mgzif it passes through some byte-manipulating program and ends up on the terminal anyway, we'd want terminal encoding14:21
mgzif it ends up in a file, we'd want mbcs (or utf8 perhaps)14:21
bialixmgz: I think the main use case: show me diff on terminal (or paging it via more|less)14:21
bialixmgz: if we want utf8, then I need --path-encoding option14:21
mgzif it's going into a program for processing, lots of apps assume their input is in mbcs14:22
bialixreally14:22
mgzyeah, the paging is the main breakage case14:22
mgzmore really screws things.14:22
bialixvila, mgz: that's why I want to implement --path-encoding for landing14:22
mgzbut bialix, the current behaviour is a output with mixed encodings, and different from what I get if I use --diff-options=something14:23
mgzso, the patch as it exists is an improvement14:23
mgz(I happen to be in a locale where the terminal encoding equals the base encoding, so I'm a little biased :)14:24
bialixyes, but I've asked people in ru_bzr, and consensus seems to be using terminal_encoding by default14:24
vilabialix: I thought poolie wanted to do some infra work that could *also* handle --path-encoding ?14:24
vilabialix: so that would be cleaner in a separate submission14:25
bialixinfra?14:25
mgzyeah bialix, but they're biased because they have a different terminal encoding ;)14:25
bialixof course14:25
mgzI'd prefer we did printing to the terminal "right" and solved the paging thing seperately14:26
mgz(there's no reason to encode to print to the terminal in windows, it's unicode anyway)14:27
mgz(it's just pipes that are the problem)14:27
bialixmgz: you know that we don't print on terminal buffer14:35
mgznot terribly hard to change that though, if it'd actually help things14:36
bialixyep, but...14:37
vilabialix: infrastructure to be able to -opath-encoding=xxx without the need to define --path-encoding, or something along those lines14:46
bialixvila: I'm not surte it will be so easy14:59
vilabialix: which is why it's better as a separate submission :)15:01
bialixOKAY I'M GIVE UP15:02
mgzehehhee15:03
mgzwe've worn him down!15:03
mgzvila: two things I'd like to bug you about if you've got the time15:05
vilabialix: :-) My feeling was that you and poolie had different pov on that, I don't want your actual submission to stay in the queue while it's sorted out, better land the already agreed upon stuff, that was my point since the beginning :)15:06
vilamgz: don't ask to ask, ask :)15:06
mgzit takes time to type!15:06
vilaoh sorry :)15:06
mgzvila: 1 - I still don't quite get what state bugs should be ending up in when closed, some people have been setting milestones on things but I don't see any option to do that on launchpad or if I should be doing this15:07
mgzack, visitors have just arrived, I'll have to be quick15:07
GaryvdMHi bialix15:07
vila1) when a patch has landed is should be 'Fix released', before that it's 'In Progress' is someone is working on it, including waiting for review15:08
vilamgz: we don't use 'Fix Committed' anymore15:08
GaryvdMI guess that you were looking the 0.14.7 release15:08
GaryvdMHi all15:08
mgzvila: 2 - if I want to create a branch, with no tree, for a test, so that I can then try and branch from it as if it were a remote repo, what's the right mechanism for that?15:09
vilamgz: it's weird that you don't see milestones, it's the last column (Affects, Status, Importance, Assigned to, Milestone)15:09
vilamgz: branch --no-tree (IIRC)15:09
vila'reconfigure --branch' may work too, but it may also be under the shared-repo control, I don't remember the exact rules there15:11
mgzright, but if I want to do that for a test15:12
mgzthere must be a way not through run_bzr right?15:12
mgz(I'm thinking specifically of testing filenames that can't be created on a windows filesystem, then trying to create a working tree from that branch)15:13
vilabzrlib.branchbuilder.py, sorry I didn't realize you wanted that for tests15:13
mgzthanks, will look for examples on that later15:14
vilamgz: there are more and more examples using it as it's a good way to avoid blackbox tests15:14
mgzseemed like it might be the right thing but slightly low-level and weird, what with having to make the magic root entries and stuff15:15
* mgz displays ignorance of how bzr actually *works*15:16
mgzback to 1 again, eg bug 58129815:16
ubot5Launchpad bug 581298 in Bazaar "bt.test__walkdirs_win32.TestWin32Finder.test_dir fails without ever being run (affected: 1, heat: 0)" [Undecided,Fix released] https://launchpad.net/bugs/58129815:16
mgzshould I be setting a milestone there?15:17
mgzbecause launchpad gives me no box for doing it (it lists importance, but doesn't let me change it)15:17
vilamgz: 1) we set milestone when the submission lands 2) looks like you're not in the right group :-/15:18
mgzokay, so should set fixed released and the milestone at the same time?15:18
vilayou *should* be able to set the importance15:19
vilayup15:19
mgzokay, thanks!15:19
vilamgz: meh, you're part of the contributot agreement group and nothing else it appears, try joining some bazaar group :)15:20
vilamgz: and be ready to receive some related mail or double-check your subscriptions ;)15:21
vilamgz: see http://launchpad.net/~bzr to join15:23
bialixhi GaryvdM !15:23
bialixGaryvdM: yes, I've looked at 0.14.715:23
bialixvila: btw, http://launchpad.net/~bzr said the team is restricted, and there is no easy way to say "I'd like to be a member"?15:25
mgzright, I was just about to say that.15:25
mgzokay, lunch for me.15:26
bialixbon app15:27
GaryvdMbialix: I'm quite sure that the 2.1 requirement was only introduced in 0.19b1.  See http://bazaar.launchpad.net/~qbzr-dev/qbzr/trunk2a/annotate/head:/NEWS.txt#L5815:27
vilabialix, mgz : Hmm, but reading this page: 'Membership is granted to people who've already been active on the list' so presumably poolie or lifeless can add people there15:28
GaryvdMhttp://bazaar.launchpad.net/~qbzr-dev/qbzr/trunk2a/annotate/head:/NEWS.txt#L44 (better context)15:28
bialixmy coworker have troubles to run 0.18 on bzr 2.015:28
bialixI don't have a details, but the only one answer for 2.0 was to use qbzr 0.1415:29
GaryvdMbialix: Please ask him to log a bug.15:29
bialixwill try15:31
GaryvdMbialix: If we don't fix the bug, then we should may be have more strict checks. (e.g. we could have checks in 0.14.7 with both minimum and max checks)15:31
* bialix is ok with that15:31
bialixwe can use bzrlib builtins check then, right?15:32
GaryvdMblacklisting in bzr would also be nice...15:32
GaryvdMbialix: Yes15:32
bialixhehe, we finally found use case for that15:32
GaryvdMbialix: There is a fix for a bug in 0.18. We just don't have a milestone...15:33
GaryvdMbug 58079815:34
ubot5Launchpad bug 580798 in QBzr 0.18 "treewidget shows wrong tree (affected: 1, heat: 6)" [High,Confirmed] https://launchpad.net/bugs/58079815:34
bialixhmm, I don't see a new revisions in 0.18 after 0.18.615:34
GaryvdMbialix: The rev not yet in 0.18, but it was a daggy fix, so it will be really fast to merg.15:35
GaryvdM*merge15:35
* GaryvdM does that now...15:35
GaryvdMbialix: also bug 54684315:36
ubot5Launchpad bug 546843 in QBzr 0.18 "bzr qlog broken with new 2.2.0 bzrlib API (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/54684315:36
GaryvdMThat description is misleading. I'm going to change that...15:37
bialixI'd like to have those bugfixes in 0.18, so I can planning next release. can you add next milestone?15:37
GaryvdMbialix will do.15:37
GaryvdMbug 546843 - better now...15:38
ubot5Launchpad bug 546843 in QBzr 0.18 "bzr qlog breaks when bzr-svn incomparable with bzrlib (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/54684315:38
bialixI'm usually adding milestone when there is something to put into release15:38
bialixok15:38
GaryvdM* incompatible...15:38
GaryvdMok15:38
GaryvdMbialix: Are the qlog labels better now?15:40
* bialix pulling new revisions15:42
bialixlabels still is not uniques, but there are indeed tooltips.15:43
bialixusing tooltip is workaround15:44
* bialix still is not happy15:45
bialixI will try to look into this in next days15:45
GaryvdMbialix: Would you mind If I uncommited a rev in lp:qbzr/0.14 commited in the last few min?15:59
GaryvdMI did it :~16:02
bialixbbl16:24
=== Adys_ is now known as Adys
siliI have a shared repository where people do checkouts, commits, and also add new branches. Am I understanding correctly that a post-commit email hook cannot be installed on the repository, but a plugin should be installed on each bzr client?17:09
Raimyou could run a cronjob with bzr-email-notifier, which is able to scan for new branches17:16
siliRaim: I think this will work; thanks.17:37
siliDoes anyone know if copying a bzr shared repository with rsync is a bad idea?17:38
silithe copy will never be written to.17:38
GaryvdMsili: I don't know.18:04
GaryvdMsili: but there use to be a bzr rsync plugin18:04
GaryvdMsili: It has been deprecated in faviour of just using bzr to pull.18:05
GaryvdMsili__ ^18:06
GaryvdMbbl18:17
MvGlifeless: Care to re-review https://code.launchpad.net/~gagern/bzr/bug560030-drop-zsh-completion/+merge/25955 ? Addressed your fixing request.18:42
lifelessMvG: thanks. The (gagern) isn't needed now, we auto-add that when sending it18:49
lifelessmoin moin everyone18:50
MvGlifeless: Shall I strip it then?18:55
MvGOh, I see you did.18:55
lifeless:>18:57
* MvG is glad to have two out of four open bzr merge requests ready to land.19:00
Guest5926hi everyone, i'm jesse19:08
Guest5926i'm thinking of using bazaar to record the history of wikipedia entries19:10
Guest5926so i'm thinking of doing a sort of revision mapping19:10
Guest5926are there any tutorials or dev doc i can refer to?19:10
MvGlifeless: thx20:03
=== kosipov is now known as kostja_osipov
lifelessanyone else notice that commit templates add lots of vws ?20:33
lifelessjam: ping20:52
jamlifeless: officially I'm on vacation today20:53
lifelessjam: I'll be very quick20:53
jamwhat's up?20:53
lifelessI'd rathe rhav ethe Patch pilot week of the 21st, before vila inserted himself20:53
lifelesscan I swap that and the 28th with you20:53
jamsure20:53
lifelessthanks20:54
lifelessnow go repair your base :P20:54
vila:)20:54
mgzlifeless: "During the week I got tired of Martin[gz]'s patches" - ha, wrong move if you were tired of them!20:59
mgz(think I provided what was needed via email, yell if there's anything else I need to do)21:00
lifelessmgz: I pinged the rt ticket to say you'd added your key to launchpad21:03
lifelessmgz: tired-of-manually-processing21:03
lifelessnot tired of the contributions.21:03
mgzI know, just teasing :)21:03
lifeless:P21:03
MvGLifeless: Shall I change the status of bug #560030 to committed or released?21:26
ubot5Launchpad bug 560030 in Bazaar "Shell completion scripts outdated (affected: 1, heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/56003021:26
lifelessMvG: if the branch landed, released21:32
lifelessand set the milestone to 2.2b421:32
MvGSeems I can't set milestones.21:32
lifelessah21:32
lifelessbzr-qa can, I think21:33
lifelessmgz: reviewed your testtools change21:33
MvGDo you want to set both, or shall I set the status without the milestone?21:33
lifelessI've done it21:33
MvGthx21:33
lifelessno probs21:34
lifelessthank you for doing all the hard work21:34
MvGOh! LP has the arrows the wrong way round in my rendering: {OLD_VALUE} <- {NEW_VALUE} instead of {OLD_VALUE} -> {NEW_VALUE}. Is it just me?21:35
lifelessrendering where ?21:35
MvGAt the bottom of the bug report, where the changes are listed after the comments.21:35
MvGThree boxes, for status, milestone and assignee, and all of them the same way round.21:36
MvGInitial change after comment 1 the same as well.21:36
MvGHmmm... but the HTML reads &#8594; which in theory should be correct.21:37
* MvG scratches his head21:37
lifelessmilestone: none → 2.2b421:39
lifelessold -> new21:40
lifelesswhat locale are you using ?21:40
lifelesstext rendering ?21:40
lifelessare you using a RTL text layout or something ?21:40
MvGde_DE, but LC_MESSAGES=C, Firefox, Gentoo, would really like to know what font it used.21:40
lifelessplease file a  bug21:40
lifelessthis would really confuse people *badly*21:41
MvGCopy & Paste displays correct glyph, so it's FF or some aspect of my font system, not LP.21:43
lifelessok21:44
MvGAdded Add-On to analyze problem, restarted firefox -> problem gone.21:46
lifelesshah21:47
mgzlifeless: thanks! all the comments seem reasonable, I'd like to bug you a bit more about how to write the tests but will reply in the review later21:49
lifelessabsolutely21:49
mgzbefore that, for the *other* patch, about stripping tracebacks21:49
lifelessyes21:49
mgzwould the debugging-testtools-itself concern be resolved by having the base TestCase for testtools-itself tests override the module __unittest variable back to False resolve it?21:50
lifelessyou want to see me cry don't you21:51
mgzwell, I'm not sure which debugging methods you're most worried about, having testtools-itself tests displaying full tracebacks seems a reasonable requirement21:52
lifelessI was teasing21:52
lifeless :P21:52
mgz:P21:52
lifelessseriously though21:52
lifelessthe __unittest variable is a terrible hack, IMNSHO21:52
mgzthis is not untrue, it is however, a hack that works.21:53
lifelessHere's what I'd like:21:53
mgzthere are a couple of other options21:53
lifeless - unit-under-test frames are shown21:53
lifeless - infrastructure frames are not shown21:53
lifeless - when the same *line* is present in both sets, its still only shown for the unit-under-test frame21:53
lifeless - if we have two threads executing tests, they don't break each other21:54
lifeless - infrastructure frames from users of testtools are also not shown21:54
lifelessfin21:54
lifelessmgz: now, if this is too hard, we can look at doing something temporary21:57
mgzI'm still not clear from that how we differentiate21:58
mgzthe callback-happiness of testtools is also problematic, can hop in and out of infrastructure code more than once21:58
lifelesshmm, I'm not sure that it does21:58
lifelessruntest and TestCase are both infrastructure21:58
mgz(but the old way also had issues, failures inside infrastructure code (for instance not removing a dir in cleanup) tended to be stripped of traceback completely)21:59
lifelessright21:59
lifelessI think its crucial that we err on too-much-info21:59
lifelessbut I'd be delighted to reduce the error margin21:59
mgzso, I can recode TestResult._exc_info_to_string to do... something not TestResult._is_relevant_tb_level related (which 'd remove some magic from the other patch as a side effect), the question is what22:01
mgztesttools has enough levels of nested calls that it's annoying not to strip *something* even in the fail-inside-cleanup case22:03
mgzit's not twisted-bad, but it's still pretty unreadable22:03
mgzokay, I need to go off and cook now, but will think about it some more and try a couple of approaches22:05
lifelessfeel free to just brainstorm22:05
lifelessI'm happy to put considerable effort into getting a good answer22:06
mtaylorlifeless: heyho...22:32
mtaylorlifeless: any idea what this means: bzr: ERROR: Tree transform is malformed [('unversioned executability', 'new-130')]22:32
lifelessyes22:36
mtaylorlifeless: awesome!22:36
mtaylorlifeless: (I was trying to do a merge-upstream)22:36
lifelessit means something is changing the +x bit on a file which is deleted / not added22:36
lifelessplease file a bug22:36
mtaylorok. will do22:36
mtaylorlifeless: on bzr-builddeb? or on bazaar?22:38
lifelessyes22:38
lifeless(I don't know where the bug lies, so choose one)22:38
mtaylordone22:40
rryanHey all, anybody know the bazaar equivalent of `hg outgoing' or `hg incoming' ?23:02
rryanI searched a little bit but didnt find anything.23:04
mtaylorrryan: what do they do?23:05
jelmerrryan: bzr missing23:05
jelmerrryan: it does both "hg outgoing" and "hg incoming"23:05
rryanjelmer : thanks!23:06
rryanmtaylor : outgoing tells you which local changesets would be pushed if you pushed, and incoming does the opposite23:06
mtaylorrryan: gotcha. well, jelmer was quicker to answer than me - but yeah, missing will fix you up :)23:08
mtaylorlifeless: I figured out the cause at least - in the tree I had moved a file, license.py, to internal/licensing.py and then added a new file called license.py23:12
mtaylorlifeless: this caused merge upstream to become confused23:12
mtaylorlifeless: if I re-expressed that in the upstream bzr tree as adding a new file internal/licesnsing.py and modifying license.py with the new contents - all worked fine23:13
lifelessmtaylor: please add to the bug23:13
lifelessmtaylor: probably tarball import related23:13
mtayloryup23:13
lifelessbbs, <-> doctors23:25
pooliehi all23:49

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