Re: Install github app to automatically close PRs on github mirror

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Install github app to automatically close PRs on github mirror
Date: 2019-06-17 13:02:50
Message-ID: CA+OCxoyH5MaymQShj8c_H-ncu0DSttWVua-=dsgJ32zTL0gR9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Mon, Jun 17, 2019 at 1:59 PM Magnus Hagander <magnus(at)hagander(dot)net> wrote:

>
> On Mon, Jun 17, 2019 at 2:42 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>>
>>
>> On Mon, Jun 17, 2019 at 1:29 PM Magnus Hagander <magnus(at)hagander(dot)net>
>> wrote:
>>
>>> On Mon, Jun 17, 2019 at 2:12 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Jun 17, 2019 at 12:31 PM Daniel Gustafsson <daniel(at)yesql(dot)se>
>>>> wrote:
>>>>
>>>>> > On 24 May 2019, at 18:07, Andres Freund <andres(at)anarazel(dot)de> wrote:
>>>>>
>>>>> > On 2019-04-17 15:55:36 -0700, Andres Freund wrote:
>>>>> >> I think the postgres github mirror should install an application
>>>>> that
>>>>> >> automatically closes PRs. As there's no better way :(
>>>>> >>
>>>>> >> I found https://github.com/dessant/repo-lockdown/ , which seems
>>>>> >> suitable. Only requires read/write permissions for issues/PRs, and
>>>>> >> permission to read .github/lockdown.yml. It can be configured in a
>>>>> >> separate .github repository.
>>>>> >>
>>>>> >> As an example, here's the config:
>>>>> >>
>>>>> https://github.com/anarazel/.github/blob/master/.github/lockdown.yml
>>>>> >> and an example PR
>>>>> >> https://github.com/anarazel/postgres/pull/1
>>>>> >
>>>>> > Ping?
>>>>>
>>>>> Seconding the above and re-pinging.
>>>>>
>>>>
>>>> Done.
>>>>
>>>>
>>>
>>> Ugh. Can't we make it figure out which repo it's filing against? And
>>> actually send the notice about the pg repo if it's to the pg project and a
>>> separate notice for pgadmin, instead of the "if this was for pgadmin,
>>> ignore what I just wrote and go over here instead"?
>>>
>>
>> Only by putting the config in the individual repo from what I can see.
>> And that's even more ugh.
>>
>>
>
> Same problem applies with the pgweb repo which also got a bunch of pretty
> unfriendly messages now.
>
> Maybe this whole thing should've been more thought through :/
>

Maybe, but there was discussion, and plenty of time for people to object,
which noone did.

I think what's there now is far better than a bunch of un-answered PRs
rotting away.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2019-06-17 13:27:28 Re: Install github app to automatically close PRs on github mirror
Previous Message Magnus Hagander 2019-06-17 12:59:46 Re: Install github app to automatically close PRs on github mirror