| Issue 1976: | Cannot configure Verify Label | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: What steps will reproduce the problem? 1. install gerrit 2.6 2. try to locate project.config file 3. it does not exist What is the expected output? What do you see instead? Cannot change label for core review and add label for verify as told in documentation. Please provide any additional information below.
Jun 25, 2013
Project Member
#1
david.pu...@sonymobile.com
Jun 26, 2013
Hi Dave, Did that and came up with: user@user-vmware:~/TempFolder/TestFolder/demo-project2$ git fetch origin refs/meta/config:refs/meta/config remote: Counting objects: 3, done remote: Finding sources: 100% (3/3) remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. From ssh://localhost:29418/demo-project2 * [new ref] refs/meta/config -> refs/meta/config user@user-vmware:~/TempFolder/TestFolder/demo-project2$ git checkout refs/meta/config Note: checking out 'refs/meta/config'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at f3f6bc4... Created project user@user-vmware:~/TempFolder/TestFolder/demo-project2$ pwd /home/user/TempFolder/TestFolder/demo-project2 user@user-vmware:~/TempFolder/TestFolder/demo-project2$ ls project.config user@user-vmware:~/TempFolder/TestFolder/demo-project2$ git status # Not currently on any branch. nothing to commit, working directory clean user@user-vmware:~/TempFolder/TestFolder/demo-project2$ vi project.config user@user-vmware:~/TempFolder/TestFolder/demo-project2$ vi project.config user@user-vmware:~/TempFolder/TestFolder/demo-project2$ cat project.config [project] state = active user@user-vmware:~/TempFolder/TestFolder/demo-project2$ So it's almost empty. Shouldn't it be in All-Project.git folder? Thanks! Razvan
Jun 26, 2013
In your example you've cloned a test project. This will inherit most of its settings from All-Projects. You need to clone the All-Projects git to get the top level config. git clone ssh://user@review:29418/All-Projects.git cd All-Projects git fetch refs/meta/config:refs/meta/config git checkout refs/meta/config cat project.config
Jun 26, 2013
It works, I made the changes and now I can see the verified column in my project. Thanks for the help! Do you know how I can close this issue?
Jun 26, 2013
(No comment was entered for this change.)
Status:
Invalid
|
|
| ► Sign in to add a comment |