Skip to content

Conversation

@karawoo
Copy link
Collaborator

@karawoo karawoo commented Jan 12, 2026

Intent

#491 removed get_job() which was deprecated in 0.6.0. Since we are getting ready to do another connectapi release I think it makes sense to remove the other function that was deprecated in 0.6.0, swap_vanity_url().

Checklist

  • Does this change update NEWS.md (referencing the connected issue if necessary)?
  • Does this change need documentation? Have you run devtools::document()?

@karawoo karawoo requested a review from jonkeane January 12, 2026 17:52
Copy link
Collaborator

@jonkeane jonkeane left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good, I'm happy to merge this — though there might be some unrelated changes?

Also the integration tests look like a licensing issue, maybe we need to reissue those?

Comment on lines -23 to +24
"owner_guid" = NA_character_
"owner_guid" = NA_character_,
"gid" = NA_character_
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this separate from removing the swap vanity url stuff? I'm fine to bundle it in one PR, but I want to make sure I'm following.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah it was a change to fix integration tests in CI on the preview version of Connect. I can also pull it out into a separate PR too if you prefer; either way I need to figure out what is going on with the integration tests for 2022-2023 versions first.

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK, no problem to leave it here, but maybe mention it in the PR description? Or these comments are enough record of what's up maybe?

expect_gt(length(colnames(groups_list)), 1)

expect_ptype_equal(groups_list_local, connectapi_ptypes$groups)
expect_ptype_equal(groups_list_local, connectapi_ptypes$groups, exact = FALSE)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same with this, this looks like it's something slightly different from the swap vanity urls thing?

\code{\link{set_run_as}()},
\code{\link{set_thumbnail}()},
\code{\link{set_vanity_url}()},
\code{\link{swap_vanity_url}()},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nothing you're doing (or should do) in this PR but OMG how we have to change so many .Rd files when we touch anything :(

@karawoo
Copy link
Collaborator Author

karawoo commented Jan 13, 2026

Also the integration tests look like a licensing issue, maybe we need to reissue those?

Possibly but it's weird to me that integration tests on other versions of connect that use the same license file are passing

@jonkeane
Copy link
Collaborator

Also the integration tests look like a licensing issue, maybe we need to reissue those?

Possibly but it's weird to me that integration tests on other versions of connect that use the same license file are passing

Yeah, very strange indeed! And as of last week, at least, main was fine, too 🙃

@karawoo karawoo changed the title chore: remove swap_vanity_url() chore: remove swap_vanity_url() and accommodate new API fields Jan 14, 2026
@karawoo karawoo merged commit bb19275 into main Jan 14, 2026
28 of 31 checks passed
@karawoo karawoo deleted the remove-deprecated-fun branch January 14, 2026 18:25
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.

3 participants