From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11E09158009 for ; Sun, 25 Jun 2023 22:42:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63304E0893; Sun, 25 Jun 2023 22:42:38 +0000 (UTC) Received: from sysrq.in (sysrq.in [37.79.202.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 822D4E0885; Sun, 25 Jun 2023 22:42:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=sysrq.in; bh=FZGrLngfMni Rm+cj8XVU3GlfRwH3QFhishF8bM0F4JI=; h=cc:to:from:date; d=sysrq.in; b=C7 J37KF8zhDGLuHFhE/XxBGdDE516HValIltdJv/eKdhoP4fvssH5mWGlCnY6gLxjkJ50N0V BjT6Bv/LZSmWqHYExJnqrmaS9WF0YB/6unplAEy+nix0bN7am9Bd2f1ROSkiRyPnQeS7Gg JR8GiaOkTHxxYAC6BIS8tLIERXVZFxhEfJITrCpc6Y4cEOc4/mY3n56byTAaWGgk3t4ZnT 2Wqi2gl+EXM8AmVW+FAewqsoHY3+4+G3wJRjkILzn0HmtlpUxfBKwwZemQNjuSfmhcvOC0 a6yObJeQphxG5hsnF/0ufxQ/ATkHVASN+WR6xv93jZIsIJGnLYXSanboMgGQ== Received: from sysrq.in (localhost [127.0.0.1]) by sysrq.in (OpenSMTPD) with ESMTPS id 249f6d6b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 25 Jun 2023 22:42:35 +0000 (UTC) Date: Mon, 26 Jun 2023 03:42:34 +0500 From: "Anna (cybertailor) Vyalkova" To: gentoo-dev@lists.gentoo.org Cc: gentoo-guru@lists.gentoo.org Subject: [gentoo-dev] Announcing a utility for updating metadata.xml files Message-ID: Mail-Followup-To: gentoo-dev@lists.gentoo.org, gentoo-guru@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.2.10 (2023-03-25) X-Archives-Salt: 902074d3-65c4-4fa7-8838-30f146909be5 X-Archives-Hash: 9c87c345b1c5a7f0cb17a7c6fbee9ff0 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/