-
Notifications
You must be signed in to change notification settings - Fork 82
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
enclave_build: fix argument parsing and image generation #424
base: main
Are you sure you want to change the base?
Conversation
Checked the logs: |
a5a62a3
to
dc64679
Compare
done in dc64679 |
Currently failing on license check |
@@ -303,7 +303,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" | |||
|
|||
[[package]] | |||
name = "enclave_build" | |||
version = "0.1.0" | |||
version = "0.2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we bump the version here? Is the version 0.1.0 released on crates.io?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's a significant change I thought it would make sense to change the version here, but I don't know how this library's maintainers manage versioning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not on crates.io, I don't see a point in updating the version here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea, I think it's up to the maintainers to choose here.
@@ -303,7 +303,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to follow the 50/72 rule for commit messages. Also please add a Signed-off-by
line: git commit -s --amend
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll rebase on main
and update the commit message.
5f2ea25
to
4165a15
Compare
Can you describe a bit more the issue that this patch is fixing? It seems to make the commandline arguments inconsistent, since they follow |
The issue here is that it is not possible to create a signed image with |
Fixed inconsistencies in argument names that make it impossible to generate a signed image. Fixed potential image corruption if the output image already exists by truncating it before writing to it. Bump version to 0.2.0. Signed-off-by: sstone <[email protected]>
4165a15
to
73d002d
Compare
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.