Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joebonrichie
Copy link
Contributor

@joebonrichie joebonrichie commented Jan 7, 2023

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.

@ikeycode
Copy link
Member

i havent forgotten about this just so you know =)

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
Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants