https://github.com/aiidateam/aiida-plugin-migrator
Refactors AiiDA plugins for the transition from `aiida-core` v0.x to `aiida-core` v1.0
https://github.com/aiidateam/aiida-plugin-migrator
Last synced: 2 months ago
JSON representation
Refactors AiiDA plugins for the transition from `aiida-core` v0.x to `aiida-core` v1.0
- Host: GitHub
- URL: https://github.com/aiidateam/aiida-plugin-migrator
- Owner: aiidateam
- Created: 2019-03-10T20:12:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T16:20:11.000Z (about 6 years ago)
- Last Synced: 2025-02-05T11:51:41.835Z (4 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aiida-plugin-migrator
This too helps refactoring AiiDA plugins for
the transition from `aiida-core` v0.x to `aiida-core` v1.0.It makes use of the [Bowler](https://github.com/facebookincubator/Bowler) refactoring tool.
## Installation
The `aiida-plugin-migrator` only runs under `python3`
(but it does *not* depend on `aiida-core`).```
git clone https://github.com/aiidateam/aiida-plugin-migrator
cd aiida-plugin-migrator
pip install -e .# need latest bowler fixes
pip install git+https://github.com/facebookincubator/Bowler.git@master
```This adds `aiida-plugin-migrator.py` to the `PATH`.
## Usage
```
aiida-plugin-migrator.py /path/to/plugin/code
```## Improvement
Backwards-incompatible changes have been documented in:
* [the AiiDA wiki](https://github.com/aiidateam/aiida_core/wiki/Backward-incompatible-changes-in-1.0.0)
* [the documentation](https://aiida-core.readthedocs.io/en/latest/developer_guide/design/changes.html)
* [this comment](https://github.com/aiidateam/aiida_core/issues/2311#issuecomment-444972896) (for `aiida.utils`)As the plugin migrator is improved, please keep the Wiki updated.