[chirp_devel] [OT] patchbomb and gmail
Since Dan brought up patchbomb, I'll go ahead and ask since my google-fu has failed. Have folks had success with using patchbomb against gmail lately? I tried setting it up but got an auth/login error regardless of which settings I use.
At the moment, the smtp section of my hgrc looks like this:
[smtp] host=smtp.gmail.com port=587 username=XX password=YY tls = True (also tried = starttls)
Every time, I get an aborted response from mercurial (abort/534), and a nastygram from google saying they blocked a sign-in attempt.
-- Brian
On Mon, Sep 5, 2016 at 11:58 AM, Brian Dickman via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
Since Dan brought up patchbomb, I'll go ahead and ask since my google-fu has failed. Have folks had success with using patchbomb against gmail lately? I tried setting it up but got an auth/login error regardless of which settings I use.
At the moment, the smtp section of my hgrc looks like this:
[smtp] host=smtp.gmail.com port=587 username=XX password=YY tls = True (also tried = starttls)
Every time, I get an aborted response from mercurial (abort/534), and a nastygram from google saying they blocked a sign-in attempt.
-- Brian
Brian,
What I have been using to submit patches via gmail is "hg email tip".
I suppose I should check out patchbomb, though.
Jim KC9HI
What I have been using to submit patches via gmail is "hg email tip".
That is patchbomb, so at least it's working for you. Do you have any special/additional settings in your hgrc?
[smtp] host=smtp.gmail.com port=587 username=XX password=YY tls = True (also tried = starttls)
On Mon, Sep 5, 2016 at 8:58 AM, Brian Dickman via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
Since Dan brought up patchbomb, I'll go ahead and ask since my google-fu has failed. Have folks had success with using patchbomb against gmail lately? I tried setting it up but got an auth/login error regardless of which settings I use.
At the moment, the smtp section of my hgrc looks like this:
[smtp] host=smtp.gmail.com port=587 username=XX password=YY tls = True (also tried = starttls)
Every time, I get an aborted response from mercurial (abort/534), and a nastygram from google saying they blocked a sign-in attempt.
Your hgrc is identical to mine (other than XX, YY :-). One difference may be that I set up an application specific password: https://support.google.com/accounts/answer/185833?hl=en
Tom
Your hgrc is identical to mine (other than XX, YY :-). One difference may be that I set up an application specific password: https://support.google.com/accounts/answer/185833?hl=en
Tom
YES! Thanks for the pointer Tom, that got me where I needed to be.
1) If you haven't enabled TFA (Two Factor Authentication) for you account, visit this link and follow the steps:
https://myaccount.google.com/security/signinoptions/two-step-verification/en...
2) With TFA enabled, you can add app-specific passwords, like one for mercurial:
https://security.google.com/settings/security/apppasswords
And using the settings previously mentioned, with an app-specific password, you are all set! The less secure option is enabling a switch in your google account settings called something like "allow less secure apps", but that seems like a horrible idea. That's probably the way much older gmail accounts work if you haven't changed anything else, but being a "security conscious individual" (paranoid), I go for the TFA/app-password approach.
Thanks for the help all!
-- Brian
YES! Thanks for the pointer Tom, that got me where I needed to be.
Sweet. Either of you care to add that to the developers page for posterity? Maybe here or a dedicated patchbomb page:
http://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess
--Dan
participants (4)
-
Brian Dickman
-
Dan Smith
-
Jim Unroe
-
Tom Hayward