Skip to content

Fix/resolve feedback#1734

Closed
oskarnurm wants to merge 12 commits intopython-discord:mainfrom
DD2280-Group-16:fix/resolve-feedback
Closed

Fix/resolve feedback#1734
oskarnurm wants to merge 12 commits intopython-discord:mainfrom
DD2280-Group-16:fix/resolve-feedback

Conversation

@oskarnurm
Copy link
Copy Markdown

No description provided.

chenniebenniebingbang and others added 12 commits February 28, 2026 14:15
* feat: rename file to follow project convention

* feat: add issue count method

* feat: return -1 if fetching issues failed
* feat: implemented get_commit_count metohd

* fix: fixed status code handling

* fix: fixed the potential excessive API calls by reading the links header

---------

Co-authored-by: Markus Selin <marselin@kth.sem>
* feat: add get_stars_gained

* refactor: optimize github API requests

---------

Co-authored-by: Ali Najib <anajib@kth.se>
Co-authored-by: Oskar Nurm <19738295+oskarnurm@users.noreply.github.com>
* feat: implemented validate methods

* fix: fixed validate methods to match the functionality of the command

* fix: removed the async since it isnt needed
* feat: implemented the validate methods into githubinfo.py

* feat: check date before API calls and simplify validate range

Checking valid input before API calls is smarter as we can prevent someone rate limiting the bot this way. We also don't need to guard  against future calls as GitHub will just happily return all the issues up to the present moment.

---------

Co-authored-by: oskarnurm <19738295+oskarnurm@users.noreply.github.com>
@oskarnurm oskarnurm closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants