Skip to content

Update constraint_set schema to allow manufacturer namespaces#31

Merged
cristian-recoseanu merged 4 commits intov1.0.xfrom
publish-manufacturer-namespaces
Jul 30, 2025
Merged

Update constraint_set schema to allow manufacturer namespaces#31
cristian-recoseanu merged 4 commits intov1.0.xfrom
publish-manufacturer-namespaces

Conversation

@cristian-recoseanu
Copy link
Contributor

No description provided.

to allow manufacturer namespaces
Copy link

@pedro-alves-ferreira pedro-alves-ferreira left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@garethsb garethsb left a comment

Choose a reason for hiding this comment

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

LGTM.
Noting that the regex ^urn:[a-z0-9][a-z0-9-]{0,30}[a-z0-9]: is based on RFC 8141 definition of NID (but we stick to allowing lowercase only):

      assigned-name = "urn" ":" NID ":" NSS
      NID           = (alphanum) 0*30(ldh) (alphanum)
      ldh           = alphanum / "-"

@alabou
Copy link

alabou commented Jul 10, 2025

Note that IS-11 APIs/schemas/constraint_set.json and APIs/schemas/constraints_supported.json should also be modified to support the stricter RFC 8141 definition but there is no harm in keeping IS-11 more "generic".

@cristian-recoseanu cristian-recoseanu merged commit 596fa85 into v1.0.x Jul 30, 2025
3 checks passed
@cristian-recoseanu cristian-recoseanu deleted the publish-manufacturer-namespaces branch July 30, 2025 09: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.

4 participants