reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Synchronize ReactPy version within all repositories

Open Archmonger opened this issue 3 years ago • 7 comments
trafficstars

Current Situation

Currently, we don't have an automated way to keep ReactPy version in our other repos up-to-date. This results in the repositories outside core to be perpetually out of date unless manually updated.

Proposed Actions

Create a CI workflow that runs daily. It will need to check in with what the latest ReactPy version is on PyPI, and will submit a PR to bump the ReactPy version when needed.

A unique workflow will need to be generated for each repository.

Archmonger avatar Feb 23 '22 09:02 Archmonger

Maybe related to #527

rmorshea avatar Feb 23 '22 20:02 rmorshea

@acivitillo or @tony-maynard, this would greatly reduce the burden of regular maintenance across IDOM's repos.

rmorshea avatar Feb 23 '22 20:02 rmorshea

I'm not quite sure what the best way to go about doing this would be, but my guess is that, each repo should have it's own action for synchronizing with idom-team/idom. If there's a way to trigger actions defined in the various downstream repos whenever a release happens in idom-team/idom, that would be ideal.

rmorshea avatar Feb 23 '22 20:02 rmorshea

Maybe related to #527

I don't believe so. This IDOM version sync would need to be separate from our "common files".

At least that's how I've seen this implemented in other repositories.

The version sync process is very similar to how dependabot works. Except this CI would be syncing the latest IDOM version to multiple different files (ex. within Django-IDOM) on a schedule.

Archmonger avatar Feb 23 '22 21:02 Archmonger

I will be taking first the other issue I was assigned to

acivitillo avatar Feb 24 '22 07:02 acivitillo

@rmorshea Since we're aiming for a monorepo, can we close this?

Archmonger avatar Jun 09 '23 00:06 Archmonger

I'm not sure exactly how I want to handle it. The repo is set up for it, but maybe we limit it to just things that we want to include as namespace packages?

rmorshea avatar Jun 09 '23 02:06 rmorshea