https://github.com/aiidateam/aiida-upgrade
A tool to aide upgrades of plugins to new aiida-core version
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Keywords from Contributors
Repository
A tool to aide upgrades of plugins to new aiida-core version
Basic Info
- Host: GitHub
- Owner: aiidateam
- License: mit
- Language: Python
- Default Branch: main
- Size: 15.6 KB
Statistics
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
aiida-upgrade
In Development!
A tool to aide upgrades of plugins to new aiida-core versions
Usage
To use the command line tool, it is recommended to install via pipx:
console
$ pipx install aiida-upgrade
Once installed, you can simply run aiida-upgrade on any PATH, which can be a single file or a directory:
```console $ aiida-upgrade --help Usage: aiida-upgrade [OPTIONS] PATH
The command line interface of aiida-upgrade.
Options: --help Show this message and exit. ```
In case PATH is a directory, aiida-upgrade will recursively update all .py files inside that directory.
Supported migrations
Currently, aiida-upgrade performs the following code refactoring:
- Look for deprecated
aiida-coreentry points loaded by plugin factories and add thecore.prefix, see the corresponding section in the plugin migration guide. - Similarly, find and correct full deprecated entry point strings e.g.
'aiida.data:structure'. - Remove
dictandlistkeywords from theDictandListnode constructors, respectively. See PR #5165 onaiida-core, which removed the requirement of using these keywords.
Migration steps that are not (yet) supported are:
- Adding the
core.prefix in shell scripts. - Update
'name'to'label'when querying for aComputerwith theQueryBuilder. - Small changes in the API of Transport and Scheduler plugins.
- Removal of the
PluginTestCaseclass.
If you find any problems with the current refactoring, or any migration steps that are missing, please let us know by opening an issue.
Owner
- Name: AiiDA team
- Login: aiidateam
- Kind: organization
- Website: http://www.aiida.net
- Repositories: 63
- Profile: https://github.com/aiidateam
The development team of AiiDA
GitHub Events
Total
- Push event: 9
Last Year
- Push event: 9
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Chris Sewell | c****l@h****m | 4 |
| Marnik Bercx | m****x@g****m | 3 |
| pre-commit-ci[bot] | 6****] | 1 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 5
- Average time to close issues: N/A
- Average time to close pull requests: about 13 hours
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.8
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- mbercx (3)
- pre-commit-ci[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 60 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 2
pypi.org: aiida_upgrade
A tool to perform upgrades of AiiDA plugins to new aiida-core versions.
- Homepage: https://github.com/aiidateam/aiida-upgrade
- Documentation: https://aiida_upgrade.readthedocs.io/
- License: MIT License
-
Latest release: 0.1.0
published over 4 years ago
Rankings
Dependencies
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- click *
- libcst *