-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove unused orm module (backport #23633) #23637
Merged
Merged
Conversation
This file contains 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
(cherry picked from commit d7f101e) # Conflicts: # orm/CHANGELOG.md # orm/README.md # orm/encoding/encodeutil/util.go # orm/encoding/ormfield/bool.go # orm/encoding/ormfield/codec_test.go # orm/encoding/ormfield/duration.go # orm/encoding/ormfield/duration_test.go # orm/encoding/ormfield/enum.go # orm/encoding/ormfield/int32.go # orm/encoding/ormfield/int64.go # orm/encoding/ormfield/string.go # orm/encoding/ormfield/timestamp.go # orm/encoding/ormfield/timestamp_test.go # orm/encoding/ormfield/uint32.go # orm/encoding/ormfield/uint64.go # orm/encoding/ormkv/index_key.go # orm/encoding/ormkv/key_codec.go # orm/encoding/ormkv/primary_key.go # orm/encoding/ormkv/unique_key.go # orm/encoding/ormkv/unique_key_test.go # orm/go.mod # orm/go.sum # orm/internal/codegen/file.go # orm/internal/codegen/index.go # orm/internal/codegen/query.go # orm/internal/listinternal/options.go # orm/internal/testkv/compare.go # orm/internal/testkv/debug.go # orm/internal/testkv/leveldb.go # orm/internal/testkv/mem.go # orm/model/ormdb/genesis.go # orm/model/ormdb/module.go # orm/model/ormdb/module_test.go # orm/model/ormtable/auto_increment_test.go # orm/model/ormtable/backend.go # orm/model/ormtable/batch.go # orm/model/ormtable/bench_test.go # orm/model/ormtable/hooks.go # orm/model/ormtable/iterator.go # orm/model/ormtable/table_test.go # orm/orm.go # orm/sonar-project.properties # orm/testing/ormmocks/hooks.go # orm/testing/ormmocks/match.go # orm/types/kv/store.go # orm/types/ormerrors/errors.go
Cherry-pick of d7f101e has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
aljo242
pushed a commit
that referenced
this pull request
Feb 12, 2025
Co-authored-by: Zachary Becker <[email protected]>
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.
Description
Closes: #23635
On the
releases/v0.50.x
branch there is a failing test for the orm module. It looks like this module has not been in active development for some time, and is isolated into it's own module that was last released 2 years ago (https://github.com/cosmos/cosmos-sdk/tree/orm/v1.0.0-beta.3). The failing test was fixed on the main branch, but was not backported to thereleases/v0.50.x
.Since the module is not in active development, and I am unaware of plans to continue development of the module, I recommend removing the module from the main branch, and backporting it to releases/v0.50.x.
Deleting orm from the Cosmos SDK repo is safe, even on the v0.50.x branch because it is isolated into it's own module, and the cosmos-sdk doesn't depend on it. So as far as cosmos-sdk releases are concerned the deletion of the module has no effect, and thus is non-breaking.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
included the correct type prefix in the PR title, you can find examples of the prefixes below:
confirmed
!
in the type prefix if API or client breaking changetargeted the correct branch (see PR Targeting)
provided a link to the relevant issue or specification
reviewed "Files changed" and left comments if necessary
included the necessary unit and integration tests
added a changelog entry to
CHANGELOG.md
updated the relevant documentation or specification, including comments for documenting Go code
confirmed all CI checks have passed
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.
I have...
This is an automatic backport of pull request #23633 done by [Mergify](https://mergify.com).