-
Notifications
You must be signed in to change notification settings - Fork 1
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
✨ NEW: Basic addition of core.
prefix
#3
Conversation
Add some basic refactoring code for adding the `core.` prefix to the deprecated `aiida-core` entry points for: * Loading a node type using one of the factories * Full entry points strings, including both the group and deprecated entry point separated by a colon, e.g.: 'aiida.calculations:arithmetic.add' Also add basic CLI functionality for using `aiida-upgrade`.
@chrisjsewell just a basic version for now, using The package can simply be used on any path:
To recursively update all files in that |
👌 maybe if you could add at least a very basic test? |
@chrisjsewell I also quickly updated the README with some more instructions and a list of migrations that are supported, and those that aren't (yet). |
.github/ci.yml
Outdated
@@ -0,0 +1,37 @@ | |||
name: ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for this to work it has to be in the .github/workflows
folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops! It was late 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this will only run for the next PR, after this is merged, right?
Add some basic refactoring code for adding the
core.
prefix to thedeprecated
aiida-core
entry points for:entry point separated by a colon, e.g.:
'aiida.calculations:arithmetic.add'
Also add basic CLI functionality for using
aiida-upgrade
.