-
Notifications
You must be signed in to change notification settings - Fork 60
new script ch-convert
#698
Conversation
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 think everything looks good here.
Need to take care with
Thanks for catching this @atorrez and @Brofessional! |
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 like the new approach. I'm sure I'll mess up the formats every time trying to do implicit so I'm happy about the explicit options, it looks a little more the way I'd be used to exporting images.
I am totally unreasonably opposed to adding other output extensions for squashfs. No strong reason, it just makes output extensions more complicated.
down with .squash
and .squashfs
long live .sqfs
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.
Looks good. Are we still planning to add the conveniece subcommand ch-image convert
? If so we should also add the documentation draft for that here as well.
Yes, though I think it would be three subcommands: |
Ah, three explicit subcommands sounds like a better approach. In that case, yes, a separate PR seems appropriate. |
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.
Overall I think everything is working as intended. Only a few small things here and there that I thought were maybe confusing in the documentations.
More to-do:
|
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.
This looks great. I look forward to the one wrapper to rule them all.
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.
LGTM!
This PR implements a new script
ch-convert
that replaces the following scripts, which are now deprecated:ch-build2dir
ch-builder2squash
ch-builder2tar
ch-dir2squash
ch-pull2dir
ch-pull2tar
ch-tar2dir
Relevant to #484.