Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Software bump #35

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading