boulder-d-legacy icon indicating copy to clipboard operation
boulder-d-legacy copied to clipboard

boulder/cli: Implement update command to update version in recipes

Open joebonrichie opened this issue 2 years ago • 2 comments
trafficstars

Updates an existing recipe (stone.yml) with a new version and tarball, provided by the user. Additionally, it recomputes the hash of the new tarball and increments the release.

PoC only, to do this properly we need a write function in moss.source.format, that enforces desired formatting. We can already easily parse the recipe.

joebonrichie avatar Jan 07 '23 16:01 joebonrichie

i havent forgotten about this just so you know =)

ikeycode avatar Jan 13 '23 00:01 ikeycode

Dropped dyaml for something that worked. Had a look at moss.format.source, it's very easy to parse and update the values, not so easy to write them back to disk.

joebonrichie avatar Jan 23 '23 19:01 joebonrichie