Skip to content

Automatically update tools in Rust repo #32

@nrc

Description

@nrc

It is a hassle and takes ages (because of the bors queue) to update tools in the Rust repo. I would like something more automated. I envisage a tool which:

  • runs daily (or maybe weekly, whatever)
  • only works on master (not beta channel, etc)
  • checks toolstate.toml and the CI for the tool and only updates if both are passing tests
  • creates its own branch where it:
    • updates the tools submodules
    • runs the complete test suite (but does not interrupt the bors queue to do so)
    • if we pass, merges at the next opportunity (i.e., we don't interrupt another Rust PR, but we don't wait to re-test, we should check toolstate.toml though)

This should mean tools on nightly are always somewhat up to date. We will not slow down the bors queue in any way. However, it does mean we are merging PRs which have not been fully tested. However, I hypothesise that because we only touch the tools submodules and we wouldn't merge if another PR touches the submodules or toolstate.toml, breakage would be extremely rare.

Metadata

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