Allow multiple plugins of the same type (e.g. GithubActions
CI plugins)
#266
Labels
new-feature
A proposed feature (which is not a new plugin)
GithubActions
CI plugins)
#266
Currently, if two plugins have the same type, the first plugin is used, see e.g. #265 (comment) Why is that?
My use-case for multipl plugins of the same type is multiple
GitHubAction
CI plugins, e.g. for when if you want a different CI job for running on the Julia Nightly versions, or something like that. (Noticed at #265)I think this is implemented at
https://github.com/invenia/PkgTemplates.jl/blob/238bfc11c037f341eff4889e0424a66d1edf7404/src/template.jl#L100
but i don't know why we do that.
I think it might be so that we can use a pattern like
but i think that only appears one (in the code for
view(p::Readme, ...
), and we could easily get the desired behaviour (sorting by the typeT
somehow) by writng the code slightly differently.Is there any other reason to disallow multiple plugins of the same type?
The text was updated successfully, but these errors were encountered: