-
Notifications
You must be signed in to change notification settings - Fork 192
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
🔀 MERGE: Refactor/rename storage modules #5364
Conversation
tiny diff lol |
P.S. obviously, the next thing will be to rename |
Was too impatient, done |
47024d7
to
dd46ee2
Compare
Note, the docs require #5365 to fix |
…orm` Previously, this was possible, due to django loading the database connection on install. But now, the full `psql_dos` storage backend implementation can be consolidated in a single module.
This brings it inline with the actual backend name
While we are in the process of renaming things as they should be named, should |
dd46ee2
to
8dc3d8a
Compare
Yeh was thinking that, can do it in another commit here? Then, there are other uses of "backend":
|
Fine by me to do it in this PR, but not sure if these need to be separate commits. Well, at least the two you have now can really be squashed because it is the same folder being renamed twice in sequence:
Is really the same as
The next move of
I don't think the name
Why is this more difficult? From a backwards-incompatible perspective? Because if it is that, users are not supposed to be touching this anyway, right? |
I would not say that is equivalent; it's a movement of some code between modules, then a name change of an entire module. |
1e73ce2
to
2b9248b
Compare
Yeh, although we don't "intend" users to touch it, |
it mainly just not particularly descriptive and/or immediately obvious to new users/developers what it means |
2b9248b
to
e58f51f
Compare
orm/implementation/sqlalchemy
-> backends/sqlalchemy/orm
I meant that I don't think the word "backend" is problematic, however, when it is isolated, it loses meaning. But when combined with a word indicating what it is actually the backend of, such as |
yep 👍 |
Ok @sphuber, done what I'm going to do in this PR |
Ok I'm going to be merging this soon, since I have other PRs to go on top |
This is a follow-up to #5330
Previously, I believe this may not have been possible,
due to django loading the database connection on install.
But now, it makes sense to consolidate the full
psql_dos
storage backend implementation in a central place.
This also leaves
aiida/orm
fully storage backend agnostic.