Hi,
As of the recently released GIT 1.3.0, sending patches via an IMAP folder with GIT just got easier.
If everything is set up right, you should be able to run the following command:
git-format-patch --attach --stdout --keep origin | git-imap-send
This requires some configuration in ~/.git/config:
[core] name = "Mike McCormack" email = "mike@codeweavers.com"
[imap] Folder = "INBOX.Drafts" Tunnel = "ssh -q usr@svr /usr/bin/imapd ./Maildir 2> /dev/null"
[format] headers = "To: wine-patches wine-patches@winehq.org\n"
Using Mozilla, you can just click on the "Edit Draft:" in the message, check/edit the message and then click send.
Alexandre has said that he doesn't mind if the subject line contains the ChangeLog entry.
No more missing patches, missing ChangeLog entries, or patches generated from the wrong directory.
I think James Hawkins has written a program similar to git-imap-send that works with GMail...
Mike
Mike McCormack wrote:
As of the recently released GIT 1.3.0, sending patches via an IMAP folder with GIT just got easier.
If everything is set up right, you should be able to run the following command:
git-format-patch --attach --stdout --keep origin | git-imap-send
This requires some configuration in ~/.git/config:
[core] name = "Mike McCormack" email = "mike@codeweavers.com"
[imap] Folder = "INBOX.Drafts" Tunnel = "ssh -q usr@svr /usr/bin/imapd ./Maildir 2> /dev/null"
What to put in here if one uses imaps? That should be the "normal" way of using imap this days.
bye michael
Michael Stefaniuc wrote:
Tunnel = "ssh -q usr@svr /usr/bin/imapd ./Maildir 2> /dev/null"
What to put in here if one uses imaps? That should be the "normal" way of using imap this days.
Unfortunately it doesn't support imaps as yet. There was code to support imaps in the isync code that git-imap-send was derived from, however it was removed because libssl is non-GPL.
ssh should do just as good a job as ssl, if not better.
Mike
Mike McCormack mike@codeweavers.com writes:
Using Mozilla, you can just click on the "Edit Draft:" in the message, check/edit the message and then click send.
Alexandre has said that he doesn't mind if the subject line contains the ChangeLog entry.
Not only I don't mind, but I'd strongly encourage everybody to use Mike's method for sending patches, it makes things a lot easier for me.