git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: extracting to/cc addresses for stg mail

From
BHBjorn Helgaas <bjorn.helgaas@hp.com>
Date
Aug 5, 2008, 17:43 UTC
Message-ID
<200808051143.19683.bjorn.helgaas@hp.com>
In-Reply-To
<20080805133922.GB29499@diana.vm.bytemark.co.uk>
On Tuesday 05 August 2008 07:39:22 am Karl Hasselström wrote:
Show 21 quoted lines
> 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. :-)

Thanks for the hints. I'll take a look at it. It'll take me a while, but it's a good excuse to try to learn a little Python.

Bjorn
Previous: Karl Hasselström
Message 3 of 3 in “extracting to/cc addresses for stg mail”
  1. Bjorn HelgaasAug 1, 2008
  2. Karl HasselströmAug 5, 2008
  3. Bjorn HelgaasAug 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.