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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 428901382C5 for ; Sun, 28 Feb 2021 02:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4058CE0891; Sun, 28 Feb 2021 02:04:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03338E0877 for ; Sun, 28 Feb 2021 02:04:27 +0000 (UTC) To: gentoo-dev@lists.gentoo.org References: From: Louis Sautier Subject: Re: [gentoo-dev] pkgdev: an alternative to `repoman commit` Message-ID: <68a981b7-0620-4781-6fbc-738dd517a98b@gentoo.org> Date: Sun, 28 Feb 2021 03:04:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 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 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Pn1GMzPcq7sX17IYkNkC6y0omTSo40mdf" X-Archives-Salt: 226c13dd-093b-45ba-8acc-33c2c831c378 X-Archives-Hash: d1dbf4c102125dd7703fd355ae902421 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Pn1GMzPcq7sX17IYkNkC6y0omTSo40mdf Content-Type: multipart/mixed; boundary="LjFPRimxRJWFIA52RKiNZPctPmJysmcN8"; protected-headers="v1" From: Louis Sautier To: gentoo-dev@lists.gentoo.org Message-ID: <68a981b7-0620-4781-6fbc-738dd517a98b@gentoo.org> Subject: Re: [gentoo-dev] pkgdev: an alternative to `repoman commit` References: In-Reply-To: --LjFPRimxRJWFIA52RKiNZPctPmJysmcN8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 27/02/2021 15:50, Tim Harder wrote: > Hi all, >=20 > Finally responding to all the requests, I've hacked up an initial > alternative to repoman's commit functionality in the form of pkgdev [1]= > that uses pkgcheck's API behind the scenes. The project is meant to gro= w > into a collection of tools for Gentoo development and maintenance, but > initially supports `pkgdev commit` and `pkgdev push` that should work > for a basic git workflow on ebuild repos. >=20 > In essence, `pkgdev commit` wraps `git add` and `git commit` > functionality along with supporting GLEP 66 style message prefixes for > any committed files across an ebuild repo. Package manifests are also > regenerated and added automatically for any targeted pkg commits. >=20 > QA scanning is done on `pkgdev push` (not per `pkgdev commit` call) so > knowing/learning how to interactively `git rebase` is currently > essential to the workflow. Probably the main thing lacking is good docs= > for the workflow that pkgdev envisions as it differs slightly from the > one used with repoman. >=20 > Feel free to respond with questions, ideas, or flames. If you want to > give it a shot, I believe a live ebuild for it has already been added t= o > the tree at dev-util/pkgdev. Also, please open issues on the upstream > project if you run into bugs or have feature requests. >=20 > Thanks, > Tim >=20 > [1]: https://github.com/pkgcore/pkgdev >=20 Hi Tim, That's really nice, thanks! I just tested it and it seems really nice, I just need to adjust to the=20 new workflow. Could you make "push -v" a bit more verbose ? I initially forgot to=20 rebase and couldn't see the error message from the remote. I guess this=20 also means that the current code will hide messages from hooks such as=20 changes made to Bugzilla. Cheers, Louis --LjFPRimxRJWFIA52RKiNZPctPmJysmcN8-- --Pn1GMzPcq7sX17IYkNkC6y0omTSo40mdf Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEg0AnWt6dnGUFDBD1p3dxazCuguMFAmA6+iYACgkQp3dxazCu guP3uQf8DFcWaqcpwUiwP2XNvY1AxNZgUSyhmrP1uajSXXgTI1heSdkYR3tIxrWZ MtU72GWDSWudzwcSyML4unNs9XuXxQrZoQP07bq9MMjXVkFI1x7cbMrzZ5Tc2VfM bHHwHMEJglXV1stQ/P/NFSK8GOLHok5p6hXMMlwY6Gk2YTwhUr/yGRfpuCiRtSm5 Vg1q2qda+vUHIt2KZJLdHtnVVqSbcgiZomsnkH8V/k1yNBul9JHNOBM5W1ZJ5Nly Z2Dk+GGF746fLZTJtKFiLWC2DSeKJf2hVSpGmPWy89M5Ou+d3c6Fwlfrf/xBt2IH 62mmT4gkBb0mD/+R7A3TZgeZiE6Xug== =coP7 -----END PGP SIGNATURE----- --Pn1GMzPcq7sX17IYkNkC6y0omTSo40mdf--