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

Fixes #1040

Merged
merged 10 commits into from
Feb 22, 2024
Merged

Fixes #1040

merged 10 commits into from
Feb 22, 2024

Conversation

zkrige
Copy link
Collaborator

@zkrige zkrige commented Feb 21, 2024

I tried the latest version on macOS and a lot of things broke.

Here are the fixes

  • fix lint scripts
  • fix macos symlinks
  • fix ffmpeg download

BEGIN_COMMIT_OVERRIDE
fix(get): create symlinks after extracting files from zip

fix(get): do not use options.downloadUrl to set ffmpeg download url

END_COMMIT_OVERRIDE

- fix macos symlinks
- fix ffmpeg download
src/get/index.js Outdated Show resolved Hide resolved
src/get/index.js Outdated Show resolved Hide resolved
src/get/index.js Outdated Show resolved Hide resolved
src/get/index.js Outdated Show resolved Hide resolved
src/get/index.js Outdated Show resolved Hide resolved
src/get/index.js Outdated Show resolved Hide resolved
@ayushmanchhabra ayushmanchhabra removed their assignment Feb 21, 2024
zkrige and others added 7 commits February 21, 2024 19:30
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
Co-authored-by: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com>
@zkrige
Copy link
Collaborator Author

zkrige commented Feb 21, 2024

Is there anything else needed? Must I change version number or anything?

@ayushmanchhabra
Copy link
Collaborator

ayushmanchhabra commented Feb 21, 2024

Is there anything else needed? Must I change version number or anything?

Nope, releases have been automated now. Couple more questions and should be good to go. Want to ask detailed questions and record them as code comments so that I don't regress on the fixes you implement.

const linkTarget = Buffer.concat(chunks).toString('utf8').trim();

// Check if the symlink or a file/directory already exists at the destination
if (fs.existsSync(entryPathAbs)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does rm not delete symlinks? Why should there be existing symlinks?

@zkrige zkrige merged commit 69247fe into main Feb 22, 2024
3 checks passed
@zkrige zkrige deleted the fixes branch February 22, 2024 04:50
@zkrige
Copy link
Collaborator Author

zkrige commented Feb 22, 2024

@ayushmanchhabra I merged this PR but I see version is still 4.6.1 - should I manually bump version?

@ayushmanchhabra
Copy link
Collaborator

Yup thats cuz you merged instead of squash and merge, let me try squashing the last few commits

@zkrige
Copy link
Collaborator Author

zkrige commented Feb 22, 2024

ah apologies - I'll bear that in mind for futuer

@ayushmanchhabra
Copy link
Collaborator

ayushmanchhabra commented Feb 22, 2024

All good, a simple squash and merge and voila! (I should have updated the PR title and description before approving tbh)

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

2 participants