infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lambertus (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-15132) Enable Samza project in Codacy and Travis-CI via Apache's Github org
Date Tue, 26 Sep 2017 16:27:00 GMT

     [ https://issues.apache.org/jira/browse/INFRA-15132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Lambertus updated INFRA-15132:
------------------------------------
    Status: Waiting for user  (was: Waiting for Infra)

Unfortunately, Codacy requires inappropriate write/admin access to our org repo, which we
will not provide. We suggest using tools which only require read access. We can enable Travis
if that's still desired.

Codacy permissions required:

We ask for 'user' permissions to access GitHub user info.
We ask for 'public_repo' permissions to be able to set PR status on public projects.
We ask for 'repo' access to access private repositories.
We ask for 'write:public_key' to add ssh keys to the repositories, so that Codacy can have
access to the repository.
We ask for 'write:repo_hook' access to add post-commit hooks.
We ask for 'admin:org_hook' to access organization hooks.

> Enable Samza project in Codacy and Travis-CI via Apache's Github org 
> ---------------------------------------------------------------------
>
>                 Key: INFRA-15132
>                 URL: https://issues.apache.org/jira/browse/INFRA-15132
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Github
>            Reporter: Daniel Nishimura
>            Priority: Minor
>              Labels: codacy, github, travis-ci
>
> I work with the Samza team and we want to improve our code quality by integrating static
code analysis and code coverage via Codacy and Travis-CI. Integration with Codacy and Travis-CI
require a user in the Github Apache org to enable it and currently no one in the Apache Samza
is part of the Apache Github organization. I will request the Samza PMCs to give their approval
in the comments. If this request is approved, please have an Apache Github user follow the
steps below.
> Codacy instructions:
> 1) https://support.codacy.com/hc/en-us/articles/207278449-Getting-started-with-Codacy
>     * Follow section 2 - Setting up via Github repository
> 2) Generate a project API token: https://support.codacy.com/hc/en-us/articles/207279819-Coverage
>     * The API token will be needed in the setup of the Travis-CI part below.
> Travis-CI instructions:
> 1) Activate the Samza project in Travis-CI. It appears Apache has other projects on Travis-CI:
https://travis-ci.org/apache
> 2) Once Samza is enabled on Travis-CI, please go to https://travis-ci.org/apache/samza/settings
and add environment variable CODACY_PROJECT_TOKEN with the value of the Codacy API token above.
> Thank you!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message