[TYPO3-dev] Push past commits to git/gerrit
Steffen Gebert
steffen.gebert at typo3.org
Fri May 31 16:27:40 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Christian,
I have this in my ~/.gitconfig:
> [url "ssh://stephenking@review.typo3.org:29418"]
> pushInsteadOf = git://git.typo3.org
So I can easily push to anything that was cloned via git://
Regarding your extension:
You (as project leader) can edit the project settings in Gerrit and
disable the check for the Change-Id. Nevertheless, you still would have
to submit every single commit (as you're pushing into review, because of
the refs/for/ target ref).
So instead you might want to bypass review (push to master instead of
refs/for/mater) and therefor modify the project's access control
settings [1] and give your group push privileges to refs/heads/*.
To ease your pain, I have created a change request that you just have to
submit in order to make this happen:
https://review.typo3.org/21173
Kind regards
Steffen
- --
[1]
https://review.typo3.org/#/admin/projects/TYPO3v4/Extensions/t3build,access
Steffen Gebert
TYPO3 Server Administration Team Member
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
I work for TYPO3 solely in my spare time. If you think that
my work helps you running your business, you are invited to
send me a donation via PayPal to this email address. Thanks
On 5/31/13 4:09 PM, Christian Opitz wrote:
> Hi,
>
> I've just figured that I can't push to git.typo3.org directly which is
> quite unpractical for importing an already existent repo but
> understandable though.
>
> Now, when I try to push to gerrit I'm getting errors regarding the
> commit messages:
>
> To ssh://metti@review.typo3.org:29418/TYPO3v4/Extensions/t3build.git
> ! [remote rejected] HEAD -> refs/for/master (missing Change-Id in
> commit message)
> error: failed to push some refs to
> 'ssh://metti@review.typo3.org:29418/TYPO3v4/Extensions/t3build.git'
>
> Is there a way to push older commits to gerrit and bypass the Change-Id
> checks? (because honestly: I'm not willing to do this for all the past
> commits)
>
> Thank you!
>
> Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJRqLNcAAoJEIskG/rSlyw4y+gIAIu0YZSbSdKA5q4JfKFu0sjb
BB7d+yQB3y1ztnsRoLavf6Uw8Pam4parx4hLduVbWl5oIicFlgZiBGqMHPzYQMEB
iLDRO+eIxzrRyeq+JPSHttP3STaca9M1VW1cEt4uNP6dnQ8xxQMriF5ej0MxdcSr
+/cohorm4UkzhPTxL+XmQGaZ4FMKtOE2JvhnGFzZrNldHh/LtQF2QQfnePduwG4n
i9ioDPR1gzCzgyaca2toWgXykbAU/+SMvHN7gO0TTSSSJqxZ8u8LAGSFoKPulFA1
Iqf3jXIoJqsCoUEBacJVlUCxMwxUaMoyP0ZDstL16dooaXwN8gWVttJh6Sw60zo=
=3nY2
-----END PGP SIGNATURE-----
More information about the TYPO3-dev
mailing list