Consider recommending building with the Clang plugin

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

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
cpp
領域
documentation

調査の方向性

リンクされているThunderbirdのビルド設定セクションを開き、ローカルのmozconfigオプションがどのようにドキュメント化されているか確認してください。提供されている ac_add_options --enable-clang-plugin スニペットを使ってClangプラグインを有効にする推奨事項を追加し、その後、開発者向けドキュメントページが正しく表示されることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

mozilla-central includes an internal Clang plugin that adds static-analysis checks at build-time, to ensure things like proper use of smart pointers in C++: https://firefox-source-docs.mozilla.org/code-quality/static-analysis/existing.html#build-time-static-analysis

A list of checks that are performed by this plugin can be found here: https://searchfox.org/mozilla-central/rev/5a7e5e2e1fe04028fc77787084caf9b26ab74ce6/mfbt/Attributes.h#511

Both comm-central and try-comm-central build with this plugin, so I think we should recommend developers and contributors also enable it for their local builds to prevent bustages, by adding the following to their mozconfig file:

ac_add_options --enable-clang-plugin

A good location for this recommendation could be in this section: https://developer.thunderbird.net/thunderbird-development/building-thunderbird#build-configuration

主要言語
言語のデータがありません
スター
114
フォーク
86
平均マージ
2時間 37分
マージ済み PR(30日)
1

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

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

はじめの一歩

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

thunderbird/developer-docs のほかの issue

thunderbird/developer-docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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