You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, you currently cannot use both a tree configuration (which specifies the repos explicitly) and a forge integration at the same time.
To understand your use case: You want to get all projects from group foo, but only the project baz from the group bar, correct?
This is currently not possible with the forge integration. Take a look at the available filters here. There is simply no filter to look for a single project. I guess that if you know that there is a certain project in the forge, it's simpler to use an explicit tree configuration (as you did).
I think that the proper way to handle that would be to allow both a forge and a tree config in the same configuration file (the way you did). I'm sure there are going to be a few edge cases regarding conflicts that need to be handled, but I don't see why it should not be possible.
I will leave this issue open as a tracking issue for allowing both trees and forges in the same config, but I will not get around to implementing this in the near future. If you want, feel free to give it a shot. We can also discuss the implementation & approach beforehand in this issue.
Makes sense, and sounds good. You have my use case understood. If the time arises, I may take a swing at it, but time is hard to come by. Thank you for the response. Will follow up when the time comes if guidance is needed.
Say I have a working configuration like:
This gets all the projects from group
foo
, but what if I want to get a specific project frombar
? For example, this doesn't work:It yields
expected struct ConfigProvider
.The text was updated successfully, but these errors were encountered: