Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

plugins: Fix URL returned by github plugin to the UI #1097

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

mwasilew
Copy link
Contributor

@mwasilew mwasilew commented Jun 8, 2023

Github API has changed since the plugin was created. The new URL fixes HTTP 404 status. It's still not ideal as it leads to the JSON object instead of the nice web UI.
https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#get-a-commit

@mwasilew mwasilew force-pushed the fix-gh-plugin-redirect-url branch from 69caa49 to 33ccb9f Compare June 8, 2023 12:46
Github API has changed since the plugin was created. The new URL fixes
HTTP 404 status. It's still not ideal as it leads to the JSON object
instead of the nice web UI.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
@mwasilew mwasilew force-pushed the fix-gh-plugin-redirect-url branch from 33ccb9f to 1c00073 Compare June 8, 2023 13:18
@mwasilew
Copy link
Contributor Author

mwasilew commented Jun 8, 2023

I added a test to cover get_url but it still can't go over 79% coverage.

@chaws chaws merged commit c882e27 into Linaro:master Jun 13, 2023
@chaws
Copy link
Collaborator

chaws commented Jun 13, 2023

@mwasilew thanks for the fix, I'm yet to find the time to get the coverage above 80%, I'll work on a squad feature this week, will look into increase testing coverage then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants