Decide on whether to keep `launch_command` or switch to `os.popen` to run git machete commands in tests
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #515 @AABur による — マージ済み
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- git, python
- 領域
- cli, testing-qa
調査の方向性
Start by comparing MacheteTester.launch_command() with os.popen() in the test suite, including the case where a command opens less. Determine which approach can consistently read git machete command output, then unify the tests around that approach. Done means the test suite uses one command-running method without losing output from commands that invoke less.
索引モデルが issue の本文から書いたものです。
説明
Currently (after #320 is merged) there are 2 approaches to running git machete commands in tests:
- using
MacheteTester.launch_command() - using
os.popen()(as context manager).
The latter one was introduced, because if some commands were opening less it was not possible to read the output using launch_command approach.
This issue goal is to unify the approach to running git machete commands in tests by either updating launch_command so it can read all the outputs or by using os.popen everywhere.
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 71
- 平均マージ
- 11時間 56分
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VirtusLab/git-machete のほかの issue
-
github gitlab usability
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
VirtusLab/git-machete#1790 ·
メンテナーはふだん 1 日以内に返信
-
feature
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
VirtusLab/git-machete#1782 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ci python compatibility
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
VirtusLab/git-machete#1507 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
VirtusLab/git-machete#1479 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
github gitlab traverse usability
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
VirtusLab/git-machete#1451 ·
メンテナーはふだん 1 日以内に返信
VirtusLab/git-machete の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue Stellar Wave trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
StellarCanary/ProtocolCanary-Fixtures#258 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
IBM/ai-atlas-nexus#295 ·
メンテナーはふだん 6 日以内に返信
-
github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Hochfrequenz/aibap.mcp#578 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mishraprafful/multihull#150 ·
メンテナーはふだん 1 日以内に返信