fix: filter out (none) tags from patchsets

- Modified cvs_client.py to skip tags with value '(none)' using case-insensitive comparison
- Updated ui.js to also check for '(none)' tags when displaying patchsets
- Patchsets without tags no longer show any tag badge in the UI
This commit is contained in:
Juan José Gutiérrez de Quevedo Pérez 2025-11-21 18:49:10 +01:00
parent d3b40ae93f
commit df78bab6f4
2 changed files with 5 additions and 2 deletions

View file

@ -366,7 +366,10 @@ class CVSClient:
current_patchset['author'] = author_match.group(1)
if tag_match:
current_patchset['tag'] = tag_match.group(1)
tag_value = tag_match.group(1)
# Don't store tags that are "(none)" or "(None)" - treat them as no tag (case-insensitive)
if tag_value.lower() != '(none)':
current_patchset['tag'] = tag_value
if log_match:
# Log section starts, capture until next PatchSet or end