-
Notifications
You must be signed in to change notification settings - Fork 867
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
[enhancement]: Support Sparse Checkout #4325
Comments
Hi @bdovaz thanks for the reporting! We're currently working on higher priority issues, but we'll get back this this one soon. |
Note that the |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
No stale |
|
Although it is an improvement, it has nothing to do with the purpose of this issue. The big improvement would be that at a high level through the |
any way to bump priority on this one? monorepos consume agent time uselessly doing full checkouts... |
I proposed this one |
If anyone is interested, I wrote the sparse checkout as a template, which can then be used as follows:
with the template
|
There is no documentation for this feature yet? |
docs would be really helpful |
so, trying to use this in azure devops gives me:
and another could it be that azure devops still needs an update before this is supported? |
ADO has exactly two syntaxes, the less familiar one is working right know in
variables:
- name: AGENT_USE_SPARSE_CHECKOUT_IN_CHECKOUT_TASK
value: true
steps:
- task: 6d15af64-176c-496d-b583-fd2ae21d4df4@1
inputs:
sparseCheckoutDirectories: .vscode
repository: self
- script: ls -la If you need You would see the git sparse commands in the shell. * branch 6ccd4af5a724d5b17713a6280806877f23a8fabe -> FETCH_HEAD
git sparse-checkout init --cone
git sparse-checkout set .vscode
git checkout --progress --force refs/remotes/origin/6ccd4af5a724d5b17713a6280806877f23a8fabe |
Describe your feature request here
For monorepo repositories this is a must to be able to speed up builds as much as possible.
I see that this very thing has been recently merged by @dscho into the GitHub checkout action: actions/checkout#1369
Would this same functionality be possible in azure pipelines?
Thanks!
The text was updated successfully, but these errors were encountered: