Skip to content

Conversation

@senier
Copy link

@senier senier commented Sep 12, 2025

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 chapter label 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.

@netlify
Copy link

netlify bot commented Sep 12, 2025

Deploy Preview for scrc-coding-guidelines failed.

Name Link
🔨 Latest commit 2a325c2
🔍 Latest deploy log https://app.netlify.com/projects/scrc-coding-guidelines/deploys/68c405235309070008a3486f

@senier senier force-pushed the @senier/markdown-to-github-issue-importer branch from 2a325c2 to 853a227 Compare November 5, 2025 12:51
@netlify
Copy link

netlify bot commented Nov 5, 2025

Deploy Preview for scrc-coding-guidelines ready!

Name Link
🔨 Latest commit 7c45e3f
🔍 Latest deploy log https://app.netlify.com/projects/scrc-coding-guidelines/deploys/690b56f3b3f996000814b4c4
😎 Deploy Preview https://deploy-preview-203--scrc-coding-guidelines.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@senier senier force-pushed the @senier/markdown-to-github-issue-importer branch from 853a227 to 7c45e3f Compare November 5, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant