Bug 8704

Summary: patchwork: support history tracking of patch status
Product: [Yocto Project Subprojects] Patchwork/Patchtest Reporter: Paul Eggleton <bluelightning>
Component: PatchworkAssignee: Jose Lamego <jose.a.lamego>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: damien.lespiau, jose.perez.carranza
Version: unspecified   
Target Milestone: 2.2 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 9130    
Bug Blocks:    

Description Paul Eggleton 2015-11-18 22:21:22 UTC
Support tracking changes to the status of a patch in patchwork (so there is an audit trail of who changed the status and when, where "who" might also be an automated script).

It's possible this functionality already exists upstream, I'm not sure.
Comment 1 Damien Lespiau 2015-12-03 11:37:55 UTC
The history of patches states isn't kept at the moment.

This could be done with https://github.com/dlespiau/patchwork/issues/40
Comment 2 Jose Lamego 2016-01-28 18:21:40 UTC
Updating target milestone. Fix development will be carried on, but final implementation will depend on Patchwork version update.
Comment 3 Jose Lamego 2016-02-05 18:17:55 UTC
Pull request sent to upstream [1]. If approved, this change will be implemented in production when upgrading Patchwork version.

[1] https://github.com/dlespiau/patchwork/pull/140
Comment 4 Jose Lamego 2016-03-01 15:45:19 UTC
Pull Request v2 sent to upstream.
Comment 5 Jose Lamego 2016-03-11 15:57:27 UTC
Change merged in upstream. Waiting for the OE Patchwork to be updated to latest version for the feature to be available to all users.
Comment 6 Jose Lamego 2016-06-27 17:27:58 UTC
Updating target milestone to match that of Dependency
Comment 7 Jose Lamego 2016-07-07 15:36:38 UTC
Patch status is now tracked in the log for "state-change-event" event. For example: https://patchwork.openembedded.org/api/1.0/projects/5/events/?name=patch-state-change