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

git-filter-repo: Fix decompress error #6536

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

silver886
Copy link
Contributor

Use Expand-ZipArchive instead of Expand-7zArchive to resolve #6451.

Closes #6451
Relates to #6519

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

git-filter-repo

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

@@ -7,12 +7,18 @@
"Git": "git",
"Python 3": "python"
},
"url": "https://github.com/newren/git-filter-repo/archive/v2.47.0.zip#/dl.7z",
"url": "https://github.com/newren/git-filter-repo/archive/v2.47.0.zip#/dl.bin",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"url": "https://github.com/newren/git-filter-repo/archive/v2.47.0.zip#/dl.bin",
"url": "https://github.com/newren/git-filter-repo/archive/v2.47.0.zip#/dl.zi_",

Should use a meaningful extension

Comment on lines 14 to 16
"Expand-ZipArchive -Path \"$dir\\dl.bin\" -DestinationPath \"$dir\" -Removal",
"Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\"",
"Copy-Item \"$dir\\git-filter-repo\" \"$dir\\contrib\\filter-repo-demos\" | Out-Null"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"Expand-ZipArchive -Path \"$dir\\dl.bin\" -DestinationPath \"$dir\" -Removal",
"Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\"",
"Copy-Item \"$dir\\git-filter-repo\" \"$dir\\contrib\\filter-repo-demos\" | Out-Null"
"Expand-ZipArchive -Path \"$dir\\dl.zi_\" -DestinationPath \"$dir\" -Removal",
"Move-Item \"$dir\\git-filter-repo-*\\*\" \"$dir\"; Remove-Item \"$dir\\git-filter-repo-*\""

The last command is not needed now imo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think that's required either.

@niheaven niheaven merged commit 6e346e7 into ScoopInstaller:master Feb 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[email protected]: decompress error
2 participants