| Issue 203: | Create projects though web interface | |
| 40 people starred this issue and may be notified of changes. | Back to list |
Reported by Shawn Pearce <sop@google.com> on Thu May 28 19:30:22 PDT 2009 Source: JIRA GERRIT-203 Affected Version: 2.0.13 A "new project" button in Admin > Projects. Should create the project in the database, and also create the git repository. If replication is enabled, this must also create the remote repository, via direct shell, asking a remote gerrit to create repository, or by rsync'ing the empty shell.
Sep 24, 2009
#1
code-rev...@gtempaccount.com
Sep 24, 2009
Comment by Shawn Pearce <sop@google.com> on Wed Aug 12 07:18:41 PDT 2009 https://review.source.android.com/11109 added support for this over ssh with "gerrit create-project". Will be in 2.0.19.
Sep 24, 2009
(No comment was entered for this change.)
Status:
Accepted
Owner: ---
Feb 8, 2010
Issue 436 has been merged into this issue.
Feb 18, 2010
Wouldn't it be possible to create the missing repos on the remote automatically? This would make it easier to setup new mirrors. Setting up a mirror now requires scripting to clone all the repos on the replication server.
Aug 20, 2010
Hi Shawn, Ulrik asked me to take a look in this issue to see if is possible to solve it. Do you know if is there already anybody working on this? Thanks
Aug 20, 2010
Nope, nobody is working on this yet.
Owner:
ulrik.sj...@sonyericsson.com
Aug 31, 2010
Shall the web interface handle the options from the command-line? (--description, submit type, --user-contributor-agreements)
Aug 31, 2010
Actually, we might be OK with less options in the web UI. If we get the project name, setup reasonable defaults for owner to make sure the current user owners the new project, we can jump them directly to the admin page for the new project and let them further configure it. So we probably don't need all of the options in the web UI version since we have UI to edit things after creation.
Aug 31, 2010
OK, I'll develop the UI with project name and parent name text UI and let the other options with a default value (description, submit-type, branch...)
Nov 11, 2010
Please, please!!!
Jan 31, 2011
Is there some progress?
Jan 31, 2011
Change 17380, waiting for review.
Feb 7, 2011
Here it is the link to the Change: https://review.source.android.com/17380
Aug 5, 2011
This is sitting with no action for a while, so i think a little update will not hurt, especially considering that the issue i have submitted (436)was merged with this one: 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 there 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!!
Aug 5, 2011
On p.3 i understand that there is a config already stored inside the bare repo which gerrit uses to store all information about the project. The problem though is that i was not able to find a way to edit this config directly. It is clear that current approach is gerrit-centric meaning that in order to be able to get everything done properly and quickly i have to create my bare repo through gerrit using SSH command or upcoming GUI, while in CGIT those things to be managed by config files. The question is how should i configure 500+ existing repos that are supposed to be imported into gerrit in order to set owners, descriptions and other stuff i might want to set? I definitely don't want to do that manually... I already have some of this info in the bare repo...
Nov 18, 2011
(No comment was entered for this change.)
Owner:
gustaf.l...@sonyericsson.com
Apr 19, 2012
Any reason we can't close this as done?
Apr 19, 2012
no. this topic still have 2 features left in waiting review :) https://gerrit-review.googlesource.com/#/c/34560/2 and https://gerrit-review.googlesource.com/#/c/30811/
Apr 20, 2012
Thanks Bruce. In my opinion we should close this as done. The remaining changes just add a convenience popup to show what projects are available, but the function works fine without those changes. They are an enhancement to this change, but not critical to the feature itself. Let me know if you or Gustaf disagree :)
Apr 23, 2012
I will not say no :).
Apr 23, 2012
Fixed and released in 2.3
Status:
Released
|
|
| ► Sign in to add a comment |