Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package dashboard fixes #104

Merged
merged 5 commits into from
Jan 9, 2024
Merged

Package dashboard fixes #104

merged 5 commits into from
Jan 9, 2024

Conversation

javierggt
Copy link
Collaborator

@javierggt javierggt commented Oct 30, 2023

Description

Fixes for dashboard:

  • Properly identify commits for squashed merges (Handle squash and merge in history for releases #105).
  • repositories with no releases were crashing.
  • repositories with no PRs or no commits were crashing.
  • fix an issue causing an infinite loop when fetching a list of commits.
  • remove use_pr_titles argument (which was neverFalse anyway)

Fixes #105

Interface impacts

Testing

Unit tests

  • No unit tests
  • Mac
  • Linux
  • Windows

Functional tests

This is the version currently running in the dashboard. You can see starcheck 32 and agasc 161, which are squashed PRs.

@javierggt javierggt changed the title Package dashboard fixes WIP: Package dashboard fixes Oct 30, 2023
@javierggt javierggt changed the title WIP: Package dashboard fixes Package dashboard fixes Jan 5, 2024
…mit message, and removed use_pr_titles argument all over (titles are always used now)
@javierggt javierggt requested review from jeanconn and removed request for jeanconn January 5, 2024 17:44
@javierggt javierggt requested a review from jeanconn January 5, 2024 17:49
@@ -827,9 +849,6 @@ def _get_repository_info_v3(
:param since: int or str
the maximum number of releases to look back, or the release tag to look back to
(not inclusive).
:param use_pr_titles: bool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't user-facing but maybe add to the description that this basically-unused feature is removed with this PR.

@javierggt javierggt merged commit ff224bc into master Jan 9, 2024
2 checks passed
@javierggt javierggt deleted the packages-fixes branch April 18, 2024 15:49
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.

Handle squash and merge in history for releases
2 participants