/srv/irclogs.ubuntu.com/2011/09/27/#bzr.txt

pooliehi all01:12
pznneed newbie help on bzr, this is my first day with bzr. already did a svn dump, and used svn2bzr.py to create a bzr repository. now I need to know how to "commit"02:18
pznsuppose that I want to have a central repository in 192.168.1.1 via ssh. how can I specify bzr to commit to this machine?02:19
beunopzn, so, you may want to use bazaar in a distributes manner02:20
pooliehi beuno02:20
beunoinstead of centralises, like svn02:20
beunopoolie!02:20
beunoheya02:20
pznbeuno, no, I want to use it centralized, for everyone at my work to have a center place to commit02:20
beunopzn, have you seen http://doc.bazaar.canonical.com/bzr.2.4/en/mini-tutorial/index.html?02:20
beunoor, I guess, http://doc.bazaar.canonical.com/bzr.2.4/en/tutorials/centralized_workflow.html02:21
pznbeuno, thanks! it seems exactly what I need!02:23
pooliehooray02:27
mangojambohi04:46
vilahi all !06:15
=== vila is now known as babune
babuneon 8 slaves, 3 are failing, 1 is hanging spuriously06:15
babune2 are hanging "reliably" freeBSD and OSX, maverick is hanging spuriously06:16
=== babune is now known as vila
vilapoolie: and that's after filtering the failure for launchpad appearing dead while making tea locally ;)06:17
pooliehi vila06:19
vilapoolie: _o/06:19
vilapoolie: feedback on library_state use wanted: https://code.launchpad.net/~vila/bzr/491196-cmdline-options/+merge/7700306:32
fullermdWell, stop making tea, if it's breaking launchpad   :p06:34
vilafullermd: ok, back to coffee then :)06:34
vilaI was only waiting for someone to mention it ;)06:35
fullermdGood thing I'm around.  So many people are just so unwilling to embrace the obvious solutions.06:35
vilapoolie: the ip route add/del trick was a good idea despite the babune fallout (unrelated to the hangs though)06:37
vilabbiab07:15
=== AuroraBorealis is now known as Aurora|sleep
poolievila, hey i'm glad to hear it07:41
vilapoolie, jam, jelmer, Riddell, mgz: standup in five minutes ?07:54
Riddellstand up, clap hands, shout bzr07:55
poolieyup07:55
pooliemgz your mission is to get linux audio working in 5 minutes07:55
vilapoolie: hehe, I think he still needs to join :)07:57
pooliemgz, hi?08:02
vilamgz: hey ! Join us on mumble !08:02
pooliejam, for "i don't understand the encoding" byte strings there's also the option of doing what py3 does08:15
jampoolie: sure. We just need to figure out how we want to represent them internally in bzr, especially how that gets encoded into long-term storage.08:16
poolieyeah08:16
jamI don't know what happens if you try to create a file from that, etc.08:16
=== jam changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jam
pooliei see http://babune.ladeuil.net:24842/view/%20High/job/selftest-osx-10.6/305/console has failed08:28
pooliethe meaning of the failure is not obvious08:28
poolieok08:39
poolieso, vila, could you please propose about two sessions for uds?08:39
poolieon, i would guess bfbia and bzr/lp/udd08:39
poolieand other topics, if you want08:39
jamvila: I see this failure on Maverick: http://babune.ladeuil.net:24842/job/selftest-chroot-maverick/222/testReport/junit/bzrlib.plugins.launchpad.test_lp_directory/TestDebuntuExpansions/test_bogus_distro/08:39
poolieperhaps one specifically about merging quilts?08:40
jamwhich indicates it is actually trying to connect to Launchpad08:40
vilajam: forget about that one08:40
jamlp_directory.py", line 99, in _resolve_via_xmlrpc08:40
jampoolie: it would be interesting to get feedback about what people actually expect that to mean08:40
vilajam: I was redirecting lp requests to a blackhole at that point in time while testing the make tea stuff08:40
jamvila: k. Well, we shouldn't be contacting lp during the test suite in general, it is sort of ugly. I wonder if we can easily do it better.08:41
jamcertainly, we should be able to run the test suite without an internet connection at all.08:41
pooliejam, 'that' meaning quilt merging?08:41
jampoolie: yes.08:42
vilajam: yeah, this has been discussed in the past08:42
jamThere are a lot of possible results from merging quilts.08:42
jamvila: I think those tests were written by barry, who probably didn't realize08:42
vilajam: yes it was and that's when it was discussed08:42
jamanyway, thats the only 'failure' for maverick I found, which we certainly could fix.08:43
vilasilly jenkins doesn't show the killed builds anymore08:43
jamI realize you have more knowledge about what is going on than in exposed via the babune webpage, though.08:43
pooliejam, ok, so a session about it would probably be good08:44
poolieprobably better if we go in with an idea about how it ought to work08:44
poolievila, btw, you're pp this week08:44
vilapoolie: you mean next week ?08:44
poolieoops, i meant jam08:44
poolieyou're fine08:45
jampoolie: yep, I updated the IRC topic08:46
jamI saw your wiki update08:46
mgzis there anything you need me to do or prepare for the UDS sessions poolie?08:46
vilapoolie: which track did you use at the last UDS ?  Fundations ?  Other ?08:50
jelmervila: yep, foundations though I think the track leads will shuffle things around as they see fit08:52
pooliemgz, hm, perhaps you could pair with vila on the proposals?08:52
pooliethat will give you some mental framework for it08:52
vilajelmer: ok, is there a process documented somewhere to do a proposal ? (poolie, mgz, good idea ;)08:52
pooliethere's some ubuntu discussion in https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2011-September/012901.html08:53
mgzcool, I will follow along08:53
jelmervila: I think jono or jorge posted a "how to do a UDS session" thing to the ubuntu-devel list last UDS08:54
jampoolie: do you think we should try to close the 'server-read' side after SIGHUP?08:55
jam(shutdown(SHUT_RD), etc)08:55
jamI don't know if that is going to help us on detecting server-side-wants-to-be-done earlier.08:55
pooliehm08:56
poolieas you said there's a lot of buffering08:57
pooliei think shutdown also has different win32 behaviour08:57
jampoolie: looking here: http://msdn.microsoft.com/en-us/library/ms740481%28VS.85%29.aspx08:58
jamIt seems to say, the local process can no longer '.recv()'08:58
jamhowever, TCP will still queue things up08:58
jamso it is only a in-process flag08:58
jamso yeah, it does nothing08:58
jamah, I guess shutdown(SEND) will send a FIN packet.08:58
jamThat may be better than just close()08:59
poolie> For TCP sockets, if there is still data queued on the socket waiting to be received, or data arrives subsequently, the connection is reset08:59
poolieso the client gets a ECONNRESET09:00
pooliethis is a bit alarming if the server has in fact read the whole stream09:00
poolieand it also breaks the other side of the connection09:00
poolieso istr this is pretty useless on windows09:00
jampoolie: sure. Also, the most important reconnect to get working is bzr+ssh IMO09:02
jamso whatever we do has to cope with how ssh will treat the signal09:02
jambut you have a very good point09:02
poolieso09:02
jamwe can't just stop the read side, because the current request may be reading from the client.09:02
poolieso the server's going to finish its current request then close the socket?09:03
pooliethere is one option09:03
pooliei forget how the server's actually hooked up09:03
poolieon lp09:03
jampoolie: i'm pretty familiar with it :).09:03
pooliebut if stdin and stdout are different fds, eg if they are pipes, then you can simply just close stdin09:03
poolieand that will give a clean message to the ssh server that it has closed, which it can pass backto the client09:04
poolie:)09:04
jampoolie: right, you could close stdin, except that the "current request" may be pushing a stream of data from the client.09:04
poolieright09:04
poolieyou can close it at the point you've decided you're not going to read anything more09:04
jamright09:04
jamthat has to be done pretty much on a per RPC level, though I'm pretty sure all of them are defined as "read for a while" then "write for a while" then done.09:05
jamSo you could notice "I transitioned to the 'write' phase, and I'm requested to stop after this, close the read side."09:05
poolieyep09:05
poolieso you said originally 'do i think we should do this'09:06
pooliei don't think it's totally necessary09:06
poolieit seems like a thing that could be done later09:06
poolieit's not clear to me it will actually help, because i'm not sure the client will not get a very clear message that the server's not prepared to read any more09:06
pooliei'm not sure it will be any more clear, or helpful, than the server just sending the response to the current rpc and then simply closing the sockte09:07
jampoolie: right. Digging into it feels like something we can try in the future, but in reality we have to just handle that we can't reliably detect server has shutdown before we start trying to send the new rpc.09:12
jamvila, poolie: Who's sending the standup notes to the list?09:12
vilajam: please do09:13
jamwill do09:13
vilajelmer: can't find that in ubuntu-devel, do you have an URL ?09:15
jamsent09:16
jelmervila: hmm, not sure09:17
jelmervila: I thought it might have been linked from summit.ubuntu.com, but that appears to be down atm09:18
jelmervila: one of the ubuntu community team members should be able to point you at it09:20
poolie+109:20
pooliefor instance dholbach09:21
vilajelmer: I'll try that too, I'm trying to get touch with slangasek ATM09:21
poolieit would be worth engaging with him even if there are documents09:21
* vila nods09:21
vilaboth pinged09:22
vilajam: jenkins hiding the killed builds seems to be a very recent change, in the mean time, I've started builds for OSX and FreeBSD which are longer than usual indicating a hang:          http://babune.ladeuil.net:24842/job/selftest-freebsd/buildTimeTrend     http://babune.ladeuil.net:24842/job/selftest-osx-10.6/buildTimeTrend09:27
jamvila: is there a way to get the raw subunit output?09:28
jamor something that can give individual test times?09:28
mgzjam: with parallel builds there are multiple subunit streams which complicates things09:29
vilaonly on success AFAIR09:29
mgzif all goes correctly babune can show the build times09:29
mgz...but yeah, what vila said09:30
vilaand parallel are the first line of defense against hangs :-/09:30
mgzthere's no good option when something goes really wrong, having to kill thw whole job without any feedback on where the problem was is... troublesome09:30
vilaor leaks leading to slave crashes or whatnot09:30
jelmervila: Steve's in Portland I think, so not likely to be up at this hour :)09:31
mgzso, I did add a flush at test start to subunit a while back, so if all streams get to disk there's some hope a test name could be obtained09:32
mgzwhether that would actually be enough to repro is another matter09:32
vilamgz: parallel use pipes no ?09:32
vilaoh you mean, the main one09:32
vilajelmer: thanks for the heads-up, I'll retry later today09:33
mgzah, yeah, the concurrent reporter might defeat us. hm.09:33
vilamgz: but the main one is what jenkins collect so...09:33
jelmervila: submitted a review to your cmdline-options MP, btw09:34
vilajelmer: thanks, let me see that09:35
vilajelmer: pushed a new version with some fixes, will look at hiding the option but see my remark09:49
pooliejelmer, did your bfbia db patch get unblocked?09:54
jelmerpoolie: sortof, it's now a trivial one-liner that's not particularly important09:54
pooliefrancis reminded me today that unless you specifically need review from robert, you can probably get a faster answer from stub09:54
poolieoh right, i saw it shrunk09:54
poolieok09:54
jelmerpoolie: I'll take it off +needsreview, thanks for the reminder09:54
jelmerpoolie: It will most likely still be necessary, but I'd rather get the other stuff landed first; if I have to do more database changes I'd rather do them together09:55
poolieno problem, just wanted to see if you were blocked09:56
poolierobert gets some kind of prize for bugspam09:56
poolieheh, of the kind jelmer used to do :)09:56
vilajelmer: hidden options are still shown in the help ! So I've pushed a new fix to hide it.09:59
jelmerpoolie: :)09:59
jelmervila: ah, cool09:59
jelmervila: I don't think anybody will use --override-config (vs -O), which is also why I'm a bit hesitant to penalize all help texts when adding it.10:04
jelmervila: I'm surprised hidden options are still shown in help though, isn't not showing them there the whole point of hidden?10:05
poolieuh, hidden?10:05
pooliei would think it should be a global option10:05
mgzthat was my thought reading the mp10:06
mgzshowing it in the help for every command seems... unnessersary10:06
Riddelldoes bazaar@canonical .com go anywhere?10:06
mgzit might be less discoverable, but as you have to go off and find the config option names anyway...10:07
viladoesn't global options require each command to declare it ?10:07
lifelesspoolie: reminds me, I have another 75 bugs to triage today10:07
mgzlifeless: you're insane :)10:08
poolielifeless,  is spamming ~40 people really worth the clarity?10:08
lifelessmgz: we're closing a lot that are stale/done/clearly-wont-fix10:08
lifelesspoolie: they are welcome to unsubscribe :)10:08
pooliei refer specifcally to changes that are only mid->low10:08
lifelesspoolie: and yes, its well worth it10:08
poolieyawn10:10
mgzlaunchpad isn't quite smart enough to not send mail for trivial changes yet10:10
poolieyeah10:10
pooliethat would be nice10:10
poolieas would having an internal activity view so i could turn off mail10:10
poolieone day10:11
pooliegood night all10:11
vilapoolie, mgz, jelmer : Right, hidden options should be ouput in help, that's indeed the point, so there is a bug there10:12
jelmerhave a great night poolie10:13
jelmer*evening10:13
vilaand both standard and global options seem to be affected10:13
vilajelmer: bug 860424 filed10:15
ubot5Launchpad bug 860424 in Bazaar "standard and global options don't respect their hidden attribute and are shown in help" [Medium,Confirmed] https://launchpad.net/bugs/86042410:15
vilajelmer: so, the consensus seem to be this should be fixed ?10:15
vilajelmer: should I put the -O proposal as wip in the mean time ?10:16
vilajam: jenkins hiding interrupted builds seems to be a very recent change, in the mean time, there are two builds hanging right now for FreeBSD and OSX (  http://babune.ladeuil.net:24842/job/selftest-osx-10.6/buildTimeTrend and http://babune.ladeuil.net:24842/job/selftest-freebsd/buildTimeTrend)10:19
vilajam: I killed the previous ones this morning and they were showing up at the same place, I also did a jenkins upgrade which may have introduced this behavior change but... that's not mentioned in the changelog)10:20
mgzyeah, the console output isn't very useful because it's been syncronised to make sure all parts of a test appear together10:29
jelmervila: Yeah, I think this should be fixed first10:33
vilahaa, haa, haa, haaaa, shaving the yack, shaving the yack10:33
vilalet's do that after lunch :)10:34
jelmerwell, the problem otherwise is that we'd have to update the help texts and then change them when that bug gets fixed10:34
vilajelmer: oh, if it's hidden, is that ok with you to keep --override-config or do you have  (yeah I know)10:34
jelmervila: if it's hidden I don't mind there being a --override-config10:35
vilaor do you have a less ambiguous proposal than --option (or am I the only one feeling it's ambiguous ?)10:35
vilaok10:35
vilacool, thanks10:35
jelmervila: btw, have you seen the config system used in bzr-builddeb?10:55
jelmerIt's also something that could very well use stacks10:56
vilajelmer: not in detail, but I mailed you a question about option expansion long ago :)10:56
vilajelmer: do you see missing features in the stack based design for builddeb >10:56
vila?10:56
jelmervila: not as far as I can tell10:58
vila\o/10:58
vila:)10:58
vilajelmer: hmm, there is a possible workaround for -O: handle it as --builtin, --profile, --lsprof, --coverage and so on and just forget about making it a standard option and its fallouts11:34
mgzvila, that's a choice between `bzr -O... command ...` and bzr command -O... ...` is it?11:35
vilawow, dunno, let me check11:35
viladoh !11:36
vilaindeed, that's a side-effect of the implementation but it's not a choice, *both* are handled11:36
vilaI don't think that was a conscious choice when implemented but thanks for solving that puzzle ;)11:37
vilathe implementation just remove such options from the argv *before* calling cmd.run() no matter where they appear11:38
vilajelmer: ^ ?11:40
jelmerah11:40
jelmervila: I think it should indeed be a global option11:41
vilaerr, as in forcing all commands to declare it ? Or as in those pseudo-globals I mentioned above ?11:42
jelmerpseudo-globals mentioned above (how are they pseudo?)11:43
vilathe distinction is quite blurry as some are registered as globals, some not.. ha, and I think the pseudo-ones  are documented in help_topics._global_options *-)11:43
vila8-) even11:43
vilaright, the help there makes that clearer11:44
jelmerhmm, my upload for 2.2.5 is being rejected11:49
vilaghaa, my lp-propose crashed :(11:51
jelmer(2.2.5 seems to have only 3 bugs that are actually relevant for ubuntu, btw)11:51
vilajelmer: should be the moon, let's retry :)11:51
jelmervila: already tried twice, not sure what's wrong11:51
vilajelmer: yeah, I was kidding11:52
jelmerI didn't think you seriously meant it could be the moon >-)11:52
vilajelmer: but bug #715000 and #710410 sound good to release though and the last release was looong ago11:52
ubot5Launchpad bug 715000 in Launchpad itself "Stacking is not fully transitive" [Critical,Fix released] https://launchpad.net/bugs/71500011:52
ubot5Launchpad bug 710410 in QBzr "ConfigObj is able to write bad branch.conf which is not possible to read back" [Medium,Confirmed] https://launchpad.net/bugs/71041011:52
vilahuh ?11:53
vilabug #60918711:53
ubot5Launchpad bug 609187 in bzr (Ubuntu) "users are not warned when branching ubuntu:foo (or lp:ubuntu/foo) and the package import of foo is out of date" [High,Fix released] https://launchpad.net/bugs/60918711:53
jelmervila: bzr uses the system configobj so bug 710410 isn't relevant11:53
vilayeah, read the bad number11:53
jelmerbut yeah, those other two are still nice to get fixed in maverick11:53
vilaI really meant 60918711:53
jelmerI actually meant 805809 rather than 60918711:54
jelmerI doubt there are any Ubuntu developers who are still on Maverick11:54
vilayeah, I was about to mention that this one is pita11:54
vilajelmer: anyway, I'll ask oulder for more feedback next time I'm about to cut a release for SRUs but... 2.2.5 is ready to release, no bugs are targeted to 2.2.6...11:56
vilalouder not oulder11:57
vilajelmer: and I won't object about a discussion of what we should do we all our series, I don't have objections either about EOL'ing 2.0 (planned for 2011/11 so far, will not be SRUed imho), keeping 2.1 for lucid12:00
vilafor 2.2 the plan is 2.2.6 in 2012-02 and 2.27 in 2012-09 (if bugs justify that) and EOL too12:01
vilathe plan for 2.1 is not that clear in my mind ;) But it's an LTS so we may have to support it longer12:01
jelmervila: I think this is still enough to do a release for, but I do think we should consider whether releases are necessary (especially for old series)12:05
vilafull agreemnt12:05
vilaI *always* ask for feedback before doing releases for old series, may be I should do that earlier and *louder*, but I'm pretty sure this one was discussed12:06
vilajelmer: 瑨灴㩳⼯潣敤氮畡据灨摡渮瑥縯楶慬戯牺㠯〶㈴ⴴ楨摤湥漭瑰潩獮⬯敭杲⽥㜷㔱12:09
vilagrrrr12:09
jelmervila: ehh.. sure?12:09
vilajelmer: I swear, I pasted: https://code.launchpad.net/~vila/bzr/860424-hidden-options/+merge/7715912:09
vila:)12:10
vilajam: http://paste.ubuntu.com/697835/ is what I found on the OSX slave, not sure it's related but the smart server being involved in all cases is suspicious in itself12:18
vilajam: http://paste.ubuntu.com/697836/ is for the FreeBSD one (not clearly related to the OSX one, so... both may not be valid starting points)12:19
mgzphew, enough starting at pyrex generated C, have reproduced the right error12:24
jammgz: its not so bad once you learn to ignore _pyx_v_ :)12:32
jamvila: what I really don't understand is why one parallel subprocess would cause another one to hang. Or is it just that things are *slow* not that things aren't working?12:34
jamand can I get ssh access to those machines?12:34
vilawell, probably the main process is waiting for a hung children12:36
vilabut as mentioned this morning, I've never been able to debug the jenkins runs themselves, far too many layers involved there12:37
vilayou can use jenkins (notably the *subset* jobs) to restrict the tests and better identify the culprits but in the end you need to know which race it's about to fix it12:38
jelmerRiddell: I reviewed your i18n-plugins branch12:44
jelmerRiddell: I wonder if we need some sort of mechanism to prevent loading all po files for all plugins all the time12:45
jamvila: are you sure message is a 'global option' ?13:16
jamI don't think you can do "bzr status --message"13:16
jamI think of global as more "--verbose", etc.13:16
jamAnd your proposed "-O" would certainly be global.13:16
vilajam: see option.py13:16
vilajam: and see cmd_log which hides it13:17
vilajam: and try 'bzr help log'13:17
jamvila: cmd_log just implements a regular Option(message, hidden=True)13:19
jamI think you want to look at "_standard_option" in option.py13:19
jamSo, to use better terms.13:19
vilathat's where I came from :)13:19
jam_global_option is just a defined option that Commands can reference by string, rather than having to use the Option class13:20
jam_standard_option is an option that is available to all commands without them doing *anything*13:20
jamand those probably can't be hidden13:20
jamyour -O should be a _standard_option and you want it to be hidden.13:20
vilano, it's just asking for trouble, it's far easier to make an option similar to --lsprof and the like, read the irc log13:21
jamvila, from your patch:13:21
jam+_standard_list_option('override-config', short_name='O', type=unicode, +                      help='Override a configuration option value,' +                      ' e.g. -Oname=value')13:21
jamsorry about the bad paste, but it is *clearly* a "_standard_option"13:22
jamnot a global one13:22
vilajam: yes, that's a wrong approach, read the other comments and the irc log13:22
vilaand my last push on this proposal (which lp should be displaying rsn jelmer ;)13:23
jamvila: I don't see anything in the "other comments" that it shouldn't be a standard option13:23
jamI think it *should* be a standard option13:23
vilatry the irc log ?13:23
jamvila: where ?13:23
vilahere13:23
vilait was discussed earlier13:23
jamtoday, yesterday, 3 hours ago?13:23
jamI guess when should have been a better question13:24
vilajam: certainly not before the additional revisions on the mo :)13:24
vilas/mo/mp13:24
jamvila: before or after the standup?13:24
jamvila: I'm pretty sure poolie meant to say "standard_option" not global option13:25
jamhe meant global as in, applies to every command13:25
jamwhich is what I originally thought the bug was, etc.13:26
Riddelljelmer: I think plugins can choose to not load the gettext file until needed if they so wish13:26
vilajam: from 11:34 my time13:26
vilajam: read the log, global options are opt-in for all commands13:26
jamvila: I don't think "-O" should be opt-in13:27
jamI don't think poolie thought so either13:27
jamhe never commented13:27
jamI'm 75% sure when he said: "i would think it should be a global option" he meant that it should apply to all commands13:27
jamnot be opt-in13:27
vilabut of course it shouldn't be opt-in which is why it shouldn't be a global option13:27
jamvila: so from what I can tell, the *real bug* is that _standard_options don't respect hidden, which you haven't fixed13:28
jamand would thus still block landing -O13:28
vilaright, if your point is to block landing, I'm sure you can find a way to get there13:29
jami'm not specifically trying to block landing. Jelmer asked that -O be hidden13:29
jamyou said "global options don't respect hidden"13:29
jambut they do13:29
jamyou noticed that13:29
jamyou haven't handled "standard options don't respect hidden"13:29
jamI'm not trying to block you13:29
jamjust pointing out that the bug is still there13:30
vilanow, would you mind reading the log and having a look at bug #860424 and the assiciated mp we may have some progress13:30
ubot5Launchpad bug 860424 in Bazaar "standard and global options don't respect their hidden attribute and are shown in help" [High,In progress] https://launchpad.net/bugs/86042413:30
jamvila: I've read all of that13:30
vilawhen ?13:30
jamvila: I've read them 2 times while we've been discussing it13:31
vilaha, you commented on the mp, why didn't you start with that ?13:31
jamvila: I was poking you on IRC to point out the MP, I could have linked it, I guess13:32
vilaright, anyway, for  https://code.launchpad.net/~vila/bzr/860424-hidden-options/+merge/7715913:32
vilaI think message and log are still appropriate since they show that a global option can be hidden by a specific command13:33
jamvila, so yes, global options are already hidden. That doesn't fix the full bug, though, does ti?13:33
jamthat _standard options are not hidden?13:33
vilabut my point is: do we really want to hide a standard option ?13:33
jamSo to start with, yes, I was a bit confused because "global option" isn't a global option13:33
vilawhich of the existing ones would you hide ?13:33
jamvila: -O13:33
jamas discussed13:33
jamwhich started this whole thing13:33
vilayou miss the point13:33
vila-O is *not* a standard option anymore13:33
jamvila: why not? (i think everyone has actually said it should be)13:34
jam(caveat the confusion between global_option and standard_option)13:34
vilaexpect it should be hidden which standard options doesn't allow13:34
jamwhich is a bug13:34
vilareally ? Which use case do you have ?13:34
jamvila: I feel like we are talking past eachother.13:34
jamDo you feel that -O should be explicitly stated for every command?13:34
vilano13:35
jamk13:35
jamThat makes it a standard_option, right?13:35
vilano13:35
vilasee my last revision13:35
vilajam: is 'coverage' a global option ?13:36
vilajam: is 'coverage' explicitly stated for every command ?13:36
jamvila: 'master options' as they are listed were implemented before we had standard_option13:36
jamI really think standard_option is a better framework for it13:36
vilasame goes for a bunch of them, the confusion is that *some* of them are still declared in option.py13:37
jamAll of the ones in run_bzr should be removed, IMO13:37
jamit is a *really* bad argument parser that I wrote way back when13:37
jambefore we integrated with optparse and made it possible to do nice things13:37
jamlike "--lsprof-file foo" doesn't work.13:37
jamsorry13:37
jam'--lsprof-file=foo' doesn't work13:37
vilafell free to fix it :) In the mean time it's out of scope for bug #49119613:37
ubot5Launchpad bug 491196 in Bazaar "want a way to set configuration options from the command line" [High,In progress] https://launchpad.net/bugs/49119613:37
jamYou have to spell it "--lsprof-file foo"13:38
jamvila: I feel you did it the right way the first time13:38
jamwe just want to allow hidden=True to work13:38
vilajam: hehe, thanks, me too13:38
jamwhich doesn't seem very hard13:38
vilajam: yeah, I tried that and saw this wasn't trivial *at all* so I found an alternate way13:38
jamvila: Once stacks are generally supported, I think it should stop being hidden.13:38
vilaeverybody is telling me I try too hard but when I use shortcuts you complain, take your pick ;)13:39
vilajam: well, I can turn it into a standard option then ;)13:39
jamvila: well, different people are saying different things, we are allowed to have different opinions13:42
vilasure, but in this case there is a separate bug for the standard option that can't be hidden and that's not blocking bug #491196 anymore13:44
ubot5Launchpad bug 491196 in Bazaar "want a way to set configuration options from the command line" [High,In progress] https://launchpad.net/bugs/49119613:44
vilain my mp regarding the former I said I don't think hidding a standard option makes sense13:44
jamvila: I think lsprof, etc should probably be turned into standard options, at which point we probably would want them hidden as well.13:45
vilaand I'd rather spend time on migrating the remaining options than implementing a feature nobody needs13:45
jamdigging into it, I'm having a hard time determining why they aren't hidden13:46
vilaexactly13:46
jamgiven they seem to go through the same "is_hidden" code paths13:46
mgzthere seems to be agreement on the basic goal of -O everywhere but not in help13:46
vilano they don't13:46
vilathey never call add_option which is where it's handled13:46
mgzjust the specifics need sorting out13:46
mgzthe way global options are done seems like a bit of a hack to me,13:48
jammgz: it was a big hack, written about 5 years ago13:48
mgzand all the current ones are --long-likely-unique string form which at least is safe to find and pick out13:48
mgzI'm not sure adding a more option like -O that needs arguments is sane13:49
Riddellhow do I log onto http://blog.bazaar.canonical.com/ again?13:49
mgzRiddell: not done it myself since the move from wordpress I'm afraid13:49
jamRiddell: I think you go there, click log-in under "Meta" (scroll down on the right)13:50
mgzjam: hacks that survive often have things going for them :)13:50
jammgz: The original code in that area says circa "974.1.26"13:50
mgz^*'a more complex option'13:50
jam2005-08-1813:51
jamso 6 years ago13:51
mgzit's like a crocodile.13:51
mgzone little meteor ain't gonna take it down.13:51
jamvila: so... updating the new bug to say "options that are here should be migrated to hidden standard options", and then punting on doing that for your patch is ok13:53
jamRiddell: did you find your way to the dashboard?13:56
Riddelljam: yes thanks13:56
RiddellI expected "login" not "log in"13:56
jamI agree it is a bit hard to find log in13:56
jamgiven how many portlets there are on the side13:56
jamvila: interestingly enough, your diff on: https://code.launchpad.net/~vila/bzr/491196-cmdline-options/+merge/77003 stills says "Updating diff"13:57
jamand has since the start of this discussion.13:57
jambtw, pointing me to the IRC conversation and the bug etc was a red herring. Nowhere did you actually say the change to make it like --coverage/--lsprof (at least that I can find)13:57
vilanot for me ;)13:58
vilajam: well, you were following the path I followed myself, I tried to point you at the missing steps before talking about the end result13:58
jamsure, but you made it seem that things had been decided, which I could not actually find13:59
vilafor all commands: standard options, help is messed up, use hidden, it's broken, file a bug, oh, it's hard to fix but there is shortcut, use the shortcut13:59
vilayeah right, you didn't mentioned you commented on the bug mp, so, are we on the same page now ?14:00
mgzRiddell: pretty pictures!14:00
Riddelldoes highlight that the pixel alignment on qdiff's central widget isn't great14:03
mgzhm, that's true, it's up a bit. could pretend it's a 3d effect? :)14:04
Riddellhmm, licencing breakage, test_copyright requires all files to have "copyright canonical" but with the new harmony agreements that might not be right14:05
mobbyHi! Hope you don't mind me asking this here...14:15
mobbyI've been looking at the Bazaar Docs and came across the "switch" command. Apart from how uncommitted changes are dealt with what is the difference to the colo plugin?14:15
jelmermobby: the main difference is where the branches live14:16
fullermdI'm not sure that question makes any sense.  It's like asking how donuts are different from fingers...14:16
jamRiddell: potentially, except we haven't had to actually change anything yet14:17
jelmermobby: assuming you're talking about using "bzr switch" in a lightweight checkout14:17
jamat least for core bzr14:17
mobbyOk my understanding of "switch" is likely to be wrong then. I was reading the Local Sandbox section of the "Organising your workspace" page. It sounded very much like what the colo plugin does.14:18
fullermdI think you're confusing (or confusing us) a command with a layout...14:19
fullermdcolo isn't an alternative to switch (that's nonsensical), it's an alternative to dir-based branches.14:20
fullermdYou'd need (or not need) the switch command just as much with one as with the other.14:20
=== shadeslayer is now known as shocklateboy42
=== shocklateboy42 is now known as shadeslayer
mobbyYeah sorry. I understand "switch" is a command rather than a layout.14:22
mobbyIt was more the "local sandbox" workspace layout sounded like how the colo plugin works, but is achieved by core Bazaar rather than through a plugin.14:22
mgzmobby: that's basically right, and how I do things on this machine14:23
jmlvila: there's a comment in pkgimport.conf in lp:udd saying that it could use expand_options once bzr 2.4+ is available14:23
mgzI have a shared repo, with lots of branches under it without any workingtrees, and one 'tree' branch that I use switch on14:23
jmlvila: it looks available to me14:23
vilajml: not on jubany :-/14:24
jmlvila: ah, ok.14:24
vilajml: it's in the pipes though14:24
mobbyOk good, that was my understanding of how it works. Sorry my initial question was misleading.14:24
vilajml: so, how did you end up there ?14:24
jmlvila: I'm fetching information from each package in Ubuntu14:25
jmlvila: lp:udd does 90% of what I need.14:25
vilahaaaa, of course, ok, thanks ;)14:25
jmlvila: it needs to be refactored though14:26
vilajml: oh yes, but if you don't need to *write* on lp, may be the udd/lpapi.py cover your needs ?14:27
jmlvila: well, that needs to be shoved into lazr.restfulclient14:28
vilahmm, no, sorry, I thought more have been put there14:28
jmlvila: I'm thinking more of the stuff around the meta.db, handling job failure, etc.14:28
jmlparallelization.14:28
mobbyjelmer, fullermd, mgz: Thanks for your help.14:29
vilaright, so mass_import is indeed the right target for that14:29
briandealwisMartin asked that I add a blog entry about bzr-tiplog to blog.bazaar.canonical.com and added me to ~bzr-bloggers.  How do I actually post an item?14:29
mgzjam replied to that message on list saying the same thing before I got as far as hitting sned...14:33
mgzbriandealwis: Riddell might be just the person to ask :)14:33
Riddellhmm, I don't know how to add a new user14:34
jambriandealwis: go to that webpage: http://blog.bazaar.canonical.com14:35
jamRiddell: he should be added, since he was added to bzr-bloggers14:35
jambriandealwis: on the right hand side, (scroll down a bit) there will be a "Log in" link14:35
jamfollow it, and click a few login buttons, and you should get to the Dashboard14:35
briandealwisjam:  ok, thanks14:39
yshavithi all, sorry if this is a dumb question... I've got a branch A that has gotten unwieldy, and I'd like to start from scratch -- but I do want to keep some of my work. My thought is to start a new branch B, and copy just the work I want from A into B. My question is, am I best off just using cp, or should I merge A -> B, then revert the files I don't want? Or does it not really matter?15:15
fullermdI think the answer is going to depend on just what is "unwieldy" about it...15:21
yshavitfullermd: first off, it's 4000 lines away from trunk at this point...15:22
yshavitfullermd: I was trying to do too many things, and some of those things I ended up doing broken. So I'd like to "rewind" it, except the parts I want to keep aren't cleanly delimited by revno15:23
mgzyshavit: it's mostly a matter of taste (so I should leave this up to fullermd), but I'd cherrypick bits across from the old branch and clean up as you go15:31
yshavitmgz: alright, thanks15:31
* fullermd is somewhat frightened at the thought of anybody leaving matters of taste to him, and considers it a sign that somebody needs strong medication...15:32
mgzso, use merge where it's useful, but with ranges or `bzr revert --forget merges` after15:32
yshavitmgz: ah, I hadn't seen the --forget before. That could be what I'm looking for. Thanks!15:33
mgz*--forget-merges15:33
yshavitThough the more I look at this diff, the less I'm sure it can be separated out so cleanly. API changes ftw... :-\15:34
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
jameswhello, would someone please kindly explain the difference between pull and update to me?16:13
fullermdpull manages a branch relative to another, update managed a working tree relative to its branch.16:14
vilajam: natty contaminated by the hangs http://babune.ladeuil.net:24842/job/selftest-chroot-natty/231/16:53
=== deryck[lunch] is now known as deryck
=== beuno-lunch is now known as beuno
mgzright, I need to get ready to leave17:25
Matt_at_HPgood afternoon all17:43
Matt_at_HPI am working on a image-based (hdd clone) style version control system for my department and was just wondering if bazaar has issues with 8GB+ binary files17:45
=== yofel_ is now known as yofel
Matt_at_HPso many people connected, but no one actively online :(17:52
Peng.... 8 GB O_O17:53
ccxCZsince you won't really have meaningful diffs, you might aswell consider using something along the lines of rdiff-backup instead of full vcs17:56
beunoMatt_at_HP, I'm pretty sure bzr will have issues with 8GB binary files17:57
ccxCZI'm afraid bzr will load whole files into memory for creating diffs, so you might issues doing that on comodity hardware17:57
Noldorinhi jel17:57
Matt_at_HPI'm running enterprise hardware... hardware is not the problem17:58
beunoMatt_at_HP, I'm sure bzr is not what you want for huge binary files17:59
ccxCZhaving >16G ram available?17:59
Matt_at_HPokay that's cool... just doing some research17:59
beunoIIRC, it won't save incremental diffs for binaries either17:59
beunoso you'll have a multi-tb branch pretty quickly17:59
Matt_at_HPI know this is the bazaar room, but is there anyone here that can recommend another dvcs that may be able to handle 8GB+ binary files?18:00
Matt_at_HPccxCZ: not worried about hardware requirements )18:01
Matt_at_HP:)18:01
beunoMatt_at_HP, git may be better at it18:01
Matt_at_HPbeuno: I have been doing some research into Git... will read more18:02
beunoMatt_at_HP, http://stackoverflow.com/questions/540535/managing-large-binary-files-with-git18:02
ccxCZMatt_at_HP: consider what features you actually need. rdiff-backup or lvm snapshotting might be sufficient for your task18:02
beunobut there seems to be comments about it not dealing well with 2gb+ files18:02
beunoyeah, I would not put large binaries in a DVCS18:02
Matt_at_HPokay... sounds like HP will need to develop their own18:03
Matt_at_HPhaha18:03
beunoMatt_at_HP, you could write a plugin for bzr18:03
beunothat essentially tracked these files18:03
beunobut didn't add them to the tree18:03
beunoMatt_at_HP, if you drop an email to the list, you may get more ideas: bazaar@lists.canonical.com18:04
Matt_at_HPbeuno: so let's say that I did write a plugin for this 8GB binary file project, are there any other issues that I may need to worry about?18:04
beunoMatt_at_HP, no, plugins can override most of bzr, so you have a lot of freedom there18:05
Matt_at_HPbeuno: Thank you for help... very informative18:05
beunonp18:06
fullermdSomebody was talking about an external binary store a month or two ago.18:06
ccxCZsounds that it shouldn't be that hard to do, since you can reuse binary diff algorithm from rsync/rdiff18:09
Matt_at_HPbeuno: I am assuming that I would need to customize a plugin to handle version controlling for the binary files, as well18:09
beunoMatt_at_HP, yeah, I'm unclear about the specifics18:10
Matt_at_HPbeuno: okay thanks again18:11
Matt_at_HPeveryone have a good day :)18:11
=== medberry is now known as med_out

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