Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kC0cz-0003C5-Ag for pljava-dev@arkaria.postgresql.org; Sat, 29 Aug 2020 13:10:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kC0cw-0000SX-Ae for pljava-dev@arkaria.postgresql.org; Sat, 29 Aug 2020 13:10:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kC0cv-0000SQ-R7 for pljava-dev@lists.postgresql.org; Sat, 29 Aug 2020 13:10:38 +0000 Received: from anastigmatix.net ([68.171.219.55]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kC0cq-00078X-MV for pljava-dev@lists.postgresql.org; Sat, 29 Aug 2020 13:10:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yAu+rhcLB6/O0N5TMeRlUrxpM9rzwJ9cjicL7hpfjqg=; b=QS519orhTsNTZ48KMTpgiJvjVF 9wtYo9eKJrHErWXz5g/CIGMG5qV0cEQXzq5tGFA0xY553ME67sNR+QgbzVADkto3PNB34sOwnEM/e uF/DCqdpq/15VufRoRWhduS/hyFqH6t6I5/qzT8MI3K7QbPsmD+4bug6FXtovZ06mfgs5i56RgyaJ gu3wlWeQH1pGHzZ7wJckFCC1gvOmqEuJAUIiRButvHBKJjwb3zhnU2I/9pNn7ld4uBHwpdQDyk3wU GYv65fgFL3x7c3YwpXkwEJcf0W36Q5VkJWluClcn+gGQobxILyXH6bf8y1LFjA2ToJMThSRFRKWMp NOPZ61yQ==; Received: from [184.19.31.139] (port=55663) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kC0cm-008qDL-2u; Sat, 29 Aug 2020 09:10:28 -0400 Subject: Re: Travis and AppVeyor continuous integration [Re: feature/master/ci] To: Kartik Ohri , thomas@tada.se References: <5EC17E17.7070002@anastigmatix.net> <5ED4EA10.4030801@anastigmatix.net> <5ED7E74B.9020800@anastigmatix.net> <5EDA576E.2000204@anastigmatix.net> <5EDBA5D9.8090506@anastigmatix.net> <5EE7AE8C.2040201@anastigmatix.net> <5EEA6F85.9040009@anastigmatix.net> <5F063C86.3070301@anastigmatix.net> <5F47EB62.2060306@anastigmatix.net> <5F4816A0.8020208@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F4A53C3.1040102@anastigmatix.net> Date: Sat, 29 Aug 2020 09:10:27 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/29/20 04:35, Kartik Ohri wrote: > Hi! > On Sat, Aug 29, 2020 at 12:55 PM Thomas Hallgren wrote: >> I'm somewhat reluctant to TravisCI due to its requirement for write >> permissions to *all* my repositories and associated data. Why would anyone >> grant an external CI service such permissions just to handle CI of *one* of >> my repositories, and why don't they offer a read-only alternative? >> > > Travis recommends all repositories access but that can be easily restricted > to a single repository. Once, the application has been authorized. Github > will ask whether to install in a single repository or all. > > Also, I checked which permissions the Travis app installed on my repo has. > The current Travis App has the write access to checks, commit statuses, > deployments, and repository hooks. The first three make sense but I am not > sure about the role of repository hooks. For what it's worth, AppVeyor > requires write access to only checks, commit statuses. I will admit to a bit of a shock yesterday when, out of curiosity, I went to https://travis-ci.com/plans and clicked "SET UP YOUR OPEN SOURCE PROJECT NOW" and was immediately faced with a GitHub "Authorize Travis CI" dialog requesting: ===== Organizations and teams Read-only access This application will be able to read your organization, team membership, and private project boards. Repositories Public and private This application will be able to read and write all public and private repository data. This includes the following: Code Issues Pull requests Wikis Settings Webhooks and services Deploy keys Collaboration invites Personal user data Email addresses (read-only) This application will be able to read your private email addresses. ===== The "Cancel" button is still smoking from how hard I hit it. But I think that must have been their older, pre-GitHub-App, signup process. I am not sure why they still have a working link that goes there. Thomas, if their current permission requests, when configured as a GitHub App, are as Kartik describes, and can be limited to the PL/Java repo only, would that answer your concerns (even if not perfectly, perhaps acceptably)? It seems to me also that such concerns can have a "duration" dimension: if even their more limited, app-based, permissions are not entirely satisfactory, perhaps they would be tolerable for a limited period (a calendar quarter, perhaps) to immediately reap the benefits of Kartik's work while affording time to explore migrating the scripts to Github Actions without a rush? As I mentioned earlier, I suspect the migration would be fairly straightforward. Kartik's GSoC-sponsored period concludes this weekend, however. and migrating it all to GitHub Actions is probably not quite *that* straightforward. Regards, -Chap