From dev-return-3539-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Thu Jul 12 19:57:42 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BD3E6180676 for ; Thu, 12 Jul 2018 19:57:41 +0200 (CEST) Received: (qmail 97338 invoked by uid 500); 12 Jul 2018 17:57:40 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 97291 invoked by uid 99); 12 Jul 2018 17:57:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2018 17:57:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CA9EBC032B for ; Thu, 12 Jul 2018 17:57:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.87 X-Spam-Level: * X-Spam-Status: No, score=1.87 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id sZIGpjlJgQnu for ; Thu, 12 Jul 2018 17:57:37 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 35A345F366 for ; Thu, 12 Jul 2018 17:57:37 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id k81-v6so57392835oib.4 for ; Thu, 12 Jul 2018 10:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3f/dSMpYVZ3X0CrFzX5dyPyXGejb3qnq+EgLpgQaK/Q=; b=JgjDlKdk7SvEYKU2JCpL0nkwJSxefyVr9UpgAoo25uFitE/LSbALdQZmt9hD0OBlB1 u3qacH6Vq6ctRtLk6kRb2EVJc3jxg8pMCUfU6jwZ+wrZ8EJ+i7mPNJzRQBWVO4EfHeoG OsLtNSP9M9hNNjNp653nM/AVnEXPjgLYz9yB1Lro46zQSNTvrJCbQuplT1x7gldtqoAB lKpxwS5V6lGsSfOhCP63Iyp2a4f0jGL6HfDNwo/BXO3HtPnNPdua28mgqtNQtU0yFOzb bJ6Kqku3EDdS5OAjWYpNBmsFeWIgqb80NIMqT0PC/1qiNHB45oacblTga7vS8OFhDRuv MRRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3f/dSMpYVZ3X0CrFzX5dyPyXGejb3qnq+EgLpgQaK/Q=; b=N3h05Aro8HDdKnCphlyzppZCVcthn1ZEggRO8gHgS8FQk9seF77Gdj78pXNP4eVuAo n3aoJ7g9lam1dU/F/z8C2+kpDFguA8MqdL0CaA6HMxoMvvWp8Syfm46JKlv5ZFLB0hyP Ry2sp5KmZT01DutgkvnWqg/SBSiJ6NcbaeQqzh9Hi50/XlKqliG4AIJkcmrHnO2aOvCe wurgzvGNVfxCbq0F0u/KpzJOteDi7qAtrfSABufmhtyBWXxBLSbtTgWO84CdO7j8M0wy 2g203IFYeNJWNU3rfEgFTlU23XIwqVQGUdOE/ALxClM0X+6XNeuFt6B/4QejuEaw3V1U tuXg== X-Gm-Message-State: AOUpUlF5WGX6878iGAvfB1P5MfN4QQXmYh+GLZbs0OhZfKxZoDssAxNJ vFNeLDjAE3j8+asSpyEOmqYcyXamKE2rFnpe3ZRiMg== X-Google-Smtp-Source: AAOMgpcFWZUg9IId71RX6eIbJh22c2hEWoUucyqHsGdojnVWev81vRzkjZmDTkdiv1gWgnCk2BXAooGDdCSEQceYaLY= X-Received: by 2002:aca:ba84:: with SMTP id k126-v6mr3189456oif.96.1531418256141; Thu, 12 Jul 2018 10:57:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2aaa:0:0:0:0:0 with HTTP; Thu, 12 Jul 2018 10:57:35 -0700 (PDT) From: Yuelin Zhang Date: Thu, 12 Jul 2018 10:57:35 -0700 Message-ID: Subject: Access Permission of MXNet label bot To: dev@mxnet.incubator.apache.org Content-Type: multipart/alternative; boundary="00000000000028f4720570d119bc" --00000000000028f4720570d119bc Content-Type: text/plain; charset="UTF-8" Hi, I am working to improve the GitHub issue triage process by creating a label bot(more info here on the cwiki), I have initial version of label bot ready. I would like to get some opinions about access permission of MXNet label bot. Right now, all issues in MXNet repo are manually labeled. The process looks like below: First, contributors/committers go through the issues to triage them and suggest labels and add comment on the issue requesting @committer to add labels. This process will cause notification spam to both committers and users. The long gap between user creating an issue and we labelling them will cause the process time consuming and not very smooth. We want to simplify/automate this issue labeling process. Right now an initial version of the label bot which can: 1. Send issue report daily. This report will show how many issue open/closed, list uncommented/unlabeled issues and show an pie chart of labels added in a week. Sample report here . 2. Generate a spread sheet of unlabeled issues with recommended labels. A contributor will open the sheet and fill in labels with reference of bot's recommendations. In this case, contributor can deal with all unlabeled issues at a time. Sample sheet here . 3. Read labels filled in that sheet and apply labels to GitHub issues. (tested on my personal Github repo) This bot can be triggered daily so that all issues will be labeled in one day without notification spam. *However, this bot doesn't have access to add labels. We have two options:* - Use a committer's Oauth token with limited scope. So far according to my research, the most limited scope is "public_repo", this contains access to code. Except this one, Github doesn't have smaller scope available to add labels. Available scopes here . - Create a bot account having minimum permissions. For this, we will need an account to be created from Apache Infrastructure with proper access and they can control the access for the account through secret manager . Having a bot account is beneficial for future work, not only for labelling but also other automatic processes. Please let me know if you have any other ideas to do this. Thanks, Cathy --00000000000028f4720570d119bc--