usethis-defunct: Defunct and deprecated functions in usethis

Description Usage pr_pull_upstream() pr_sync() browse_github_token(), browse_github_pat() github_token() git_branch_default() use_tidy_labels()

Description

These functions have either been deprecated or removed from usethis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22

pr_pull_upstream()

This function has been replaced by pr_merge_main().

pr_sync()

Bundling these operations together did not seem justified, in terms of how rarely this comes up and, when it does, how likely merge conflicts are. Users of pr_sync() should implement these steps "by hand":

browse_github_token(), browse_github_pat()

These functions have been replaced by create_github_token().

github_token()

All implicit and explicit token discovery routes through gh::gh_token() now.

git_branch_default()

Please call git_default_branch() instead. In hindsight, that is a better name for this function.

use_tidy_labels()

Please call use_tidy_github_labels() instead. In hindsight, that is a better name for this function.


usethis documentation built on Oct. 25, 2021, 9:06 a.m.