Skip to content

Add dcl metadata override and cover page metadata support#12

Open
torreirow wants to merge 2 commits intomainfrom
feature/dcl-metadata-override
Open

Add dcl metadata override and cover page metadata support#12
torreirow wants to merge 2 commits intomainfrom
feature/dcl-metadata-override

Conversation

@torreirow
Copy link
Copy Markdown

  • texnative_dcl.lua: Add support for simple 'dcl' property to override data classification level from command line (-M dcl="confidential") instead of the verbose -M data_classification_label.level syntax
  • page-cover.tex: Add support for clientname and reportperiod metadata fields for flexible report generation

Both changes are backward compatible and add new functionality.

- texnative_dcl.lua: Add support for simple 'dcl' property to override
  data classification level from command line (-M dcl="confidential")
  instead of the verbose -M data_classification_label.level syntax
- page-cover.tex: Add support for clientname and reportperiod metadata
  fields for flexible report generation

Both changes are backward compatible and add new functionality.

-- Support simple 'dcl' property to override level
-- This allows: -M dcl="confidential" instead of -M data_classification_label.level="confidential"
if meta.dcl ~= nil then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like the change, but could this be meta.data_classification_level? Verbose properties are self documenting.

Use more verbose property name for better self-documentation
as suggested in PR review feedback.
@torreirow
Copy link
Copy Markdown
Author

@mipmip suggested change applied

@torreirow torreirow requested a review from mipmip March 24, 2026 08:02
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.

2 participants