[00:00] groo_: It hasn't changed recently - see the bzr bug report for details: https://bugs.launchpad.net/bzr/+bug/402814 [00:00] Ubuntu bug 402814 in Launchpad itself "Importing revisions with submodules is not supported" [Wishlist,Triaged] [00:37] good morning [00:49] jelmer: tks for info :) [00:58] Good morning. [01:06] hi spiv, jelmer [01:15] hrm [01:16] bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing text keys: [('dulwich/____init____.py', 'git-v1:f60d0a17de087f21708f7f32115b7cc957d51a1a'), .... [01:16] in our dulwich-daily recipe [01:16] * maxb suspects the damaged divergence of pushed and dpushed dulwich [01:47] I've set up bzr as a centralized vcs successfully. Now I would like to set up a directory that gets updated every time something is committed to the central repo, so that it always the newest and shiniest bits. This directory will be read only, so merging should not come in to play. Is a hook script the best way to do this, or can loggerhead do this better? I'm mainly wondering what documentation to read at this stage. [01:51] TJNII: loggerhead is a web UI for viewing bzr branches [01:52] It looks like http://bazaar.launchpad.net/+branch/bzr [01:52] Okay, so that's a no, then. [01:53] Thanks for the example, though. I was wondering what it looked like. [01:56] TJNII: there is a push-and-update plugin that might be what you want [01:56] poolie: But that needs to be installed for each client, yes? [01:57] although, that relies on the person pushing to use it [01:57] I think a hook would make the most sense here [01:57] yes [01:57] Requiring all users to run it isn't really feasable.... Is there a sound argument against a hook? [01:57] a server side hook to do this would be good [01:57] Okay, that's what I thought. [01:57] there probably is such a hook [01:57] Thanks for the confirmation. [01:57] post_tip_change [01:57] but i don't know if there is something that hooks into it that will update the tree [01:57] although a hook will only fire if the push is over a smart transport [01:57] if you know python it should not be hard to run [01:58] there is that too [01:58] another option is to just set up a cron job to update the working tree [01:59] Which transports would not be considered "smart"? [02:00] Ones which do not rely on there even being a copy of Bazaar installed on the server [02:01] TJNII: http://doc.bazaar.canonical.com/plugins/en/automirror-plugin.html might be close enough. [02:01] TJNII: pushing over bzr+ssh is "smart", i.e. runs bzr on the server. Pushing over sftp isn't. [02:02] bzr+ssh is smart. http will try to use smart bzr+http if available, otherwise fall back to dumb http. sftp is dumb file operations [02:02] The automirror plugin is at least an example of using the post_change_branch_tip hook. [02:02] maxb: How does that work in a centralized configuration without bzr? I thought bazaar did not maintain a usable tree that could be accessed directly due to logistical reasons at the core repo? [02:02] By "usable" I mean "directly accessable" [02:03] My verbage was not to good, there. [02:03] directly accessible by a human using basic file tools isn't the same as accessible using Bazaar remotely [02:04] Oh, so the remote bazaar modifies the .bzr directory? [02:04] TJNII: is your central repo written to via bzr+ssh? [02:05] spiv: Right now, yes. I think I can maintain that, though I haven't played with the Windows end yet. [02:05] Ok, that works well then. [02:06] Because bzr+ssh means bzr is running on the server, and the client is merely asking the server's bzr to make changes rather than writing to .bzr itself. So you just need to install the hook on the server, and it will be run. [02:07] Aah, I understand. [02:07] I'd try the automirror plugin first, I think it's pretty close to what you want. [02:08] Gotcha, thanks. [02:31] jelmer, are you still here? [02:31] what do you think of bug 758758 vs bug 681582? [02:31] Launchpad bug 758758 in Launchpad itself "bzr out of memory during auto-build (dup-of: 681582)" [Undecided,New] https://launchpad.net/bugs/758758 [02:31] Launchpad bug 681582 in bzr-builder "fails to build with "bzr: out of memory"" [Medium,Fix committed] https://launchpad.net/bugs/681582 [02:31] Launchpad bug 681582 in bzr-builder "fails to build with "bzr: out of memory"" [Medium,Fix committed] https://launchpad.net/bugs/681582 [06:23] poolie: do you know anything about “AssertionError: NoWhoami not raised” test failures on lp:bzr/2.3? [06:23] hi spiv [06:23] there is a bug open for it [06:24] Hmm, do you have the number handy? A search didn't find it for me. [06:25] I'm a bit puzzled about how it passed PQM, perhaps there's a test isolation problem? [06:25] spiv it is a test isolation thing [06:25] specifically the heuristic of having /etc/mailname probably works on your laptop but not on pqm [06:26] https://code.launchpad.net/~mbp/bzr/751824-whoami-test-failures-2.3/+merge/56503 [06:26] is supposed to have fixed it [06:26] But isn't merged to 2.3? [06:28] ah ha [06:28] was meant to go in to 2.3 but did not [06:28] * spiv wonders where his ssh agent went [06:32] * spiv wonders where the environment variables pointing to the perfectly good ssh agent went [06:33] https://code.launchpad.net/~mbp/bzr/751824-whoami-test-failures-2.3/+merge/57436 [06:33] the diff to 2.3 looks reasonable so i'll send it [06:34] poolie: if it's the same fix already approved & merged for lp:bzr then I approve without even looking at it :) [06:34] Thanks! [06:35] For bonus points, do you think gnome-session is a reasonable package to file a bug against if my new terminal instances started by Ctrl-Alt-T (but not Ctrl-Shift-N from an existing terminal!) are lacking environment gnome-sessiony variables? [06:35] and, ah, https://bugs.launchpad.net/launchpad/+bug/676769 [06:35] Ubuntu bug 676769 in Launchpad itself "resubmitting a merge proposal should reuse the old commit message" [Low,Triaged] [06:36] filed by you :) [06:36] spiv i'd guess that was a gnome-terminal bug [06:36] that's surprising [06:36] * spiv hmms [06:36] it seems like it would have to try hard to break it [06:37] Huh, yes, maybe g-t [06:37] Using Alt-F2 to run xterm inherits the vars ok [06:37] * spiv wonders what the Ctrl-Alt-T shortcut does exactly. [06:39] Hmm, part of the “Gnome compatibility plugin” in ccsm [06:43] wow [06:43] ok, i sent that to pqm [06:44] spiv i might go out for a bit, as i have some calls tonight [06:44] should be back about 5 [06:44] Ok, see you later === psynaptic|away is now known as psynaptic === psynaptic is now known as psynaptic|away [07:35] mm yay it's beta time again, watch the ~bzr/beta ppa become a nightmare of uninstallability [07:40] jelmer: I want a bzrtools snapshot in ~bzr/beta for installability, are you interested in having it in experimental too (i.e. should I prepare it on the alioth experimental branch?) === psynaptic|away is now known as psynaptic === Ursinha is now known as Ursinha-afk [08:21] losa ping: http://pqm.bazaar-vcs.org/ is giving 503 Service Temporarily Unavailable. Is that a known issue? [08:22] hrm. not by me. [08:24] spiv: iz back; had crashed [08:28] spm: thanks! [08:28] And apparently poolie's patch for 2.3 didn't land. Hmm. [08:30] I call cause and effect. poolie's patch is clearly evil and crashed the pqm ui. [08:31] maxb: what happens around beta time? [08:31] bzr betas? [08:32] the usual api compatibility versioning nonsense mess [08:33] because of bzr changes? [08:33] oh, from 2.4b1? [08:33] :/ [08:33] yes [08:33] and of course right up there in front in bzrtools [08:35] I have a lot of disbelieve that bzrtools 2.3.x cannot function reasonably with bzr 2.4 [08:35] *disbelief [08:35] but it insists on being awkward [08:36] aaaaanyway. I should probably go to work [08:36] i agree [08:36] i mean i share your disbelief [08:36] i'd like to put up a patch to relax the check [08:36] either in bzrtools or bzr core [08:37] hi jam [08:37] maxb: abentley prefers to make sure that at least the test suite passes before he "signs off" on it being compatible [08:37] hi poolie [08:39] jelmer are you up yet? [08:40] spiv, spm, i didn't getting a failure message from pqm [08:40] poolie: hmm! [08:40] * spm hi-fives spiv - troll successful; [08:40] i'm preitty sure [08:42] spm: it's cheating if you use your admin powers to crash the system to rig the result ;) [08:42] canberra must be more boring than i remembered [08:43] poolie: 1, spm 0 [08:44] haha [08:46] spm, so, seriously, is there any evidence? [08:46] hi bob2 [08:46] 'evening [08:46] poolie: that your patch crashed it? Idoubt it. the ui is independant of pqm itself. I've not et chased why it crashed. [08:48] poolie: when was your patch sent in? I'm not seeing anything in the log since about 10am our time, and that was something from jam [08:48] ah, i wonder if it even left my machine [08:49] spm: last patch was about 1am my time I think. Which is, 23:00 UTC? [08:49] jam: dat's der bunny [08:49] nup, stuck in postfix! [08:49] poolie: that's impressive! that your patch didn't even hit pqm and still managed to crash the ui!! [08:53] spiv: hrm. looks like it may have been down for a while. since ~ 8am on the 11th our time. [08:53] no reason why, just no running, afaict. [08:55] spm: hmm. Please arrange the cosmic ray reflectors in the data centre to point at someone else's box, thx. [08:55] spm, you know bradm did the upgrade to lucid the other day? [08:55] ok, apparently a change to my internet setup was causing my mail to queue up here [08:55] it should have left now [08:56] poolie: that was just in the chroots aiui? [08:56] yes, we copied the chroot, upgraded the new copy, and pointed pqm at that [08:56] so it should not have caused pqm to stop running [08:56] unless the config change had a typo or something [08:56] hrm. the timing is sus [08:57] very sus. aligns perfectly. I'd say that was it. something about the chroot upgrade crashed it. [08:57] poolie: hi [08:58] hey jelmer [08:58] hey Steve [08:59] spm, but other pqm requests do seem to have got through in the interim [08:59] maxb: having bzrtools in experimental seems reasonable [09:00] poolie: for sure. the UI isn't needed to get stuff thru pqm; it's actually a very separate process(?) within the same code. [09:00] poolie: are we doing the standup now? [09:00] ok, I'll look at that after I've got 2.4b1 done for all series [09:04] yes, it's time [09:05] poolie: jelmer spiv and I are in mumble [09:06] hm having some trouble getting in [09:06] poolie: mwa-ha-ha-haaaa! [09:07] jam: your laugh is particularly diabolical today ? [09:10] poolie: you've muted me, I can't unmute myself as far as I can tell [09:11] oop [09:11] why would i do that? :) === Ursinha-afk is now known as Ursinha [09:20] jam perhaps you should take more inprogress bugs onto your kanban [09:21] Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie [09:22] jelmer, https://wiki.ubuntu.com/UDS-O#preview [09:43] spiv, spm, i did get back an apparently real failure [09:44] i wish our pqm failures were a bit more to-the-point === psynaptic is now known as psynaptic|away === psynaptic|away is now known as psynaptic [10:58] SRU progressed, yay! [10:58] http://wiki.bazaar.canonical.com/UbuntuStableReleaseUpdates#preview [11:10] Yay [11:10] Give Karmic's impending EOL, any objections to changing "not urgent" to "not going to happen" ? [11:12] maxb: I think so [11:12] +1 [11:13] i would like to get the lucid one out though [11:13] someone asked about it the other day [11:13] poolie: Oh, if you really want to test in a ppa, if you define a new dput configuration stanza using incoming = ~%(ppa)s/ubuntu/maverick, the trailing path segment will override the specification in the changelog and changes file [11:13] perhaps this will get faster [11:13] maxb maybe you should apply for upload rights too? [11:13] oh, that's useful [11:13] could you add that to the page if you're changing it? [11:13] ok, really offline now [11:13] have a good night [11:13] or whatever [11:13] I'm not sure I recomment it however [11:14] i think on the whole there are probably enough checkpoints [11:14] Because it will cause .debs to exist in your ppa which are named and versioned like the primary archive, but are not the same build [11:14] right [11:15] yeah, maybe I should apply for PPU - between PPA stuff and Ubuntu process knowledge, I probably qualify [11:32] poolie: your blog is down. [11:32] http://sourcefrog.net/weblog/software/aesthetics/interface-levels.html fails [11:33] maxb: i would certainly endorse you [11:34] hi jml [11:34] i think the machine might be down [12:44] jelmer: thanks for the new bzr-git release. But 0.6.0 complains that it needs dulwich >= 0.7.1 – which isn't available [12:58] …ah, but there is a dulwich-0.7.1.tar.gz available on jelmer's dulwich page, though it's not linked [13:12] briandealwis: not linked where? [13:29] http://samba.org/~jelmer/dulwich/ [13:29] Ah, it shows 0.7.0 twice [13:29] jelmer: ^ [13:30] briandealwis: should be fixed now [13:30] coolio, thanks. [13:32] jelmer: in case you want more nits, lp:bzr-git lists 0.5.4 as the latest and lp:dulwich lists 0.7..0 as the latest [13:32] briandealwis: you mean the tags? [13:37] jelmer: both the latest file versions, and I guess the tags (they're listed as "milestones" with an open circle vs the closed circles for the other versions) [13:37] briandealwis: the milestones aren't related to the tags [13:38] briandealwis: the file versions on the site are updated automatically by Launchpad, I guess it hasn't picked them up yet [14:10] hey guys, I need some help. There is some file in the repository, the project file. This project file will be changed in my local branch but I don't want it to be commited, or updated nor pulled nor merged, or anything of the sort, since paths and other stuff are particularly to my environment. However the project needs to be in the main branch so new programmers can customized it. Is there a way to avoid these things to get caught by [14:10] bazaar in merges and things like that? [14:18] The standard solution is to keep a template file in the branch, and let developers copy it to a new name before making their local modifications [14:18] e.g. project.conf.template in the branch, people use it to create a project.conf locally [14:21] yes, I would do that… unfortunately I am not the admin [14:26] (and now it is too late for that) === zyga is now known as zyga-afk [14:55] hi [14:56] I'm trying to ceckout a working copy with sftp but I get this error: bzr: ERROR: Not a branch: "sftp://root@192.168.64.244/home/bzr [14:57] any hint? [14:57] Ok... Is that location actually a branch? Does /home/bzr/.bzr/branch/format exist? [14:59] yeah Bazaar Branch Format 7 (needs bzr 1.6) [15:00] OK, please try the command again with the -Derror flag and pastebin the output [15:07] maxb: http://pastebin.com/WhdUW8A2 [15:07] What version is Bazaar on the client side? [15:08] the same on the server 2.1.2-1 [15:09] funny is that if I run bzr co on local machine it works [15:13] Please try running: [15:13] echo "get /home/bzr/.bzr/branch-format" | sftp root@192.168.64.244 [15:18] File "/home/bazar/.bzr/branch-format" not found. [15:18] but there is that file [15:19] doh... [15:19] spelling? [15:19] two ssh processes on the same ip... [15:21] sorry :) [15:21] I need a cup of coffee.. [15:22] maxb or someone, what's the right way of dealing with all these bzr (ubuntu) bugs poolie opened up? [15:23] I can mark it confirmed, but should I open it against bzr (upstream) where I have tracker rights? [15:28] mgz: I would use "Also Affects Project" [15:28] and add bzr [15:28] and then we can decide what to do with the upstream portion [15:29] I often close it with a "moving to upstream" [15:29] thanks jam. [15:29] because we don't usually care about the status in a particular "Ubuntu" package [15:29] It is unfortunate that you can't just say "this is Upstream" directly [15:29] just posting a commect on your bug 758652 as well. [15:29] Launchpad bug 758652 in loggerhead "'leaks' Branch objects" [Medium,Confirmed] https://launchpad.net/bugs/758652 [15:29] but I think there is a bug open in LP about it. [15:29] mgz: what bugs? [15:29] bug 686735 for eg. which I want to fix today. [15:29] Launchpad bug 686735 in bzr (Ubuntu) "bzr crashed with UnicodeDecodeError in run_subprocess_command()" [Undecided,New] https://launchpad.net/bugs/686735 [15:30] mgz: yeah, it looks like reporting bugs via apport defaults to making them private [15:31] so Martin has to go through them and make sure there isn't anything personal included and manually make them public [15:31] right. [15:31] * jam doesn't like bottlenecking things through a single person [15:40] suppose I move a repository from a machine to another , there is a way to udpate a local working copy to point to the new location of the repository? [15:41] gypsymauro: if you are using a lightweight checkout "bzr switch --force" [15:41] (--force if the old repo no longer is available) [15:42] jam: not lightweight [15:42] gypsymauro: heavy checkout then? 'bzr switch' still works [15:42] if it isn't a checkout, and just a branch, and you want to update the push and pull locations [15:42] use '--remember' [15:42] bzr push --remember new-location [15:42] etc [15:43] doen with "checkout" is an heavy right? [15:44] how much work would it be approx. to do i18n on the bzr cli? [15:44] gypsymauro: yes [15:45] vanguard: There are quite a lot of strings around. I think the biggest hurdle we ran into was that importing gettext is *slow* [15:45] added something like 0.5s to every run [15:45] I don't remember the details anymore, but that was a fair punishment for trying to do it. [15:47] jam: so it is basically cancelled? [15:49] vanguard: I don't think anyone has confirmed the results in a while (like a couple of years) [15:49] so it might be wrong [15:49] I know the guis are translated [15:49] Explorer and qbzr are, bzr-gtk is not I think [15:49] right [15:50] I know bzr-gtk does import gettext [15:50] it used to break when in a debugger because of gettext evil and the '_' operator [15:50] (gettext would create a builtin '_' operator, but pdb uses '_' as the result-of-last-command variable [15:50] maybe it just has no german l10n. What is the gettext evil? [15:50] right, I see [15:50] which would then break like mad when bzr-gtk would try to _() a string) [15:51] so the _ is not that clever in python I gather [15:55] there was a new file, I made a ci and it marked aas unknown, now if I do a bzr add it doesn't add it :/ the default is recursively right? [15:56] gypsymauro: what does "bzr status" say? [15:57] add is recursive by default, yes [15:57] The file might be ignored? [15:58] it says, unkown: pathofthefile [15:58] gypsymauro: if it shows up as unknown, then it should be added by plain 'bzr add' [15:58] Only thing I can think is if you have a secret subtree that is in the way [15:59] uh [16:00] no [16:00] I defenitely need a coffee [16:00] you can see the status if you are in a different subtree [16:00] but bzr add doens't works globally [16:00] u need to be on the root [16:00] or on the right folder [16:02] jam, vanguard: bzr-gtk uses _i18n rather than _() [16:02] the gettext import overhead is negligable these days [16:02] jelmer: it does *now* it didn't many moons ago [16:03] AIUI, it does specifically because of that [16:03] jam: Yes, exactly [16:03] can bzr and svn work on the same working copy? :) I mean I've a project that is mantained by a guy that uses svn , but I want to keep the revision on my own too, can they live togheter? [16:03] jelmer: are you including the time to install the specific language, etc for gettext? [16:04] "import gettext" is pretty fast, but ISTR it costing more to actually set up translations, et.c [16:04] gypsymauro: you can, but things get weird if you install bzr-svn and try to share a working tree [16:04] jam: I'm not sure about that, this is the overhead on my system (which has LC_ALL=en_IE.UTF-8) [16:04] (bzr-svn lets you checkout from subversion as though it were a bzr branch, etc) [16:05] jelmer: my point is that it isn't just 'import gettext', I don't remember the specific invocation, though. [16:06] jam: binding to a specific gettext domain, etc is included (but without any actual translations present) [16:06] jam: oh no I want just let him to work on his project with svn , but I want to keep track of theproject on my own with bzr [16:06] I'm not sure how worried we are about overhead for users without i18n enabled vs the overhead for users who do want i18n [16:06] jelmer: you haven't actually said what the overhead is :) [16:07] gypsymauro: jelmer is the man to talk to. Anyway, I need to go do family time. See you guys later. [16:07] jam: have a nice evening :) [16:07] jam: I said negligable, which can mean anything.. ;-) [16:07] I'll get some more details [16:07] gypsymauro: you should be able to just "bzr branch " [16:09] jam: tank you :D [16:10] jelmer: ? [16:10] I've already a working copy I want to create a new repository from it [16:10] gypsymauro: you'd like to create a bzr branch from a svn repository? [16:12] sorry, from a svn working copy? [16:13] I'm not sure what u mean with "branch" , I mean that I want to version a svn working copy with bzr :) === zyga-afk is now known as zyga [16:14] something like cvs add [16:17] gypsymauro: so you'd just like to version the entire tree, without preserving any of the existing svn history? [16:17] gypsymauro: in other words, the fact that it's a svn working copy isn't really relevant? [16:18] jelmer: exactly [16:19] gypsymauro: see the bzr in 5 minutes guide [16:19] (http://doc.bazaar.canonical.com/latest/en/mini-tutorial/index.html) [16:19] basically - "bzr init; bzr add ." [16:36] tank you jelmer [16:51] vanguard: I'm curious, why do you want to work on making the cli german rather than just qbzr/explorer? [16:53] most devs I know, even the ones with localised web browsers and so on, don't expect native command line tools. [16:53] and the gnu stuff pisses the hell out of my by guessing my prefered language incorrectly. [16:56] Does anybody know if I can do a bzr-svn dpush from a loom or a pipeline? I'm looking to "hide" some (orthogonal) local patches required to get the tree in a running state on my machine. [16:58] briandealwis: Somewhat; if you don't dpush the tip of the pipeline then you'll have to rebase the unpushed pipes after dpushing === beuno is now known as beuno-lunch [16:59] Ok, makes sense. Unfortunately I'm working against an old Subversion installation that won't be upgraded, and I want to avoid polluting with file-properties. [16:59] Thanks Jelmer [17:05] does anybody else have trouble accessing e.g. https://code.launchpad.net/~maxb/bzr-builddeb/no-error-unknown-distro/+merge/56998 when logged in? [17:06] trouble? [17:06] I get a 403 [17:06] How odd [17:07] I can see it fine, anonymous, as ~maxb, and as ~maxb-autobuild [17:07] it's fine now if I refresh but I can confirm it from two machines [17:08] maxb: what about the MP linked from https://code.launchpad.net/~spiv/bzr-loom/plugin-init ? [17:08] fine [17:08] oh, the MP [17:08] the MP OOPSes [17:08] Shall we transfer to #launchpad-dev ? [17:09] sure === beuno-lunch is now known as beuno [18:07] hi jelmer, all set for your appdeveloperweek session later on? [18:08] dpm: still working on some notes, but ready otherwise [18:08] jelmer, excellent. Thanks and good luck on the session! [18:09] dpm: It's 4 hours from now right? [18:10] jelmer, yeah, at 23:00 for you, if you're on CEST -> https://wiki.ubuntu.com/UbuntuAppDeveloperWeek/Timetable [18:11] dpm: Thanks [18:11] dpm: Just double checking, it wouldn't have been the first time I missed up a tz :) [18:11] *messed [18:11] jelmer, no worries, thank _you_ :) [18:11] Hello. I have some files in an Unix remote server, and I'd like it to be a central place for developers to commit. How can I do that? [18:16] Most likely just something simple over ssh; either bzr+ssh, or sftp. [18:17] LeoNerd, was that for me? [18:17] Yes [18:17] LeoNerd, how should I create the repository on the remote server? [18:17] bzr push sftp://server/path/to/repo [18:17] will create it if it doesn't exist [18:17] LeoNerd, but the files are on the server. [18:18] Hmmm? [18:18] The files are already on the server. [18:18] The files are ONLY on the server. [18:19] Just as bare files, not managed by bzr? [18:19] The project was started there. Using simple FTP. [18:19] LeoNerd, exactly. [18:19] I see.. Well... bzr init; bzr add them, bzr commit to create the first revision... now it's a branch. [18:19] Others can access that branch, check it out, commit to it, etc.. by any of the usual mechanisms [18:19] Though note that not all transports can update a remote checkout after a push [18:20] LeoNerd, what is a transport? A user? [18:20] *an user? [18:20] file or sftp or bzr+ssh or whatever... [18:20] URL schemes [18:20] Oh, ok. Can bzr+ssh do that? [18:21] Hmm.. pass. Not sure offhand. Try it out. [18:21] There's a warning message if it doesn't. [18:21] OK. Thanks. [18:21] LeoNerd, what is "Lightweight Checkout" ? [18:22] A checkout that doesn't haev a branch. [18:22] Think like CVS checkouts [18:22] Alright. That's what I need. Thank you very much [18:23] Authentication (publickey) successful! [18:23] Secsh channel 1 opened. [18:23] bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 15: ordinal not in range(128) [18:28] Fidelix: paste the full traceback somewhere? you possibly have some filenames that are not utf-8, or a misconfigured locale. [18:28] mgz, I closed the window, opened again, and it worked fine. [18:29] I'm using bzr explorer [18:29] I'm curious about what the actual error was, can you find it in .bzr.log and put it somewhere for me to see? [18:29] I believe it is this bug: https://bugs.launchpad.net/bzr-explorer/+bug/599860 [18:29] Ubuntu bug 599860 in Bazaar Explorer "bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)" [Medium,Confirmed] [18:29] yes, I'll paste. [18:30] mgz, where is bzr.log ? [18:30] I think explorer will tell you where to find it under 'about'. [18:30] otherwise run `bzr qversion` from the command line. [18:34] hm, not in about, can do Bazaar/All Commands... and type 'version' in the 'Command' drop down and hit okay, then scroll the output so you can see where the log file is. [18:35] mgz, I hope you don't mind... I removed some personal data. http://pastebin.com/H8vaabTX [18:36] that's fine. [18:36] actually, looks like the bug I am looking into *just this second* which is bug 686735 [18:36] Launchpad bug 686735 in Bazaar "bzr crashed with UnicodeDecodeError in run_subprocess_command()" [Low,In progress] https://launchpad.net/bugs/686735 [18:37] what's your qbzr version? that's something the explorer 'about' will tell you. [18:38] finally, in the parts you starred out, were there any non-ascii characters or % encoded URL bits? [18:40] mgz, http://felipefidelix.com/f/System_Information-2011-04-13_14.39.59.png === psynaptic is now known as psynaptic|food [18:41] Not on the server, but on my computer, maybe... IF # is utf-8, which I don't think it is... [18:43] sorry, that's the other dialoge box, I wanted the info in Bazaar Explorer's Help/About Bazaar Explorer specifically the line that says for me: [18:43] QBzr 0.20.0.dev, .... [18:44] http://felipefidelix.com/f/About_Bazaar_Explorer-2011-04-13_14.43.57.png [18:44] The # should be fine indeed, just needed to check [18:44] thanks Fidelix. [18:44] No, thank you! [18:45] feel free to +metoo that bug I linked and I'll mark it confirmed. [18:46] Alright [18:50] wait, I... edited the wrong bug earlier >_< === Ursinha is now known as Ursinha-afk [19:03] I want to set up bzr to run a shell script on post_commit. I'm looking at the docs, but I don't understand the naming system in .bzr/hooks. Where should a script like this go? [19:07] The hooks page talks about "types": branch and server, but doesn't clearly state what the differences are, and the hooks help uses post_commit whereas the hooks page uses post-commit. [19:09] TJNII_work_: the hooks are installed by bzr plugins, they're not shell scripts [19:10] where do you see a reference to .bzr/hooks ? [19:13] wiki.bazaar.canonical.com/BzrHooks [19:14] under "Specify hooks in directories" [19:14] So I can't just have bazaar run a shell script on post_commit? That is no longer supported? [19:15] I need soemthing server side. Requiring all clients to install a plugin is unacceptable. [19:15] I was under the impression I could install a hook in the server .bzr direcroty and the "smart" protocols would activate it. [19:22] TJNII_work_, I haven't kept up with bzr very closely, but I wasn't aware that server-side hooks were ever supported without a PQM. [19:22] TJNII_work_, (...speaking of which, have you *considered* a PQM?) [19:23] ...hmm. Actually, looking at that page, it looks like they are. Nifty. [19:24] (supported since 1.6, apparently) [19:24] What is a PQM? [19:25] a patch queue manager, a central daemon which receives and handles please-merge-my-branch requests (typically with configuration to support running unit tests, or voting on whether to accept the patch, or the like first) [19:27] btw, http://doc.bazaar.canonical.com/latest/en/user-guide/hooks.html and http://doc.bazaar.canonical.com/latest/en/user-reference/hooks-help.html look relevant (the latter discusses exactly when hooks are run on the server) [19:27] I see. [19:27] Where is that documented? [19:27] Is is not in the users guide [19:27] The admin guide has a heading for it, but no content. [19:28] https://launchpad.net/pqm is one particular PQM instance [19:28] Yea, I'm looking at those pages, but they don't clearly define what pathing bazaar uses [19:29] Would it be .bzr/hooks/branch/post_commit? Or .bzr/hooks/branch/post-commit? or .bzr/hooks/server/post_commit? I don't know. [19:30] Docs clearly specify "the plugins subdirectory of your configuration directory" should have a Python plugin that installs your hook. [19:31] ...so you're writing Python code rather than a shell script (even if it's Python code that starts a shell script) [19:32] ...in the initial BzrHooks wiki page you pointed at, support for shell scripts is listed as a "desired improvement", not a feature. [19:35] Oh, I see. So even though the docs clearly say "In addition to plugins installing hooks, users can provide shell scripts to run when hooks are triggered. The scripts to run for hook xxx are specified in the following directories: " it doesn't actually do that. Which is kinda documented in the "Requested Improvements (Dec 2007)" block. [19:35] ...well, you'd want someone who actually knows the code (or is at least willing to grep it) to give a _conclusive_ answer [19:38] ...but having a behavior that's documented only in the wiki but not the manual isn't exactly confidence-inspiring. [19:38] oh, that's under "ideas" [19:39] "Configuration Ideas" [19:39] ...so yup, that would clearly look to be brainstorming for future implementation. [19:43] TJNII_work_: there is a plugin that will run shell scripts of your choice on actions [19:43] TJNII_work_: you can install that server side [19:43] TJNII_work_: as long as folk use bzr:// to push it will run. [19:44] I don't remember its hane, sorry - but jelmer may. [19:44] lifeless: Where? I'm looking for it and not finding it. If you know the URL that would help greatly [19:44] The plugins page lists shell-hooks, but that's dead [19:44] Nothing on the site [19:45] thats what I was thinking of I suspect [19:45] Yea, there's a trunk directory from 2008 that is empty. No code. [19:45] So, what would the python script / plugin need to be named? post_commit_hook.py? [19:47] TJNII, ...the plugin's name doesn't matter -- it's the contents that do the registrations [19:48] TJNII, umm, you say "empty" -- it's a bzr repo [19:48] * TJNII_work_ smacks his forehead [19:48] duh. === hunger_ is now known as hunger [20:35] OK, this is not so bad. All plugins in ~bzr/beta install and at least load except bzrtools bzr-pipeline and bzr-svn === Fidelix_ is now known as Fidelix [20:36] abentley: What stage in the 2.4 beta process are you likely to release compatible versions of bzrtools and bzr-pipeline? [20:37] maxb: probably when bzr 2.4.0 goes gold. [20:38] ah. I should probably think about snapshot .debs then [20:39] maxb: currently, these are both slow-moving projects whose trunk declares compatibility. [20:41] maxb: The whole versioning thing is a mess, as we recently discussed on the list. But I would expect the last release of bzrtools to work with beta versions of bzr. It doesn't? [20:43] Oh! [20:43] It looks like we may have mis-transliterated its internal API versioning into debian package dependencies [20:45] maxb: Yeah, it wouldn't be compatible with final bzr releases, but it shouldn't complain about betas. [20:55] Ah.... [20:55] bzrtools special-cases 'dev' but not 'beta' [20:55] So it will work, but it will warn [20:57] maxb: Oh. I was assuming that betas were dev, since they're not releases. [20:58] They're beta releases :-) [20:58] Perhaps != 'final' would be best? [21:00] maxb: perhaps. API changes can still happen in the betas, right? [21:01] IIRC we pick a specific beta as the start of API freeze? Usually the last beta? [21:02] (so, yes) === psynaptic|food is now known as psynaptic [21:05] maxb: It doesn't make sense for bzrtools to claim compatibility with 2.4 until it the final bzr 2.4 API is available, so there ought to be a way for bzrtools to work with betas. [21:05] - [21:05] Right - so, treat 'beta' and 'dev' version classes the same [21:06] maxb: okay, I'll look into revamping the versioning of pipeline and bzrtools so that they work with the subsequent betas. [21:07] Great! [21:07] bzrtools works now, except that it claims that bzrtools 2.4 should be available if you run it against a beta release [21:10] maxb: Yes. For now, I guess snapshots are the way to go. === Ursinha-afk is now known as Ursinha === psynaptic is now known as psynaptic|away [21:58] Hey, can I delete tags from a repository (not a branch)? [21:58] for that matter, how can I get the equivalent of "bzr log" from a repository? [21:59] Oh, removing tags from a repository is easy. You just... do nothing :). Tags are in branches, not repos. [22:01] ah, I found another way around my problem. nvm.