[Dev] I faced an issue while contributing the source code to tizen. I need help

JF Ding jian-feng.ding at intel.com
Thu Sep 11 01:58:18 GMT 2014


Yes, you need install the “change-id” hook in your local git clone, by following Ning’s hint.
After that, you need to `git commit - -amend` to update your commit.

- jf.ding

On Thursday, September 11, 2014 at 8:41 AM, Wang, Ning W wrote:

> Hi
> Please run below command in the source folder before you do git push.
> scp -p -P 29418 domich at review.tizen.org (mailto:domich at review.tizen.org):hooks/commit-msg .git/hooks/
> Thanks,
> Ning
> From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of ???
> Sent: Thursday, September 11, 2014 8:28 AM
> To: dev at lists.tizen.org (mailto:dev at lists.tizen.org)
> Subject: [Dev] I faced an issue while contributing the source code to tizen. I need help  
> Hi,
> I am now making the js validator based on the tizen web app checker.
> I have found some issues and i fixed them.
> So, I want to push the code.
> but I faced below error.
> I was googling for 2 days and i applied their solution. but i can't solve the problem.
> please help me if there is anyone who has faced same problem
> tta at ubuntu:~/prj/web-app-checker/web/src$ (mailto:tta at ubuntu:~/prj/web-app-checker/web/src$) git push origin HEAD:refs/for/tizen
> Counting objects: 31, done.
> Compressing objects: 100% (8/8), done.
> Writing objects: 100% (10/10), 1.29 KiB | 0 bytes/s, done.
> Total 10 (delta 7), reused 0 (delta 0)
> remote: Resolving deltas: 100% (7/7)
> remote:
> remote: Processing changes: refs: 1, done    
> remote: ERROR: missing Change-Id in commit message footer
> remote: Suggestion for commit message:
> remote:  [report for package config] fix a bug for searching the line number which an error occured
> remote: In our project, we added some elements which it is possible to be added multiple time in the config file with other property value.
> remote: but now the function checks whether there are some property and value, or not. As a result, the function returns incorrect line number.
> remote: so I give al l the properties and value as the parameter of the function and check the sequence of them.
> remote:
> remote: Change-Id: I226898ce3ec023db9fc5f1153b38dda254762e21
> remote:
> remote: Hint: To automatically insert Change-Id, install the hook:
> remote:   gitdir=$(git rev-parse --git-dir); scp -p -P 29418 domich at review.tizen.org (mailto:domich at review.tizen.org):hooks/commit-msg ${gitdir}/hooks/
> remote:
> remote:
> To ssh://domich@review.tizen.org:29418/sdk/tools/web-app-checker.git
>  ! [remote rejected] HEAD -> refs/for/tizen (missing Change-Id in commit message footer)
> error: failed to push some refs to 'ssh://domich@review.tizen.org:29418/sdk/tools/web-app-checker.git'  
> _______________________________________________
> Dev mailing list
> Dev at lists.tizen.org (mailto:Dev at lists.tizen.org)
> https://lists.tizen.org/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140911/5ce9f220/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 332 bytes
Desc: not available
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140911/5ce9f220/attachment-0001.jpg>

More information about the Dev mailing list