-
Notifications
You must be signed in to change notification settings - Fork 48
Add support for comma-separated workspace values in repository configuration #1569
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
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 19681245351Details
💛 - Coveralls |
Updated changelog to reflect new features and bugfixes.
Can you give a rationale for your use-case? |
|
In my project there have been multiple test frameworks implemented. One for BDD, one for Performance tetss, and so on. All of them share some libraries, which could also end up in the need to be adapted. Work is distributed such that the team is responsible for all of the frameworks and need to switch easily and fast development context. If now changes need to be done in dependent libraries, I always need to stash multiple repositories or commit to working branches before switching for a quickfix on jenkins or similar. |
|
Same holds for a cross-cutting documentation to be especially reused for Copilot execution, which needs to be present in all workspaces to properly refer to the docs and let Copilot draw the right conclusions and steps. At the moment I am using the described workaround, but it's simply nasty, so I wanted to propose this improvements as said simply for convenience. |
|
If we want to support this feature, is redundant git cloning really the answer? The latter (worktrees) is also a great git-feature that many developers could benefit from but are not even aware it exists. Maybe we can also help to "spread the word" this way. |
|
Agree. There are lot of such solutions. |
|
I've created a new issue for this feature #1596, please adjust the changelog. |
Co-authored-by: jan-vcapgemini <[email protected]>
Fixes: #1596
Description
This PR adds support for comma-separated workspace values in repository configuration, allowing repositories to be cloned into multiple workspaces during project setup.
Currently, you can workaround this by simply having duplicate repositories configurations with different names pointing to different workspaces. This proposed feature is for convenience only.
Changes
RepositoryConfigto useSet<String>for workspaces instead of single StringgetWorkspaces()method inRepositoryPropertiesto parse comma-separated valuesRepositoryCommandletto clone repositories into multiple workspacesrepository.adocChecklist
mvn clean testpasses locallycoding-conventions.adocTesting
All 9 tests in
RepositoryCommandletTestpass successfully, including:Related Issues
This implements a feature request to support cloning repositories into multiple workspaces via comma-separated configuration values.