chore: drop stale Hetzner-pointing helpers
Justfile and local/manual-package-index-update.R both targeted the old Hetzner S3 endpoint (hel1.your-objectstorage.com, bucket devxy-r-package-binaries-hel1) and the HETZNER_S3_*_K3S env vars. Storage moved to Backblaze a while ago, so anyone running these would write to the wrong place or just fail. No callers in-tree; deleting outright. A manual one-off rebuild can call bincraft::upload_package_index() directly with the current Backblaze settings.
This commit is contained in:
parent
b1bed68898
commit
948bc97166
1 changed files with 0 additions and 52 deletions
|
|
@ -1,39 +0,0 @@
|
|||
# R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git")'
|
||||
# remotes::install_gitlab("devxy/r-package-binaries/bincraft")
|
||||
|
||||
library(bincraft)
|
||||
library(dplyr)
|
||||
s3fs::s3_file_system(
|
||||
aws_access_key_id = Sys.getenv("HETZNER_S3_ACCESS_KEY_K3S"),
|
||||
aws_secret_access_key = Sys.getenv("HETZNER_S3_SECRET_KEY_K3S"),
|
||||
endpoint = "https://hel1.your-objectstorage.com",
|
||||
region_name = "hel1",
|
||||
refresh = TRUE
|
||||
)
|
||||
|
||||
s3fs::s3_file_delete("devxy-r-package-binaries-hel1/arm64/noble/latest/src/contrib/PACKAGES.db")
|
||||
s3fs::s3_file_delete("devxy-r-package-binaries-hel1/arm64/noble/latest/src/contrib/PACKAGES.gz")
|
||||
s3fs::s3_file_delete("devxy-r-package-binaries-hel1/arm64/noble/latest/src/contrib/PACKAGES.rds")
|
||||
s3fs::s3_file_delete("devxy-r-package-binaries-hel1/arm64/noble/latest/src/contrib/PACKAGES")
|
||||
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/duckdbfs_0.0.9.tar.gz")$etag
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/Archive/duckplyr/duckplyr_0.4.1.tar.gz")$etag
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/duckplyr_1.0.0.tar.gz")$etag
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/duckduckr_1.0.0.tar.gz")$etag
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/getDTeval_0.0.2.tar.gz")$etag
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/dualtrees_0.1.5.tar.gz")$etag
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/arm64/alpine321/latest/src/contrib/tidyselect_1.2.1.tar.gz")
|
||||
s3fs::s3_file_info("devxy-r-package-binaries-hel1/arm64/alpine321/latest/src/contrib/tidysq_1.2.3.tar.gz")
|
||||
# s3fs::s3_file_info("devxy-r-package-binaries-hel1/amd64/alpine320/latest/src/contrib/Archive/curl/curl_6.0.1.tar.gz")
|
||||
|
||||
s3fs::s3_file_download("devxy-r-package-binaries-hel1/amd64/rhel9/latest/src/contrib/PACKAGES.db", "PACKAGES.db")
|
||||
|
||||
upload_package_index(codename = "noble", arch = "arm64")
|
||||
|
||||
fs::file_delete("PACKAGES.db")
|
||||
|
||||
|
||||
con = DBI::dbConnect(RSQLite::SQLite(), "PACKAGES-debug.db")
|
||||
|
||||
DBI::dbListTables(con)
|
||||
df = DBI::dbReadTable(con, "packages")
|
||||
Loading…
Reference in a new issue