Closed chrisrueger closed 2 weeks ago
@resolve
) in -runrepos
... just keep it a list of workspace names and a way to be specific-runrepos
list or no -runrepos
at
repos = getPlugins(..., "resolve")
- the second param should be the tag resolve
which should be one a handful of fixed core-tagsresolve
tagThat's it so far. I will post an update once I have this implemented and from there we can discuss the next step.
Thanks @pkriens for the input.
- revert the Respositories Panel support for tags (e.g.
@resolve
) in-runrepos
... just keep it a list of workspace names and a way to be specificstart a step back with an assumed empty
-runrepos
list or no-runrepos
at
- in this case the repostories should be fetched via something like
repos = getPlugins(..., "resolve")
- the second param should be the tagresolve
which should be one a handful of fixed core-tags- every Repository should automatically have this tag
resolve
tag
@pkriens I have implemented the above.
-runrepos
is empty (or not in the .bndrun
file) the UI shows all repos having the 'resolve' tag
.bndrun
and basically override the 'resolve' tag behavior. -runrepos
from .bndrun
to make use of the tagsExample: this is my Repositories list with no -runrepos
specified
It is basically all repos with the resolve tag (repos have not tags specified, so the default 'resolve' is used)
Resolution:
-runrepos
is empty (or not in the .bndrun
file) resolution uses all repos having the 'resolve' tag. Otherwise the -runrepos
are usedQuoting commit b9a574f
Let's discuss
@pkriens I have pushed the changes from our call today. In the UI I have implemented a simple Combobox mechanism where you can provide the options using a comma-separated string.
see 7f04909
Closes #5966
Based on brainstorming here https://bnd.discourse.group/t/baseline-repo-exclude-from-the-build-path/391/6
In this PR
tags="baseline,release, foo"
to a Repository inbuild.bnd
.bndrun
if you remove the-runrepos
you get all repositories which have either no tags set or the 'resolve' tagresolve
(but instead any other tag e.g.<<EMPTY>>
and remove the-runrepos
from the.bndrun
.-runrepos
then today's behavior is still in place that the given repo names are usede.g. a
.bndrun
file without-runrepos
would include the following repos in the resolution:because it has the
resolve
tagand
because there is no tags
but not
because it has a no
resolve
tag.To exclude the baseline repo in the example, you would not add the
resolve
tag to the baseline-repo, and then it won't be considered for Resolving. I have not used baselining yet, so I am not familiar with the topic and what areas are not covered by this.The current state of the PR just lay the foundation for tagging. More features could be added like allowing for NOT or more sophisticated filter expressions.