Google git import
ZD: https://gitlab.zendesk.com/agent/tickets/27892
Description
Importing project from google git requires an additional step of adding a new password.
Error importing repository https://*****:*****@partner-android.googlesource.com/platform/manifest into balameb/test - 1540572
Cloning into bare repository '[REPOS PATH]/balameb/test.git'...
fatal: remote error:
Invalid authentication credentials.
Please generate a new identifier:
https://partner-android.googlesource.com/new-password
The url then requests the configuration of a git cookie with:
touch ~/.gitcookies
chmod 0600 ~/.gitcookies
git config --global http.cookiefile ~/.gitcookies
tr , \\t <<\__END__ >>~/.gitcookies
.googlesource.com,TRUE,/,TRUE,2147483647,o,git-username.gitlab.com=1/VU4PTJhDcq6iGeZWCd37HYN4RE7DOG81_x6HwLb-F94
__END__
Is there a workaround for importing and mirroring repos from Google?
/cc @DouweM