Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C147354F81 for ; Fri, 25 Jul 2025 08:09:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753430973; cv=none; b=Lyd295xMH7PoBP6yuPH34IbknbzVfx1scQUORv+W3G3OB2FZn1bZU5V62luqK8BfT1XemlH+8dKGtouPLMWsmm1cW4EdlTrlhxlShdrZbqo9V5FSpqPdZj3ohY1JY4gtMA9t77gHO/LAxKFdLm2iXvNSdWXcClVE1bfKrEBjiqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753430973; c=relaxed/simple; bh=cgM7t/ssLLuR5Mc7BfKsk+zbmbHDkNW/caxYKLIX2qw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LlGAtXM+wdch037+qwpwyA8aAHRFAaL+XM+BmRWuiRRS6OOnMLGweI/cS7hdpHTBZksez3dtoJxBkA8QT7YFxY7XbWmiye4p4W+5VQdTedMf9RTM3dYMxdYBlewRrkH5yzX3E3XoTXqD34gFZcWxqwzPpuKrRnblHFMT5Ysgjso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=giG74y4J; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="giG74y4J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24FA2C4CEE7; Fri, 25 Jul 2025 08:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753430973; bh=cgM7t/ssLLuR5Mc7BfKsk+zbmbHDkNW/caxYKLIX2qw=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To:From; b=giG74y4J3ia+ymdEbt9KwKTrK6Yw+5Xb4dF4PUbKNqLqwsh6gCRHYpAs8UnI8PSG+ J9nmokJMlhl3XuZQR4AnwkqDaQULVgsDxmITgn34PznZIR4yXWqd5JRdr89XU4DjuW cD+Gs6D5wUsmin/3eR+IDAeiwIbRgpH7i5R7k7FzoXk9PJcGXLpN0lzwlFBjcg6ySx 10hTmocYE4wqeyip7sHVvvfH7TiAkmZcYef4HUVgsXSF/cVEWcOG+ktt8sCC+zq8Wp D3yKsRZQzl4fqAtU9oPvQpqmMtKIS5K5VZx8lCwrELT7c0XVJ49iYOo2lOwLvxMJz3 GCrMKdhwjcHWA== Message-ID: Date: Fri, 25 Jul 2025 10:09:30 +0200 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Daniel Gomez Subject: Re: [PATCH 0/2] Align guest dependencies with their corresponding workflows To: Luis Chamberlain Cc: Chuck Lever , Scott Mayhew , Jeff Layton , kdevops@lists.linux.dev, Daniel Gomez References: <20250724-fixes-v1-0-9dfe3ce3cc21@samsung.com> <9f1938e6-ffaf-46ca-ad52-aa54d9b31840@kernel.org> Content-Language: en-US From: Daniel Gomez Organization: kernel.org In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25/07/2025 09.39, Luis Chamberlain wrote: > On Fri, Jul 25, 2025 at 09:33:52AM +0200, Daniel Gomez wrote: >> >> >> On 24/07/2025 21.48, Luis Chamberlain wrote: >>> On Thu, Jul 24, 2025 at 08:34:14PM +0200, Daniel Gomez wrote: >>>> Several guest services (krb5, kdc, smbd, iscsi, nfsd) are missing from >>>> various host workflow template files, creating kconfig configuration >>>> inconsistencies. This occurs when workflows either lack implementation >>>> support for these services or have no functional dependency on them. >>>> This patch series ensures kconfig options accurately reflect the >>>> services actually available in each workflow template. >>>> >>>> Signed-off-by: Daniel Gomez >>> >>> Looks good, just stylistic, I think its easier to just have >>> >>> Generated-by: >>> Signed-off-by: >>> >>> Instead of: >>> >>> Generated-by: >>> >>> Signed-off-by: >>> >>> No point in the extra new line. >> >> For that, I think it's better to update CLAUDE.md to be consistent. This is what >> it generated: >> >> docs: update commit message format for Claude AI > > My testing showed that was not enough. Also the white space noise is a I pushed it already. Sorry about that as the patch has the blank space. > pain. How about: > From 3dca57c647d12c7fe437cb2d439cb3b0440f53f8 Mon Sep 17 00:00:00 2001 > From: Luis Chamberlain > Date: Thu, 24 Jul 2025 20:41:15 -0700 > Subject: [PATCH] Makefile: add make style for style checking > > Add a 'make style' which helps humans and bots follow some sensible > coding conventions. > > - Add scripts/detect_whitespace_issues.py check for white space eye sores > - Add scripts/check_commit_format.py to validate Generated-by and the > Signed-off-by spacing > - Add scripts/fix_whitespace_issues.py to help with stupid spacing > eyesores > - Update CLAUDE.md to ensure it runs 'make style' This is pretty much like kdevops version of the "scripts/checkpatch.pl" in the kernel, right? Well, a first simple version of it and integrated in Claude Code to be executed after commits. So, I was looking into having something like checkpatch some time ago. Now, with this generative AI there's no reason to wait. So I think it's a good idea to go with that. But it's missing b4 integration. "b4 prep --check" for the kernel runs checkpatch like this [1]: ./scripts/checkpatch.pl --terse --no-summary --mailback --showfile. Link: https://b4.docs.kernel.org/en/latest/contributor/prep.html#checking-your-work [1] We just extend the .b4-config to customize it for kdevops: [b4] prep-perpatch-check-cmd = make style I know this is Claude Code vs manual patches. I think both paths need to run the same scripts. I'd like the check step to also do more things like running Ansible lint as discussed here [2]: Link: https://lore.kernel.org/kdevops/gbpb6kxm5bh4xix2otgo5by5ubuv6jyezhtrfzdtltbzxv2niw@vcnlebdwqclr/ [2] In this branch [3] I was experimenting with pre-commit and spellcheck on GH CI: 6668fedb95fc github/workflows/fstests.yml: add pre-commit codespell support ccb55f87121b pre-commit: codespell: update v2.2.5 -> v2.4.1 cc27e2df77ae pre-commit: fix lint indentation warnings Link: https://github.com/dkruces/kdevops/commits/dagomez/next/ [3] I've lost the Ansible lint experiments but they were similar to codespell. Adding support for these would be great in the check path. But running that only for the changes was the "trickiest" part.