Skip to content
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

Support recreating rsconnect pins partially created #308

Merged
merged 1 commit into from Nov 4, 2020

Conversation

javierluraschi
Copy link
Contributor

Suppose that a pin is partially created but creation fails before pin tag is assigned, in this case, pin() won't be able to overwrite the pin since we search for pins but the pin is not yet a pin. Fix is to search all content for the right GUID when the object already exists and validate that we only overwrite content that are pins or are undefined (which should be invalid content anyways).

@javierluraschi javierluraschi merged commit 4bef24b into master Nov 4, 2020
@hadley hadley deleted the bugfix/rsc-recreate-invalid branch March 9, 2021 14:52
@github-actions
Copy link

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant