Prototype markdown table import into Github issues#203
Draft
senier wants to merge 1 commit intorustfoundation:mainfrom
Draft
Prototype markdown table import into Github issues#203senier wants to merge 1 commit intorustfoundation:mainfrom
senier wants to merge 1 commit intorustfoundation:mainfrom
Conversation
❌ Deploy Preview for scrc-coding-guidelines failed.
|
2a325c2 to
853a227
Compare
✅ Deploy Preview for scrc-coding-guidelines ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
853a227 to
7c45e3f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Caution
BE VERY CAREFUL WHEN TRYING THIS SCRIPT: ONLY USE WITH DEDICATED TESTING REPOSITORIES FOR NOW. IT WILL WREAK HAVOC ON YOUR ISSUES!
This now implements both: import of markdown tables with MISRA C rules as well as export of existing issues from the repository into a markdown table. The exported markdown is now split into sections based on the
chapterlabel the issue had assigned. Chapter labels are also created from the MISRA rule category/area (this is a heuristics and might be off).This is an experiment to import coding rules from markdown tables. The approach works well, but the output format for the issues is not correct yet. The input format is also somewhat arbitrary at the moment and no filtering is done.We could also use this to deal with #197, if we implement the reverse: Get a list of (properly tagged) issues and generate markdown / HTML from it. If we deploy this on Github pages (say, nightly), we'd have an always current list of rules and their respective state.