metomi / fab

Flexible build system for scientific software
https://metomi.github.io/fab/
Other
19 stars 11 forks source link

rsync should copy links #290

Closed hiker closed 2 months ago

hiker commented 3 months ago

The rsync command used in FAB does not copy links.

Recently, LFRic has started to use links for the PSyclone optimisation scripts (as the easiest way of making sure the various scripts from all partner sights stay up-to-date - while one might not agree with that, for now this is the way it is). If you now use grab_folder to copy the optimisation scripts, these links are missing, and the optimisation script cannot be found.

Simple fix: add --links to the rsync command.

hiker commented 3 months ago

This is fixed in https://github.com/hiker/fab/pull/12/files I'll issue a PR once the previous PRs of ours are merged.