Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.189.118]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 4F8DB781931 for <~alpine/devel@lists.alpinelinux.org>; Fri, 25 Oct 2019 15:42:15 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 86D672DE2063; Fri, 25 Oct 2019 15:42:13 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 85BE12DE1F7B; Fri, 25 Oct 2019 15:42:12 +0000 (UTC) Date: Fri, 25 Oct 2019 17:42:05 +0200 From: Natanael Copa To: soeren@soeren-tempel.net Cc: ~alpine/devel@lists.alpinelinux.org Subject: Re: RFC: Deprecate GitHub PRs Message-ID: <20191025174205.4a9a35d3@ncopa-desktop.copa.dup.pw> In-Reply-To: <3OHWOOASIXH2T.20R4V2YVU7P8Y@8pit.net> References: <3OHWOOASIXH2T.20R4V2YVU7P8Y@8pit.net> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, 25 Oct 2019 12:32:35 +0200 soeren@soeren-tempel.net wrote: > Hi there, >=20 > Currently Alpine supports (at least) three ways to submit patches: >=20 > 1. GitLab merge request (MR) on gitlab.alpinelinux.org > 2. GitHub pull requests (PR) on github.com/alpinelinux > 3. git-format-patches send to the mailing list (ML) >=20 > IMHO this creates an unnecessary maintenance overhead, e.g. you have to > consult three platforms to figure out if a patch has already been > submitted somewhere. Additionally, the platforms use different CI > services (or none at all in case of the ML). Agree. This is the long term plan. As a sidenote, it is also possible to connect the gilab login with a github login, so you can use the github password to login to gitlab. > Since gitlab.alpinelinux.org is fully usable nowadays I would suggest > to stop supporting GitHub PRs. Users attempting to submit PRs should be > notified that patches should either be send to the ML or submitted as > GitLab MRs. This could, for instance, be achieved through a GitHub PR > template [1]. I am all for shutting down github PRs as long as the infra team, the people maintaining our gitlab instance is ok with it. My understanding is that they are a bit overloaded right now, so we may need patience. > I assume that we would like to continue using GitHub as a read-only > git mirror. Unfortunately, it does not seem to be possible to disable > GitHub PRs [2]. Other organizations seem to deal with this using a > cronjob or a GitHub bot which automatically closes all PRs > periodically [3]. This seems to be a feasible solution which we could > deploy. >=20 > A problem that remains is dealing with existing PRs. Solutions include > stopping to accept new PRs and reviewing the existing ones until there > are none left or migrating them to GitLab. >=20 > Any thoughts on this proposal? I think we want keep github as read-only mirror, yes. I think we may need a webhook for gitlab, to do the mirror to git.a.o. Currently we push to git.a.o and sync to gitlab, but we want push to gitlab and sync to git.a.o, so git.a.o becomes read-only mirror with cgit interface. We may also want the webhook do auto closing etc, similar to what we do now (stale bot). If there are any volunteers with docker and gitlab maintenance experience, who would be interested in help us, please let us know. >=20 > Cheers, > S=F6ren >=20 > [1]: > https://help.github.com/en/github/building-a-strong-community/creating-a-= pull-request-template-for-your-repository > [2]: https://github.com/dear-github/dear-github/issues/84 [3]: > https://mail.gnome.org/archives/desktop-devel-list/2016-November/msg00043= .html