Closed Peter9192 closed 8 months ago
At https://github.com/new?template_name=ewatercycle-leakybucket&template_owner=eWaterCycle
* set owner to eWaterCycle
* set name to ewatercycle-hype
git rm plugin_guide.md
git rm demo_containerized_model.ipynb
Search & replace (case sensitive)
Hype
-> Hype
leakybucket
-> hype
Rename dir
git mv src/ewatercycle_leakybucket/ src/ewatercycle_hype
Update description in pyproject.toml
Copy files from core to plugin
cp ../ewatercycle/src/ewatercycle/plugins/hype/*py src/ewatercycle_hype/
cp -r ../ewatercycle/docs/plugins/hype docs
rm docs/index.rst
cp -r ../ewatercycle/tests/plugins/hype tests/
Commit with link to commit of version
https://github.com/eWaterCycle/ewatercycle/commit/ad99ebfbe9b83917ad079e7ee9e28bd761c79576
Update readme
Add forcing entry point to pyproject.toml
[project.entry-points."ewatercycle.forcings"]
HypeForcing = "ewatercycle_hype.forcing:HypeForcing"
In "src/ewatercycle_leakybucket/__init__.py"
__version__ = "0.1.0"
And remove version field from pyproject.toml
Edit pyproject.toml
On https://zenodo.org/account/settings/github/ flip the switch for ewatercycle-hype
Rename ewatercycle.plugins.hype
to ewatercycle_hype
# mamba install
pip install ../ewatercycle
pip install -e .
pip install pytest
pytest
Add CI
RSD
Create entry
Invite maintainers Stefan,Bart,Peter
https://github.com/eWaterCycle/ewatercycle-hype
https://github.com/eWaterCycle/ewatercycle-lisflood
https://github.com/eWaterCycle/ewatercycle-marrmot
https://github.com/eWaterCycle/ewatercycle-pcrglobwb
Had to rename existing private repo
https://github.com/eWaterCycle/ewatercycle-wflow
V2 was released successfully, including all model plugins.
Move plugins to their own repo
For each model:
Finally: