-
Notifications
You must be signed in to change notification settings - Fork 8
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
Separate out stabilization into configurable passes #132
Conversation
418cd2b
to
e1e2227
Compare
f98b326
to
38c8171
Compare
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.
This is cool! It's really helpful to have the different considerations separated out and encapsulated with a description.
Do you think eventually we'll be able to tell which stabilizers actually made modifications? I was imagining the stabilizers could return a modified copy instead of modifying in place. That way the invocation of the stabilizer can compare before-after, but that would be expensive to copy the file on every stabilizer invocation.
I guess another option would be for the stabilizers to return a bool of whether they made a modification. It would be more efficient but potentially less robust and more complex.
Yeah it's certainly possible but I don't think it's a particular priority. The current way, we provide the document the passes we do apply at a given time. Next, we would have to provide feedback from both the rebuilt and upstream artifacts, take the super-set of the applied passes, and report those. Even that could be confusing given we'd report the same set of passes for both while the changes would often just reflect variability in the upstream artifact's metadata. Further, this wouldn't necessarily provide valuable feedback to our users or to upstream maintainers. If our argument is that these differences aren't security-critical, diverting time/resources to resolving them isn't productive. |
I think I was thinking about #83 but agreed that it's not high priority at the moment. |
Yeah I read that, as well. I think that's more the "next step" as I was saying and less a near-term priority. |
1f933db
to
18f3f90
Compare
18f3f90
to
dbbb10f
Compare
Working towards a solution for #39