[PATCH 02/10] bin: add parsearchive wrapper

文平波 wengpingbo at gmail.com
Fri Sep 2 22:56:26 AEST 2016


> 在 2016年8月30日,07:02,Stephen Finucane <stephenfinucane at hotmail.com> 写道:
> 
> On 23 Aug 17:03, WEN Pingbo wrote:
>> Signed-off-by: WEN Pingbo <wengpingbo at gmail.com>
> 
> Hi Pingo,
> 
> While this looks good, I'm curious to know what use cases you envision
> this being used for? The parsemail.sh script is only needed for use
> with mail delivery agents like procmail. It's unlikely that
> parsearchive would be used this way, so surely it's better just to use
> the Python script?

the parsearchive.sh script is used to save my time to set bunch of env variables, without loading other configs.

> 
> More importantly, all of this is changing soon thanks to their
> conversion to management commands [1][2].

I’m happy to see this conversion if the ‘parse’ command can read DJANGO_SETTINGS_MODULE in an central place.

Pingbo


More information about the Patchwork mailing list