Skip to content

Commit

Permalink
fix(find_dependencies): a GitHub issues URL can point us to the repo.
Browse files Browse the repository at this point in the history
This lets us find where `wheel` is hosted on GitHub.
  • Loading branch information
Ned Batchelder committed Oct 13, 2023
1 parent cdedcaf commit 79e3ce3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edx_repo_tools/find_dependencies/find_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def repo_url_from_tgz(tgz_path: str) -> Optional[str]:
r"(?i)^Home-page: (.*)$",
r"(?i)^Project-URL: Home.*,\s*(.*)$",
# If we can't find a URL marked as home, then use any GitHub repo URL.
r"(?i)^Project-URL: [^,]+,\s*(https?://github.com/[^/]+/[^/]+)/issues/?$",
r"(?i)^Project-URL: [^,]+,\s*(https?://github.com/[^/]+/[^/]+)$",
]

Expand Down

0 comments on commit 79e3ce3

Please sign in to comment.