Skip to content

Commit

Permalink
chore: Software bump (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
csgillespie authored Jul 24, 2024
1 parent cae7c9e commit 7a5c7ed
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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", , "[email protected]", role = c("aut", "cre"))
Description: Base package for sharing classes between posit audit
Expand All @@ -23,7 +23,7 @@ Imports:
stringr,
tibble,
yaml
Suggests:
Suggests:
jsonlite,
rvest,
testthat (>= 3.0.0)
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion R/get_latest_versions_remote.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
6 changes: 6 additions & 0 deletions inst/extdata/versions/connect.csv
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion inst/extdata/versions/software.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-software-versions.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
)
Expand Down

0 comments on commit 7a5c7ed

Please sign in to comment.