Skip to content

Supporting dependencies.yaml and mirrors? #563

@hiker

Description

@hiker

In all Fab build scripts for suites a class to manage dependencies.yaml file has been added (partly using a different name, due to the LFRic work starting with parsing fcm config files).

It would be good to add this support to Fab. Though again the question is, is that a tool that a 'generic' build system should have? If not, it would make sense to have this in common repository, instead of maintaining different versions across suites.

Additionally:

  • In the UM Fab script, I have added support for mirroring (a callback to the site config to replace URLs), which would be useful to have here as well.
  • We also need to support merging different branches "on top of each other", which is currently done in the Simsys scripts. There is some serious code duplication involved :( One approach (discussed at Encapsulate git functions into a Fab-compatible class SimSys_Scripts#217, given the constraint that SimSys does not want to have a dependency on Fab) would be to copy some Fab classes (2 or 3) into SimSys, then it would be easier to switch over at some stage, when SimSys is retired. Though that by itself also creates code duplication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions