From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Fam Zheng" <fam@euphon.net>,
"Daniel P . Berrangé" <berrange@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Cleber Rosa" <crosa@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH-for-5.0?] .github: Enable repo-lockdown bot to refuse GitHub pull requests
Date: Tue, 07 Apr 2020 15:02:26 +0100 [thread overview]
Message-ID: <87imib9yx9.fsf@linaro.org> (raw)
In-Reply-To: <CAFEAcA9bN_0AqR2E-cL0ymQ6LLPB3dQLE5QndTJCJRGDvnafsw@mail.gmail.com>
Peter Maydell <peter.maydell@linaro.org> writes:
> On Mon, 6 Apr 2020 at 22:42, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>>
>> Some GitHub users try to open pull requests against the GitHub
>> mirror. Unfortunate these get ignored until eventually someone
>> notices and closes the request.
>>
>> Enable the 'Repo Lockdown' [*] 3rd party bot which can autorespond
>> to pull requests with a friendly comment, close the request, and
>> then lock it to prevent further comments.
>>
>> [*] https://github.com/dessant/repo-lockdown
>>
>> Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> Repo Lockdown is enabled on https://github.com/qemu/qemu/
>> ---
>> .github/lockdown.yml | 35 +++++++++++++++++++++++++++++++++++
>> MAINTAINERS | 1 +
>> 2 files changed, 36 insertions(+)
>> create mode 100644 .github/lockdown.yml
>>
>> diff --git a/.github/lockdown.yml b/.github/lockdown.yml
>> new file mode 100644
>> index 0000000000..94472d1256
>> --- /dev/null
>> +++ b/.github/lockdown.yml
>> @@ -0,0 +1,35 @@
>> +# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
>> +
>> +# Close issues and pull requests
>> +close: true
>> +
>> +# Lock issues and pull requests
>> +lock: true
>> +
>> +issues:
>> + comment: |
>> + Thank you for your interest in the QEMU project.
>> +
>> + This repository is a read-only mirror of the project's master
>> + repostories hosted on https://git.qemu.org/git/qemu.git.
>> + The project does not process issues filed on GitHub.
>> +
>> + The project issues are tracked on Launchpad:
>> + https://bugs.launchpad.net/qemu
>> +
>> + QEMU welcomes bug report contributions. You can fill new ones on:
>
> "file"
>
>> + https://bugs.launchpad.net/qemu/+filebug
>> +
>> +pulls:
>> + comment: |
>> + Thank you for your interest in the QEMU project.
>> +
>> + This repository is a read-only mirror of the project's master
>> + repostories hosted on https://git.qemu.org/git/qemu.git.
>> + The project does not process merge requests filed on GitHub.
>> +
>> + QEMU welcomes contributions of code (either fixing bugs or adding new
>> + functionality). However, we get a lot of patches, and so we have some
>> + guidelines about submitting patches described in our Wiki:
>> + https://wiki.qemu.org/Contribute/SubmitAPatch and
>> + https://wiki.qemu.org/Contribute/FAQ
>
> Maybe include a reference to the mailing list here too?
I'll amend the patch.
>
> thnaks
> -- PMM
--
Alex Bennée
prev parent reply other threads:[~2020-04-07 14:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 21:41 [PATCH-for-5.0?] .github: Enable repo-lockdown bot to refuse GitHub pull requests Philippe Mathieu-Daudé
2020-04-06 21:57 ` John Snow
2020-04-07 12:38 ` Alex Bennée
2020-04-07 12:53 ` Peter Maydell
2020-04-07 14:02 ` Alex Bennée [this message]
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=87imib9yx9.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=crosa@redhat.com \
--cc=f4bug@amsat.org \
--cc=fam@euphon.net \
--cc=jsnow@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.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).