This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
forked from apolloconfig/apollo
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from ctripcorp/master
[pull] master from ctripcorp:master
- Loading branch information
Showing
1,103 changed files
with
17,765 additions
and
596 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# Copyright 2021 Apollo Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
name: "CLA Assistant" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened,closed,synchronize] | ||
|
||
jobs: | ||
CLAssistant: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "CLA Assistant" | ||
if: (github.event.comment.body == 'recheck' || startsWith(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA')) || github.event_name == 'pull_request_target' | ||
# Beta Release | ||
uses: cla-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# the below token should have repo scope and must be manually added by you in the repository's secret | ||
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_CLA_ASSISTANT }} | ||
with: | ||
path-to-signatures: 'signatures/version1/cla.json' | ||
path-to-document: 'https://github.com/ctripcorp/apollo-community/blob/master/CLA.md' # e.g. a CLA or a DCO document | ||
# branch should not be protected | ||
branch: 'master' | ||
allowlist: dependabot,bot* | ||
remote-repository-name: apollo-community | ||
|
||
#below are the optional inputs - If the optional inputs are not given, then default values will be taken | ||
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository) | ||
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository) | ||
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures' | ||
#signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo' | ||
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign' | ||
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA' | ||
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.' | ||
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true) | ||
#use-dco-flag: true - If you are using DCO instead of CLA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# | ||
# Copyright 2021 Apollo Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# This workflow will build a Java project with Maven | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: license | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
license: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check License | ||
uses: apache/skywalking-eyes@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# Copyright 2021 Apollo Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
header: | ||
license: | ||
spdx-id: Apache-2.0 | ||
copyright-owner: Apollo Authors | ||
|
||
paths-ignore: | ||
- '.github/ISSUE_TEMPLATE' | ||
- '.github/PULL_REQUEST_TEMPLATE' | ||
- '**/.gitignore' | ||
- '**/.helmignore' | ||
- '.gitmodules' | ||
- '.gitattributes' | ||
- '.mvn' | ||
- '**/*.md' | ||
- '**/*.json' | ||
- '**/*.conf' | ||
- '**/*.ftl' | ||
- '**/*.iml' | ||
- '**/*.tpl' | ||
- '**/*.factories' | ||
- '**/*.handlers' | ||
- '**/*.schemas' | ||
- '**/*.nojekyll' | ||
- 'mvnw' | ||
- 'mvnw.cmd' | ||
- '**/target/**' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'CNAME' | ||
- '**/resources/META-INF/services/**' | ||
- '**/vendor/**' | ||
- 'apollo-buildtools/src/main/resources/google_checks.xml' | ||
- 'apollo-core/src/test/resources/META-INF/app-with-utf8bom.properties' | ||
- 'apollo-core/src/test/resources/properties/server-with-utf8bom.properties' | ||
|
||
comment: on-failure |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# Overview | ||
|
||
Apollo is a meritocratic, consensus-based community project. Anyone with an interest in the project can join the community, contribute to the project design and participate in the decision-making process. | ||
|
||
This document describes how that participation takes place and how to set about earning merit within the project community. | ||
|
||
# Roles and Responsibilities | ||
|
||
Apollo community is composed of and operated by the following roles: | ||
|
||
- Users | ||
- Contributors | ||
- Committers | ||
- Project Management Committee (PMC) | ||
|
||
## Users | ||
|
||
Users are community members who have a need for the project. They are the most important members of the community and without them the project would have no purpose. Anyone can be a user and there are no special requirements. | ||
|
||
## Contributors | ||
|
||
Contributors are community members who contribute in concrete ways to the project. | ||
|
||
### How to become a Contributor | ||
|
||
- merged at least 1 pull request | ||
|
||
You are also encouraged to participate in the projects in the following ways: | ||
|
||
- Actively answer technical questions raised by community users in GitHub issues. | ||
- Help test the projects | ||
- Help review the pull requests (PRs) submitted by others | ||
- Help improve technical documents | ||
- Submit valuable issues | ||
- Report or fix known and unknown bugs | ||
- Write articles about source code analysis and usage cases for a project. | ||
- Give representations of Apollo topic in conferences. | ||
- Take part in our discussions of features, enhancements, etc. | ||
|
||
## Committers | ||
|
||
Committers are contributors who have shown that they are committed to the continued development of the project through ongoing engagement with the community and recognized by PMCs for their outstanding contributions. | ||
|
||
### How to become a Committer | ||
|
||
A Committer must have accomplished one or more of the following items: | ||
|
||
- Demonstrated a good sense of responsibility in PR reviews. | ||
- Demonstrated deep understanding of Apollo components by contributing significantly as: | ||
- Finished 2 or more tasks of Medium difficulty | ||
- Fixed 1 or more tasks of Hard difficulty | ||
- Nominated by one PMC member and gained more +1 than -1. | ||
|
||
### Privileges and responsibilities | ||
|
||
- Control overall code quality of projects | ||
- Guide Contributors to contribute to the community continuously | ||
- Participate in design discussions | ||
|
||
## Project Management Committee | ||
|
||
The PMC(Project Management Committee) functions as the core management team that oversees the Apollo community. The PMC has additional responsibilities over and above those of Committers. These responsibilities ensure the smooth running of the project. | ||
|
||
### How to become a PMC member | ||
|
||
- Membership of the PMC is by invitation from the existing PMC members. | ||
- A nomination will result in discussion and then a vote by the existing PMC members. | ||
- PMC membership votes are subject to consensus approval of the current PMC members. | ||
|
||
### Privileges and responsibilities | ||
|
||
- Handle reported security issues (CVE, etc.) | ||
- Nominate new committers and PMC members | ||
- Vote on new committers and new PMC members | ||
- Make major decisions for the future with respect to Apollo, such as project-level governance policies, management of sub-structures, security processes and so on | ||
- Make decisions when community consensus cannot be reached | ||
|
||
# Decision-making and voting | ||
|
||
Proposals and ideas can be submitted for agreement via a GitHub issue, PR, or GitHub Discussion. | ||
|
||
Major changes such as feature proposals and organization or process changes should be brought to the PMC. For the change to happen, the change must earn more +1 than -1. | ||
|
||
# Conflict resolution | ||
|
||
In general, we prefer that technical issues and other disputes upon which consensus can't be reached are amicably worked out between the persons involved. If a dispute cannot be decided independently, the PMC can be called in to resolve the issue by voting. The same PR can be used, or a separate PR can be opened for voting. | ||
|
||
# Changes in Governance | ||
|
||
Any change in this Governance document, or similar nature of changes to other governance related documents, shall go through the voting process as described in [Decision-making and voting](#decision-making-and-voting). | ||
|
||
# Credits | ||
|
||
The contents of this document are based on <http://oss-watch.ac.uk/resources/meritocraticgovernancemodel> by Ross Gardler and Gabriel Hanganu, and [TiDB Governance](https://github.com/pingcap/community/blob/master/GOVERNANCE.md). |
Oops, something went wrong.