rsconnect-python icon indicating copy to clipboard operation
rsconnect-python copied to clipboard

write-manifest lacks html and other-content subcommands

Open aronatkins opened this issue 1 year ago • 2 comments

rsconnect 1.22.0 does not support rsconnect write-manifest html or rsconnect write-manifest other-content. Both of these options are supported by rsconnect deploy <type>.

This means that manifest generation and deployment cannot be separated for html and other-content.

$ rsconnect write-manifest html index.html
Usage: rsconnect write-manifest [OPTIONS] COMMAND [ARGS]...
Try 'rsconnect write-manifest --help' for help.

Error: No such command 'html'.
$ rsconnect write-manifest other-content
Usage: rsconnect write-manifest [OPTIONS] COMMAND [ARGS]...
Try 'rsconnect write-manifest --help' for help.

Error: No such command 'other-content'.

aronatkins avatar Mar 01 '24 22:03 aronatkins

rsconnect deploy other-content shows help on how to deploy other content. rsconnect write-manifest other-content could do the same, but it isn't a functional limitation (just a documentation/help limitation).

And deploy other-content doesn't seem to work as intended anymore:

$ rsconnect deploy other-content
Usage: rsconnect deploy other-content [OPTIONS]

  Show help on how to deploy other content to Posit Connect.

Options:
  --help  Show this message and exit.

$ rsconnect deploy other-content --help
Usage: rsconnect deploy other-content [OPTIONS]

  Show help on how to deploy other content to Posit Connect.

Options:
  --help  Show this message and exit.

mmarchetti avatar Mar 04 '24 13:03 mmarchetti

Note: When resolved, update the Connect-side tests which attempt to deploy HTML content using rsconnect-python.

aronatkins avatar Mar 07 '24 16:03 aronatkins