Bug 7654

Summary: patchwork: ensure superseded patches are marked as such
Product: [Yocto Project Subprojects] Patchwork/Patchtest Reporter: Paul Eggleton <bluelightning>
Component: PatchworkAssignee: Jose Lamego <jose.a.lamego>
Status: RESOLVED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: enhancement    
Priority: Medium+ CC: damien.lespiau, leonardo.sandoval.gonzalez
Version: unspecified   
Target Milestone: 2.2 M3   
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: 8717    

Description Paul Eggleton 2015-04-24 09:52:59 UTC
If you send a v2, v3 etc. of a patch, the earlier versions should be marked as superseded in patchwork automatically; currently this is a manual process.

Note that this is complicated somewhat by submitters sometimes updating patches individually instead of re-sending the whole series, forgetting to add v2 (or forgetting to increment), etc. We may not be able to handle everything, but if we can at least catch the common cases that would save a lot of manual marking.
Comment 1 Paul Eggleton 2015-04-28 17:33:28 UTC
Damien Lespiau is currently working on this; his WIP code is on github:
https://github.com/dlespiau/patchwork
Comment 2 Jose Lamego 2015-09-01 16:49:43 UTC
Paul: Given the fact that Damien is currently focused on other issues so most likely this won't make it to M3, are you ok with me moving it to 2.1?
Comment 3 Paul Eggleton 2015-09-01 21:12:01 UTC
No problem, I've moved it.
Comment 4 Damien Lespiau 2015-10-26 16:56:55 UTC
Corresponding github issue:

  https://github.com/dlespiau/patchwork/issues/61
Comment 5 Jose Lamego 2016-01-28 18:17:24 UTC
Updating target milestone. This enhancement is being developed, but implementation will depend on Patchwork version update.
Comment 6 Jose Lamego 2016-02-22 21:16:57 UTC
Updating target milestone to match that of Dependency.
Comment 7 Jose Lamego 2016-06-27 17:27:36 UTC
Updating target milestone to match that of Dependency
Comment 8 Leonardo Sandoval Gonzalez 2016-07-07 20:39:40 UTC
Currently being tested under latest patchwork instance.
Comment 9 Jose Lamego 2016-07-15 22:07:07 UTC
Patch sent to upstream:
https://github.com/dlespiau/patchwork/pull/192
Comment 10 Jose Lamego 2016-08-31 14:53:35 UTC
Fix has been successfully tested, waiting for upstream merge. I'm closing this bug now and will open a new bug to implement the fix in production either by updating Patchwork code from repository or pointing to the new staging instance.