Skip to content

Commit 4278d25

Browse files
committed
refactor!: remove gitlab fns
they live now in their dedicated gitlab pkg
1 parent acabf96 commit 4278d25

23 files changed

+11
-1929
lines changed

DESCRIPTION

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,11 @@ Imports:
2626
tibble (>= 3.1.0),
2727
tidyr (>= 1.1.3)
2828
Suggests:
29-
base64enc (>= 0.1.3),
3029
brio (>= 1.1.1),
3130
daff (>= 0.3.8),
3231
desc (>= 1.3.0),
33-
digest (>= 0.6.37),
3432
gert (>= 1.2.0),
3533
gh (>= 1.4.0),
36-
gitlabr (>= 2.1.0),
37-
heck (>= 0.1.3),
3834
jsonlite (>= 1.8.7),
3935
pkgdown (>= 2.0.9.9000),
4036
pkgdown.tpl (>= 0.0.9000),

NAMESPACE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ export(gh_release_latest)
77
export(gh_releases)
88
export(gh_text_file)
99
export(gh_text_files)
10-
export(gl_file_raw)
11-
export(gl_file_write)
1210
export(netlify_dns_records_delete)
1311
export(netlify_dns_records_get)
1412
export(netlify_dns_records_set)

R/sysdata.rda

-136 Bytes
Binary file not shown.

R/yay.gen.R

Lines changed: 0 additions & 570 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ remotes::install_gitlab(repo = "rpkg.dev/yay")
3030
Some of yay’s functionality is controlled via package-specific global configuration which can either be set via [R options](https://rdrr.io/r/base/options.html) or [environment variables](https://en.wikipedia.org/wiki/Environment_variable) (the former take precedence). This configuration includes:
3131

3232
::: table-wide
33-
| **Description** | **R option** | **Environment variable** | **Default value** |
34-
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------|:-------------------------------|:---------------------------------|
35-
| Base URL of the GitLab v4 RESTful API server to be accessed via the [`gl_*()` functions](https://yay.rpkg.dev/reference/index.html#gitlabr). | `yay.gitlab_base_url` | `R_YAY_GITLAB_BASE_URL` | `"https://gitlab.com/api/v4"` |
36-
| [GitLab access token](https://docs.gitlab.com/ee/api/rest/authentication.html) used for authentication in the [`gl_*()` functions](https://yay.rpkg.dev/reference/index.html#gitlabr). | `yay.gitlab_token` | `R_YAY_GITLAB_TOKEN` | `Sys.getenv("GITLAB_COM_TOKEN")` |
37-
| [Netlify personal access token](https://docs.netlify.com/api/get-started/#authentication) used for authentication in the [`netlify_*()` functions](https://yay.rpkg.dev/reference/index.html#netlify). | `yay.netlify_token` | `R_YAY_NETLIFY_TOKEN` | |
38-
| [Porkbun API key](https://porkbun.com/api/json/v3/documentation#Authentication) used for authentication in the [`porkbun_*()` functions](https://yay.rpkg.dev/reference/index.html#porkbun). | `yay.porkbun_api_key` | `R_YAY_PORKBUN_API_KEY` | |
39-
| [Porkbun secret API key](https://porkbun.com/api/json/v3/documentation#Authentication) used for authentication in the [`porkbun_*()` functions](https://yay.rpkg.dev/reference/index.html#porkbun). | `yay.porkbun_secret_api_key` | `R_YAY_PORKBUN_SECRET_API_KEY` | |
33+
| **Description** | **R option** | **Environment variable** | **Default value** |
34+
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------|:-------------------------------|:------------------|
35+
| [Netlify personal access token](https://docs.netlify.com/api/get-started/#authentication) used for authentication in the [`netlify_*()` functions](https://yay.rpkg.dev/reference/index.html#netlify). | `yay.netlify_token` | `R_YAY_NETLIFY_TOKEN` | |
36+
| [Porkbun API key](https://porkbun.com/api/json/v3/documentation#Authentication) used for authentication in the [`porkbun_*()` functions](https://yay.rpkg.dev/reference/index.html#porkbun). | `yay.porkbun_api_key` | `R_YAY_PORKBUN_API_KEY` | |
37+
| [Porkbun secret API key](https://porkbun.com/api/json/v3/documentation#Authentication) used for authentication in the [`porkbun_*()` functions](https://yay.rpkg.dev/reference/index.html#porkbun). | `yay.porkbun_secret_api_key` | `R_YAY_PORKBUN_SECRET_API_KEY` | |
4038
:::
4139

4240
## Development

Rmd/sysdata.nopurl.Rmd

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@ pkg_config <-
2727
default_value_dynamic = character(),
2828
require = logical(),
2929
description = character()) |>
30-
tibble::add_row(key = "gitlab_base_url",
31-
default_value = list("https://gitlab.com/api/v4"),
32-
require = TRUE,
33-
description = paste0("Base URL of the GitLab v4 RESTful API server to be accessed via the ",
34-
"[`gl_*()` functions](https://yay.rpkg.dev/reference/index.html#gitlabr).")) |>
35-
tibble::add_row(key = "gitlab_token",
36-
default_value_dynamic = 'Sys.getenv("GITLAB_COM_TOKEN")',
37-
require = TRUE,
38-
description = paste0("[GitLab access token](https://docs.gitlab.com/ee/api/rest/authentication.html) used for authentication in the ",
39-
"[`gl_*()` functions](https://yay.rpkg.dev/reference/index.html#gitlabr).")) |>
4030
tibble::add_row(key = "netlify_token",
4131
require = TRUE,
4232
description = paste0("[Netlify personal access token](https://docs.netlify.com/api/get-started/#authentication) used for authentication ",

0 commit comments

Comments
 (0)