Python CLI parity with Gradle plugin task surface#97
Draft
Copilot wants to merge 5 commits into
Draft
Conversation
4 tasks
- Enhanced vodml.py: added doTransformToString(), XSLTExecutionOnlyTransformer, TapSchema2PlantUML transformer - Added context.py: shared catalog creation, binding detection, output dir mgmt - Rewrote cli.py with all commands: schema, doc, site, validate, vodml-to-vodsl, xsd-to-vodsl, java-generate, python-generate, vodsl-to-vodml, generate-java - Updated pyproject.toml: bumped version to 0.2, added pyyaml dependency - Updated README.md: command parity table, examples, prerequisites - Added unit tests: test_context.py (20 tests), test_cli.py (14 tests) - All 34 tests pass Agent-Logs-Url: https://github.com/ivoa/vo-dml/sessions/7c720b85-bb92-4525-aa3f-4e886181a6d5 Co-authored-by: pahjbo <273267+pahjbo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ivoa/vo-dml/sessions/7c720b85-bb92-4525-aa3f-4e886181a6d5 Co-authored-by: pahjbo <273267+pahjbo@users.noreply.github.com>
…nsform, add PurePath import, remove unused imports Agent-Logs-Url: https://github.com/ivoa/vo-dml/sessions/7c720b85-bb92-4525-aa3f-4e886181a6d5 Co-authored-by: pahjbo <273267+pahjbo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ivoa/vo-dml/sessions/7c720b85-bb92-4525-aa3f-4e886181a6d5 Co-authored-by: pahjbo <273267+pahjbo@users.noreply.github.com>
|
Copilot
AI
changed the title
[WIP] Add enhancements to bring Python tooling to feature parity with Gradle
Python CLI parity with Gradle plugin task surface
Apr 7, 2026
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.



The Python CLI (
tools/pythontooling) only had 3 commands (schema(partial),doc(stub),validate) versus 10 tasks in the Gradle plugin. This PR brings the Python tooling to feature parity.XSLT infrastructure (
vodml.py)doTransformToString()for JSON/YAML schema generation pipelinesXSLTExecutionOnlyTransformerfor named-template stylesheets (catalogue generation)TapSchema2PlantUMLtransformer; enabledVodml2CataloguesShared execution context (
context.py— new)*vodml-binding.xml), VO-DML/VODSL file discoveryVodmlExtension.kt(src/main/vo-dml,build/generated/...)Command surface (
cli.py— rewritten)vodmlSchemavodml schemavodmlDocvodml docvodmlSitevodml sitevodmlValidatevodml validatevodmlJavaGeneratevodml java-generateoutput_root,isMain,pu_nameparamsvodmlPythonGeneratevodml python-generateoutput_root,isMainparamsvodmlToVodslvodml vodml-to-vodslvodmlXsdToVodslvodml xsd-to-vodslvodslToVodmlvodml vodsl-to-vodmlvodmlGenerateJavavodml generate-javaAll commands accept
--binding(auto-detected if omitted),--deps, and--output-dirwith sensible defaults.Other
pyproject.toml: version bump to 0.2, addedpyyamldependencyREADME.md: command parity table, examples, external tool prerequisites.gitignore: added__pycache__/,*.pyc,.pytest_cache/