• [gentoo-dev] Announcing a utility for updating metadata.xml files

    From Anna (cybertailor) Vyalkova@21:1/5 to All on Mon Jun 26 00:50:01 2023
    Hi lists,

    You might know about the `app-portage/metagen` utility that generates metadata.xml files with your name and email. But there was no tool that autofilled upstream information, so I wrote it.

    Using it is as simple as:

    $ gentle foo-0.1.ebuild

    You can install it as `app-portage/gentle` from the ::guru repository or download it from PyPI: https://pypi.org/project/gentle-mxml/

    The tool uses Portage API to unpack source code into a temporary
    directory and guess from that data. Pkgcraft will be supported once its bindings gain ability to call phase functions. There are problems with
    Pkgcore, so it's not supported.

    Contributions (especially fixing bugs and adding new generators) are
    welcome!


    P.S. There's a similar project called upstream-ontologist[0]. I didn't
    know about it when I started the project and now it's too late.

    [0]: https://pypi.org/project/upstream-ontologist/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to Vyalkova" on Mon Jun 26 04:00:01 2023
    "Anna (cybertailor) Vyalkova" <cyber+gentoo@sysrq.in> writes:

    Hi lists,

    You might know about the `app-portage/metagen` utility that generates metadata.xml files with your name and email. But there was no tool that autofilled upstream information, so I wrote it.

    Using it is as simple as:

    $ gentle foo-0.1.ebuild

    You can install it as `app-portage/gentle` from the ::guru repository or download it from PyPI: https://pypi.org/project/gentle-mxml/

    Thanks, this sounds pretty useful. I might look at adding Perl (and
    maybe Ruby) support if nobody else does.

    Feel free to submit it to ::gentoo.


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

    iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZJjw718UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZCT3AD/fFqbJjTCTI+R1qXvzNsG7FYaDEFDtEoo7B4S /oD3BJsA/isMstRLpe6RI6ipNEHcW+oteInwEEJkBIlMMaBXV5oG
    =mUL/
    -----END PGP SIGNATURE-----

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