This commit is contained in:
Patrick Schratz 2024-07-25 00:28:28 +02:00
commit 1199863b8b
Signed by: pat-s
GPG key ID: 3C6318841EF78925
3 changed files with 5 additions and 3 deletions

View file

@ -5,8 +5,7 @@ Authors@R:
person("First", "Last", , "first.last@example.com", role = c("aut", "cre"), person("First", "Last", , "first.last@example.com", role = c("aut", "cre"),
comment = c(ORCID = "YOUR-ORCID-ID")) comment = c(ORCID = "YOUR-ORCID-ID"))
Description: What the package does (one paragraph). Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a License: GPL (>= 3)
license
Imports: Imports:
cli, cli,
cranlike, cranlike,
@ -17,7 +16,6 @@ Imports:
gert, gert,
lubridate, lubridate,
magrittr, magrittr,
memoise,
pak, pak,
pkgbuild, pkgbuild,
progressr, progressr,
@ -25,6 +23,8 @@ Imports:
RPostgres, RPostgres,
s3fs, s3fs,
xml2 xml2
Suggests:
dbplyr
Encoding: UTF-8 Encoding: UTF-8
Roxygen: list(markdown = TRUE) Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2 RoxygenNote: 7.3.2

View file

@ -5,6 +5,7 @@ export(build_single_tag)
export(dbcon) export(dbcon)
export(install_package_system_dependencies) export(install_package_system_dependencies)
export(list_metadata_tables) export(list_metadata_tables)
export(query_metadata_table)
export(set_bin_path) export(set_bin_path)
export(set_codename) export(set_codename)
export(upload_single_binary_to_s3) export(upload_single_binary_to_s3)

View file

@ -3,6 +3,7 @@
#' @importFrom DBI dbConnect dbGetQuery #' @importFrom DBI dbConnect dbGetQuery
#' @importFrom RPostgres Postgres #' @importFrom RPostgres Postgres
#' @importFrom dplyr tbl #' @importFrom dplyr tbl
#' @export
query_metadata_table <- function(table = "single_builds") { query_metadata_table <- function(table = "single_builds") {
con <- DBI::dbConnect(RPostgres::Postgres(), con <- DBI::dbConnect(RPostgres::Postgres(),
dbname = "build_metadata", host = "postgres-arm-binaries-r.devxy.io", dbname = "build_metadata", host = "postgres-arm-binaries-r.devxy.io",