-
Notifications
You must be signed in to change notification settings - Fork 192
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
clarifying the meaning of "plugin", "package" etc. #3461
Comments
I would be tempted to say we should call "plugin packages" the git repositories and "plugins" or "plugin entrypoints" the specific subclasses? Do you think nobody would comply with this? I think that it is more accurate however as a terminology, do you agree? |
Re @giovannipizzi However, we should make sure to be specific in the docs and in the API/cli. In particular, I think this means the command The summary of the plugin registry would then read: |
I am also a strong proponent of trying to find clearer language because it causes misunderstanding very often. I also think that the packages will always be most naturally referred to as a "plugin". So I think we need a different one for the individual ones per entry point group. The downside of "entry point", while correct in a sense, also could just refer to the technical way that functionality in
|
In writing the section on the plugin system for the paper, I realized that I started using the following terminology, which I quite like:
Note that with these definitions, the word "plugin" by itself can refer to an extension of any type. Concrete plugins, like an entry point in the |
In my view, what you are describing is pretty much the status quo; the problem being that "plugin package" is a bit long, so in practice people abbreviate it to Anyhow, we could decide that the official term is "plugin package", change the name of the plugin registry to "AiiDA plugin package registry" and update our documentation to encourage people to use it. |
Hmm good point. Although as you say, if we at least use the term consistently in the code, documentation and all other communications, people might catch on at some point. And in any case, we will be able to make ourselves clear in our meaning |
Just for completeness: there is another term, "distribution", which I guess was originally meant to distinguish between what python calls a package (= a folder with an @giovannipizzi So, do you agree with @sphuber's suggestion here? I would then implement the following replacements:
|
Seems reasonable, even if I'm a bit worried by the change of name of the plugin registry, I got used to it and it's already cited in a few places probably... But if we all agree we can do the move. We can try to vote at the next AiiDA meeting |
Honestly, I'm not sure that the name change of the AiiDA plugin registry is really necessary. It is true that the registry lists packages, but it also lists the plugins for each package. |
Result of discussion at AiiDA meeting:
Otherwise we stick to the proposal outlined above. |
This came out of a discussion with @csadorf
We currently don't use the term "plugin" consistently everywhere - it is used both to refer to
aiida-quantumespresso
), andaiida.calculations:quantumespresso.pw
).A look at the AiiDA registry and the descriptions of the various packages listed there makes clear that plugin developers think of 1. when they use the term.
I would therefore propose to find a more specific term for 2.
Possible candidates:
Calculations: 78 extensions in 33 plugins
. Basically a synonym, which is not idealCalculations: 78 entry points in 33 plugins
. Accurate, but rather technical.Any suggestions @sphuber @giovannipizzi ?
The text was updated successfully, but these errors were encountered: