Document Gmail search queries/filters
未关闭
@ezio-melotti 已经在做这个了。
开始于 2022年5月8日。
good first issue
help wanted
topic-github
type-feature
- 主要语言
- Python
- 星标
- 2.1k
- 派生
- 1k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 12
描述
I spent some time figuring out some useful search queries for Gmail that can also be used as filters (e.g. to assign label):
- Issues:
subject:(Issue -PR)- might miss some issues that include "PR" in the subject
- PRs:
subject:(PR)- might include some issues that include "PR" in the subject
subject:(PR -Issue)could be used instead- it will miss PRs that include "issue" (somewhat more common)
- Merged PRs:
subject:PR ((Merged AROUND 1 "into main") OR (Merged AROUND 1 "into master"))- You can add entries for other branches too (e.g.
(Merged AROUND 1 "into 3.10")) - Still has a few false positives
- "I merged into main" or "I merged this into main" match (because "into main" is within 1 word of "merged")
- "I merged this PR into main" doesn't match (because "into main" is 2+ words away from "merged")
- You can add entries for other branches too (e.g.
- Closed issues:
subject:Issue "closed"- quite unreliable -- it matches any issue that contains the word "closed"
- Closed issues (by a linked PR):
subject:Issue "closed AROUND 1 via"- pretty reliable, but only works for issues closed automatically by a linked PR
Note:
- All queries should include
from:(notifications@github.com) subject:Issueandsubject:PRdon't work for old Issues/PRs- See also this gist with some additional suggestion
This should be documented somewhere in the devguide, so that other people could easily copy them to set up filters.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。