qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>, qemu-devel@nongnu.org
Cc: famz@redhat.com
Subject: Re: [Qemu-devel] [PATCH] build-sys: generate tests/.gitignore
Date: Wed, 6 Sep 2017 07:05:17 +0200	[thread overview]
Message-ID: <aa1b0e7c-1968-fbee-6219-a26a08313d4f@redhat.com> (raw)
In-Reply-To: <CAJ+F1CLaz9KsPWG+_h1H=dwmY0EgAfcq6r2dAJvfvJz8JB5cBA@mail.gmail.com>

On 05.09.2017 12:42, Marc-André Lureau wrote:
> Hi
> 
> On Mon, Sep 4, 2017 at 12:21 PM Thomas Huth <thuth@redhat.com
> <mailto:thuth@redhat.com>> wrote:
> 
>     On 04.09.2017 11 <tel:04%2009%2020%2017%2011>:03, Marc-André Lureau
>     wrote:
[...]
>     >  # Build the help program automatically
>     >
>     >  all: $(QEMU_IOTESTS_HELPERS-y)
>     >
>     > +$(SRC_PATH)/tests/.gitignore: $(MAKEFILE_LIST)
>     > +     $(call quiet-command, echo "$(tests-cleanfiles)"
>     "$(tests-cleandirs)" | \
>     > +             xargs -n1 | sort | uniq | sed -e s:^:/: >
>     $@,"GEN","$(@F)")
> 
>     Please do not use SRC_PATH here. I'm doing out of tree builds, and I
>     don't want that these are touching my source folder!
> 
> I understand the feeling, I do also mostly out of tree build. However, I
> don't think it makes much sense to generate .gitignore in the build dir.

Why not? If you're doing out-of-tree builds, you don't need the
.gitignore in the source directory anyway, so it certainly does not make
sense to generate there such a file in the source directory.

> It's git related, and in the git source dir, you have .git that is
> writable already

It's unlikely, but I think it is perfectly legal to have your git source
directory e.g. mounted temporarily as a read-only file system. I'd then
still expect to be able to use my read-only sources to build QEMU out of
tree.

 Thomas


PS: Looks like you're sending HTML mails ... please check the setup of
your mail program.

  parent reply	other threads:[~2017-09-06  5:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-04  9:03 [Qemu-devel] [PATCH] build-sys: generate tests/.gitignore Marc-André Lureau
2017-09-04 10:20 ` Thomas Huth
2017-09-05 10:42   ` Marc-André Lureau
2017-09-05 20:49     ` Eric Blake
2017-09-06  6:27       ` Markus Armbruster
2017-09-06  5:05     ` Thomas Huth [this message]
2017-09-05 20:43 ` Eric Blake

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=aa1b0e7c-1968-fbee-6219-a26a08313d4f@redhat.com \
    --to=thuth@redhat.com \
    --cc=famz@redhat.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).