Skip to content

Commit

Permalink
More regex for bioconductor
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronJackson committed Sep 27, 2024
1 parent 5a8bd2e commit f23b242
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions reverse_proxy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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$
Expand Down

0 comments on commit f23b242

Please sign in to comment.