You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/03/28 17:05:25 UTC

[jira] [Created] (INFRA-11555) mlreq.cgi & queuerun.py need to be consistent

Sebb created INFRA-11555:
----------------------------

             Summary: mlreq.cgi & queuerun.py need to be consistent
                 Key: INFRA-11555
                 URL: https://issues.apache.org/jira/browse/INFRA-11555
             Project: Infrastructure
          Issue Type: Task
          Components: Mailing Lists
            Reporter: Sebb


The mlreq.cgi [1] app creates json input files which are processed by the queuerun.py [2] script.

Both perform input validation (and need to do so).
This validation needs to be consistent, otherwise invalid requests can be created. Or valid requests may be impossible to create via the CGI interface.

Unfortunately the scripts are written in different languages so it's not possible to share code. However it should be possible to use the same REs for basic validation, e.g. by storing them in a shared JSON file (or by manual synch.).

[1] https://svn.apache.org/repos/infra/infrastructure/trunk/projects/infra/www/officers/mlreq.cgi
[2] https://svn.apache.org/repos/infra/infrastructure/trunk/mlreq/queuerun.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)