Add --start-date and --end-date support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- api, cli, documentation, testing
Hướng nghiên cứu
Bắt đầu từ lệnh kci-dev results issues và kiểm tra cách tùy chọn --days hiện có của lệnh này đến được dashboard API. Bổ sung kiểm thử pytest cho các trường hợp phạm vi ngày hợp lệ và không hợp lệ được liệt kê, bao gồm cả hai định dạng đầu ra. Công việc được xem là hoàn tất khi các tùy chọn ngày đi theo cặp và đã được xác thực hoạt động với dấu thời gian có múi giờ, các xung đột và lỗi được nêu rõ, --days vẫn tương thích, đồng thời phần trợ giúp, tài liệu và ví dụ được cập nhật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 10
- Fork
- 12
- Merge trung bình
- 14 giờ 42 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kernelci/kci-dev
-
kci-dev roadmap 2025/2026Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
kci-dev possible roadmapĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của kernelci/kci-dev
Issue tương tự
-
README.zh-CN/ja/es still hard-code 501 test counts after README.md went count-freeCó thể đã có người làm @Aaqibhafeezkhan đã nhận hôm nay. Đang mởbeginner documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
BistaDinesh03/critique#164 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug IO
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MrNeRF/LichtFeld-Studio#3824 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
open-webui/open-webui#33200 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Lychee link check failedĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog checkCó thể đã có người làm @ocelotl đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
open-telemetry/opentelemetry-python#5825 ·
Maintainer thường phản hồi trong vòng 2 ngày