Skip to content

test: check ISO images entries are unique#2326

Merged
frankiejol merged 4 commits into
mainfrom
test/iso_images
May 12, 2026
Merged

test: check ISO images entries are unique#2326
frankiejol merged 4 commits into
mainfrom
test/iso_images

Conversation

@frankiejol
Copy link
Copy Markdown
Member

Verifies names, descriptions and file regexp are unique. URLs may be duplicated but not concatenated with the file_re.

This will spot mistakes specially when file_re that happened in the past.

@frankiejol frankiejol added this to the v2.4.6 milestone May 12, 2026
Copilot AI review requested due to automatic review settings May 12, 2026 09:23
Copy link
Copy Markdown
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

Adds a repository-level test to ensure iso_images entries don’t accidentally duplicate key identifying fields, helping catch regressions in ISO metadata (especially around file_re mistakes).

Changes:

  • Introduces test_unique_entries() to assert uniqueness of name, description, file_re, and a derived url + file_re key.
  • Runs the new uniqueness test as part of t/repository/10_iso.t.

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

Comment thread t/repository/10_iso.t
Comment thread t/repository/10_iso.t
frankiejol and others added 3 commits May 12, 2026 11:30
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@frankiejol frankiejol merged commit f579416 into main May 12, 2026
1 check passed
@frankiejol frankiejol deleted the test/iso_images branch May 12, 2026 09:47
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