Hi Konrad,

 

Thank you very much. The problem has been resolved.

 

Best regards,

 

Yuanhong

 

From: Konrad Bańka [mailto:[email protected]] 
Sent: 2019年9月10日 20:15
To: dengyuanhong; 'Stern, Ittay'; [email protected]
Subject: Re: [onap-discuss] About setup project repositories when creating 
documentation

 

Hi Yuanhong,

Sorry for my late response.
In case you didn't fix this issue yet, from my point of view, this error looks 
like you might have your remote origin configured to use gitweb, not gerrit 
endpoint. Please try to check remote url (and correct if it's wrong - I've 
bolded important URL part).
$git remote get-url origin
https://[email protected]/r/a/multicloud/k8s

Best Regards,
Konrad Bańka

On 05.09.2019 10:42, dengyuanhong wrote:

Hi Konrad,

 

Thank you very much.

I can push change for other projects such as ci-management, modeling. It seems 
I have no right to operate doc project only.

How can I access to doc project? 

 

Best regards,

Yuanhong

 

From: Stern, Ittay [mailto:[email protected]] 
Sent: 2019年9月5日 14:52
To: [email protected]; [email protected]; 
[email protected]
Subject: RE: [onap-discuss] About setup project repositories when creating 
documentation

 

I see you are on windows.

I suggest setting the following:

>   git config credential.helper manager

 

Then on next commit, use your LF user and Gerrit’s http password from 
https://gerrit.onap.org/r/settings/#HTTPCredentials

 

From: [email protected]  <mailto:[email protected]> 
<[email protected]> On Behalf Of Deng Yuanhong
Sent: Thursday, September 5, 2019 6:58 AM
To: [email protected]; [email protected]
Subject: Re: [onap-discuss] About setup project repositories when creating 
documentation

 

Hi Konrad,

 

Thank you very much. I tried to directly push change using the command “git 
push origin HEAD:refs/for/master” , but failed again.

The error message is as followed:

 

cmcc@dyh-laptop MINGW64 /d/work/onap/doc (master)

$ git push origin HEAD:refs/for/master

remote: Unauthorized

fatal: Authentication failed for 'https://gerrit.onap.org/r/doc/ 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_doc_&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=NJAEHfQoLAqU6Mfo-WCvDEGsbs3O9RNyC3XFKZ7W_Pw&m=krEzUg8SLuDuGvCG8oMcCU-M5tfV4Me0OXerUOFnow4&s=JHXdCa8vBtwdnMrPTHTHluOgwN0QA-3q58eZWkhKNr4&e=>
 '

 

It seems I have no right to do the push operation. What should I do to push the 
change? Thanks a lot.

 

Best regards,

Yuanhong

 

From: [email protected] [mailto:[email protected]] 代表 
Konrad Banka via Lists.Onap.Org
Date: 2019年9月4日 18:40
To: [email protected]; [email protected]
Subject: Re: [onap-discuss] About setup project repositories when creating 
documentation

 

Hi Yuanhong,

This instruction must have assumed you're using git-review tool 
(https://docs.openstack.org/infra/git-review/ 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.openstack.org_infra_git-2Dreview_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=NJAEHfQoLAqU6Mfo-WCvDEGsbs3O9RNyC3XFKZ7W_Pw&m=krEzUg8SLuDuGvCG8oMcCU-M5tfV4Me0OXerUOFnow4&s=no6GjcvaWB-YN5FQB486fvL0VbPaezRtm82re3Gw_9w&e=>
 ), that is designed to ease interaction with gerrit. You can either install it 
as documented and `git review` should probably work, or directly push change 
for review with `git push $remote_name_or_url HEAD:refs/for/$branchname` (as 
described on gerrit wiki: 
https://gerrit.onap.org/r/Documentation/user-upload.html#push_create 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_Documentation_user-2Dupload.html-23push-5Fcreate&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=NJAEHfQoLAqU6Mfo-WCvDEGsbs3O9RNyC3XFKZ7W_Pw&m=krEzUg8SLuDuGvCG8oMcCU-M5tfV4Me0OXerUOFnow4&s=6yNPqBsmShhcGFq9vroAO4XLoZIFVotnBvNlgP-FK7E&e=>
 ).

Best Regards,
Konrad Bańka

On 04.09.2019 11:19, Deng Yuanhong wrote:

Hi Team,

 

I am trying to create documentation according to:

https://onap.readthedocs.io/en/latest/guides/onap-developer/how-to-use-docs/include-documentation.html#setup-project-repositories-s
 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_latest_guides_onap-2Ddeveloper_how-2Dto-2Duse-2Ddocs_include-2Ddocumentation.html-23setup-2Dproject-2Drepositories-2Ds&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=NJAEHfQoLAqU6Mfo-WCvDEGsbs3O9RNyC3XFKZ7W_Pw&m=krEzUg8SLuDuGvCG8oMcCU-M5tfV4Me0OXerUOFnow4&s=jOwaY2bTXY-eJqdUk5Yb8hTKW7bbcGox3jI-LaUqnh0&e=>
 

 

In this document, I should run the followed commands to setup project 
repositories:

git clone ssh://[email protected]:29418/doc

cd doc

mkdir -p `dirname docs/submodules/$reponame`

git submodule add ../$reponame docs/submodules/$reponame.git

git submodule init docs/submodules/$reponame.git

git submodule update docs/submodules/$reponame.git

echo "   $reponame <../submodules/$reponame.git/docs/index>" >> 
docs/release/repolist.rst

git add .

git commit -s

git review

 

However, when I run the last command “git review”, it failed and showed the 
message “git: 'review' is not a git command. See 'git --help'.”

Is there a mistake in this document? What should I do to setup the project 
repositories?

 

Thank you in advance for your help.

 

Best regards,

Yuanhong

 

 

Imageremoved by sender.




 

 




  
<http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=k.banka&do=bWFpbElEPTIwMTkwOTEwMTIxNTAwZXVjYXMxcDFkM2U5OWY1MTMwZjgxMWRmMjEwM2FkYzg3Y2EwNDU1ZiZyZWNpcGllbnRBZGRyZXNzPWRlbmd5dWFuaG9uZ0BjaGluYW1vYmlsZS5jb20_>
 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18899): https://lists.onap.org/g/onap-discuss/message/18899
Mute This Topic: https://lists.onap.org/mt/33136365/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to