-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
github-feed/src/github_feed/utils.py
Lines 53 to 56 in 1f9ba9d
| def extract_repo_name_from_html_url(html_url: str) -> str: | |
| # Example: https://github.com/leptos-rs/leptos/releases/tag/v0.7.2 | |
| url_parts = html_url.split("/") | |
| return url_parts[-4] |
The linked function has a bug for edge cases where the tag name contains a /.
Example
Tag name @sveltejs/kit@2.15.1 with url
https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.15.1 results in repo name of releases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
