Skip to content

Conversation

@james-ball-qualcomm
Copy link
Collaborator

No description provided.

Signed-off-by: James Ball <jameball@qti.qualcomm.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes support for XLSX and AsciiDoc output formats from the normative rules tool, leaving only JSON and HTML formats supported. This simplification reduces dependencies (removing the write_xlsx gem requirement) and maintenance burden by eliminating ~160 lines of output format code and associated test infrastructure.

Key changes:

  • Removed XLSX and AsciiDoc output format support from create_normative_rules.rb
  • Cleaned up command-line options and validation logic
  • Removed all XLSX/AsciiDoc test infrastructure from the Makefile
  • Deleted expected test output files for removed formats

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
tools/create_normative_rules.rb Removed write_xlsx dependency, -x/-a command-line options, output_xlsx/output_adoc functions, and commented debug code
tests/norm-rule/expected/test-norm-rules.adoc Deleted expected test output file for AsciiDoc format (270 lines removed)
tests/norm-rule/expected/test-norm-rules.xlsx Deleted expected test output file for XLSX format
Makefile Removed all build, comparison, and update targets for XLSX and AsciiDoc formats

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: James Ball <jameball@qti.qualcomm.com>
@james-ball-qualcomm james-ball-qualcomm merged commit 4468eb2 into main Dec 11, 2025
2 checks passed
@james-ball-qualcomm james-ball-qualcomm deleted the 162-remove-support-for-adoc-and-xlsx-output-formats-for-norm-rule-tool branch December 11, 2025 00:33
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.

Remove support for adoc and xlsx output formats for norm rule tool

2 participants