ACON icon indicating copy to clipboard operation
ACON copied to clipboard

aconcli: Issues in command line syntax/flags

Open binxing opened this issue 2 years ago • 4 comments

This issue tracks several (minor) problems in aconcli command line syntax/flags. These problems should be easy to fix.

  • [x] generate errs on existing FS layer symlinks
  • [x] generate should take output file name as a parameter and docker image/tag by a flag - as support to container tools other than docker may be added in future.
  • [ ] export - --ignoresig doesn't seem to have been implemented. Also, do we have to check signature when exporting an image? Can we just export whatever available?
    • [x] Report "unimplemented" when --ignoresig is specified.
    • [ ] Implement --ignoresig in future.
  • [x] ls and prune err on empty ACON image repo
  • [x] report missing flag/option to request a quote instead of a report
  • [x] report should generate nonce at random if not specified by the user
  • [ ] stop and shutdown should have command line syntax/flags consistent with other commands - i.e., -c for specifying ACON TD/VM and -e for specifying container.
  • [x] sign errs on re-signing, also due to existing symlinks like in the generate command.

binxing avatar Oct 13 '23 21:10 binxing

@xxu36, I found one more bug in sign that is very similar to generate - it errs on existing symlink. I've appended that the the tasklist above.

binxing avatar Oct 24 '23 00:10 binxing

I'll look at ls and prune issues this week. @xxu36 please have a look at other task items.

binxing avatar Nov 07 '23 05:11 binxing

ls and prune issues are fixed in #52

binxing avatar Nov 15 '23 06:11 binxing

Let's implement --ignoresig now. For shutdown and stop command syntax, we may have to change if unix socket forwarding can work, so postpone to next release.

binxing avatar Mar 05 '24 05:03 binxing