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

Add --start-date and --end-date support

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

kci-dev results issues コマンドから始め、既存の --days オプションがダッシュボード API にどのように到達するかを確認します。列挙された有効および無効な日付範囲のケースについて、両方の出力形式を含む pytest のカバレッジを追加します。タイムゾーン対応のタイムスタンプで、ペアになった検証済みの日付オプションが機能し、競合とエラーが明確で、--days との互換性が維持され、ヘルプ、ドキュメント、例が更新されれば完了です。

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

説明

enhancement

The KernelCI dashboard allows users to select exact custom date ranges for issue listings. However, kci-dev results issues currently supports only --days.

As a result, dashboard-generated kci-dev commands must round custom ranges up to a whole-day duration. These commands cannot reproduce the exact start and end boundaries selected in the dashboard.

Add the following options to kci-dev results issues:

--start-date
--end-date

Requirements:

Accept YYYY-MM-DD dates and timezone-aware ISO 8601 timestamps.
Pass the corresponding exact boundaries to the dashboard API.
Require --start-date and --end-date to be used together.
Reject a range where the start is later than the end.
Make an explicit date range mutually exclusive with --days.
Preserve the existing --days behavior for backward compatibility.
Return clear usage errors for invalid or incomplete ranges.
Support the new options with both human-readable and JSON output.
Update command help, documentation, and examples.
Add pytest coverage for valid ranges, timestamps with timezones, invalid values, reversed ranges, incomplete pairs, and conflicts with --days.

Example:

kci-dev results issues
--origin maestro
--start-date 2026-08-01T00:00:00Z
--end-date 2026-08-08T00:00:00Z

Once implemented, the KernelCI dashboard can generate commands that reproduce custom issue-listing date ranges without rounding or reporting omitted timestamp boundaries.

主要言語
Python
スター
10
フォーク
11
平均マージ
13日 2時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

kernelci/kci-dev のほかの issue

kernelci/kci-dev の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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