Cleaning out archived patches

Konstantin Ryabitsev konstantin at
Thu Oct 29 23:25:48 AEDT 2020

Hi, all:

One way to slim down the DB size would be to turn archived patches into 
a simple mapping of patchid/msgid to the archival URL. A request to an 
archived patch would then be a simple redirect to the archival site, 


The table of archived patches would simply be:

patch_id | proj_name | msgid    | archive_url
11865643 | netdevbpf | a9045... |

None of the above values would be foreign keys, which would allow 
cleaning up old patches and old projects without breaking links.

This should help dramatically reduce the number of rows involved in most 

What do you think?


More information about the Patchwork mailing list