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

Pull in tar-rs fork to work around startup issue. #378

Merged
merged 2 commits into from May 18, 2023
Merged

Pull in tar-rs fork to work around startup issue. #378

merged 2 commits into from May 18, 2023

Conversation

obmarg
Copy link
Member

@obmarg obmarg commented May 17, 2023

Description

tar-rs has an issue where it won't overwrite files if they're stored as hard links in the tar. We install our asset node_modules with pnpm, which uses hard links to deduplicate content. This means grafbase dev will refuse to overwrite some existing files on startup.

I've fixed this and PRd it, this pulls the fix in the meantime.

Type of change

  • πŸ’” Breaking
  • πŸš€ Feature
  • πŸ› Fix
  • πŸ› οΈ Tooling
  • πŸ”¨ Refactoring
  • πŸ§ͺ Test
  • πŸ“¦ Dependency
  • πŸ“– Requires documentation update

`tar-rs` has an issue where it won't overwrite files if they're stored
as hard links in the tar.  We install our asset `node_modules` with
pnpm, which uses hard links to deduplicate content.  This means
`grafbase dev` will refuse to overwrite some existing files on startup.

I've fixed this PRd it, this pulls the fix in the meantime.
@obmarg obmarg requested a review from a team as a code owner May 17, 2023 18:38
Copy link
Contributor

@pimeys pimeys left a comment

Choose a reason for hiding this comment

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

nice

@fbjork fbjork merged commit 436aca8 into main May 18, 2023
13 of 15 checks passed
@fbjork fbjork deleted the fork-tar branch May 18, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants