Skip to content

no_pins: refuse '<=' and exact '=' ceilings (#37) - #92

Merged
linuxnow merged 2 commits into
mainfrom
fix/37-nopins-ceiling-forms
Oct 18, 2026
Merged

linuxnow merged 2 commits into
mainfrom
fix/37-nopins-ceiling-forms

Conversation

@linuxnow

Copy link
Copy Markdown
Contributor

declared() now counts any '<=', '=' or '<' constraint on omx-clap-host-tests as a ceiling in packaging/plugin-hostd.spec, and '<<', '<=', '<' or '=' in debian/control. Floor-only ruling of 2026-10-15.

Tests: python3 tests/no_pins.py is green on the tree. tests/sabotage.py gains one nopins case per form ('<=', '=', '<') in each file (six cases).

Sabotage: planted each of the six forms (with <!nocheck> in debian/control so the check-stage rule does not mask it) in a scratch copy. The previous no_pins.py accepted the exact '=' form in the spec and all four non-'<' forms in debian/control (printed 'no pin anywhere'); the new one refuses all six. I did not run the full tests/sabotage.py harness.

Closes #37

@linuxnow
linuxnow merged commit 2deb6e3 into main Oct 18, 2026
30 checks passed
@linuxnow
linuxnow deleted the fix/37-nopins-ceiling-forms branch October 18, 2026 23:41
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.

no_pins.py: also refuse a '<=' ceiling and an exact '=' pin

1 participant