My Environment:-
My Gerrit Version is -2.10.2
Gitilesplugin-gitiles-stable Version -2.10 - (In Gerrit under Plugin category installed status shows Enabled).
Problem:
I have installed Gitiles plugin and restarted my gerrit application service. After gerrit service restart, I am unable to see “Browse” option under Repository Browser category in our gerrit. Whereas I am able to browse under plugin menu. Means if I can click over installed gitiles plugin, then I am able to browse the repository & branches etc..(A separate link opens in a New-Window [http://our-gerrit-hostname /gerrit/plugins/gitiles/] from here I can browse it). How do I configure link from “Repository Browser” in gerrit itself?
Gitiles Stable-Plugin I have installed from http://gerrit-ci.gerritforge.com/job/plugin-gitiles-stable-2.10/
Also I have tried adding below in my gerrit.config file. Still Browse link option not showing in gerrit Web.
[Gitiles]
type = custom
linkname = gitiles
url = plugins/gitiles/
revision = ${project}/+/${commit}
project = ${project}
branch = ${project}/+/${branch}
filehistory = ${project}/+log/${branch}/${file}
url = plugins/gitiles/ I tried with url = gerrit/plugins/gitiles/ as well still not working.
Do I need to configure/enable anything else?
Any help would be highly appreciated.
My Environment:-
My Gerrit Version is -2.10.2
Gitilesplugin-gitiles-stable Version -2.10 - (In Gerrit under Plugin category installed status shows Enabled).
Problem:
I have installed Gitiles plugin and restarted my gerrit application service. After gerrit service restart, I am unable to see “Browse” option under Repository Browser category in our gerrit. Whereas I am able to browse under plugin menu. Means if I can click over installed gitiles plugin, then I am able to browse the repository & branches etc..(A separate link opens in a New-Window [http://our-gerrit-hostname /gerrit/plugins/gitiles/] from here I can browse it). How do I configure link from “Repository Browser” in gerrit itself?
Gitiles Stable-Plugin I have installed from http://gerrit-ci.gerritforge.com/job/plugin-gitiles-stable-2.10/
Also I have tried adding below in my gerrit.config file. Still Browse link option not showing in gerrit Web.
[Gitiles]
type = custom
linkname = gitiles
url = plugins/gitiles/
revision = ${project}/+/${commit}
project = ${project}
branch = ${project}/+/${branch}
filehistory = ${project}/+log/${branch}/${file}
url = plugins/gitiles/ I tried with url = gerrit/plugins/gitiles/ as well still not working.
Do I need to configure/enable anything else?
Any help would be highly appreciated.
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Any help would be highly appreciated.
--
Dear David,
Thank you very much for your help, it is working perfectly as expected.
I have changed the section in gerrit.config file from "gitiles" to “gitweb”. And also I have added below lines.
file = ${project}+${commit}/${file}
roottree = ${project}
Now working perfectly without init step.
Thanks.