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

Add dry-run mode for fetchers

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
28/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
devops, testing

調査の方向性

まず、提案されている --evidence エントリーポイントについて、Python fetcher のリクエストパスと既存の local 実行を追跡し、次に Travis で fetch と check の実行がどのように行われるかを調べます。dry-run がサンプルファイルのデータを受け付け、ライブリクエストを回避し、fetch と check の両方で一貫して動作すれば完了です。この issue には、合意済みのアプローチとテスト計画がまだ必要です。

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

説明

enhancement fetch runners

Overview

We should add a dry-run mode for fetchers that mocks out the Python request and instead returns a response containing content provided as a test file that contains production-like data typically returned by a call to an API. This will allow us to provide mocked responses and allow for Travis to validate that our fetchers and checks work as expected as part of any commit pushed or PR submitted to a compliance repo.

Requirements

  • Add a "dry-run" mode
    • Thinking --evidence dry-run, this way it can be used on a fetch and a check execution and should behave like a local execution except that data will come from a sample file.
  • dry-run mode should mock requests and replace the responses with content provided by files containing production-like data.
  • Execution should be otherwise seamless

Approach

TBD

Security and Privacy

TBD

Test Plan

TBD

主要言語
Python
スター
78
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

ComplianceAsCode/auditree-framework のほかの issue

ComplianceAsCode/auditree-framework の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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