threads / discuss / 15950

[Q] submitting patches from gmail

Subject: [Q] submitting patches from gmail

## tl;dr

6 messages between Oct 18, 2008 and Oct 18, 2008.

replies: 5people: 4as markdown or json

Leo Razoumov· Oct 18, 2008, 12:08 UTC · lore

Hi Everyone, I wonder what is the preferred way to submit patches from a gmail account. Google mail auto wraps long lines and there is no way to change this setting. Safe way would be to use attachments. Are they allowed on git mailing list?

Thanks, --Leo--

Tuncer Ayaz· Oct 18, 2008, 12:16 UTC · re: Leo Razoumov · lore

Re: [Q] submitting patches from gmail

On Sat, Oct 18, 2008 at 2:08 PM, Leo Razoumov <slonik.az@gmail.com> wrote:
> Hi Everyone,
> I wonder what is the preferred way to submit patches from a gmail account.
> Google mail auto wraps long lines and there is no way to change this setting.
> Safe way would be to use attachments. Are they allowed on git mailing list?

I do use git send-mail with msmtp as the SMTP client and smtp.gmail.com as the host. If you are able to go that route it would solve your problem.

Giuseppe Bilotta· Oct 18, 2008, 12:50 UTC · re: Leo Razoumov · lore

Re: [Q] submitting patches from gmail

On Saturday 18 October 2008 14:08, Leo Razoumov wrote:
> Hi Everyone,
> I wonder what is the preferred way to submit patches from a gmail account.
> Google mail auto wraps long lines and there is no way to change this setting.
> Safe way would be to use attachments. Are they allowed on git mailing list?

I've been sending patches from gmail for a while without problems. It took me a while to find a working configruation, but I finally managed to do it using msmtp. I have

[sendemail]
        smtpserver = /usr/bin/msmtp
in my ~/.gitconfig
and the following ~/.msmtprc

====== # Example for a user configuration file

# Set default values for all following accounts. defaults tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile ~/.msmtp.log

# My email service account gmail host smtp.gmail.com from yourgmailusername@gmail.com auth on user yourgmailusername password yourgmailpassword

# Set a default account account default : gmail =========

And to send patches I just use something like
git send-email --to "git@vger.kernel.org" --cc "whoever" 00*
-- 
Giuseppe "Oblomov" Bilotta
Tuncer Ayaz· Oct 18, 2008, 13:00 UTC · re: Giuseppe Bilotta · lore

Re: [Q] submitting patches from gmail

On Sat, Oct 18, 2008 at 2:50 PM, Giuseppe Bilotta <giuseppe.bilotta@gmail.com> wrote:

Show 34 quoted lines
> On Saturday 18 October 2008 14:08, Leo Razoumov wrote:
>
>> Hi Everyone,
>> I wonder what is the preferred way to submit patches from a gmail account.
>> Google mail auto wraps long lines and there is no way to change this setting.
>> Safe way would be to use attachments. Are they allowed on git mailing list?
>
> I've been sending patches from gmail for a while without problems. It took me
> a while to find a working configruation, but I finally managed to do it using
> msmtp. I have
>
> [sendemail]
>        smtpserver = /usr/bin/msmtp
>
> in my ~/.gitconfig
>
> and the following ~/.msmtprc
>
> ======
> # Example for a user configuration file
>
> # Set default values for all following accounts.
> defaults
> tls on
> tls_trust_file /etc/ssl/certs/ca-certificates.crt
> logfile ~/.msmtp.log
>
> # My email service
> account gmail
> host smtp.gmail.com
> from yourgmailusername@gmail.com
> auth on
> user yourgmailusername
> password yourgmailpassword

as the password is stored in plaintext I prefer to leave it out and get asked every time I use mstmp :-).

Show 7 quoted lines
> # Set a default account
> account default : gmail
> =========
>
> And to send patches I just use something like
>
> git send-email --to "git@vger.kernel.org" --cc "whoever" 00*
Leo Razoumov· Oct 18, 2008, 14:12 UTC · re: Giuseppe Bilotta · lore

Re: [Q] submitting patches from gmail

Giuseppe, Thanks for the help!

BTW, what is  /etc/ssl/certs/ca-certificates.crt and how to generate it?
--Leo--
On 10/18/08, Giuseppe Bilotta <giuseppe.bilotta@gmail.com> wrote:
Show 53 quoted lines
> On Saturday 18 October 2008 14:08, Leo Razoumov wrote:
>
>  > Hi Everyone,
>  > I wonder what is the preferred way to submit patches from a gmail account.
>  > Google mail auto wraps long lines and there is no way to change this setting.
>  > Safe way would be to use attachments. Are they allowed on git mailing list?
>
>
> I've been sending patches from gmail for a while without problems. It took me
>  a while to find a working configruation, but I finally managed to do it using
>  msmtp. I have
>
>  [sendemail]
>         smtpserver = /usr/bin/msmtp
>
>  in my ~/.gitconfig
>
>  and the following ~/.msmtprc
>
>  ======
>  # Example for a user configuration file
>
>  # Set default values for all following accounts.
>  defaults
>  tls on
>  tls_trust_file /etc/ssl/certs/ca-certificates.crt
>  logfile ~/.msmtp.log
>
>  # My email service
>  account gmail
>  host smtp.gmail.com
>  from yourgmailusername@gmail.com
>  auth on
>  user yourgmailusername
>  password yourgmailpassword
>
>  # Set a default account
>  account default : gmail
>  =========
>
>  And to send patches I just use something like
>
>  git send-email --to "git@vger.kernel.org" --cc "whoever" 00*
>
>  --
>  Giuseppe "Oblomov" Bilotta
>
>
>  --
>  To unsubscribe from this list: send the line "unsubscribe git" in
>  the body of a message to majordomo@vger.kernel.org
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Felipe Contreras· Oct 18, 2008, 14:20 UTC · re: Leo Razoumov · lore

Re: [Q] submitting patches from gmail

On Sat, Oct 18, 2008 at 5:12 PM, Leo Razoumov <slonik.az@gmail.com> wrote:
> Giuseppe,
> Thanks for the help!
>
> BTW, what is  /etc/ssl/certs/ca-certificates.crt and how to generate it?
Your distro should provide that along with openssl.
-- 
Felipe Contreras

← back to recent threads