Google Cloud allows you to upload the source code for applications and tie it back into their debugging and error analysis tools. This is really useful because it means when you have an error in production, you can click on the error and have it take you straight to the line of code that caused the issue (and for services with Debug/Trace enabled, it allows you to debug production and trace RPC requests).
I'd like to be able to mirror a Phabricator repository to Google Cloud, but the way they authenticate is really silly.
Instead of using SSH or standard HTTP credentials, they use HTTP cookies, which apparently is a thing in Git you can configure with http.cookiefile. Their recommended setup instructions are (I've masked my actual credentials):
touch ~/.gitcookies chmod 0600 ~/.gitcookies git config --global http.cookiefile ~/.gitcookies tr , \\t <<\__END__ >>~/.gitcookies source.developers.google.com,TRUE,/,TRUE,2147483647,o,.....=...... __END__
There's no way for me to set .gitcookies from the Phabricator UI, so I'm unable to set up mirroring properly. For Diffusion, the implementation for this would probably use a libphutil temporary file and pass in -o http.cookiefile /tmpfilepath whenever performing operations on the repository (mirroring, cloning, etc.)