alan-turing-institute / alan-turing-institute/github-analyser

filter by timeframe

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

for `get_commits()`, `get_issues()` and `get_pull_requests()` it would be great to be able to filter by date. So if we would like to get all PRs in 2024, we could say something like `get_pull_requests(from = ... , to = ...). Would need to decide on a data format etc. Currently, we have that data and can filter afterwards, but we really only want to retrieve what's necessary.

Contributor guide

Open the contributing guide

Research direction

Inspect the implementations of get_commits(), get_issues(), and get_pull_requests() to see how date data and retrieval are currently handled. Decide on the date-filter format and define completion as all three functions accepting the filter and retrieving only results within the requested timeframe.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.