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

basic checkout parallelism #346

Merged
merged 37 commits into from
Mar 9, 2022
Merged

basic checkout parallelism #346

merged 37 commits into from
Mar 9, 2022

Conversation

Byron
Copy link
Owner

@Byron Byron commented Mar 6, 2022

  • propagate real error when accessing objects in checkout, maybe with a box if possible.
  • overwrite-existing support
  • non'static thread support
  • don't forget to hookup parallel tests in makefile
  • 'small' support without threading primitives
  • reason about race conditions on the file system related to collisions and symlinks trying to exploit.

@Byron Byron force-pushed the checkout-parallelism branch 7 times, most recently from 7624d3d to 7c9bb48 Compare March 7, 2022 13:13
Byron added 20 commits March 8, 2022 08:13
…and maybe there are better ways using NO_FOLLOW.

it's definitely something that wants more testing.
It helps to have a local case-insensitive file system to test against
…and have to figure out how that should work also in conjunction with
something like 'check-path'. For now it seems we can put all the work
to unlink destinations into our write-entry equivalent, allowing
check-path to not mutate anything.
…tests need some work, it doesn't yet run as it should.
…the path cache now shows failing tests due to fix.
Needs its state handling fixed.
We do our best to test all the cases, and tests discovered quite a few
special cases.

Directories need to be removed recursively, but when that is done
it should be quite equivalent to the capabiliites of git itself.
On windows, there are no symlinks, and we change our expectations
accordingly.
@Byron Byron merged commit 21d6f88 into main Mar 9, 2022
@Byron Byron deleted the checkout-parallelism branch March 12, 2022 03:05
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.

None yet

1 participant