Repository navigation
Add source_lists and --create --manifest-dir, release 0.5.0 - #34
Merged
olagrottvik merged 4 commits intoOct 14, 2026
Merged
Conversation
olagrottvik
force-pushed
the
claude/hog-testing-environment-planning-9jzb1n
branch
from
October 14, 2026 11:11
50b3b8c to
576b9b6
Compare
olagrottvik
deleted the
claude/hog-testing-environment-planning-9jzb1n
branch
October 14, 2026 11:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third-party HDL libraries, typically git submodules, have no ohsh manifests and their files should not be changed. This adds two ways to give them manifests from your own repository, a CI job that runs ohsh against a realistic hog project using them, and bumps the version to 0.5.0.
Changes
source_listsmanifest key: reads a module's sources from text files that list them in compile order, relative to the list file (blank lines and#comments skipped). Fits libraries that ship their own order, such as Open Logic'scompile_order.txt. Source-list files come beforesources.--fixonly sortssources.--create --manifest-dir DIR: writes the generated manifests underDIR, mirroring the source layout under--top-dir, with../paths into the library. Manifests already inDIRcount as existing, so reruns only add new ones.../are written normalized, without the..parts.demojob inintegration.yml: checks out logvik-org/ohsh-demo and runs its checks with this PR's ohsh:ohsh --checkon 29 manifests, GHDL and NVC simulation inlibraries.srcorder, and hog's own./Hog/Do SIMULATION(GHDL, no Vivado). The demo is a hog repository with hog, Open Logic (viasource_lists) and colibri (via--create --manifest-dir) as submodules.__version__and a[0.5.0] - 2026-10-14section in the CHANGELOG.Testing
make test: 109 passed, with new tests for both features, path normalization and the new validation.make lintandmake docspass.scripts/run-examples.sh ghdl/simple ghdl/advanced hog/simple hog/advancedpasses locally.Notes
mainor the 0.5.0 release instead of this branch.v0.5.0) is left for after the merge, as described in CONTRIBUTING.md.