-
Notifications
You must be signed in to change notification settings - Fork 308
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
meta: diff checker for CAPs #893
Comments
This issue is stale because it has been open for 30 days with no activity. It will be closed in 30 days unless the stale label is removed. |
@MonsieurNicolas Are you open to receiving a PR to this repository that adds something minimal that does this ☝🏻? |
yeah sounds good if it's not too much trouble! re: what do we diff against, I'd say to just use git tag names, like Meta data can just be inside the quoted block to avoid interaction with markdown, maybe something like (the patch is copy/pasted as is between the begin/end lines):
|
I think we should avoid modifying the contents of the code block, because that prevents us from using the We could put it immediately prior to the block in some consistent format to keep it close to the diff. The reason I suggested adding it to the metadata is because CAPs are proposed diffs to a specific version of the protocol, so this could be useful information to have for a proposal as a whole. |
This issue is stale because it has been open for 30 days with no activity. It will be closed in 30 days unless the stale label is removed. |
I created |
I think we could benefit from a small scoped investment in a diff checker on CAPs.
On two or three occasions diffs have been committed that are corrupt. This is usually discovered by someone consuming the diff, and not by the person publishing the diff. Diffs are fiddly and it's easy for copy paste errors to occur, or stray characters, or missing new lines at the end to result in a corrupt diff.
We could build a small utility that runs in a GitHub Action that:
```diff
and ends with```
cc @MonsieurNicolas @stanford-scs @jonjove @sisuresh
The text was updated successfully, but these errors were encountered: