镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Remove exact archive suffixes when locating extracted sdists - #271

Open
codewithfourtix wants to merge 3 commits into
aboutcode-org:mainfrom
codewithfourtix:fix-sdist-extracted-directory-name
Open

codewithfourtix wants to merge 3 commits into
aboutcode-org:mainfrom
codewithfourtix:fix-sdist-extracted-directory-name

Conversation

@codewithfourtix

Copy link
Copy Markdown

rstrip() removes any trailing characters found in an archive suffix, so names ending in characters such as a or zip produce the wrong extracted directory. Remove only the exact .tar.gz or .zip suffix.

Adds real archive extraction regressions for both formats.

Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant