| Summary: | patchwork: clear out the superseded and already merged patches | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] Patchwork/Patchtest | Reporter: | Paul Eggleton <bluelightning> | ||||||
| Component: | Patchwork | Assignee: | Michael Halstead <mhalstead> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Alexandru Georgescu <alexandru.c.georgescu> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | Medium+ | CC: | benjamin.esquivel, damien.lespiau, leonardo.sandoval.gonzalez | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.2 M4 | ||||||||
| Hardware: | All | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
|
Description
Paul Eggleton
2015-08-14 16:47:40 UTC
Corresponding issue in github: http://github.com/dlespiau/patchwork/issues/61 Updating target milestone. Fix code is currently under peer review. Created attachment 2979 [details]
Scripts to update merged and superseded patches in Patchwork backlog
A script was developed to update to Accepted state the already merged patches and a second script to update to Superseded the patches that are in New state and include the same subject as other patches with an upper version prefix and in Accepted state. An individual log file will be created for each. These scripts should only be executed once to clean up the backlog and would not be required afterwards since Patchwork is now automatically updating the merged patches and will also update the superseded once its updated to the latest code. Developed scripts were sent to admin for deployment at first opportunity. I would not mark this as completed until the deployment has finished, instead, I'd put it as NEEDINFO and assign it to the person who will deploy such scripts. Reopening to wait for implementation to be completed. Michael, please let me know when these scripts are executed. After testing and a meeting between Paul and Jose this is postponed until after the patchwork upgrade. At this point we are running patchwork-update-commits as part of the patchwork upgrade and are not running update_superseded_commits at all. Jose I'm going to give this back to you until we have a new version of update_superseded_commits to try. Created attachment 3402 [details]
Scripts to update merged and superseded in Patchwork backlog
Update Supersed patches script must be executed in a machine with both Python2 and Python3 available to avoid ascii/unicode decoding errors.
Michael, please let me know when the Update Superseded Patches script is executed and provide me a copy of the created log for further analysis. These scripts have completed. Jose, please find the log in e-mail. |