Do not auto create repo if Repository module is not enabled
Another suggestion from my end that I think would be great. What I use now is
auto_create: force since I only use SVN as a repo type. In this case repo is created even if Repository module is not enabled on project creation. I think a condition to auto create a repo only if Repository module is enabled would be OK. What do you think?
#3 Updated by Andriy Lesyuk over 7 years ago
- File SCMCreator-1895.patch View added
- Status changed from Open to In Progress
- % Done changed from 0 to 20
Thought a little bit more about the issue...
auto_create: force is designed to force creation of repositories for all projects! That is in this case it’s better to auto check “Repository” module. If one wants repositories to be optional he/she should use
auto_create: true instead...
What do you think?
P.S. Attached patch for making what you want...