Skip to content

Supporting dependencies.yaml and mirrors? #563

Open

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.

Activity

  1. hiker commented on Aug 25, 2026

    @hiker
    CollaboratorAuthor

    We decided to move the DependencyInfo class into Fab. Mirroring can be added using a custom callback to the site config (this could be added as example to the documentation).

  2. added 6 commits that reference this issue on Aug 26, 2026
  3. added
    Mk.II
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mk.II

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions