-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add VCS aware file change event querying #96
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to support this
.arg("--deleted") | ||
.arg("--modified") | ||
.arg("--others") | ||
.arg("-z") // We separate rows by \0 to avoid issues with newlines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are able to distinguish CI builds (which won't have a working tree changes) then you can shortcut a bunch of time spent here.
I'll remove the yarn v1 parser - https://gist.github.com/yamadapc/285bc0614027aadf25fd22154dae1538 |
This PR adds a prototype of VCS aware change lists queries.
It adds a new filesystem implementation which uses a rust implementation of git diffing / yarn lock/state reading to get the list of changed files.
There is a
README.md
explaining details including how to roll-out / next steps. As it is, this branch does not consume the event lists returned by VCS, as I'd like to measure the accuracy of the changes.Additionally, an example binary is provided which can be used to list changes.