--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is nothing to do with the gerrit instance but depends on what your git or http client is able to use.There is nothing to stop you from using netrc instead of a git cookie file, except that you have to manually set it up rather than running the provided commands.
On Wednesday, October 26, 2016 at 3:00:32 PM UTC+8, David Pursehouse wrote:This is nothing to do with the gerrit instance but depends on what your git or http client is able to use.There is nothing to stop you from using netrc instead of a git cookie file, except that you have to manually set it up rather than running the provided commands.so how to get http password of user in gerrit-review.googlesource.com?
and how to create a http cookie file in our own gerrit instance?
I've never done it but I assume one should be able to simply add a new line in the .gitcookies file in the same format as the googlesource one, replacing googlesource.com with your domain and the password with the password for your Gerrit.
On Wed, Oct 26, 2016 at 4:23 PM Makson Lee <cdle...@gmail.com> wrote:
On Wednesday, October 26, 2016 at 3:00:32 PM UTC+8, David Pursehouse wrote:This is nothing to do with the gerrit instance but depends on what your git or http client is able to use.There is nothing to stop you from using netrc instead of a git cookie file, except that you have to manually set it up rather than running the provided commands.so how to get http password of user in gerrit-review.googlesource.com?The password is in the created git cookie file. You can just do:cat ~/.gitcookiesand see it there.and how to create a http cookie file in our own gerrit instance?I've never done it but I assume one should be able to simply add a new line in the .gitcookies file in the same format as the googlesource one, replacing googlesource.com with your domain and the password with the password for your Gerrit.
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Unfortunately not, the googlesource.com cookie auth is custom code in the googlesource.com server. Open-source Gerrit does not support passing HTTP passwords as cookies.
--
I don't think it would be that hard, but I'm not volunteering to do it :)And honestly, this is the first time anyone's asked for it.