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

fix(github-plugin): removes the processed org check to return all the… #8088

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

petercort
Copy link
Contributor

@petercort petercort commented Sep 21, 2024

… org repos, and pulls the repository data when adding scope

previous behavior would return a single repository. Also no repo data was returned so the user could not add the repo to devlake

fixes part of my issue in #7655

⚠️ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

  • I have read through the Contributing Documentation.
  • I have added relevant tests.
  • I have added relevant documentation.
  • I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

Removees the processed org check which was preventing multiple repositories from being pulled. The processed org check would trigger after a single repo was returned. Also I've added in the repo data model because it wasn't returning data, and therefore data couldn't be added to the scope!

Does this close any open issues?

Partial fix for #7655

Screenshots

Include any relevant screenshots here.

Other Information

I'm not sure what the initial purpose the processedOrgs check had, so deleting it entirely might be aggressive. But since the app connection is scoped to a single org I don't see a direct downside to removing it.

… org repos, and pulls the repository data when adding scope

previous behavior would return a single repository. Also no repo data was returned so the user could not add the repo to devlake

fixes part of my issue in apache#7655
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. component/plugins This issue or PR relates to plugins pr-type/bug-fix This PR fixes a bug labels Sep 21, 2024
Copy link
Contributor

@abeizn abeizn left a comment

Choose a reason for hiding this comment

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

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 23, 2024
@abeizn abeizn merged commit bcc3c5f into apache:main Sep 23, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/plugins This issue or PR relates to plugins lgtm This PR has been approved by a maintainer pr-type/bug-fix This PR fixes a bug size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants