savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-comm


From: carl hansen
Subject: Re: [Savannah-hackers-public] bzr post-commit email hook (was: gsrc-commit auto messages stopped working)
Date: Thu, 9 Feb 2017 01:48:58 -0800



On Wed, Feb 8, 2017 at 9:39 PM, Bob Proulx <address@hidden> wrote:
Hello Carl,

carl hansen wrote:
> still still not working

Sorry there has been delays.  We have been overwhelmed trying to
juggle too many things.

​I know the feeling. Luckily it doesn't matter.
 
I would love to help fix your hook problem.  But I enter this knowing
nothing about bzr.  I've never used bzr before.  I poke into your bzr
repository and explore.

  vcs:/srv/bzr/gsrc# grep -rl gsrc-commit .
    ./trunk/.bzr/branch/branch.conf

  vcs:/srv/bzr/gsrc# cat ./trunk/.bzr/branch/branch.conf
    last_revision_mailed = address@hidden20130610174455-orqjagls9tgp1noq
    post_commit_to = address@hidden
    post_commit_body = ""
    post_commit_subject = $nick r$revision: $message

Okay.  That seems to be the configuration for it.  But how does that
even do anything?  I was expecting to see a hooks directory or
something.  Searching the web for documentation on setting up bzr
hooks did not yield anything useful to me.

Do you know how hook scripts with bzr work?  Perhaps you can help me
help you.

Bob
​Ok I am poking around.
​$  bzr help hooks
spits out some text including:
"post_commit
~~~~~~~~~~~
Introduced in: 2.0
Called after a commit is performed on a tree. The hook is called with
a bzrlib.mutabletree.PostCommitHookParams object. The mutable tree the
commit was performed on is available via the mutable_tree attribute of
that object."

<message sent to someone who might know more.>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]