This is an automated email from the ASF dual-hosted git repository.

gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new e552f68e77 Update .asf.yaml to simplify email subjects. (#14494)
e552f68e77 is described below

commit e552f68e774cf8727e6bf504fed9c94fa3a0a849
Author: Gian Merlino <[email protected]>
AuthorDate: Wed Jun 28 10:56:38 2023 -0700

    Update .asf.yaml to simplify email subjects. (#14494)
    
    Currently, github notification emails to [email protected] have
    a wide variety of subject lines. This foils email client threading and
    makes the firehose of emails hard to follow. This is an attempt,
    inspired by the config for plc4x, to make the emails easier to follow.
    
    After this change, it may even make sense to send some to dev@ instead
    of commits@.
---
 .asf.yaml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index a041df443d..d80bca07e4 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,3 +1,34 @@
+# note: documentation can be found here 
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
+
 github:
   description: 'Apache Druid: a high performance real-time analytics database.'
   homepage: https://druid.apache.org/
+
+  # Attempt to make the auto-generated github emails more easily readable in 
email clients.
+  # Configuration adapted from 
https://github.com/apache/plc4x/blob/develop/.asf.yaml.
+  custom_subjects:
+    new_pr: "[PR] {title}"
+    close_pr: "Re: [PR] {title}"
+    comment_pr: "Re: [PR] {title}"
+    diffcomment: "Re: [PR] {title}"
+    merge_pr: "Re: [PR] {title}"
+    new_issue: "[I] {title}"
+    comment_issue: "Re: [I] {title}"
+    close_issue: "Re: [I] {title}"
+    catchall: "[GH] {title}"
+    new_discussion: "[D] {title}"
+    edit_discussion: "Re: [D] {title}"
+    close_discussion: "Re: [D] {title}"
+    close_discussion_with_comment: "Re: [D] {title}"
+    reopen_discussion: "Re: [D] {title}"
+    new_comment_discussion: "Re: [D] {title}"
+    edit_comment_discussion: "Re: [D] {title}"
+    delete_comment_discussion: "Re: [D] {title}"
+
+notifications:
+  commits: [email protected]
+  issues: [email protected]
+  discussions: [email protected]
+  pullrequests_status: [email protected]
+  pullrequests_comment: [email protected]
+  pullrequests_bot_dependabot: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to