Is there a way to subscribe to the commit messages for only ports you maintain?
Chris
portmaster at bsdforge.com
Tue May 18 06:53:04 UTC 2021
On 2021-05-17 23:46, Michael Gmelin wrote:
> On Tue, 18 May 2021 03:17:03 +0200
> "Julian H. Stacey" <jhs at berklix.com> wrote:
>
>> Chris wrote:
>> > On 2021-05-17 16:30, Jan Beich wrote:
>> > > Chris <portmaster at 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/
More information about the freebsd-ports
mailing list