Add tap source install target derivation#30
Merged
eric-tramel merged 1 commit intocodex/epic-15-plugin-tapfrom May 7, 2026
Merged
Add tap source install target derivation#30eric-tramel merged 1 commit intocodex/epic-15-plugin-tapfrom
eric-tramel merged 1 commit intocodex/epic-15-plugin-tapfrom
Conversation
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.
What
Implements concrete source generation and validation for all
[tool.ddp.tap].default-sourcemodes in the ddp catalog tooling.{"type": "pypi", "package": <package>}.{"type": "git", "url": <repository-git-url>, "ref": <release-ref>, "subdirectory": <package.path>}.{"type": "path", "path": <package.path>, "editable": true}.InstallTargetandinstall_target_for_source_metadata.Why
Tap catalog schema v2 needs source objects that are concrete enough for Data Designer install flows. The generated catalog also needs to reject malformed source configuration early so invalid tap metadata does not publish unusable install instructions.
Usage
For the default NVIDIA tap config, catalog output remains PyPI-only:
{ "source": { "type": "pypi", "package": "data-designer-template" } }For an external tap configured with Git sources:
A package named
data-designer-exampleat version0.2.0derives this install target:Path sources return an install plan such as:
How
repository-git-urlandrelease-ref-templateGit-source requirements instead of global tap requirements.package.path, Gitsubdirectory, and pathpathfields.Validation
make syncuv run pytest devtools/ddp/tests/test_catalog.py devtools/ddp/tests/test_tap_config.py -quv run ruff check devtools/ddp/src/ddp/catalog.py devtools/ddp/src/ddp/tap_config.py devtools/ddp/tests/test_catalog.py devtools/ddp/tests/test_tap_config.pyuv run ruff format --check devtools/ddp/src/ddp/catalog.py devtools/ddp/src/ddp/tap_config.py devtools/ddp/tests/test_catalog.py devtools/ddp/tests/test_tap_config.pymake catalogmake check-catalogmake check