Add comprehensive code quality infrastructure and documentation#89
Add comprehensive code quality infrastructure and documentation#89Malcolmnixon merged 11 commits intomainfrom
Conversation
…, and documentation Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
…temp files Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Malcolmnixon
left a comment
There was a problem hiding this comment.
Could you make the quality checks (.cspell.json and .markdownlint.json) be executed in the build_on_push.yaml; which also means we can skip having the quality check scripts.
I'd like to skip the pull request template for now.
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Done in commit e77177f. I've:
The quality checks now run automatically in CI on every push, checking markdown formatting and spelling across documentation and code files. |
Malcolmnixon
left a comment
There was a problem hiding this comment.
Your additional quality check job is now reporting issues. Please either fix the issues, or relax the .markdownlint.json enforcement to relax the quality.
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Fixed in commit 8ded349. I've relaxed the .markdownlint.json rules to accommodate existing documentation style:
Also added missing SPDX-specific terms to .cspell.json:
Both quality checks now pass successfully. |
Malcolmnixon
left a comment
There was a problem hiding this comment.
The build_on_push.yaml is reporting a CodeQL complaint that the new quality-checks doesn't have an explicit permissions block. Please add the "contents:read" permission.
Additionally I'm not a fan of the Directory.Build.props files. I prefer the settings to be in the csproj files directly. Could you do the minimal changes to the csproj, and possibly move any applicable warning suppressions to the .editorconfig file.
…roj files Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Fixed in commit 839f1ba. I've:
Build and all 97 tests pass successfully. |
Malcolmnixon
left a comment
There was a problem hiding this comment.
Could you also add a dependabot configuration to update packages every week.
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Done in commit 2675bac. I've added .github/dependabot.yml configured to:
|
Quality Improvement Plan for SpdxTool
All planned quality improvements have been successfully implemented and refined based on feedback:
Code Quality Improvements ✅
Testing Improvements ✅
Documentation Improvements ✅
Build and CI Improvements ✅
Summary
All quality improvements have been completed and tested:
The changes are backward compatible and enhance code quality, documentation, and CI automation without modifying existing functionality.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.