MRtrix3 / mrtrix3

MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
http://www.mrtrix.org
Mozilla Public License 2.0
281 stars 176 forks source link

Packaging scripts should be able to operate on local source directories #2938

Open daljit46 opened 5 days ago

daljit46 commented 5 days ago

Currently, we have three different packaging scripts for Linux, Mac and Windows (all located in packaging). Each of them generates a compressed tarball, however, only the Linux script operates on a local source directory. The MacOS and Windows scripts download the source from GitHub and then start the packaging process. This is cumbersome because in the CI we are unnecessarily having to clone the repo twice, first via actions/checkout and then via the scripts. Instead, it'd be much nicer and less error-prone for the scripts to accept local directories to avoid this problem.