blob: 636a2c541636799310f81dd5d0e54c5548d7ec1a [file] [log] [blame]
INCLUDERC=$HOME/procmail/common.rc
D_BPF=bpf@iogearbox.net
D_NETDEV=kuba@kernel.org
D_ETHTOOL=mkubecek+ethtool@suse.cz
D_IPROUTE2=dsahern@gmail.com
# Autodelegate based on subject line prefix
:0 hfw
* ^Subject: \[[^]]*bpf[^]]*\]
| formail -a "X-Patchwork-Delegate: $D_BPF"
:0 hfw
* ^Subject: \[[^]]*net[^]]*\]
| formail -a "X-Patchwork-Delegate: $D_NETDEV"
:0 hfw
* ^Subject: \[[^]]*ethtool[^]]*\]
| formail -a "X-Patchwork-Delegate: $D_ETHTOOL"
:0 hfw
* ^Subject: \[[^]]*iproute2[^]]*\]
| formail -a "X-Patchwork-Delegate: $D_IPROUTE2"
# BPF file-based delegation
:0 HBfw
* ^Subject: \[
* ! ^X-Patchwork-Delegate:
* ^[+-]+ [^/]+/(Documentation/bpf/|\
Documentation/networking/filter\.rst|\
arch/.*/net/.*|\
include/linux/bpf.*|\
include/linux/filter\.h|\
include/trace/events/xdp\.h|\
include/uapi/linux/bpf.*|\
include/uapi/linux/filter\.h|\
kernel/bpf/|\
kernel/trace/bpf_trace\.c|\
lib/test_bpf\.c|\
net/bpf/|\
net/core/filter\.c|\
net/sched/act_bpf\.c|\
net/sched/cls_bpf\.c|\
samples/bpf/|\
tools/bpf/|\
tools/lib/bpf/|\
tools/testing/selftests/bpf)
| formail -a "X-Patchwork-Delegate: $D_BPF"
# Netdev file-based delegation
:0 HBfw
* ^Subject: \[
* ! ^X-Patchwork-Delegate:
* ^[+-]+ [^/]+/(Documentation/networking/|\
include/linux/in\.h|\
include/linux/net\.h|\
include/linux/netdevice\.h|\
include/net/|\
include/uapi/linux/in\.h|\
include/uapi/linux/net\.h|\
include/uapi/linux/net_namespace\.h|\
include/uapi/linux/netdevice\.h|\
lib/net_utils\.c|\
lib/random32\.c|\
net/|\
tools/testing/selftests/net/|\
Documentation/devicetree/bindings/net/|\
Documentation/devicetree/bindings/net/|\
drivers/connector/|\
drivers/net/|\
include/linux/etherdevice\.h|\
include/linux/fcdevice\.h|\
include/linux/fddidevice\.h|\
include/linux/hippidevice\.h|\
include/linux/if_*|\
include/linux/inetdevice\.h|\
include/linux/netdevice\.h|\
include/uapi/linux/if_*|\
include/uapi/linux/netdevice\.h|\
include/linux/dsa/|\
include/linux/platform_data/dsa\.h|\
include/net/dsa\.h)
| formail -a "X-Patchwork-Delegate: $D_NETDEV"
:0 hfw
* ^Subject: \[[^]]*RFC[^]]*\]
| formail -a "X-Patchwork-State: RFC"
# Force list-id to match patchwork joint project definition
:0 w
| $PARSEMAIL --list-id bpf.vger.kernel.org
# vim: ts=2 sw=2 sts=2 et syntax=procmail