datalad / datalad-installer

Installation script for Datalad and related components
MIT License
6 stars 3 forks source link

miniconda --help-versions #170

Closed yarikoptic closed 10 months ago

yarikoptic commented 1 year ago

relates to #169 , but to help user more let's add this --help-versions which would list versions for the current OS/architecture from https://repo.anaconda.com/miniconda/

jwodder commented 1 year ago

@yarikoptic Is there a JSON source for this data? I am not parsing HTML without a dedicated HTML-parsing library, and the design goals for datalad-installer mean that I cannot use such a library.

yarikoptic commented 1 year ago

please check if there is one -- would be neat indeed... I found also https://github.com/conda/conda-docs/blob/b995722687e5048b561b5a775e48d869e08e9413/docs/source/miniconda.rst#L60 but checking the git log of that file -- no indication that changes are anyhow automated/come from some other source. Please check with conda folks if there is some ultimate source

re parsing -- there is no need to parse html really. Would be enough to re.findall on those <a's

image

-- "Perfect is the enemy of good"