rdmorganiser / rdmo

A tool to support the planning, implementation, and organization of research data management.
https://rdmorganiser.github.io
Apache License 2.0
100 stars 47 forks source link

Make rdmo's own plugins installable as optional dependencies #708

Open afuetterer opened 12 months ago

afuetterer commented 12 months ago

Rationale / Begründung

Should rdmo's own plugins be installable as optional dependencies?

With the new pyproject.toml based setup, you can install extra dependencies with pip, e.g.

pip install rdmo[dev ] or pip install rdmo[postgres]

Should the same logic apply to its own plugins?

pip install rdmo[plugins] or pip install rdmo[re3data]

What do you think?

Affected

Admins

References / Verweise

jochenklar commented 9 months ago

Lets keep that open for the future!

afuetterer commented 9 months ago

Would this be desirable?

Is it useful to be able to install a plugin via pip install rdmo[re3data]? If yes, then I can just add this now. If no, I opt for closing this issue.

I am unsure if rdmo-plugins is a good name, because that repo has multiple plugins residing in it. But the other plugins like re3data etc. could be nice to install this way.

Should they be published via PyPI someday or is installing via GitHub the way to go?

jochenklar commented 9 months ago

I think we can only add them if they are on PyPI and for this we first need to talk about who is maintaining this.

afuetterer commented 9 months ago

I see, that makes sense.

afuetterer commented 2 months ago

Maybe we can add trusted publishing to pypi from the plugins repositories?

It would need initial setup on the rdmo pypi plugins settings, once per project and adding a github actions workflow per repo.

The workflow could be triggered by a github release.

I think the maintenance burden should be minimal.