• UDD wnpp table has source=NULL for multiple-source bugs

    From =?utf-8?B?0L3QsNCx?=@21:1/5 to All on Sat Nov 23 18:00:01 2024
    On Sat, Nov 23, 2024 at 05:34:42PM +0100, наб wrote:
    Here's what select * from wnpp where source is null; gives me rn:
    id | type | source | title
    ---------+------+--------+----------------------------------------------------------------------------------------------------------------
    1083234 | RFH | | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies

    The first few bugs are obviously wrong
    (other services don't understand them either),
    This is not true for #1083234.
    Both DDPO and tracker.d.o understand that this is a multi-source-package RFH and tag each of libpgjava libscram-java libstringprep-java RFH.

    So UDD should parse this as
    1083234 | RFH | libpgjava | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    1083234 | RFH | libscram-java | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    1083234 | RFH | libstringprep-java | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies

    And now that I look at it again, this is a postgres view.
    So idk if this is possible. But then I'm far from a postgres expert.

    but I can correct them manually.
    (did this)

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmdCCJUACgkQvP0LAY0m WPFv/Q//XI20U1C0foJpx0BWUhYRHJmT2Il3KN6IY4Bt60IHDEX6t2e7Bin/OHhx mDk2EXYGQL0ekJEvNPY00Vr3dE+ZEHZZ4/9GEmR8+YhjwTjV67IKcKndUOorQWAM xXjPWiuAAc9yfyeZcBr4Q5ojPz+uVRL0mHG+MUZbnfvypXVbmZ/930QqHR+UPX++ E7RVItTvCusZ35euXrz8MLQaqTprLfvA2czo1zmI0UC0e3TAV5/vQBjpDmAwRpTm YOpfRnp8nm/IhS56btYxm2P3htBa/lmZPShDl9c0uiIr3c7Nndejn4uNX/kn0suR 8VEWWS5g4R+uN+z0d9ohfDbSV3jSUqBKuqFqKv9U8rfK0iE2jAJxdSdZW8RnVQv3 rNolcsecZFAldOyxBeR3jjx4hmryEBZ/oB5p5UbINUdbhNo0G9CqRppZcNryIkeF 9OzH3gDGNEjoAVj1BvhxMPTcrY86I0jx2880lwuQkBDeg+KMheJ13vPX/QFSMYtR pRuqLQUJgBibdyoK93lcC5krnaCk7HjxFylHSs4eMvLOv2HuG7gkj3APUijc98Qn WHbhS10His4399QawIgYKa/1PKqq158dLdvXBMmORLBowwKGjaH91Piv5NFmI6fD Dxu0123E56ea9gTGvhbA7NTmv5nlhYVKqC+OeG9Fi+TPd0/IJAY=
    =qkgG
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?B?0L3QsNCx?=@21:1/5 to All on Sat Nov 23 19:00:01 2024
    --xdzptu2agsoupy5q
    Content-Type: text/plain; charset=utf-8
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    On Sat, Nov 23, 2024 at 05:53:45PM +0100, наб wrote:
    On Sat, Nov 23, 2024 at 05:34:42PM +0100, наб wrote:
    Here's what select * from wnpp where source is null; gives me rn:
    id | type | source | title
    ---------+------+--------+----------------------------------------------------------------------------------------------------------------
    1083234 | RFH | | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies

    The first few bugs are obviously wrong
    (other services don't understand them either),
    This is not true for #1083234.
    Both DDPO and tracker.d.o understand that this is a multi-source-package RFH and tag each of libpgjava libscram-java libstringprep-java RFH.

    So UDD should parse this as
    1083234 | RFH | libpgjava | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    1083234 | RFH | libscram-java | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    1083234 | RFH | libstringprep-java | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies

    And now that I look at it again, this is a postgres view.
    So idk if this is possible. But then I'm far from a postgres expert.
    It is:
    select type, id, unnest(string_to_array(trim(split_part(split_part(title, '--', 1), ':', 2)), ' ')) as source, title from ( ... current wnpp query ... ) wnpp;
    does this (trimmed diff for bugs I already fixed, full attached):
    --- /dev/fd/63 2024-11-23 18:54:45.727787265 +0100
    +++ /dev/fd/62 2024-11-23 18:54:45.727787265 +0100
    @@ -1784 +1785,3 @@
    - 1083234 | RFH | | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    + 1083234 | RFH | libpgjava | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    + 1083234 | RFH | libscram-java | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies
    + 1083234 | RFH | libstringprep-java | RFH: libpgjava libscram-java libstringprep-java -- Java database (JDBC) driver for PostgreSQL and dependencies

    Is this reasonable to include in the view schema?

    Best,

    --xdzptu2agsoupy5q
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename=diff
    Content-Transfer-Encoding: quoted-printable

    --- /dev/fd/63 2024-11-23 18:54:45.727787265 +0100
    +++ /dev/fd/62 2024-11-23 18:54:45.727787265 +0100
    @@ -832 +832,2 @@
    - 1037180 | RFP | | RFP: fidus Writer -- online collaborative editor for academics
    + 1037180 | RFP | fidus | RFP: fidus Writer -- online collaborative editor for academics
    + 1037180 | RFP | Writer | RFP: fidus Writer -- online collaborative editor for academics
    @@ -1488,2 +1489,2 @@
    - 1072197 | O | | O: bglibs-- This package contains a collection of libraries
    - 1072199 | O | | O: compton-- compositor for X11, based on xcompmgr
    + 1072197 | O | bglibs | O: bglibs-- This package contains a collection of libraries
    + 1072199 | O | compton | O: compton-- compositor for X11, based on xcompmgr
    @@ -1502 +1503 @@
    - 1072818 | ITP | | ITP: hatch -- Modern, extensible Python project
    + 1072818 | ITP | hatch | ITP: hatch -- Modern, extensible Python project
    @@ -1535 +1536 @@
    - 1074465 | RFP | | RFP: nvidia-fabricmanager
    + 1074465 | RFP | nvidia-fabricmanager | RFP: nvidia-fabricmanager
    @