-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Directory glob does not work for repositories without version control #9574
Comments
Can you describe what you mean by "manual SCM"? I can't say I've ever heard of this, and searching the web for it didn't yield me anything that looked like Off-hand, this sounds like something that isn't supported per our Support Policy so it's possible that this ambiguous behavior is expected. |
ah sorry, "manual SCM" is what the verbose logs refer to the scenario without git. the support policy mentions that it supports "repositories that don't have version control at all". the |
I just saw that for some reason we're going through a different codepath that skips "fixing" globs when manual hashing is used. Right now if you pass Current workaround is to change the input glob from
(In your reproduction repository |
yeah, the workaround i went with was just doing a |
Verify canary release
Link to code that reproduces this issue
https://github.com/cjquines/turborepo-manual-scm
Which canary version will you have in your reproduction?
turbo 2.3.4-canary.2
Enviroment information
Expected behavior
The task
app-a#build
has the inputsrc
, and per file glob specification, should include all the files in itssrc
as part of its input.Actual behavior
With the manual SCM, the
src
is not part of the input.To Reproduce
Clone the repo, then remove version control (via e.g.
mv .git _git
).Run
turbo build --summarize
; observe that the taskapp-a#build
does not havesrc
in its inputs.Additional context
No response
The text was updated successfully, but these errors were encountered: