You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2022/01/09 02:14:36 UTC
[GitHub] [buildstream] gtristan opened a new issue #1556: Allow aliasing of plugin names
gtristan opened a new issue #1556:
URL: https://github.com/apache/buildstream/issues/1556
Currently the [plugin loading semantics](https://docs.buildstream.build/master/format_project.html#loading-plugins) allow for a lot of flexibility, but we have some minor limitations when it comes to loading plugins from multiple sources which might have namespace collisions.
In order to allow loading different plugins which have the same name, we should allow aliasing of plugin names.
A syntax to allow this might look like the following:
```yaml
# Normal plugin loading
plugins:
- origin: junction
junction: plugin-junction.bst
elements:
- frobnicate
- slurpshiggy
- gizmoflooper
# Load a second frobnicate element from another project,
# locally we will address the element as "frobnicate2"
- origin: junction
junction: another-plugin-junction.bst
elements:
- name: frobnicate
alias: frobnicate2
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org