Gerrit ref/meta/config not avilable

825 views
Skip to first unread message

Ashwini T R

unread,
Oct 26, 2016, 5:40:03 AM10/26/16
to Repo and Gerrit Discussion
Hi,

we cann't fetch the refs/meta/config, message like below.
Seems we could do that eariler, could you help to check?

$git clone ssh://user@server:8282/repo
Cloning into 'test'...
remote: Counting objects: 11, done
remote: Finding sources: 100% (11/11)
remote: Total 6932 (delta 0), reused 6932 (delta 0)
Receiving objects: 100% (6932/6932), 115.79 MiB | 2.78 MiB/s, done.
Resolving deltas: 100% (3382/3382), done.
Checking connectivity... done


]$git fetch origin refs/meta/config:config
fatal: Couldn't find remote ref refs/meta/config


Please help here and from server end we cannot find "config" under meta

thanks
Ashwini

Edwin Kempin

unread,
Oct 26, 2016, 5:50:21 AM10/26/16
to Ashwini T R, Repo and Gerrit Discussion
Check your project permissions (including inherited permissions). By default refs/meta/config is only visible to project owners.
 

thanks
Ashwini

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ashwini T R

unread,
Oct 26, 2016, 6:21:47 AM10/26/16
to Repo and Gerrit Discussion, ashu.r...@gmail.com
Hi,


We are unable to view refs/meta/config under branches as wella as server end as a Admin of the gerrit instance 

[root@host meta]# ll
total 0


thanks
Ashwini

On Wednesday, October 26, 2016 at 3:20:21 PM UTC+5:30, Edwin Kempin wrote:
On Wed, Oct 26, 2016 at 11:40 AM, Ashwini T R <ashu.r...@gmail.com> wrote:
Hi,

we cann't fetch the refs/meta/config, message like below.
Seems we could do that eariler, could you help to check?

$git clone ssh://user@server:8282/repo
Cloning into 'test'...
remote: Counting objects: 11, done
remote: Finding sources: 100% (11/11)
remote: Total 6932 (delta 0), reused 6932 (delta 0)
Receiving objects: 100% (6932/6932), 115.79 MiB | 2.78 MiB/s, done.
Resolving deltas: 100% (3382/3382), done.
Checking connectivity... done


]$git fetch origin refs/meta/config:config
fatal: Couldn't find remote ref refs/meta/config


Please help here and from server end we cannot find "config" under meta
Check your project permissions (including inherited permissions). By default refs/meta/config is only visible to project owners.
 

thanks
Ashwini

--
--
To unsubscribe, email repo-discuss...@googlegroups.com

More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.

Matthias Sohn

unread,
Oct 26, 2016, 6:25:21 AM10/26/16
to Ashwini T R, Repo and Gerrit Discussion
how did you create the repository on the server ?
Maybe you copied an existing repository to the server which doesn't have a refs/meta/config branch.

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com

More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.

Ashwini T R

unread,
Oct 26, 2016, 6:31:15 AM10/26/16
to Repo and Gerrit Discussion, ashu.r...@gmail.com
Hi,

Could you please say me from where this ref/meta/config is inhertited?/

thanks
Ashiwni

Edwin Kempin

unread,
Oct 26, 2016, 7:30:38 AM10/26/16
to Ashwini T R, Repo and Gerrit Discussion
On Wed, Oct 26, 2016 at 12:31 PM, Ashwini T R <ashu.r...@gmail.com> wrote:
Hi,

Could you please say me from where this ref/meta/config is inhertited?/
It's not inherited. Permissions for it may be inherited.

It may be that this branch is missing, then just create it.
 

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com

More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.

Ashwini T R

unread,
Oct 26, 2016, 8:38:58 AM10/26/16
to Repo and Gerrit Discussion, ashu.r...@gmail.com
Hi,

Coud you please suggest how to create is as it is missing:(:(:(

thanks
Ashwini

Ashwini T R

unread,
Oct 26, 2016, 8:42:57 AM10/26/16
to Repo and Gerrit Discussion, ashu.r...@gmail.com
Hi, 

Permissions are visible in the access tab , but branch alone is missing:(:(..
could you please suggest

thanks
Ashwini

Edwin Kempin

unread,
Oct 26, 2016, 1:02:58 PM10/26/16
to Ashwini T R, Repo and Gerrit Discussion
On Wed, Oct 26, 2016 at 2:42 PM, Ashwini T R <ashu.r...@gmail.com> wrote:
Hi, 

Permissions are visible in the access tab , but branch alone is missing:(:(..
could you please suggest

thanks
Ashwini

On Wednesday, October 26, 2016 at 6:08:58 PM UTC+5:30, Ashwini T R wrote:
Hi,

Coud you please suggest how to create is as it is missing:(:(:(
One way to do this is:
1. clone the repository
2. create an orphan branch:
    git checkout --orphan newbranch
3. create a commit
4. grant the 'Create Reference' and 'Push' permission on refs/meta/config
5. create the refs/meta/config branch by pushing to it:
    git push origin HEAD:refs/meta/config

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com

More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages