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 84C76138334 for ; Fri, 6 Dec 2019 09:03:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD7C3E088D; Fri, 6 Dec 2019 09:03:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 689F3E0886 for ; Fri, 6 Dec 2019 09:03:30 +0000 (UTC) Received: from [IPv6:2a01:e34:eeaa:6bd0:52d3:51dd:1b2:5ddb] (unknown [IPv6:2a01:e34:eeaa:6bd0:52d3:51dd:1b2:5ddb]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id 4D36B34D833 for ; Fri, 6 Dec 2019 09:03:28 +0000 (UTC) Message-ID: <2cf18040c81c4eb0afbbf3282bacb150c80b572f.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Date: Fri, 06 Dec 2019 10:03:23 +0100 In-Reply-To: <20191206082325.GA5714@sumac.radhermit.com> References: <20191205160957.576971-1-mgorny@gentoo.org> <067cc5678d1eb4a3445bdf7beefe8c055307eeb4.camel@gentoo.org> <31d2646b48bc35d02ca2a7a0b9db7b634d5b0ef0.camel@gentoo.org> <20191206082325.GA5714@sumac.radhermit.com> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 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-Transfer-Encoding: 7bit X-Archives-Salt: fbe936ba-ec11-47ae-a538-49c7708ea536 X-Archives-Hash: 464179f04e1ddcbd4586a292b505d993 On Fri, 2019-12-06 at 03:23 -0500, Tim Harder wrote: > On 2019-12-05 Thu 17:00, Alexis Ballier wrote: > > > > pkgcheck is mostly used by your CI checks for > > > > producing huge reports, which is nice but addresses a different > > > > problem > > > There is nothing stopping you from running pkgcheck locally. In > > > fact, > > > it should work out of the box these days. If you have any > > > problems, > > > please report them and I'm sure they will be addressed promptly. > > Sure I did that to get reports like what CI does for me now but > > that's > > always been a different usecase; I wasn't aware pkgcheck had the > > equivalent of repoman commit > > While I dislike contributing more to this off-topic tangent, since > I've > fielded this question/request in IRC a few times in the past I figure > I > might as well address it again here for the IRC-averse. > > Personally I use pkgcheck as a QA tool and *git* (or another vcs > tool) > as a commit tool, just like how I used to use repoman and cvs a long > time ago. I generally dislike when cli tools amalgamate disparate > features that they weren't designed for so no one has been able to > convince me why a tool designed to verify ebuilds and their related > repos should support commit capabilities internally. it's not just like repoman and cvs since repoman commit did push ;) it will never be perfect but i really like repoman commit to refuse to even commit if there's something obviously wrong as you write below, it's just a matter of checking exit status and using git, which can be done by scripting, but the script is standard (*) and mandated to be part of the workflow it also allows to check or templatize commit messages to follow policy (*) and force the use of some handy git options like only commit paths starting from cwd even if other files had been git added, which i never remember what is the git cli option for this Alexis.