getpatchwork / patchwork

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.
http://jk.ozlabs.org/projects/patchwork/
GNU General Public License v2.0
273 stars 82 forks source link

Patches endpoint reports series without name #567

Closed danielocfb closed 10 months ago

danielocfb commented 11 months ago

I am looking at https://patchwork.kernel.org/project/netdevbpf/list/?series=792260&state=*. screenshot-2023-10-11_14-00-12

When going through the patches API endpoint, it is reported to have no series name. I.e., the series part of the response looks like:

{'id': 792260, 'url': 'https://patchwork.kernel.org/api/1.2/series/792260/', 'web_url': 'https://patchwork.kernel.org/project/netdevbpf/list/?series=792260', 'date': '2023-10-11T17:03:13', 'name': None, 'version': 9, 'mbox': 'https://patchwork.kernel.org/series/792260/mbox/'}

Is it by design that the name attribute is unset? I don't see that mentioned in the documentation.

stephenfin commented 10 months ago

Are you noting the mismatch between the name of Untitled series #792260 seen in the web UI and the fact that it's unset in the REST API? If so, yes, this is expected. The Untitled series #xyz piece is a placeholder for series without a name. This will happen if the user didn't set a series name explicitly (not currently possible outside of the admin view), a cover letter wasn't received, and a 1/n patch was not received. My guess if that the other 8 patches in that series were not submitted or were dropped somewhere.