posit-dev / rsconnect-python

Command line interface for publishing to Posit Connect
https://docs.posit.co/rsconnect-python/
GNU General Public License v2.0
28 stars 20 forks source link

write-manifest lacks html and other-content subcommands #548

Open aronatkins opened 4 months ago

aronatkins commented 4 months ago

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'.
mmarchetti commented 4 months ago

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.
aronatkins commented 4 months ago

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