keescook | I've been browsing docs, but I haven't found mention of client-side hooks. does such a thing exist? | 00:38 |
---|---|---|
keescook | e.g. I'd like to have a pre-checkin hook that runs a script (say to verify syntax, etc) | 00:38 |
beuno | keescook, plugins? | 00:38 |
beuno | installed locally | 00:39 |
beuno | you can wrap around the commit/push command | 00:39 |
beuno | and make it do whatever magic you need | 00:39 |
jam | keescook: there is a precommit hook | 00:39 |
keescook | hmm... but that won't follow the repo for branchers? | 00:40 |
jam | look in bzrlib/branch.py | 00:40 |
jam | for BranchHooks | 00:40 |
jam | should describe the list of hooks | 00:40 |
jam | I think there might be another documentation in doc/* | 00:40 |
jam | keescook: the precommit fires after we have built up all the commit information | 00:40 |
jam | but just before the branch is updated | 00:40 |
keescook | jam: so follow http://bazaar-vcs.org/WritingPlugins and use precommit ? | 00:41 |
keescook | (there isn't a PQM on the client side?) | 00:42 |
keescook | jam: hm, there isn't a precommit listed in class BranchHooks(Hooks): | 00:43 |
=== mw is now known as mw|out | ||
jam | keescook: what version of bzr do you have | 00:43 |
keescook | hm, looks like 0.90.0 ... one sec | 00:44 |
jam | it looks like 0.90 doesn't have pre_commit | 00:44 |
jam | it was introduced in 0.91 | 00:44 |
keescook | cool, 0.92 installing now... | 00:44 |
keescook | (I've been waiting for kernel/lrm in hardy before doing a full-blown dist-upgrade) | 00:45 |
keescook | sweet, yup, pre_commit. :) | 00:45 |
keescook | http://bazaar-vcs.org/WritingPlugins could use some updating. ;) | 00:45 |
jam | keescook: looks like, one of the problems with doing monthly releases | 00:46 |
jam | lots of stuff changes every month | 00:46 |
keescook | hehe | 00:46 |
jam | and you really need a full documentation audit each time | 00:46 |
keescook | I will write up a plugin for "pre commit test"... | 00:47 |
keescook | jam: do you have any examples of plugins using hooks? There's nothing in bzrtools that calls install_hook | 01:08 |
jam | keescook: bzr-email | 01:09 |
jam | lp:bzr -email | 01:09 |
keescook | jam: cool, thanks. | 01:09 |
keescook | jam: is there a way to abort the checkin if a hook fails? | 01:12 |
jam | raise an exception | 01:13 |
* jam => baby time, be back lateer | 01:13 | |
Odd_Bloke | Stop. | 01:17 |
Odd_Bloke | Baby time. | 01:17 |
jam | Odd_Bloke: you can't touch this | 01:42 |
fullermd | Gaah. | 01:43 |
fullermd | You'll both be receiving a bill from my therapist... | 01:43 |
jam | fuller time | 01:44 |
* fullermd dons his parachute pants. | 01:44 | |
* keescook hammer-slides out of frame | 01:51 | |
ubotu | New bug: #163266 in bzr-pqm "pqm-submit returns "Connection timed out" error and traceback" [Undecided,New] https://launchpad.net/bugs/163266 | 02:41 |
Peng | Oooh. I didn't know bzr check might use a gig of RAM. | 03:14 |
* Peng swaps. | 03:14 | |
* Peng watches the mouse cursor skip across the screne. | 03:17 | |
Peng | screne? | 03:17 |
Peng | Usually lag goes the other way. | 03:18 |
Peng | Oh good, it's done. | 03:39 |
Peng | lifeless: Is your pack-repository.knits branch abandoned now? | 05:19 |
Peng | Hmm. Loggerhead and paramiko both had a couple inconsistent parents. | 05:31 |
lifeless | Peng: that branch? yes, no need to update it at the moment as everyone with bzr 0.92 or new can read it | 05:43 |
lifeless | Peng: you might try my faster-smaller reconcile patch, to do check. | 05:43 |
lifeless | same logic, so check will use less ram | 05:43 |
Peng | lifeless: So it's not abandoned entirely, just for the moment? | 05:47 |
lifeless | right | 05:47 |
lifeless | repository is actiove | 05:47 |
lifeless | *active* | 05:47 |
lifeless | the knits version is just lagging as theres not much point to it just now | 05:48 |
Peng | (I'm upgrading everything to packs, and I'm rm -rfing old things too.) | 05:48 |
=== Verterok is now known as Verterok_ | ||
=== lifeless_ is now known as lifeless | ||
arj | hi | 12:45 |
arj | my machine crashed while commiting. I still have the changes but now bzr says that the repo is locked for at least 5 minutes | 12:46 |
arj | is there anything I can do to be able to commit again quicker? | 12:46 |
dato | arj: `bzr break-lock` | 12:46 |
arj | thanks | 12:50 |
=== fredp is now known as fredp-afk | ||
=== fredp-afk is now known as fredp | ||
=== jw2328_ is now known as james_w | ||
=== fredp is now known as fredp-afk | ||
=== fredp-afk is now known as fredp | ||
=== cfbolz_ is now known as cfbolz | ||
=== orospakr_ is now known as orospakr | ||
=== me_too is now known as turbo0O | ||
=== turbo0O is now known as me_too | ||
=== cfbolz_ is now known as cfbolz | ||
=== Verterok_ is now known as Verterok | ||
gnomefreak | is there a way to fix Unable to obtain lock file:///home/gnomefreak/nobinonly/lightning-sunbird-0.7%2Bnobinonly/.bzr/repository/lock its held by me in my gutsy chroot but i dont have a process for it nor do i have gutsy chroot open | 20:20 |
Verterok | gnomefreak: try with `bzr break-lock` | 20:48 |
gnomefreak | Verterok: ok ty | 20:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!