git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Q] submitting patches from gmail
@ 2008-10-18 12:08 Leo Razoumov
  2008-10-18 12:16 ` Tuncer Ayaz
  2008-10-18 12:50 ` Giuseppe Bilotta
  0 siblings, 2 replies; 6+ messages in thread
From: Leo Razoumov @ 2008-10-18 12:08 UTC (permalink / raw)
  To: git

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--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Q] submitting patches from gmail
  2008-10-18 12:08 [Q] submitting patches from gmail Leo Razoumov
@ 2008-10-18 12:16 ` Tuncer Ayaz
  2008-10-18 12:50 ` Giuseppe Bilotta
  1 sibling, 0 replies; 6+ messages in thread
From: Tuncer Ayaz @ 2008-10-18 12:16 UTC (permalink / raw)
  To: SLONIK.AZ; +Cc: git

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Q] submitting patches from gmail
  2008-10-18 12:08 [Q] submitting patches from gmail Leo Razoumov
  2008-10-18 12:16 ` Tuncer Ayaz
@ 2008-10-18 12:50 ` Giuseppe Bilotta
  2008-10-18 13:00   ` Tuncer Ayaz
  2008-10-18 14:12   ` Leo Razoumov
  1 sibling, 2 replies; 6+ messages in thread
From: Giuseppe Bilotta @ 2008-10-18 12:50 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Q] submitting patches from gmail
  2008-10-18 12:50 ` Giuseppe Bilotta
@ 2008-10-18 13:00   ` Tuncer Ayaz
  2008-10-18 14:12   ` Leo Razoumov
  1 sibling, 0 replies; 6+ messages in thread
From: Tuncer Ayaz @ 2008-10-18 13:00 UTC (permalink / raw)
  To: Giuseppe Bilotta; +Cc: git

On Sat, Oct 18, 2008 at 2:50 PM, Giuseppe Bilotta
<giuseppe.bilotta@gmail.com> wrote:
> 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 :-).

> # 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*

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Q] submitting patches from gmail
  2008-10-18 12:50 ` Giuseppe Bilotta
  2008-10-18 13:00   ` Tuncer Ayaz
@ 2008-10-18 14:12   ` Leo Razoumov
  2008-10-18 14:20     ` Felipe Contreras
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Razoumov @ 2008-10-18 14:12 UTC (permalink / raw)
  To: Giuseppe Bilotta; +Cc: git

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:
> 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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Q] submitting patches from gmail
  2008-10-18 14:12   ` Leo Razoumov
@ 2008-10-18 14:20     ` Felipe Contreras
  0 siblings, 0 replies; 6+ messages in thread
From: Felipe Contreras @ 2008-10-18 14:20 UTC (permalink / raw)
  To: SLONIK.AZ; +Cc: Giuseppe Bilotta, git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-18 14:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-18 12:08 [Q] submitting patches from gmail Leo Razoumov
2008-10-18 12:16 ` Tuncer Ayaz
2008-10-18 12:50 ` Giuseppe Bilotta
2008-10-18 13:00   ` Tuncer Ayaz
2008-10-18 14:12   ` Leo Razoumov
2008-10-18 14:20     ` Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).