You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we want customers to create their own requirements.txt file to avoid unnecessary deployment delays and bloat on their Connect server, we should proactively tell them when we're creating requirements files for them.
Currently we don't print anything about it when not in -v mode:
> publisher init ./
Created config file "/Users/kgartland/work/publishing-client/test/sample-content/fastapi-simple/.posit/publish/default.toml"
In non-verbose mode we could tell the customer we're creating the requirements file for them:
> publisher init ./
A requirements.txt file was not found so we're creating one for you with `pip freeze`. Please review before publishing and omit any unnecessary packages or create your own manually.
Created requirements file "/Users/kgartland/work/publishing-client/test/sample-content/fastapi-simple/requirements.txt"
Created config file "/Users/kgartland/work/publishing-client/test/sample-content/fastapi-simple/.posit/publish/default.toml"
Additionally in rsconnect-python we print a comment in the requirements file so we know it was generated by us, which could be a helpful troubleshooting tool.
i.e.
# requirements.txt generated by rsconnect-python on 2023-12-14 17:04:15.470311
The text was updated successfully, but these errors were encountered:
Since we want customers to create their own
requirements.txt
file to avoid unnecessary deployment delays and bloat on their Connect server, we should proactively tell them when we're creating requirements files for them.Currently we don't print anything about it when not in
-v
mode:verbose mode:
Suggestion:
In non-verbose mode we could tell the customer we're creating the requirements file for them:
Additionally in
rsconnect-python
we print a comment in the requirements file so we know it was generated by us, which could be a helpful troubleshooting tool.i.e.
The text was updated successfully, but these errors were encountered: