-
Notifications
You must be signed in to change notification settings - Fork 12
Description
@benjub asked in a thread:
how easy/useful would it be to have the CI check/warn if dependencies were added in any proof in an MR ? (by comparing the outputs of show trace xxx /axioms for all xxx modified by the PR) ?
I think generally it would be interesting to make a tool to check differences between two versions of a MM file and output useful information like:
- which theorems were changed
- which comments were changed
- are the changes in the Mathboxes?
- axiom usage change, etc.
I don't think any existing tool provides this kind of functionality.
git diff provides the lines changed, so its output could be used as an input for computing these changes.
And git diff can be run within a GitHub action to get the changes in the current PR.
My question is: should this functionality be built-in in metamath-knife, or should we consider a new mm-diff tool based on metamath-knife?