Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix (delegated) targets metadata HASHES definition #62

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

lukpueh
Copy link
Member

@lukpueh lukpueh commented Nov 15, 2019

Remove not fully accurate phrase in the HASHES definition in section “4.5. File formats: targets.json and delegated target roles” of the spec.

Contrary to that phrase, HASHES is an unconditionally mandatory value under each TARGETPATH for top-level targets and all delegated targets roles:

 { TARGETPATH : {
       "length" : LENGTH,
       "hashes" : HASHES,
       ("custom" : { ... }) }
   , ...
 }

It seems like this accidentally slipped through our review in the recent (and actually unrelated) #47. (cc @erickt, @trishankatdatadog).

Remove not fully accurate phrase in the HASHES definition in
section “4.5. File formats: targets.json and delegated target
roles” of the spec.

Contrary to that phrase, HASHES is an unconditionally mandatory
value under each TARGETPATH for top-level targets and all delegated
targets:

 { TARGETPATH : {
       "length" : LENGTH,
       "hashes" : HASHES,
       ("custom" : { ... }) }
   , ...
 }
Copy link
Member

@trishankatdatadog trishankatdatadog left a comment

Choose a reason for hiding this comment

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

LGTM

@lukpueh lukpueh merged commit 4b82990 into theupdateframework:master Nov 15, 2019
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