All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scripts: Add automatic patch review script
@ 2020-04-01 21:55 Frederic Weisbecker
  0 siblings, 0 replies; only message in thread
From: Frederic Weisbecker @ 2020-04-01 21:55 UTC (permalink / raw)
  To: LKML; +Cc: Frederic Weisbecker

With the ever increasing volume of patches posted everyday, it has now
become hardly possible to keep up with a sane review pace, not even for
many single subsystems.

The only way to keep up to date would be to make the review process
automatic.

Now review, at a first glance, remain the last thing that can't be
automatized at all as it can only require a person to sit down and
figure out some opinion about some change.

Of course and as is often the case, an obvious and elegant solution was
waiting to be discovered. And it has been waiting since the creation of
the "Reviewed-by" tag.

All it takes is to simply generate a "Reviewed-by:" tag that you can pipe
to your favourite email sender. The script waits for a reasonably
random amount of time between each call, so that other reviewers don't
get too impressed and discouraged by how fast your CPU can make up an
opinion about a patchbomb.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
---
 scripts/review_patch | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 scripts/review_patch

diff --git a/scripts/review_patch b/scripts/review_patch
new file mode 100644
index 000000000000..bf08dba2bf60
--- /dev/null
+++ b/scripts/review_patch
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+sleep $RANDOM
+echo "Reviewed-by: $(git config --get user.name) <$(git config --get user.email)>"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-01 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 21:55 [PATCH] scripts: Add automatic patch review script Frederic Weisbecker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.