* [gentoo-dev] Announcing a utility for updating metadata.xml files
@ 2023-06-25 22:42 Anna (cybertailor) Vyalkova
2023-06-26 1:58 ` Sam James
0 siblings, 1 reply; 2+ messages in thread
From: Anna (cybertailor) Vyalkova @ 2023-06-25 22:42 UTC (permalink / raw
To: gentoo-dev; +Cc: gentoo-guru
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Announcing a utility for updating metadata.xml files
2023-06-25 22:42 [gentoo-dev] Announcing a utility for updating metadata.xml files Anna (cybertailor) Vyalkova
@ 2023-06-26 1:58 ` Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-06-26 1:58 UTC (permalink / raw
To: gentoo-dev; +Cc: gentoo-guru
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
"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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-26 1:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-25 22:42 [gentoo-dev] Announcing a utility for updating metadata.xml files Anna (cybertailor) Vyalkova
2023-06-26 1:58 ` Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox