Expand description
component: include pin classification and resolution.
Two distinct steps, deliberately kept separate:
classify_component_pin_style— a pure, shape-only classification of the raw pin text, computed at parse time with no registry access (mirrorsdeps-github-actions’sis_tag_shaped— same documented trade-off: a textual release name that doesn’t look like a version is classifiedcrate::types::PinStyle::Brancheven when it later turns out to exactly match a published release).resolve_component_pin— the FR-007 priority-ladder resolution against the project’s published releases (never the raw tag list — an unreleased tag is not a usable component version), run once release data is actually fetched.
Functions§
- classify_
component_ pin_ style - Classifies a
component:pin’s raw text by shape alone. - gitlab_
version_ req - Parses
rawas asemver::VersionReq, applying GitLab’s own partial-pin semantics. - resolve_
component_ pin - Resolves
raw(acomponent:pin, already classified aspin) againstreleases.