Skip to content

Automatically keep MoarVM/dyncall up to date with upstream #1775

Open
@ugexe

Description

MoarVM/dyncall is a mirror of a dyncall mercurial repository that is used as a submodule of MoarVM. However, that mirror is missing lots of meta data from the original repositories such as release tags. Instead we can use a scheduled GitHub Action + hg-fast-export to sync to MoarVM/dyncall which would retain all the e.g. original commit messages and release tags. By retaining the release tags we could also do things like use dependabot to send PRs that keep the dyncall submodule up-to-date version wise.

As an example of how this can be done see the github action for https://github.com/ugexe/dyncall The github action is slightly more convoluted than it could be due to the default branch being the only one that can run actions on a schedule, but it is still pretty straight forward.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions