public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna (cybertailor) Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-dev@lists.gentoo.org
Cc: gentoo-guru@lists.gentoo.org
Subject: [gentoo-dev] Announcing a utility for updating metadata.xml files
Date: Mon, 26 Jun 2023 03:42:34 +0500	[thread overview]
Message-ID: <ZJjC2v1kM0dmpuhy@sysrq.in> (raw)

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/


             reply	other threads:[~2023-06-25 22:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-25 22:42 Anna (cybertailor) Vyalkova [this message]
2023-06-26  1:58 ` [gentoo-dev] Announcing a utility for updating metadata.xml files Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZJjC2v1kM0dmpuhy@sysrq.in \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=gentoo-guru@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox