easybuilders / easybuild-easyblocks

Collection of easyblocks that implement support for building and installing software with EasyBuild.
https://easybuild.io
GNU General Public License v2.0
106 stars 285 forks source link

support revisions in crates extraction procedure in `Cargo` easyblock #3405

Closed Flamefire closed 3 months ago

Flamefire commented 3 months ago

There might be entries like

source = "git+https://github.com/charliermarsh/rs-async-zip?rev=011b24604fa7bc223daaad7712c0694bac8f0a87#011b24604fa7bc223daaad7712c0694bac8f0a87"

We do handle "?branch=sha#sha" but not "?rev=sha#sha", so extend this to "rev". To be safe match the revision.