On Sat, Nov 23, 2024 at 05:34:42PM +0100, наб wrote:
>    1088058 | O    |        | O: python-webdavclient
> 
> The second group of bugs is valid, and UDD disagrees with other services
> (tracker and DDPO understand these).
> I failed to figure out where UDD parses these,
Found that it's a postgres view.
-- >8 --
CREATE VIEW public.wnpp AS
 SELECT bugs.id,
    "substring"(bugs.title, '^([A-Z]{1,3}): .*'::text) AS type,
    "substring"(bugs.title, '^[A-Z]{1,3}: ([^ ]+)(?: -- .*)'::text) AS source,
    bugs.title
   FROM public.bugs
  WHERE ((bugs.package = 'wnpp'::text) AND (bugs.status <> 'done'::text));
-- >8 --

Turning this into
    "substring"(bugs.title, '^[A-Z]{1,3}: ([^ ]+)(?:(?: -- .*)|$)'::text) AS 
source,
fixes the issue for all 76 packages:
  @@ -6667 +6667 @@
  - 1004236 | RFA | | RFA: dlang-libevent
  + 1004236 | RFA | dlang-libevent | RFA: dlang-libevent
  @@ -6813 +6813 @@
  - 940373 | RFA | | RFA: golang-github-influxdata-yarpc
  + 940373 | RFA | golang-github-influxdata-yarpc | RFA: 
golang-github-influxdata-yarpc
  @@ -6827 +6827 @@
  - 940404 | RFA | | RFA: golang-github-oneofone-xxhash
  + 940404 | RFA | golang-github-oneofone-xxhash | RFA: 
golang-github-oneofone-xxhash
  @@ -6892 +6892 @@
  - 940435 | RFA | | RFA: golang-github-tjfoc-gmsm
  + 940435 | RFA | golang-github-tjfoc-gmsm | RFA: golang-github-tjfoc-gmsm
  @@ -7017 +7017 @@
  - 1054138 | ITP | | ITP: prometheus-ganeti-exporter
  + 1054138 | ITP | prometheus-ganeti-exporter | ITP: prometheus-ganeti-exporter

Patch in
  https://salsa.debian.org/qa/udd/-/merge_requests/58

Attachment: signature.asc
Description: PGP signature

Reply via email to