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

Save deployments more aggressively #709

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Save deployments more aggressively #709

merged 1 commit into from
Feb 24, 2023

Conversation

hadley
Copy link
Member

@hadley hadley commented Feb 24, 2023

Fixes #677. Fixes #270.


# write a deployment record only if this is the account that owns the content
if (is.null(application$owner_username) ||
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you're deploying to content that you don't own (but still have permission to update), you still want to update the lastSyncTime, bundle id` etc.

@@ -1,5 +1,11 @@
# rsconnect 0.8.30 (development version)

* `deployApp()` is more aggressive about saving deployment data, which should
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aside: I totally missed that we have forgetDeployment to help clean-up those pesky repeats I'm always creating when testing!

@hadley hadley merged commit 9808693 into main Feb 24, 2023
@hadley hadley deleted the save-twice branch February 24, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

saveDeployment() before upload? Simplify download-edit-redeploy workflow
2 participants