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

Modernize package_index VCS handling #4332

Merged
merged 10 commits into from
Apr 30, 2024
Merged

Modernize package_index VCS handling #4332

merged 10 commits into from
Apr 30, 2024

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Apr 29, 2024

  • Remove pop_prefix parameter, unused.
  • Add a test capturing the basic expectation.
  • Update _vcs_split_rev_from_url to use modern constructs.
  • package-index: Extract fall-through methods _download_vcs and _download_other.
  • Extract _resolve_vcs for resolving a VCS from a URL.
  • Consolidated all _download_vcs methods into one.
  • Replace os.system calls with subprocess calls.
  • Prefer tmp_path fixture.

Summary of changes

Closes

Pull Request Checklist

@jaraco jaraco closed this Apr 29, 2024
@jaraco jaraco reopened this Apr 29, 2024
@jaraco jaraco merged commit 88807c7 into main Apr 30, 2024
39 of 40 checks passed
@jaraco jaraco deleted the debt/package-index-vcs branch April 30, 2024 00:01
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.

None yet

1 participant