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

[parse] long file handling #29

Open
pi0 opened this issue Jan 21, 2025 · 0 comments
Open

[parse] long file handling #29

pi0 opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pi0
Copy link
Member

pi0 commented Jan 21, 2025

Environment

Reproduction

https://stackblitz.com/edit/stackblitz-starters-rnsaetcx?file=index.mjs

Describe the bug

GitHub tarball paths for filenames are inconsistent. It seems it assumes we should inherit last dir name and prefix it to names.

I have to do little more research if there is some meta specific to this behavior we might be missing or it is just a convention to follow by default.

long paths should be handled from previous tar entries

Additional context

Context: #14 (comment)

Logs

[directory] astro-main/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/src/components/
[file] Bar.vue
[file] Circle.svg
[file] Foo.vue
@pi0 pi0 added the bug Something isn't working label Jan 21, 2025
@pi0 pi0 changed the title Normalize paths [parse] normalize paths with different tar formats Jan 21, 2025
pi0 added a commit that referenced this issue Jan 21, 2025
@pi0 pi0 changed the title [parse] normalize paths with different tar formats [parse] long file handling Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant