Skip to content

Commit be40c7b

Browse files
committed
Add 'resolute' as a valid distro for r2u (closes #130)
1 parent 8712744 commit be40c7b

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2026-02-22 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* inst/examples/r2u.r: Add 'resolute' as a valid distro
4+
15
2026-02-18 Dirk Eddelbuettel <edd@debian.org>
26

37
* README.md: Expand README.md, now have 63 example scripts

inst/examples/r2u.r

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Simple r2u helper frontend
44
#
5-
# Copyright (C) 2022 - 2025 Dirk Eddelbuettel
5+
# Copyright (C) 2022 - 2026 Dirk Eddelbuettel
66
#
77
# Released under GPL (>= 2)
88

@@ -11,7 +11,7 @@ library(docopt)
1111
doc <- "Usage: r2u.r [--release DIST] [--debug] [--verbose] [--force] [--xvfb] [--bioc] [--suffix SUF] [--debver DBV] [--plusdfsg] [--uncache] [--dryrun] [--compile] [--help] CMD ...
1212
1313
Options:
14-
-r --release DIST release distribution to use, one of 'focal', 'jammy', 'noble' [default: noble]
14+
-r --release DIST release distribution to use, one of 'focal', 'jammy', 'noble', 'resolute' [default: noble]
1515
-d --debug boolean flag for extra debugging
1616
-v --verbose boolean flag for verbose operation
1717
-f --force boolean flag to force a build
@@ -31,10 +31,12 @@ last reports most recent binary package sync
3131
count counts packages downloaded (locally) today
3232
table tabulates packages downloaded today
3333
package updates the package(s) named in ... and builds
34+
35+
Note that some of the status subcommand are somewhat dependent on auxiliary scripts on my machine.
3436
"
3537

3638
opt <- docopt(doc)
37-
if (!is.finite(match(opt$release, c("focal", "jammy", "noble"))))
39+
if (!is.finite(match(opt$release, c("focal", "jammy", "noble", "resolute"))))
3840
stop("Unknown distro '", opt$release, "'.", call. = FALSE)
3941

4042
if (length(opt$CMD) > 1) {

0 commit comments

Comments
 (0)