From f23b24223c344d95ca671ed293ebfcdee33d55de Mon Sep 17 00:00:00 2001 From: Aaron Jackson Date: Fri, 27 Sep 2024 15:47:30 +0100 Subject: [PATCH] More regex for bioconductor --- reverse_proxy/defaults/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/reverse_proxy/defaults/main.yml b/reverse_proxy/defaults/main.yml index 3d36b57..e608c4c 100644 --- a/reverse_proxy/defaults/main.yml +++ b/reverse_proxy/defaults/main.yml @@ -7,12 +7,11 @@ cran_mirror: https://cran.ma.imperial.ac.uk/ cran_regex: ^/(bin/windows|src)/contrib/(4\.1|4\.3|4\.4|3\.6)*/*[a-zA-Z0-9_\-\.]*(\.tar\.gz|\.zip|PACKAGES)$ # bioconductor -# examples: -# https://bioconductor.posit.co/packages/3.20/bioc/src/contrib/BiocVersion_3.20.0.tar.gz -# https://bioconductor.posit.co/packages/3.20/bioc/bin/windows/contrib/4.4/BiocVersion_3.20.0.zip -# https://bioconductor.posit.co/packages/json/3.20/bioc/packages.json bioconductor_mirror: https://bioconductor.statistik.tu-dortmund.de/ -bioconductor_regex: ^\/packages\/(json\/)*[0-9\.]+\/bioc\/([a-zA-Z]+.js(on)*|(src|bin\/windows)\/contrib(\/[0-9\.]*)*\/[a-zA-Z0-9_\-\.]*(\.tar\.gz|\.zip|PACKAGES))$ +bioc_repo_regex: ^\/packages\/[0-9\.]+/(src|bin\/windows)\/contrib\/[a-zA-Z0-9_\-\.]*(\.tar\.gz|\.zip)$ +bioc_index_regex: ^\/packages\/[0-9\.]+/workflows/src/contrib/PACKAGES$ +bioc_data_regex: ^\/packages/[0-9\.]+/(workflows|data\/(annotation|experiment))\/src\/contrib\/PACKAGES$ +bioconductor_regex: '({{bioc_repo_regex}}|{{bioc_index_regex}}|{{bioc_data_regex}})' # conda-forge conda_repo_regex: ^/(conda-forge|bioconda)/(linux-64|linux-aarch64|win-64|noarch)/(current_)?repodata.json$