set-resource-architectures¶
Set the architectures for a resource revision in Charmhub.
Each resource revision is tagged with one or more architectures. If a revision is incorrectly tagged, this command can modify the architecture tags for that resource revision.
For example:
$ charmcraft resource-revisions my-charm my-resource Revision Created at Size Architectures 1 2020-11-15 T11:13:15Z 183151 riscv64 $ charmcraft set-resource-architectures my-charm my-resource –revision=1 arm64,armhf Revision 1 of ‘my-resource’ on charm ‘my-charm’ set to architectures: arm64,armhf $ charmcraft resource-revisions my-charm my-resource Revision Created at Size Architectures 1 2020-11-15 T11:13:15Z 183151 arm64,armhf
Usage¶
charmcraft set-resource-architectures [options] <None> <charm-name> <resource-name> <None>
Required¶
NoneComma-separated list of architectures.
charm-nameThe name of the charm.
resource-nameThe resource name.
NoneA revision to update.
Options¶
--formatProduce the result in the specified format (currently only ‘json’).
Global options¶
-hor--helpShow this help message and exit.
-qor--quietOnly show warnings and errors, not progress.
-vor--verboseShow debug information and be more verbose.
--verbositySet the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-Vor--versionShow the application version and exit.