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

feat: add doublestar to exact dir paths #8180

Conversation

chris-olszewski
Copy link
Member

@chris-olszewski chris-olszewski commented May 20, 2024

Description

If a user provides a glob that points to a directory e.g. dist or dist/ then we will add a trailing double star so that the directory contents get captured instead of just the directory entry itself.

Testing Instructions

Added unit tests for adding doublestar
Added integration test for verifying that src/ and dist for task inputs/outputs get treated as src/** and dist/** respectively.

Copy link

vercel bot commented May 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-gatsby-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 20, 2024 9:52pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2024 9:52pm
examples-tailwind-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 20, 2024 9:52pm
examples-vite-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 20, 2024 9:52pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2024 9:52pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 9:52pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 9:52pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 9:52pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 9:52pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 9:52pm

Copy link
Contributor

github-actions bot commented May 20, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@chris-olszewski chris-olszewski changed the title feat: add doublestar to exact dir pathsG feat: add doublestar to exact dir paths May 20, 2024
Copy link
Contributor

github-actions bot commented May 20, 2024

🟢 CI successful 🟢

Thanks

@chris-olszewski chris-olszewski marked this pull request as ready for review May 20, 2024 23:02
@chris-olszewski chris-olszewski requested a review from a team as a code owner May 20, 2024 23:02
Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

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

😌

@chris-olszewski chris-olszewski merged commit b72ab2a into turborepo_2 May 21, 2024
55 checks passed
@chris-olszewski chris-olszewski deleted the chrisolszewski/turbo-3132-add-wildcard-globs-to-exact-dir-paths branch May 21, 2024 04:44
tknickman pushed a commit that referenced this pull request May 21, 2024
### Description

#8180 and #8157 ended up landing in a way where `globs.t` will fail due
to using a test fixture that uses the now removed `pipeline` field.

### Testing Instructions

CI
chris-olszewski added a commit that referenced this pull request May 22, 2024
### Description

If a user provides a glob that points to a directory e.g. `dist` or
`dist/` then we will add a trailing double star so that the directory
contents get captured instead of just the directory entry itself.

### Testing Instructions

Added unit tests for adding doublestar
Added integration test for verifying that `src/` and `dist` for task
inputs/outputs get treated as `src/**` and `dist/**` respectively.
chris-olszewski added a commit that referenced this pull request May 22, 2024
### Description

#8180 and #8157 ended up landing in a way where `globs.t` will fail due
to using a test fixture that uses the now removed `pipeline` field.

### Testing Instructions

CI
chris-olszewski added a commit that referenced this pull request May 28, 2024
### Description

If a user provides a glob that points to a directory e.g. `dist` or
`dist/` then we will add a trailing double star so that the directory
contents get captured instead of just the directory entry itself.

### Testing Instructions

Added unit tests for adding doublestar
Added integration test for verifying that `src/` and `dist` for task
inputs/outputs get treated as `src/**` and `dist/**` respectively.
chris-olszewski added a commit that referenced this pull request May 28, 2024
### Description

#8180 and #8157 ended up landing in a way where `globs.t` will fail due
to using a test fixture that uses the now removed `pipeline` field.

### Testing Instructions

CI
chris-olszewski added a commit that referenced this pull request May 29, 2024
### Description

If a user provides a glob that points to a directory e.g. `dist` or
`dist/` then we will add a trailing double star so that the directory
contents get captured instead of just the directory entry itself.

### Testing Instructions

Added unit tests for adding doublestar
Added integration test for verifying that `src/` and `dist` for task
inputs/outputs get treated as `src/**` and `dist/**` respectively.
chris-olszewski added a commit that referenced this pull request May 29, 2024
### Description

#8180 and #8157 ended up landing in a way where `globs.t` will fail due
to using a test fixture that uses the now removed `pipeline` field.

### Testing Instructions

CI
chris-olszewski added a commit that referenced this pull request May 31, 2024
### Description

If a user provides a glob that points to a directory e.g. `dist` or
`dist/` then we will add a trailing double star so that the directory
contents get captured instead of just the directory entry itself.

### Testing Instructions

Added unit tests for adding doublestar
Added integration test for verifying that `src/` and `dist` for task
inputs/outputs get treated as `src/**` and `dist/**` respectively.
chris-olszewski added a commit that referenced this pull request May 31, 2024
### Description

#8180 and #8157 ended up landing in a way where `globs.t` will fail due
to using a test fixture that uses the now removed `pipeline` field.

### Testing Instructions

CI
chris-olszewski added a commit that referenced this pull request Jun 4, 2024
### Description

If a user provides a glob that points to a directory e.g. `dist` or
`dist/` then we will add a trailing double star so that the directory
contents get captured instead of just the directory entry itself.

### Testing Instructions

Added unit tests for adding doublestar
Added integration test for verifying that `src/` and `dist` for task
inputs/outputs get treated as `src/**` and `dist/**` respectively.
chris-olszewski added a commit that referenced this pull request Jun 4, 2024
### Description

#8180 and #8157 ended up landing in a way where `globs.t` will fail due
to using a test fixture that uses the now removed `pipeline` field.

### Testing Instructions

CI
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.

2 participants