Remove Python and Java legacy generators#226
Merged
leighmcculloch merged 1 commit intostellar:masterfrom Feb 6, 2026
Merged
Conversation
These generators have been migrated to dedicated repositories: - Python: https://github.com/StellarCN/py-stellar-base - Java: https://github.com/lightsail-network/java-stellar-sdk
There was a problem hiding this comment.
Pull request overview
This pull request removes legacy Python and Java code generators from the xdrgen project, as these generators have been migrated to dedicated repositories (py-stellar-base and java-stellar-sdk). The changes are comprehensive and properly remove all associated code, tests, and documentation.
Changes:
- Removed Python and Java generator autoloads from the generators module
- Updated test suite to exclude Python and Java from tested languages
- Removed all Python and Java template files (.erb) and generated test output files
- Updated README.md to remove Python and Java from the supported languages list
Reviewed changes
Copilot reviewed 177 out of 177 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lib/xdrgen/generators.rb | Removed Java and Python autoload statements |
| spec/lib/xdrgen/generator_spec.rb | Removed 'java' and 'python' from the languages array in tests |
| README.md | Removed Java and Python from supported languages documentation |
| lib/xdrgen/generators/java/*.erb | Deleted Java template files (XdrElement, XdrString, XdrDataOutputStream, XdrUnsignedInteger, XdrUnsignedHyperInteger) |
| spec/output/generator_spec_java/* | Deleted all Java generated test output files |
| spec/output/generator_spec_python/* | Deleted all Python generated test output files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
leighmcculloch
approved these changes
Feb 6, 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 and Java code generators in xdrgen are outdated, so I think it might be better to remove them.
These generators have been migrated to dedicated repositories: