Changelog
Next
0.1.0 (2022.09.19)
Onyo still isn’t ready for production use yet, but it has gained a lot of features, fixes, documentation, and tests since the last release.
The highlights are:
New Commands
onyo config: configure optionsonyo fsck: check the sanity of the git repo, onyo config, and validate all assetsonyo history: see the history of an asset or directory (spawnstigorgit log)onyo mkdir: create directories (with.anchorfiles)onyo rm: delete assets and directoriesonyo set: set keys and values in assetsonyo shell-completion: tab-completion support
Command Changes
onto new: - a faux-serial number is generated when the serial field is left blank - spawns an editor after initial dialog - support for templates (see Template Files)onyo newandonyo edit: now check for valid YAML and passing validation rulesonyo newandonyo mkdir: no longer automatically create missing parentmost commands now accept multiple files and directories as arguments
most commands now verify the integrity of the repo before executing
Retired
onyo anchorandonyo unanchor: these were retired in favor ofonyo mkdirwhich always creates an.anchorfile.ONYO_REPOSITORY_DIR:onyo -Cshould be used instead
Validation
Rudimentary validation support is now available for the contents of asset files. It’s currently mostly limited to checking types, but will be expanded for more sophisticated checks.
When invoking onyo edit or onyo new, the file must pass validation
before it will be saved and committed.
See Field Validation
Docs
Command descriptions have been moved from the README into Onyo and are available when invoking
--help.The help text has received a lot of attention to improve clarity and also consistency of language across commands.
Read the Docs has been setup, and content migrated to it.
Art
Onyo has a logo!
Tests
RTD runs a test-build for all PRs
A boatload of new tests have been written
The tests no longer run in the top-level and now create
tests/sandbox
Installation
Onyo now requires Python 3.7 or newer.
0.0.1 (2022.03.24)
Onyo lives! It’s still the beginning — and Onyo explodes more often than it should — but the overall design has been written, and the commands are taking shape.
The highlights are:
New Commands
onyo anchorandonyo unanchor: add/remove an.anchorfile in directories, so that they can be tracked by gitonyo cat: print assets to stdoutonyo edit: edit assetsonyo init: initialize an onyo repoonyo mv: move assets and directoriesonyo new: create new assetsonyo tree: print a directories/files in a tree structureonyo git: run git commands from within the onyo repo (most useful withonyo -CorONYO_REPOSITORY_DIR)onyo --debug: debug logging
Tests
Basic tests and CI
Authors
Tobias Kadelka (@TobiasKadelka)
Alex Waite (@aqw)