[Dev] Gerrit faillures

Baptiste DURAND baptiste.durand at open.eurogiciel.org
Wed Dec 4 09:24:28 GMT 2013


Thanks Casey,

I have already copied this.


The problem here is that the first commit of a  Read Only branch has no
changeId.
As it is a commit hooks, to add a commit Id, we need to re-commit this
first commit, correct?

But this commit is in Read Only branch (branch tizen2.2 from
framework/web/wrt repository).So I can not re-commit this one.

The goal is to add commit id without re commit this ones.

Please,don't forget, that we trying to merge branches by using git-merge.

It is Gerrit that checks the commits come from the branch that we want to
merge.


Regards,

Baptiste



2013/12/3 Schaufler, Casey <casey.schaufler at intel.com>

>  You need to have the tizen git hooks:
>
>
>
> scp –p –P 29418 yourid at review.tizen.org:hooks/commit-msg .git/hooks/
>
>
>
> https://wiki.tizen.org/wiki/How_to_contribute_to_Tizen_IVI
>
>
>
>
>
> *From:* dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] *On
> Behalf Of *Baptiste DURAND
> *Sent:* Tuesday, December 03, 2013 7:09 AM
> *To:* dev at lists.tizen.org
> *Subject:* [Dev] Gerrit faillures
>
>
>
> Hello all,
>
> We are working on synchronization of tizen repositories to version API 2.2.
>
> All bugs are labeled "upgrade_to_2.2" on Public Jira.
>
>   we are facing to several different gerrit issues when we are trying to
> commit the merge content.
>
> Does anybody get the below Gerrit issues?
>
> - First issue seen : Merge commit without changeID.
> exemple for wrt package (platform/framework/web/wrt) :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *---------------------------------------------------------------------------------------------------------------------------------------------------
> [tizen 6960494] Merge remote-tracking branch 'sam/tizen_2.2' into tizen
> ~/tmp/wrt(tizen)$ git push origin HEAD:refs/for/tizen Counting objects:
> 439, done. Delta compression using up to 8 threads. Compressing objects:
> 100% (239/239), done. Writing objects: 100% (311/311), 140.48 KiB, done.
> Total 311 (delta 235), reused 121 (delta 68) remote: Resolving deltas: 100%
> (235/235) remote: remote: Processing changes: refs: 1, done    remote:
> ERROR: missing Change-Id in commit message footer remote: Suggestion for
> commit message: remote: Initial empty repository remote: remote: Change-Id:
> I3f8c4f892d1679dccaa9a1b31f357fc39f3f3f3f remote: remote: Hint: To
> automatically insert Change-Id, install the hook: remote:   scp -p -P 29418
> durandba at review.tizen.org:hooks/commit-msg
> <durandba at review.tizen.org:hooks/commit-msg> .git/hooks/ remote: remote: To
> review.tizen.org:platform/framework/web/wrt  ! [remote rejected] HEAD ->
> refs/for/tizen (missing Change-Id in commit message footer) error: failed
> to push some refs to 'review.tizen.org:platform/framework/web/wrt'
> ---------------------------------------------------------------------------------------------------------------------------------------------------*
>
> According to the log, gerrit rejects the merge because of a commit without
> change-id.
>
> This commit  is the first of the branch that we re trying to merge.(branch
> tizen2.2 of repository framework/web/wrt), we do not have permission on
> this last repository (framework/web/wrt)
> Is there a way to bypass this ?
>
>
>
> - second issue seen : committer is not the same person that do the merge.
>
> example for vconf component :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *---------------------------------------------------------------------------------------------------------------------------------------------------
> [tizen 68fcdeb] Merge remote-tracking branch 'sam/tizen_2.2' into tizen
> ~/TIZEN/git_std/vconf(tizen)$ git push origin HEAD:refs/for/tizen Counting
> objects: 40, done. Delta compression using up to 8 threads. Compressing
> objects: 100% (23/23), done. Writing objects: 100% (23/23), 3.53 KiB, done.
> Total 23 (delta 20), reused 0 (delta 0) remote: Resolving deltas: 100%
> (20/20) remote: remote: Processing changes: refs: 1, done    remote:
> remote: ERROR:  In commit eef40364677d595129d249ebd2f2ad*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *497ff0f142 remote: ERROR:  committer email address sy2004.kim at samsung.com
> <sy2004.kim at samsung.com> remote: ERROR:  does not match your user account.
> remote: ERROR: remote: ERROR:  The following addresses are currently
> registered: remote: ERROR:    baptiste.durand at eurogiciel.fr
> <baptiste.durand at eurogiciel.fr> remote: ERROR:
> baptiste.durand at open.eurogiciel.org <baptiste.durand at open.eurogiciel.org>
> remote: ERROR: remote: ERROR:  To register an email address, please visit:
> remote: ERROR:  https://review.tizen.org/gerrit/#/settings/contact
> <https://review.tizen.org/gerrit/#/settings/contact> remote: remote: To
> review.tizen.org:platform/core/appfw/vconf  ! [remote rejected] HEAD ->
> refs/for/tizen (invalid committer) error: failed to push some refs to
> 'review.tizen.org:platform/core/appfw/vconf'*
>
>
> *---------------------------------------------------------------------------------------------------------------------------------------------------*
>
>
>
> Same question is there way to bypass this check?
>
> Is there a way to do such synchronization through Gerrit?
>
> Thanks in advance  for your help
>
> Baptiste
>
> --
> Baptiste DURAND
> Intel OTC - Vannes/FR
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131204/b34df1c5/attachment.html>


More information about the Dev mailing list