Adding a CODEOWNERS file to prometheus/prometheus?

34 views
Skip to first unread message

Julius Volz

unread,
Mar 1, 2021, 3:05:33 PM3/1/21
to Prometheus Developers
Heya all,

Julien often helpfully pings me on PRs that touch the React UI, but it would be much nicer if I could somehow get auto-notified by GitHub specifically of those that touch anything under /web/ui/. Others might feel the same about their areas of purview.

GitHub has a CODEOWNERS file feature (https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners), which allows specifying owners for parts of a repo, which then get auto-assigned as reviewers for PRs touching those files.

Is anyone opposed to me experimenting with a CODEOWNERS file that only has a rule about /web/ui for a start? So just a line like:

# Assign any UI-related PRs to Julius.
/web/ui @juliusv

That would give me the notifications I want, as a side effect of auto-assigning me as a reviewer for UI PRs at the same time (which should be fine for that subdir as well). If that works well, others can start using the file as well.

Regards,
Julius

Julien Pivotto

unread,
Mar 1, 2021, 3:10:26 PM3/1/21
to Julius Volz, Prometheus Developers
Let's do this :)


>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CA%2BT6Yozt9UCqty8cVXYsaa-KjMmqPcPi5iQwNAg9t_erByM%2B3Q%40mail.gmail.com.

--
Julien Pivotto
@roidelapluie

Tom Wilkie

unread,
Mar 1, 2021, 3:10:35 PM3/1/21
to Julius Volz, Prometheus Developers
Yes! I was chatting to Beorn about this the other week...  Big +1 from me.  Mind adding a line for /storage/remote too?

Thanks

Tom

--

Julius Volz

unread,
Mar 1, 2021, 3:18:17 PM3/1/21
to Tom Wilkie, Prometheus Developers
Great - I made a PR at https://github.com/prometheus/prometheus/pull/8552.

I added /storage/remote, but at that point maybe we want to add all the other dirs with specific maintainers as well?

Frederic Branczyk

unread,
Mar 2, 2021, 4:18:34 AM3/2/21
to Julius Volz, Tom Wilkie, Prometheus Developers
Yeah, I was thinking the same as Julius said, but maybe it's fair to see who wants to opt-in to this and who doesn't.

FWIW I added myself as codeowner of the Kubernetes service discovery just like it's mentioned in the maintainers file.


Reply all
Reply to author
Forward
0 new messages