• [gentoo-dev] Package stabilization groups

    From Matt Turner@21:1/5 to All on Sun Jul 16 17:00:01 2023
    Hello,

    Many of us have started using `pkgdev bugs` to file stabilization
    bugs. It works well (Thanks Arthur!) and I encourage everyone to give
    it a try.

    Where possible, it files one stabilization bug per package. This makes
    arch testers' jobs easier and makes the task easier to automate.

    But sometimes we do want to stabilize packages together. For example
    major versions of x11-wm/mutter and gnome-base/gnome-shell are tied
    together. If a new mutter is stabilized without the new gnome-shell,
    the tree will still be consistent, but emerge -u @world will warn
    users that the mutter upgrade is blocked.

    There was some brief discussion on IRC about how to document these
    groupings, and two main ideas were suggested:

    - add a field to metadata.xml to specify the group by an arbitrary name.
    E.g. <stable-group name="..."/>
    Each package in the group would specify the same value of name="..."

    - maintain the groups in a separate place (similar to portage @sets).

    Can anyone think of particular advantages or disadvantages to one
    solution versus the other? Any other (better) ideas?

    Thanks,
    Matt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fabian Groffen@21:1/5 to Matt Turner on Sun Jul 16 17:20:02 2023
    On 16-07-2023 10:57:54 -0400, Matt Turner wrote:
    Hello,

    Many of us have started using `pkgdev bugs` to file stabilization
    bugs. It works well (Thanks Arthur!) and I encourage everyone to give
    it a try.

    Where possible, it files one stabilization bug per package. This makes
    arch testers' jobs easier and makes the task easier to automate.

    But sometimes we do want to stabilize packages together. For example
    major versions of x11-wm/mutter and gnome-base/gnome-shell are tied
    together. If a new mutter is stabilized without the new gnome-shell,
    the tree will still be consistent, but emerge -u @world will warn
    users that the mutter upgrade is blocked.

    There was some brief discussion on IRC about how to document these
    groupings, and two main ideas were suggested:

    - add a field to metadata.xml to specify the group by an arbitrary name.
    E.g. <stable-group name="..."/>
    Each package in the group would specify the same value of name="..."

    - maintain the groups in a separate place (similar to portage @sets).

    Can anyone think of particular advantages or disadvantages to one
    solution versus the other? Any other (better) ideas?

    I don't know how widespread the problem is, and how much it can be
    generalised, but could you perhaps use a virtual, such that
    stabilisation of the virtual means the deps must be satisfied?

    Thanks,
    Fabian

    --
    Fabian Groffen
    Gentoo on a different level

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

    iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAmS0CZIACgkQzpXahU5E QpML4wgAp0vd8S0TbxEkiwjSo5LR9MxFDXQw6JsiPv4WUXLm9RGpDzR3UORtiI4e tXHNgmdWvGfv2WiWm29zELMggEiburXTcbSHnFWn8bHIq2vPDDLBDbxr3z2ysvmV YGw8eReTyMptX8Pydm0TyH7Y048zeoCDwm+WAdqP4rr7YQAsFX+TS78hNFEOk9Vl b9iY6a4+Q5grAX29z0gSnwHRWM3zZC3HtBQtPOgalyj3ZLMEn2LKuI4raIvdxme6 oK0F58MYzyIlqRhIOuoFOIMEL6hCvXR7dZYFyHwwmsEHuqJI26Jub2YnSdOwWAQI NcWbd8hC0N3GUlvzbNx3KVr6kB90Gw==
    =ZOHH
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Turner@21:1/5 to grobian@gentoo.org on Sun Jul 16 17:40:01 2023
    On Sun, Jul 16, 2023 at 11:15 AM Fabian Groffen <grobian@gentoo.org> wrote:

    On 16-07-2023 10:57:54 -0400, Matt Turner wrote:
    Hello,

    Many of us have started using `pkgdev bugs` to file stabilization
    bugs. It works well (Thanks Arthur!) and I encourage everyone to give
    it a try.

    Where possible, it files one stabilization bug per package. This makes
    arch testers' jobs easier and makes the task easier to automate.

    But sometimes we do want to stabilize packages together. For example
    major versions of x11-wm/mutter and gnome-base/gnome-shell are tied together. If a new mutter is stabilized without the new gnome-shell,
    the tree will still be consistent, but emerge -u @world will warn
    users that the mutter upgrade is blocked.

    There was some brief discussion on IRC about how to document these groupings, and two main ideas were suggested:

    - add a field to metadata.xml to specify the group by an arbitrary name.
    E.g. <stable-group name="..."/>
    Each package in the group would specify the same value of name="..."

    - maintain the groups in a separate place (similar to portage @sets).

    Can anyone think of particular advantages or disadvantages to one
    solution versus the other? Any other (better) ideas?

    I don't know how widespread the problem is, and how much it can be generalised, but could you perhaps use a virtual, such that
    stabilisation of the virtual means the deps must be satisfied?

    Heh, I guess we could do that if we had no other options.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arthur Zamarin@21:1/5 to Matt Turner on Sun Jul 16 20:10:01 2023
    To: mattst88@gentoo.org (Matt Turner)
    Copy: sam@gentoo.org (Sam James)
    Copy: radhermit@gentoo.org (Tim Harder)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------m7kffd0kSM4OhevUrdVRUhjO
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 16/07/2023 17.57, Matt Turner wrote:
    Hello,

    Many of us have started using `pkgdev bugs` to file stabilization
    bugs. It works well (Thanks Arthur!) and I encourage everyone to give
    it a try.

    Gladly :) You can semi-blame mgorny for the creation of `pkgdev bugs`,
    because I started to file stablereqs for @python packages, and at some
    point it was too tiring and repetitive, so I was brought to the drawing
    table to think of a solution.

    Where possible, it files one stabilization bug per package. This makes
    arch testers' jobs easier and makes the task easier to automate.

    But sometimes we do want to stabilize packages together. For example
    major versions of x11-wm/mutter and gnome-base/gnome-shell are tied
    together. If a new mutter is stabilized without the new gnome-shell,
    the tree will still be consistent, but emerge -u @world will warn
    users that the mutter upgrade is blocked.

    There was some brief discussion on IRC about how to document these
    groupings, and two main ideas were suggested:

    - add a field to metadata.xml to specify the group by an arbitrary name.
    E.g. <stable-group name="..."/>
    Each package in the group would specify the same value of name="..."

    - maintain the groups in a separate place (similar to portage @sets).

    Can anyone think of particular advantages or disadvantages to one
    solution versus the other? Any other (better) ideas?

    Let me list some things as advantages to each one (since I see an
    advantage to one as disadvantage to other).

    Advantages of field in metadata.xml:

    - local to package, easier to not miss. Easier to follow for the maintainer.

    - easier to find which group the current package relates to

    Advantages to group files:

    - easier to index (one file listing all children, instead of searching
    across repo who defines it)

    - easier to not repeat group. In the metadata field it might happen to
    repeat, less likely since it is easy to search, but similar group names
    might be created, merging them into one by mistake, or creating very
    similar names and mistaking them. When we have a single file, it is
    easier to see the whole picture and verify things.

    - since this is compressed information (special files instead of spread
    over repo), we could load all of them into app's cache, and make all computation easier.

    - enables an easier syntax as `pkgdev bugs @group1` to file a single bug
    for all of them. In Gnome's case as an example, we could have "gnome1", "gnome2", "gnome3", "gnome4", etc - groups standing for multiple "layers/stages" of stabilizing, and then you could just file `pkgdev
    bugs @gnome{1..4}` to file "at one click" the whole gnome stablereqs.

    Thanks,
    Matt


    Now I'll speak from the point of implementer of `pkgdev bugs`. For me I
    think both approaches are good, but I would prefer the latter over the
    former. Nicer syntax, easy cache of all groups, easier to solve the
    "graph problems" in the tool.

    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, pkgcore stack, Arch Teams, GURU)


    --------------m7kffd0kSM4OhevUrdVRUhjO--

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

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmS0MTMACgkQAqCvUD0S BQTPVQf+NUxAsJDr6VP5sGVOkinA+qHdLq+5quK9+gtss9674psYmm8zxcHfCH1U vF9zNEoehano7GwWosqztt9XrpN7uzj3CkFadjiAY5kJ5ZDcCWb0dV5cxj1Ylnui SZZeiHUQiTFSCFJ4+QBKQl5ao6ZOxdEmUDKYweuKx8yH/RqWWN6wMxN1SUBQFHjM kZN/X2zWGiDl7SGMT2g4gC5x0+99BWfb+hllBvESlj447yCYrDWM6CMjOx/AGjpM cJ+Psi++YBrYWSU+r5zI7FIHUEE0bISrVuYWm9HgYzs6gTDL+MUb4s0O+d6eiRmL MFW8eA1hRWb1LvKSaodJJlVJ2Ni4dw==
    =Pjcg
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Sun Jul 16 20:20:01 2023
    On Sun, 16 Jul 2023, Arthur Zamarin wrote:

    Let me list some things as advantages to each one (since I see an
    advantage to one as disadvantage to other).

    Advantages of field in metadata.xml:

    - local to package, easier to not miss. Easier to follow for the maintainer.

    - easier to find which group the current package relates to

    Advantages to group files:

    - easier to index (one file listing all children, instead of searching
    across repo who defines it)

    - easier to not repeat group. In the metadata field it might happen to repeat, less likely since it is easy to search, but similar group names
    might be created, merging them into one by mistake, or creating very
    similar names and mistaking them. When we have a single file, it is
    easier to see the whole picture and verify things.

    - since this is compressed information (special files instead of spread
    over repo), we could load all of them into app's cache, and make all computation easier.

    - enables an easier syntax as `pkgdev bugs @group1` to file a single bug
    for all of them. In Gnome's case as an example, we could have "gnome1", "gnome2", "gnome3", "gnome4", etc - groups standing for multiple "layers/stages" of stabilizing, and then you could just file `pkgdev
    bugs @gnome{1..4}` to file "at one click" the whole gnome stablereqs.

    Can't we do the same that we do for local use flags? Namely, define them
    in metadata.xml, but collect them in one central location?

    Ulrich

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

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmS0MsEPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uuE0H/jw4oN0WLcG5euioQezIFkw2Ep07RWmGqZTy gtbXLKnw1ePh+tNPnJ0bKpTzW0SiPsroumo3BDhhj8vZC/QPjML1rYwFjbLdmxqr x7hklYL+3+9k2fDskD3EV0VwHyR4+3hh855ZFIWA+Q7JQ1sQzHE7pu3iL9Ajx+fm VOChT3ihWYl6HqfQdpeRok35K6mdq/wtsbycdcTg7dH6E42ViyvUle+1VrkwbMt+ GINQmq3RMxUJRrICshbFOCtFnYHkokeOuWNDUVSCG++tTz/ne9PTDe3qRiG7DF9q MZRQ55BldSc4P4Jhth8tOGj6BsMc6eagJiYKiA3bvExe3t4dCOM=
    =vak8
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arthur Zamarin@21:1/5 to Ulrich Mueller on Sun Jul 16 20:20:01 2023
    Copy: gentoo-dev@lists.gentoo.org
    Copy: mattst88@gentoo.org (Matt Turner)
    Copy: sam@gentoo.org (Sam James)
    Copy: radhermit@gentoo.org (Tim Harder)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------OTvEunZCYtVwm1aKVv3Wum10
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 16/07/2023 21.11, Ulrich Mueller wrote:
    On Sun, 16 Jul 2023, Arthur Zamarin wrote:

    - enables an easier syntax as `pkgdev bugs @group1` to file a single bug
    for all of them. In Gnome's case as an example, we could have "gnome1",
    "gnome2", "gnome3", "gnome4", etc - groups standing for multiple
    "layers/stages" of stabilizing, and then you could just file `pkgdev
    bugs @gnome{1..4}` to file "at one click" the whole gnome stablereqs.

    Can't we do the same that we do for local use flags? Namely, define them
    in metadata.xml, but collect them in one central location?

    Do note that this grouping is done at "metadata repo", and not the
    normal git repo where development is done. Meaning you need to manually
    add the package to the central "index".

    Ulrich

    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, pkgcore stack, Arch Teams, GURU)


    --------------OTvEunZCYtVwm1aKVv3Wum10--

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

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmS0M0YACgkQAqCvUD0S BQQXxwf/ev1PrAutncdj8UFyRNy6KZdrHM3SCUnb1B9LfT4u63VIe6nXp97Yv/wM 5b8UNGcdPlM5+fBP/ToMpzxNOMyD6yd79VWkP/bSHV6pngP8xongz2/RtmDUgGaO HikvVDAQt26YsN+6FPY8OnwvIk543Z1ANKtc/P5mJuq47Wkh8pnJpJlKZ8F0kMn1 W+Sb3hSQSDQFigTIwESxDmW/eUtN3U2bawHwGoR94EqLyhRVqASXSG2VcWMzXwBi 82kCdQtxb8XcxAHY5iFtP7bFzXzar08sm2Vh77GB0nO9XYmgywm3MhwO0oHPKWwn S0QucHKkKbei+yGAFx+yPY225g9cUg==
    =+nxh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Turner@21:1/5 to arthurzam@gentoo.org on Mon Jul 17 16:00:01 2023
    On Sun, Jul 16, 2023 at 2:04 PM Arthur Zamarin <arthurzam@gentoo.org> wrote:
    Now I'll speak from the point of implementer of `pkgdev bugs`. For me I
    think both approaches are good, but I would prefer the latter over the former. Nicer syntax, easy cache of all groups, easier to solve the
    "graph problems" in the tool.

    Sounds good to me. Should we have infra create a new git repo for us
    for this purpose?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arthur Zamarin@21:1/5 to Matt Turner on Mon Jul 17 18:40:01 2023
    To: mattst88@gentoo.org (Matt Turner)
    Copy: sam@gentoo.org (Sam James)
    Copy: radhermit@gentoo.org (Tim Harder)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------wKTjIV40ecTELFtFGFWID046
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 17/07/2023 16.50, Matt Turner wrote:
    On Sun, Jul 16, 2023 at 2:04 PM Arthur Zamarin <arthurzam@gentoo.org> wrote:
    Now I'll speak from the point of implementer of `pkgdev bugs`. For me I
    think both approaches are good, but I would prefer the latter over the
    former. Nicer syntax, easy cache of all groups, easier to solve the
    "graph problems" in the tool.

    Sounds good to me. Should we have infra create a new git repo for us
    for this purpose?


    No. I think it should go under normal git repo, and not separate repo. I
    see no gains from it being under separate repository, only headache (how
    to sync between them).

    I think a main index files under
    "/metadata/${some_good_name}/${group_name}" would be best.

    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, pkgcore stack, Arch Teams, GURU)


    --------------wKTjIV40ecTELFtFGFWID046--

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

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmS1bsIACgkQAqCvUD0S BQRvdAgAudmJsqvhod0i1vIEtXMoCc8u7xodxL4bwvCQJe48qgl74H3my3nYVUmC 8XpAEQf0BbKtz1OobTsWPpvM61TqnLcQCyZGHBVQYOoXA/r9JtUvIQ8OSZyBhcsz Jpkp2pCXg1uvv5oNs3D+e/+3OtKI7O7MWuAZM1UvKhsjAi52Tb4mHigP1bI7kwO8 RRSUsrNHfPXJqIRzF8p3k9cvRQLp4EyaJbGziJIcp1/VwWtl4Q5TkfKkIJpC/+uo 5gRYG7wCqTKWwupjPmNrXXkI+4EgxldlnAiFXwXLDhITyYabUu1Ha2lTBINhB4VT Fu0V05MlQaDjp2eTVpeDk0bm4oZKtw==
    =emYd
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Matt Turner on Mon Jul 17 19:30:01 2023
    Matt Turner <mattst88@gentoo.org> writes:

    Hello,

    Many of us have started using `pkgdev bugs` to file stabilization
    bugs. It works well (Thanks Arthur!) and I encourage everyone to give
    it a try.

    Where possible, it files one stabilization bug per package. This makes
    arch testers' jobs easier and makes the task easier to automate.

    But sometimes we do want to stabilize packages together. For example
    major versions of x11-wm/mutter and gnome-base/gnome-shell are tied
    together. If a new mutter is stabilized without the new gnome-shell,
    the tree will still be consistent, but emerge -u @world will warn
    users that the mutter upgrade is blocked.


    Big fan of the idea & very much in support of it. This also serves
    to give us logical groupings of packages which are closely related
    and should be bumped together.

    There was some brief discussion on IRC about how to document these
    groupings, and two main ideas were suggested:

    - add a field to metadata.xml to specify the group by an arbitrary name.
    E.g. <stable-group name="..."/>
    Each package in the group would specify the same value of name="..."

    - maintain the groups in a separate place (similar to portage @sets).

    Can anyone think of particular advantages or disadvantages to one
    solution versus the other? Any other (better) ideas?


    When we discussed this a few months ago on IRC, I also brought up a
    related point:

    [2023-05-02T18:38:51+0100] <@sam_> do we want to repeat the group members in each member, or do tools need to scan for each thing?
    [2023-05-02T18:39:07+0100] <@sam_> i.e. does each member have <stable-group><pkg>...</pkg></stable-group>, or do we do <stable-group name=".../>?
    [2023-05-02T18:39:26+0100] <@arthurzam> I think each package says which groups it is part of
    [2023-05-02T18:39:44+0100] <@radhermit> I would do the latter
    [...]
    [2023-05-02T18:42:42+0100] <@radhermit> technically you could also maintain them in a separate place like metadata/groups and layer inter-group dependencies on top of that somehow in the format

    I'd prefer the metadata/ at repo root idea because I can see updating
    various metadata.xmls being a nuisance.

    best,
    sam


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

    iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZLV5UF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZAE/wD8CaKA0E3XTp9kPfOwwNZshGq1/8iXy5A42an7 9xSnv5EA/0nHqigYA8Hlb4TVpElSouwh7G2uYIXT/sY+YgymwpsA
    =aRCv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arthur Zamarin@21:1/5 to Sam James on Mon Jul 17 19:40:01 2023
    To: sam@gentoo.org (Sam James)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------tQOWBMuMAFdtNGUF5T1lKzaW
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 17/07/2023 19.37, Sam James wrote:

    Big fan of the idea & very much in support of it. This also serves
    to give us logical groupings of packages which are closely related
    and should be bumped together.

    There was some brief discussion on IRC about how to document these
    groupings, and two main ideas were suggested:

    - add a field to metadata.xml to specify the group by an arbitrary name.
    E.g. <stable-group name="..."/>
    Each package in the group would specify the same value of name="..."

    - maintain the groups in a separate place (similar to portage @sets).

    Can anyone think of particular advantages or disadvantages to one
    solution versus the other? Any other (better) ideas?


    When we discussed this a few months ago on IRC, I also brought up a
    related point:

    [2023-05-02T18:38:51+0100] <@sam_> do we want to repeat the group members in each member, or do tools need to scan for each thing?
    [2023-05-02T18:39:07+0100] <@sam_> i.e. does each member have <stable-group><pkg>...</pkg></stable-group>, or do we do <stable-group name=".../>?
    [2023-05-02T18:39:26+0100] <@arthurzam> I think each package says which groups it is part of
    [2023-05-02T18:39:44+0100] <@radhermit> I would do the latter
    [...]
    [2023-05-02T18:42:42+0100] <@radhermit> technically you could also maintain them in a separate place like metadata/groups and layer inter-group dependencies on top of that somehow in the format

    If you read carefully my messages in IRC linked above, you can see I was supporting per package metadata entry. If you read my latest post to ML,
    you can see I now prefer central files. After many considerations since
    then I understood my initial preference was a bad idea :)

    (I'm noting it here just so folks understand the mismatch between texts
    and my stance).

    I'd prefer the metadata/ at repo root idea because I can see updating
    various metadata.xmls being a nuisance.

    Hmm, I was thinking the opposite (maintaining it in parallel place to
    the package would be harder), but if you say so (and you help maintain
    huge clusters of packages so I believe you) then I think we don't have
    any good reason to go with per package metadata.xml entry?

    Let's wait for more input, and then we can go with defining the syntax,
    rules and such...

    best,
    sam


    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, pkgcore stack, Arch Teams, GURU)


    --------------tQOWBMuMAFdtNGUF5T1lKzaW--

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

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmS1e7UACgkQAqCvUD0S BQRicwf/Saig/sKGM0uiJ+tD+YCyL21q26aq+tNivvaSGbeqXngJS7FciTG1JeG+ soExqTSNpCjniqFdsQGsK6xTSdDpIH0HdqJEMjA9bo0uLjlgXWB+/tYF0rjmNQ34 MBSd6Hoe0AW1hKCccdBzCVm8VQpZSv3fs9VKz/3FCh4SptjhclHGXwgevGp16LLZ 4XT3jLG9g5YF+dneIavr4vxm2X1XVic0WuDi2EbskDUmI+eiJoelHa7MhorobTRy 25Xh5zc+svca3dNfT0S+qzESn58elRt68+9KPXzMHPRGvmzuo70oZY76qV902PsN EYbYhgzVyQzT9PRrVFvahPdneicotw==
    =++rp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Arthur Zamarin on Mon Jul 17 20:20:01 2023
    On Mon, Jul 17, 2023 at 08:34:45PM +0300, Arthur Zamarin wrote:
    Hmm, I was thinking the opposite (maintaining it in parallel place to
    the package would be harder), but if you say so (and you help maintain
    huge clusters of packages so I believe you) then I think we don't have
    any good reason to go with per package metadata.xml entry?

    imo seeing/setting it all in one place is simpler, ultimately it's
    about managing a group (whole) and I don't think is super important
    on the individual packages.

    e.g.

    [qt]
    dev-qt/package
    dev-qt/package2

    Can visualize and don't have to go set this in each one of them.

    fwiw repo-cd could be given a hook to grep that file, and be able
    to say that a package is part of a stabilization group -- and if
    nattka automatically looks at groups it'll also be hard to overlook
    when filing bugs.

    Regardless of approach, some kind of central file (generated or not)
    would certainly be nice not to end up grepping all metadata.xml in
    the tree to figure out which packages are part of a group.
    --
    ionen

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

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmS1hQ8ACgkQskQGsLCs QzQ2dAgAyiUlzEeMznyE2ZZOk3k8Jfu98dThIHWBBPS3P8bxUsHAQx7GMRuS4iaN sVuECivNv9XHZhUm9NeRJUGZzjHRwA8L3dNXSBP+jIrnsezJzyZJ0pSKxmGKOrve bJyyrdfeuXUUh8x6tP2ZduEhixP7dFDTzGEHR+CcD4iXbVnBglFSBK9Cx2UdR4sA i/cCHJbWMiJenZ8ugRE7CZbzJG+EYfFeae0mRuElj9fA5HxAhPu1eRmBVLwYVdCZ 6VfLLPF8HsOyH1DIIWtK5hQMVNc4aesEOleJZCV73PnZpqvCR4ThGpcCOK98YIZa 2jJmDMYwU07g2FyXbNqQZ8PlNhTnLg==
    =/ZhA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oskari Pirhonen@21:1/5 to Arthur Zamarin on Tue Jul 18 05:50:01 2023
    On Mon, Jul 17, 2023 at 19:39:30 +0300, Arthur Zamarin wrote:
    On 17/07/2023 16.50, Matt Turner wrote:
    On Sun, Jul 16, 2023 at 2:04 PM Arthur Zamarin <arthurzam@gentoo.org> wrote:
    Now I'll speak from the point of implementer of `pkgdev bugs`. For me I
    think both approaches are good, but I would prefer the latter over the
    former. Nicer syntax, easy cache of all groups, easier to solve the
    "graph problems" in the tool.

    Sounds good to me. Should we have infra create a new git repo for us
    for this purpose?


    No. I think it should go under normal git repo, and not separate repo. I
    see no gains from it being under separate repository, only headache (how
    to sync between them).

    I think a main index files under
    "/metadata/${some_good_name}/${group_name}" would be best.


    /metadata/stable-goups/${group_name} perhaps? Then you can adapt Ionen's example as:

    $ cat /path/to/repo/metadata/stable-groups/qt
    dev-qt/package
    dev-qt/package2

    Easy to read, easy to write :)

    - Oskari

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

    iHUEABYIAB0WIQQfOU+JeXjo4uxN6vCp8he9GGIfEQUCZLYKEgAKCRCp8he9GGIf EesVAP4oiAPFWIeBwgoaKbvIH+qIghM1oe5pc1E1ncwsktOdvwEAi3Nq6zCmDTCs k76i9BFtRKrx2q34+m5q1Tt3LF22DgU=
    =B9Hp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Agostino Sarubbo@21:1/5 to All on Mon Jul 24 15:30:02 2023
    Hello,

    although it might seem offtopic, but while talking about metadata.xml fileds and `pkgdev bugs` I would like to ask opinions about have a metadata.xml field that allows the maintainer to exclude the package from `pkgdev bugs`

    That should be useful for core packages (gcc/glibc) and for packages that can be properly tested by have an account somewhere.

    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)