public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
* [RFC PATCH] refs: "make mrproper" should clean out generated refs files
@ 2025-03-12 13:00 cel
  2025-03-12 15:05 ` Chuck Lever
  0 siblings, 1 reply; 8+ messages in thread
From: cel @ 2025-03-12 13:00 UTC (permalink / raw)
  To: kdevops; +Cc: Daniel Gomez, Chuck Lever

From: Chuck Lever <chuck.lever@oracle.com>

Doing a "make mrproper" should force the regeneration of the
default and user refs files. Otherwise these become stale because
kdevops appears to check if they exist, but not if they are newer
than the source yaml files.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 scripts/build.Makefile | 2 ++
 1 file changed, 2 insertions(+)

Simple patch, but might be controversial, so I'm posting for comments.

diff --git a/scripts/build.Makefile b/scripts/build.Makefile
index 4d3d90ab01ef..f4100bc06347 100644
--- a/scripts/build.Makefile
+++ b/scripts/build.Makefile
@@ -8,6 +8,8 @@ clean: $(clean-subdirs)
 
 PHONY += mrproper
 mrproper:
+	@$(Q)rm -rf $(CURDIR)/workflows/linux/refs/default/
+	@$(Q)rm -rf $(CURDIR)/workflows/linux/refs/user/
 	@$(Q)rm -rf $(CURDIR)/include/config/
 	@$(Q)rm -rf $(CURDIR)/include/generated/
 	@$(Q)rm -f .config
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-03-13 15:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12 13:00 [RFC PATCH] refs: "make mrproper" should clean out generated refs files cel
2025-03-12 15:05 ` Chuck Lever
2025-03-12 16:27   ` Daniel Gomez
2025-03-12 16:30     ` Daniel Gomez
2025-03-12 16:37       ` Daniel Gomez
2025-03-12 17:18         ` Daniel Gomez
2025-03-12 18:46           ` Chuck Lever
2025-03-13 15:12             ` Daniel Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox