Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Decide on whether to keep `launch_command` or switch to `os.popen` to run git machete commands in tests

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

メンテナーはふだん 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 の本文から書いたものです。

説明

code quality research needed testing

Currently (after #320 is merged) there are 2 approaches to running git machete commands in tests:

  1. using MacheteTester.launch_command()
  2. 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

環境構築

はじめの一歩

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

VirtusLab/git-machete のほかの issue

VirtusLab/git-machete の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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