jku / repository-playground

Community artifact repository workflow experiments
Other
7 stars 4 forks source link

design a versioning (and updating) scheme #127

Open jku opened 1 year ago

jku commented 1 year ago

We have multiple separate components at play:

We should figure out what is easiest way to maintain dev velocity while allowing repositories to run stable versions

jku commented 1 year ago

How to keep signing tool version compatible with repository version

How to keep repository software up-to-date without forcing everyone to live on bleeding edge

Potential problems

  1. release version confusion Signing tools and repository live in the same repository. I'm not sure which is less problematic: both having the same version numbering or having two separate versioning schemes inside one repo. I think I lean towards separate versions, and e.g. "v1.2.3" tag being the action version and "signer-v3.2.1" being the signing tool version (The actions version needs to be unprefixed to make sure dependabot can handle it)

  2. workflow drift We likely can't automate updates to the workflow files... but that means over time they may become more and more different from the ones in playground-template possibly leading to obscure bugs.

proposed task order

  1. start tagging action releases and making signing tool releases to pypi
  2. pin hashes in workflows
  3. maybe add signing tool version marker in metadata