| Issue 436: | add projects from GUI or automatically | |
| 1 person starred this issue and may be notified of changes. | Back to list |
It seems reasonable to have an interface which allows either rescan the base dir configured as the repository storage in order to find new projects and add them automatically or add projects by browsing the specified folder and have a possibility to select one or few and add from GUI. I think that the rescan is preferred - and it can actually work automatically the same way CGIT does or it can be explicitely triggered by admins.
Feb 8, 2010
Yes, i agree with that - i was thinking that there might be a place for a bit more user friendly way of doing that, without stopping gerrit for reinit (i'm not sure reinit requires restart thoug, but as i understand it is better to restart) and without long command line involving SSH authentication (although i should admit it is very nice to have for scripting purposes) Periodic scan seems to be perfect from that point of view.
Aug 5, 2011
trying version 2.2.1 now. It is still not very user friendly: 1. There is no automatic scan - one should have administrative privileges in order to add project by flushing the cache, because ther is no even button "rescan" in administrative GUI?? Look at CGIT - they did it perfectly. You just need to specify the folder where your bare repos are and when you add them CGIT picks them up automatically, why bother with anything else?? 2. Even after re-scan the projects are not created correctly, because pressing on the access link for such "imported" project causes NullPoiterException ( issue 1075 ) This is very confusing: now i still have to execute create-project which is probably not going to work because the repository already exist!! 3. Instead of forcing admins to create project manually (Look at CGIT!) teach gerrit to read a config file sitting in bare repo. It is much easier to create bare repo put config file to it and wait for gerrit to pick it up automatically with all info about owner and other stuff provided!! |
|
| ► Sign in to add a comment |
Mergedinto: 203