From 0708c14876c270c175ec91e3b25961db6c2aa49f Mon Sep 17 00:00:00 2001 From: Colin Gillespie Date: Wed, 24 Jul 2024 16:09:04 +0100 Subject: [PATCH] chore: Software bump --- .github/workflows/R-CMD-check.yaml | 2 -- DESCRIPTION | 4 ++-- NEWS.md | 3 +++ R/get_latest_versions_remote.R | 2 +- inst/extdata/versions/connect.csv | 6 ++++++ inst/extdata/versions/software.csv | 4 +++- tests/testthat/test-software-versions.R | 2 +- 7 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a3ac618..89c42b0 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -18,8 +18,6 @@ jobs: fail-fast: false matrix: config: - - {os: macos-latest, r: 'release'} - - {os: windows-latest, r: 'release'} - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-latest, r: 'release'} - {os: ubuntu-latest, r: 'oldrel-1'} diff --git a/DESCRIPTION b/DESCRIPTION index efd1b8f..abb04c4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: audit.base Title: Base package for Posit Checks -Version: 0.6.18 +Version: 0.6.19 Authors@R: person("Jumping", "Rivers", , "info@jumpingrivers.com", role = c("aut", "cre")) Description: Base package for sharing classes between posit audit @@ -23,7 +23,7 @@ Imports: stringr, tibble, yaml -Suggests: +Suggests: jsonlite, rvest, testthat (>= 3.0.0) diff --git a/NEWS.md b/NEWS.md index 34fff7d..f31af7e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +# audit.base 0.6.19 _2024-07-24_ +- chore: Software bump + # audit.base 0.6.18 _2024-06-25_ - feat: Dynamically obtain software versions, but fall but to static diff --git a/R/get_latest_versions_remote.R b/R/get_latest_versions_remote.R index acf8377..5a6c99b 100644 --- a/R/get_latest_versions_remote.R +++ b/R/get_latest_versions_remote.R @@ -4,7 +4,7 @@ get_latest_versions_remote = function() { py = get_latest_versions_from_posit("python") # Drop latest to get all releases q = jsonlite::read_json("https://api.github.com/repos/quarto-dev/quarto-cli/releases/latest") - quarto = c("1.0.38", "1.1.189", "1.2.475", stringr::str_remove(q$name, "^v")) + quarto = c("1.0.38", "1.1.189", "1.2.475", "1.3.450", "1.4.557", stringr::str_remove(q$name, "^v")) software_tibble = tibble::tibble( software = rep( diff --git a/inst/extdata/versions/connect.csv b/inst/extdata/versions/connect.csv index ab8bc0d..c57207d 100644 --- a/inst/extdata/versions/connect.csv +++ b/inst/extdata/versions/connect.csv @@ -1,4 +1,10 @@ version,cve +2024.06.0,CVE-2024-24786 +2024.06.0,CVE-2024-24789 +2024.06.0,CVE-2024-24790 +2024.06.0,CVE-2024-24786 +2024.06.0,CVE-2024-24789 +2024.06.0,CVE-2024-24790 2024.05.0,CVE-2024-24787 2024.05.0,CVE-2024-24788 2024.05.0,CVE-2024-24787 diff --git a/inst/extdata/versions/software.csv b/inst/extdata/versions/software.csv index 68dba49..f0c3290 100644 --- a/inst/extdata/versions/software.csv +++ b/inst/extdata/versions/software.csv @@ -4,7 +4,9 @@ python,3.11.9 python,3.10.14 python,3.9.19 python,3.8.19 -quarto,1.4.555 +quarto,1.5.55 +quarto,1.4.557 +quarto,1.3.450 quarto,1.2.475 quarto,1.1.189 quarto,1.0.38 diff --git a/tests/testthat/test-software-versions.R b/tests/testthat/test-software-versions.R index add08df..f60ccc7 100644 --- a/tests/testthat/test-software-versions.R +++ b/tests/testthat/test-software-versions.R @@ -47,7 +47,7 @@ test_that("Ensure that software versions are up to date", { testthat::skip_on_ci() versions = get_latest_versions(remote = FALSE) latest = get_latest_versions_remote() - # If this test files, try running update_software_csv() first + expect_true(all(latest$version %in% versions$version), info = "Try running update_all_versions()" )