Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 23:53:03 -0700
From:      Chris <portmaster@bsdforge.com>
To:        Michael Gmelin <freebsd@grem.de>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Is there a way to subscribe to the commit messages for only ports you maintain?
Message-ID:  <9568f5877cc250fa441a1f95550d1665@bsdforge.com>
In-Reply-To: <20210518084623.20410f11@bsd64.grem.de>
References:  <1bd70dfc3add5e8a65ec515cd155ed67@bsdforge.com> <202105180117.14I1H3LX072989@fire.js.berklix.net> <20210518084623.20410f11@bsd64.grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-05-17 23:46, Michael Gmelin wrote:
> On Tue, 18 May 2021 03:17:03 +0200
> "Julian H. Stacey" <jhs@berklix.com> wrote:
> 
>> Chris wrote:
>> > On 2021-05-17 16:30, Jan Beich wrote:
>> > > Chris <portmaster@bsdforge.com> writes:
>> > >
>> > >> I'd like to subscribe to the commit messages
>> > >> ( dev-commits-ports-all )
>> > >> but only receive messages that affect me -- the
>> > >> ports I currently maintain. Is it possible? Or
>> > >> am I just dreaming? ;-)
>> > >
>> > > No clue but I use Herald rules for something similar.
>> > Thanks for the hints, Jan. :-)
>> 
>> Herald ? Nothing from
>>   https://www.freebsd.org/cgi/ports.cgi?query=herald&stype=all&sektion=all
>> ...
>>   https://en.wikipedia.org/wiki/Phabricator
>> ...
>>   https://cgit.freebsd.org/ports/tree/devel/phabricator/pkg-descr
> 
> Google "phabricator herald"[0] :)
> 
> It's part of phabricator and quite useful for automation, see
> https://reviews.freebsd.org/herald/create/
> 
> In Chris' case, he would probably create one or more personal commit
> rules:
> https://reviews.freebsd.org/herald/edit/?content_type=commit&rule_type=personal
> 
>   Rule Name: Inform me about changes to my ports
>   When **all of** these conditions are met:
>   **Repository** **is any of** R11 FreeBSD ports repository
>   **Affected Files** **matches regexp** @devel/myporta|sysutils/myportb@
> 
>   Take these actions **every time this rule matches:**
>   **Send me an email**
> 
>   Click Save Rule
> 
> Mind the special regexp syntax.
> 
> I created a publicly visible rule as an example:
> https://reviews.freebsd.org/H142
> 
> You can test your rules on the test console:
> https://reviews.freebsd.org/herald/test/
> 
> (you would enter an existing commit id in there for testing, e.g.,
> R11:305f148f482daf30dcf728039d03d019f88344eb)

Thanks for all the information and help, Michael.
I think we may have a winner. :-)

--Chris
> 
> Best
> Michael
> 
> [0] Other ways to discover phabricator apps:
> - Enter "herald" in phabricator (search box at the top)
> - The phabricator application list
>   https://reviews.freebsd.org/applications/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9568f5877cc250fa441a1f95550d1665>