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

Move download copying out of unpacking functions #7510

Merged

Conversation

chrahunt
Copy link
Member

Progresses #7049.

One less use of `download_dir` in `unpack_file_url`, which will make it
easier to factor out.
@chrahunt chrahunt added type: refactor Refactoring code skip news Does not need a NEWS file entry (eg: trivial changes) labels Dec 24, 2019
Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

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

LGTM. Does the docstring of unpack_file_url need updating?

Now our "unpacking" functions aren't also for sometimes populating
the download directory.
@chrahunt chrahunt force-pushed the refactor/operations-prepare-move-download-up branch from 5f725b6 to ce9ddbb Compare December 26, 2019 16:12
@chrahunt
Copy link
Member Author

Yes, thank you. I have updated it and unpack_url, too.

@chrahunt
Copy link
Member Author

Ping @pypa/pip-committers, any additional feedback?

@chrahunt chrahunt merged commit b3741ac into pypa:master Dec 29, 2019
@chrahunt chrahunt deleted the refactor/operations-prepare-move-download-up branch December 29, 2019 12:15
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jan 28, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants