Sync Tortoise ORM adapter with upstream and fix commit history#2
Merged
Merged
Conversation
This PR updates the pre-commit hooks to use the local tool versions managed by `uv`, rather than declaring custom versions in the `.pre-commit-config.yml`. Going forward it makes it easier to manage the tool versions, and prevents drift between the dev environment versions and the versions used by the pre-commit checks. You can see based on the file format diff, there were already minor changes between the versions being used. Keeping the CI checks in sync with the local checks will help prevent annoying mismatches. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
This PR adds a license classifier so PyPI better reports the license. This is just a package metadata change, and doesn't affect the licensing of the repo itself which already has the correct license specifiers. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
This PR was automatically created by [changelog-from-release](https://github.com/rhysd/changelog-from-release) action for 0.1.2 Co-authored-by: danielfrankcom <danielfrankcom@users.noreply.github.com>
This was referenced Jan 28, 2026
amaksimo
added a commit
that referenced
this pull request
Jan 28, 2026
## Summary This PR adds two more Aurora DSQL adapters to the monorepo: - **Hibernate** (`java/hibernate/`) - Aurora DSQL Dialect for Hibernate - **Django** (`python/django/`) - Aurora DSQL adapter for Django ## Changes Both repos were added using `git subtree add` **without `--squash`** to preserve the full commit history and SHAs (learned from PR #2). ### New directories: - `java/hibernate/` - from [aurora-dsql-hibernate](https://github.com/awslabs/aurora-dsql-hibernate) - `python/django/` - from [aurora-dsql-django](https://github.com/awslabs/aurora-dsql-django) (branch: version-0) ### Namespaced tags (already pushed): - `java/hibernate/v1.0.0` - `python/django/v0.1.0`, `v0.2.0`, `v0.2.1`, `v0.3.0` ## Important **This PR must be merged with a merge commit** (not squash or rebase) to preserve the original commit SHAs from the upstream repositories. ## Next steps after merge 1. Add CI/CD workflows for the new adapters 2. Update pyproject.toml/build.gradle with monorepo tag patterns for versioning 3. Update repository links in READMEs 4. Create deprecation PRs for the original repos ## Final monorepo structure ``` aurora-dsql-orms/ ├── java/ │ ├── flyway/ # Flyway support (Gradle) │ └── hibernate/ # Hibernate dialect (Gradle) ← NEW ├── python/ │ ├── django/ # Django adapter ← NEW │ ├── sqlalchemy/ # SQLAlchemy dialect │ └── tortoise-orm/ # Tortoise ORM adapter └── typescript/ # (placeholder) ```
This was referenced Jan 29, 2026
amaksimo
added a commit
that referenced
this pull request
Apr 27, 2026
- Add back examples in migrate help text (pkale comment #1) - Restructure stderr/exitCode logic: always print stderr for diagnostics, gate failure on exitCode in both handleMigrate and handleTransform (pkale comments #2, #3, #4) - Add CLI integration tests for unfixable SQL (DROP CONSTRAINT), fixable SQL (FK + index), and prisma migrate diff pipe workflow (pkale comment #6) - Remove VARCHAR(30) assertion from workflow test (pkale comment #7) - Remove false claim about prebuilt binaries in README
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.
This PR re-syncs the
aurora-dsql-tortoise-ormsubtree without--squashto preserve the original commit SHAs and tags from the upstream repository.The previous sync (
c9c4616) usedgit subtree pull --squash, which collapsed the upstream commits into a single squash commit. This meant:7f919ee,a2e496a) didn't exist in this repov0.1.2tag pointing to the same SHA as upstream's0.1.2To fix this, I ran
git subtree pullwithout--squash. A merge commit resolved the duplicate changes cleanly since the file contents were already identical.Note the most recent commit in this repo now matches the exact SHA from the upstream repo: awslabs/aurora-dsql-tortoise-orm@c76809e
Changes
0.1.2(c76809e)Important
This PR must be merged with a merge commit (not squash or rebase) to preserve the commit SHAs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.