| Summary: | patchtest: filter incoming series by users | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Patchwork/Patchtest | Reporter: | Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez> |
| Component: | Patchtest | Assignee: | Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez> |
| Status: | RESOLVED FIXED | QA Contact: | David Rodriguez <david.israelx.rodriguez.castellanos> |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | jose.perez.carranza |
| Version: | 2.1 | ||
| Target Milestone: | 2.2 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Leonardo Sandoval Gonzalez
2016-04-06 15:13:52 UTC
This is something to be implemented before production. The feature is implemented using a command line argument, which is a string indicating a python regular expression. This regex is scanned into the item's submitter, if match then the POST request is done. By default, this regex is empty, so no post is done. Command line example: # No posting git pw poll-events | patchtest # post all series, not matter the submitter git pw poll-events | patchtest --include-post-users '.*' # post series for those submitters with email's host/domain 'linux.intel.com' git pw poll-events | patchtest --include-post-users '.*@linux.intel.com' (In reply to comment #2) > The feature is implemented using a command line argument, which is a string > indicating a python regular expression. This regex is scanned into the > item's submitter, if match then the POST request is done. By default, this > regex is empty, so no post is done. > > Command line example: > > # No posting > git pw poll-events | patchtest > > # post all series, not matter the submitter > git pw poll-events | patchtest --include-post-users '.*' > > # post series for those submitters with email's host/domain 'linux.intel.com' > git pw poll-events | patchtest --include-post-users '.*@linux.intel.com' Small change done, now the parameter a simpler name: '--post-submitters' or simple '-p' |