All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org, Hanna Reitz <hreitz@redhat.com>,
	qemu-block@nongnu.org,
	Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>,
	Eric Blake <eblake@redhat.com>
Subject: Re: [PATCH] iotests: remove unused 'owner=' variable assignment
Date: Tue, 29 Sep 2026 16:38:58 +0200	[thread overview]
Message-ID: <arvNgvmyp69UYcGD@redhat.com> (raw)
In-Reply-To: <20260810141206.525581-1-berrange@redhat.com>

Am 10.08.2026 um 16:12 hat Daniel P. Berrangé geschrieben:
> Most, but not all, of the shell I/O tests assign an email address to
> the 'owner' shell variable. This variable is never used for anything
> so gets reported as a dead assignment by shellcheck. The same is also
> not done for the python I/O tests, though some include owner= in a
> comment.
> 
> Mostly the 'owner=' variable seems to be an alternative to expressing
> an "Author: NAME <EMAIL>" comment, but without the NAME. While they
> could be converted to Author comments, this does not have a benefit
> over using Git history and are not widely used in QEMU source code.
> Git records activity over time so is more representative than the
> initial author. Meanwhile the MAINTAINERS file, also expresses a
> notion of ownership over the maint of files.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Ok, why not. I don't think I ever looked at the line to figure out who
to contact.

> diff --git a/tests/qemu-iotests/001 b/tests/qemu-iotests/001
> index 6f980fd34d..d26c13ea03 100755
> --- a/tests/qemu-iotests/001
> +++ b/tests/qemu-iotests/001
> @@ -19,8 +19,6 @@
>  # along with this program.  If not, see <http://www.gnu.org/licenses/>.
>  #
>  
> -# creator
> -owner=hch@lst.de
>  
>  seq=`basename $0`
>  echo "QA output created by $seq"

But can you remove one of the now two empty lines after the comment
block, too, please? (Same for every hunk.)

Kevin



  parent reply	other threads:[~2026-09-29 14:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 14:12 [PATCH] iotests: remove unused 'owner=' variable assignment Daniel P. Berrangé
2026-08-17 13:50 ` Vladimir Sementsov-Ogievskiy
2026-09-02 10:54 ` Daniel P. Berrangé
2026-09-29 14:38 ` Kevin Wolf [this message]
2026-09-29 15:10   ` Philippe Mathieu-Daudé
2026-09-29 16:53     ` Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=arvNgvmyp69UYcGD@redhat.com \
    --to=kwolf@redhat.com \
    --cc=berrange@redhat.com \
    --cc=eblake@redhat.com \
    --cc=hreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@yandex-team.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.