From: Karl Hasselström Date: Tue, 05 Aug 2008 13:39:22 GMT Subject: Re: extracting to/cc addresses for stg mail Message-ID: <20080805133922.GB29499@diana.vm.bytemark.co.uk> In-Reply-To: <200808011650.45915.bjorn.helgaas@hp.com> On 2008-08-01 16:50:45 -0600, Bjorn Helgaas wrote: > Is there a way to make stg pay attention to my "To:" lines in the > patch description? Or another way to accomplish this? It can't do it at the moment, but it should be easy to fix. In stgit/commands/mail.py, the following lines if options.auto: extra_cc = __get_signers_list(descr) else: extra_cc = [] add the extra CC addresses. You could augment __get_signers_list to return a tuple of to and cc addresses instead of just cc addresses, pass those addesses to the same place extra_cc is fed now, and that's it. If you really hate Python, don't have time, etc., I can do it for you (as long as you agree to test it) -- just ask -- but I try to take every opportunity to get people to contribute patches. :-) -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle