feat(addrelease): ship ReARM-native device-identity fields programmatically#29
Open
taleodor-claude wants to merge 2 commits into
Open
feat(addrelease): ship ReARM-native device-identity fields programmatically#29taleodor-claude wants to merge 2 commits into
taleodor-claude wants to merge 2 commits into
Conversation
…ically Adds optional flags to `rearm addrelease` so a release created via addReleaseProgrammatic can carry the Distribution-module device-identity fields (UDI-DI etc.), even on a manual / non-CI release: --rearmidentifiers TYPE:VALUE (repeatable; TYPE in UDI|UDI_DI|UDI_PI) --gudid-record '<json>' --gudid-status NOT_SUBMITTED|SUBMITTED|PUBLISHED --eos <iso-date> --eol <iso-date> Fields are only attached to the request when supplied, so existing usage is unaffected and they no-op against servers that don't yet accept them. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The backend now carries one identifiers list per release (PURL/CPE/TEI plus UDI/UDI_DI/UDI_PI/SERIAL/LOT), so the flag posts to the unified identifiers key and accepts all types. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds optional flags to
rearm addreleaseso a release created viaaddReleaseProgrammaticcan carry the Distribution-module device-identity fields — including the UDI-DI — even on a manual / non-CI release shipped straight from the CLI.These map onto the new
ReleaseInputProgfields (rearmIdentifiers,gudidRecord,gudidStatus,eos,eol).Backward compatibility
Each field is attached to the request only when its flag is supplied, so existing
addreleaseusage is completely unaffected, and the new flags no-op against servers that don't yet accept them.Test plan
go buildcompiles clean.rearm addrelease --helplists the five new flags.🤖 Generated with Claude Code