python / python/devguide

Document Gmail search queries/filters

オープン
#860 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@ezio-melotti がすでに取り組んでいます。

2022年5月8日 から。

good first issue help wanted topic-github type-feature
主要言語
Python
スター
2.1k
フォーク
1k
平均マージ
2日 12時間
マージ済み PR(30日)
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")
  • 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:

This should be documented somewhere in the devguide, so that other people could easily copy them to set up filters.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。