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

Doc: Extending Context/Runners/etc.

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
documentation

調査の方向性

Start with the existing fabric example and the Context, Config, and Runner extension points mentioned in the issue. Document the minimum implementation for each, including the Local wrapper and .invoke.yaml configuration example, then clarify task gathering, deferred execution, dynamic asynchronous commands, and completion checks for a slurm-style runner.

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

説明

I am trying to extend invoke to be able to run slurm jobs, and I am slowly figuring out what I need to extend from the example of fabric. It would be nice to have this documented somewhere for other developers. So my understanding is that a common setup is to extend:

  • Context: The main entity to initialize the work environment and provide a user interface
  • Config: To add your own configurations to be parsed from .invoke.yaml
  • Runner: To define how to run a command

The issue currently is that it is not clear what is the minimum that we need to implement in each class. An example that could help illustrate is maybe a wrapper over Local that takes a "Hello world" message from Config, prints this message before each task/command, and prints a similar message at the start of the context setup.

Is there a matrix/IRC/Discord room to get some quick pointers for these?


Similarly, but more specific to the goal of the slurm wrapper:

  • How can I gather the tasks before a run command? Is that done automatically?
  • Is it possible to prepare run steps or postpone the execution of run in a context?
  • In an asynchronous runner, can I dynamically add tasks/run command (dependent or independent on a previous step)
  • For an asynchronous runner, where do I specify how to query if a run is finished or not?
主要言語
Python
スター
4.8k
フォーク
412
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

pyinvoke/invoke のほかの issue

pyinvoke/invoke の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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