feature request: add negation wildcard for paths

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli, tooling

調査の方向性

まず、パッケージを slicing する際に使用される文字列のパターンマッチング機構を特定し、slice 定義がパスパターンをその機構にどのように渡しているかを確認します。否定ワイルドカードが *_test.go のようなパスを除外する方法を定義し、その後、関連する既存の matching または slicing のテストで動作を検証します。

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

説明

When slicing a package, wildcards are often used to match patterns. However, the current string pattern matching mechanism does not support negation patterns, which makes writing the slice definitions of Golang source packages cumbersome. An example would be a go package with embedded test cases, where people have to explicitly all the production source file names in the slice definition, in order not to include the test files with _test.go suffices.

主要言語
Go
スター
434
フォーク
74
平均マージ
1日 30分
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

canonical/chisel のほかの issue

canonical/chisel の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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