-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Published content titles are lowercased #1022
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Looks like it's happening at https://github.com/rstudio/rsconnect/blob/main/R/title.R#L42, which seems to be by design. I wonder why this path wasn't previously travelled in the CRAN version? |
@aronatkins I think this might be because you switched from |
@hadley Yep. That was my expectation, too. @scubastevew and I were chatting privately yesterday and I asked him to file this issue to track the problem. |
In 0.8.29, we used Additionally, 0.8.29 used With 0.8.29, a lower-cased content name is created, meaning that Connect uses that lower-cased name as the initial title. Starting with rsconnect 1.0.0, we did not lower-case the content name, and the changes for #1021 shifted us back to using |
Update: shinyapps.io and Connect want Posit Cloud wants A summarization of the current behavior:
The IDE provides both name and title to rsconnect. Posit Cloud deployments currently use name rather than title, but after chatting with @scubastevew, it sounds like the title is more appropriate. The Posit Cloud content name is not used in URLs and should not have the same restrictions as the shinyapps.io content name. @m-- Will Posit Cloud offer separate names (for URLs and computer-lookups) and titles (human friendly)? Are names supposed to be unique? The IDE currently drops the user-provided title when deploying to Posit Cloud, which was a surprise to me and @scubastevew. |
The the development version of
rsconnect
sets the name of the content to lowercase.For example, when publishing to posit.cloud, the content is named
EnLS3Mz3UZ
and the resulting published content is namedenls3mz3uz
.Steps to reproduce:
rsconnect::deployDoc('EnLS3Mz3UZ.html', server='posit.cloud')
rsconnect::deployDoc('EnLS3Mz3UZ.html', server='')
What the published content looks like with the development version of rsconnect:
What the published content looks like with the CRAN release of rsconnect.
The text was updated successfully, but these errors were encountered: