Skip to content

Remove Python and Java legacy generators#226

Merged
leighmcculloch merged 1 commit intostellar:masterfrom
lightsail-network:remove-python-and-java-legacy-support
Feb 6, 2026
Merged

Remove Python and Java legacy generators#226
leighmcculloch merged 1 commit intostellar:masterfrom
lightsail-network:remove-python-and-java-legacy-support

Conversation

@overcat
Copy link
Contributor

@overcat overcat commented Feb 6, 2026

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:

Copilot AI review requested due to automatic review settings February 6, 2026 08:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 leighmcculloch merged commit 2efacde into stellar:master Feb 6, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants