-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bced817
commit a278d2d
Showing
24 changed files
with
2,393 additions
and
34 deletions.
There are no files selected for viewing
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,23 @@ | ||
name: Bug Report | ||
description: A template for Bur Reporting | ||
body: | ||
- type: dropdown | ||
id: version | ||
attributes: | ||
label: FTC RIC version | ||
options: | ||
- 0.1.0 | ||
- 0.1.1 | ||
- 0.2.0 | ||
- 0.3.0 | ||
- 0.4.0 | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Bug description | ||
value: | | ||
Entre the way to find the bug. | ||
- type: textarea | ||
attributes: | ||
label: Annex |
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,23 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
body: | ||
- type: textarea | ||
id: BugBase | ||
attributes: | ||
label: Correlated Issues | ||
value: | | ||
If the report is not base on an issue, you don't need to change the value here. | ||
- type: textarea | ||
id: Suggestion | ||
attributes: | ||
label: Your Suggestion | ||
- type: dropdown | ||
id: versionBase | ||
attributes: | ||
label: Version Base On | ||
options: | ||
- 0.1.0 | ||
- 0.1.1 | ||
- 0.2.0 | ||
- 0.3.0 | ||
- 0.4.0 |
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,26 @@ | ||
name: Android CI | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04.4 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build |
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,44 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created | ||
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle | ||
|
||
name: Gradle Package | ||
|
||
on: | ||
release: | ||
types: [创建] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | ||
settings-path: ${{ github.workspace }} # location for the settings.xml file | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2 | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in | ||
# the publishing section of your build.gradle | ||
- name: Publish to GitHub Packages | ||
run: ./gradlew publish | ||
env: | ||
USERNAME: ${{ github.actor }} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Zipper | ||
on: | ||
push: | ||
branches: ["master"] | ||
jobs: | ||
zip: | ||
permissions: | ||
contents: write # for git push | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: run Zipper.sh to update RIC.zip | ||
run: | | ||
/bin/bash ./Zipper.sh | ||
if [ -n "$(git status --porcelain)" ]; then | ||
git config --global user.name "Github Actions" | ||
git config --global user.email "actions@github.com" | ||
git add RIC.zip | ||
git commit --allow-empty -m "自动更新RIC.zip" | ||
git push | ||
fi | ||
- name: run UpgradeZipper to upgrade RIC_Upgrade.zip | ||
run: | | ||
/bin/bash ./UpgradeZipper.sh | ||
if [ -n "$(git status --porcelain)" ]; then | ||
git config --global user.name "Github Actions" | ||
git config --global user.email "actions@github.com" | ||
git add RIC_Upgrade.zip | ||
git commit --allow-empty -m "自动更新RIC_Upgrade.zip" | ||
git push | ||
fi |
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,128 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
We as members, contributors, and leaders pledge to make participation in our | ||
community a harassment-free experience for everyone, regardless of age, body | ||
size, visible or invisible disability, ethnicity, sex characteristics, gender | ||
identity and expression, level of experience, education, socio-economic status, | ||
nationality, personal appearance, race, religion, or sexual identity | ||
and orientation. | ||
|
||
We pledge to act and interact in ways that contribute to an open, welcoming, | ||
diverse, inclusive, and healthy community. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to a positive environment for our | ||
community include: | ||
|
||
* Demonstrating empathy and kindness toward other people | ||
* Being respectful of differing opinions, viewpoints, and experiences | ||
* Giving and gracefully accepting constructive feedback | ||
* Accepting responsibility and apologizing to those affected by our mistakes, | ||
and learning from the experience | ||
* Focusing on what is best not just for us as individuals, but for the | ||
overall community | ||
|
||
Examples of unacceptable behavior include: | ||
|
||
* The use of sexualized language or imagery, and sexual attention or | ||
advances of any kind | ||
* Trolling, insulting or derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or email | ||
address, without their explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Enforcement Responsibilities | ||
|
||
Community leaders are responsible for clarifying and enforcing our standards of | ||
acceptable behavior and will take appropriate and fair corrective action in | ||
response to any behavior that they deem inappropriate, threatening, offensive, | ||
or harmful. | ||
|
||
Community leaders have the right and responsibility to remove, edit, or reject | ||
comments, commits, code, wiki edits, issues, and other contributions that are | ||
not aligned to this Code of Conduct, and will communicate reasons for moderation | ||
decisions when appropriate. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies within all community spaces, and also applies when | ||
an individual is officially representing the community in public spaces. | ||
Examples of representing our community include using an official e-mail address, | ||
posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported to the community leaders responsible for enforcement at | ||
bennyli2011@163.com. | ||
All complaints will be reviewed and investigated promptly and fairly. | ||
|
||
All community leaders are obligated to respect the privacy and security of the | ||
reporter of any incident. | ||
|
||
## Enforcement Guidelines | ||
|
||
Community leaders will follow these Community Impact Guidelines in determining | ||
the consequences for any action they deem in violation of this Code of Conduct: | ||
|
||
### 1. Correction | ||
|
||
**Community Impact**: Use of inappropriate language or other behavior deemed | ||
unprofessional or unwelcome in the community. | ||
|
||
**Consequence**: A private, written warning from community leaders, providing | ||
clarity around the nature of the violation and an explanation of why the | ||
behavior was inappropriate. A public apology may be requested. | ||
|
||
### 2. Warning | ||
|
||
**Community Impact**: A violation through a single incident or series | ||
of actions. | ||
|
||
**Consequence**: A warning with consequences for continued behavior. No | ||
interaction with the people involved, including unsolicited interaction with | ||
those enforcing the Code of Conduct, for a specified period of time. This | ||
includes avoiding interactions in community spaces as well as external channels | ||
like social media. Violating these terms may lead to a temporary or | ||
permanent ban. | ||
|
||
### 3. Temporary Ban | ||
|
||
**Community Impact**: A serious violation of community standards, including | ||
sustained inappropriate behavior. | ||
|
||
**Consequence**: A temporary ban from any sort of interaction or public | ||
communication with the community for a specified period of time. No public or | ||
private interaction with the people involved, including unsolicited interaction | ||
with those enforcing the Code of Conduct, is allowed during this period. | ||
Violating these terms may lead to a permanent ban. | ||
|
||
### 4. Permanent Ban | ||
|
||
**Community Impact**: Demonstrating a pattern of violation of community | ||
standards, including sustained inappropriate behavior, harassment of an | ||
individual, or aggression toward or disparagement of classes of individuals. | ||
|
||
**Consequence**: A permanent ban from any sort of public interaction within | ||
the community. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], | ||
version 2.0, available at | ||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. | ||
|
||
Community Impact Guidelines were inspired by [Mozilla's code of conduct | ||
enforcement ladder](https://github.com/mozilla/diversity). | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see the FAQ at | ||
https://www.contributor-covenant.org/faq. Translations are available at | ||
https://www.contributor-covenant.org/translations. |
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,69 @@ | ||
# 参与者公约行为准则 | ||
|
||
## 我们的承诺 | ||
|
||
作为成员、贡献者和领导者,我们承诺使我们的社区成为每个人都能无骚扰地参与的地方,无论年龄、体型、可见或不可见的残疾、种族、性别特征、性别认同和表达、经验水平、教育、社会经济地位、国籍、个人外貌、种族、宗教或性取向。 | ||
|
||
我们承诺以促进开放、欢迎、多样化、包容和健康的社区的方式行事和互动。 | ||
|
||
## 我们的标准 | ||
|
||
有助于为我们的社区创造积极环境的行为示例包括: | ||
|
||
- 对其他人表现出同情心和善意 | ||
- 尊重不同的意见、观点和经历 | ||
- 提供并优雅地接受建设性反馈 | ||
- 接受责任,向我们的错误影响的人道歉,并从中学习经验 | ||
- 关注的不仅仅是我们个人的最佳利益,而是整个社区的最佳利益 | ||
|
||
不可接受的行为示例包括: | ||
|
||
- 使用性化的语言或图像,以及任何形式的性注意或性进展 | ||
- 恶意挑衅、侮辱或贬损性评论以及个人或政治攻击 | ||
- 公开或私下骚扰 | ||
- 未经他人明确许可,发布他人的私人信息,如物理或电子邮件地址 | ||
- 其他在专业环境中可能被认为不恰当的行为 | ||
|
||
## 执行责任 | ||
|
||
社区领导者负责澄清和执行我们可接受行为的标准,并将在他们认为不适当、威胁、冒犯或有害的任何行为上采取适当和公平的纠正措施。 | ||
|
||
社区领导者有权并负责删除、编辑或拒绝与本行为准则不一致的评论、提交、代码、维基编辑、问题以及其他贡献,并将在适当时沟通版主决定的原因。 | ||
|
||
## 范围 | ||
|
||
本行为准则适用于所有社区空间,并且当个人在公共空间正式代表社区时也适用。代表我们社区的例子包括使用官方电子邮件地址、通过官方社交媒体账户发布或作为在线或离线活动的指定代表。 | ||
|
||
## 执行 | ||
|
||
滥用、骚扰或任何其他不可接受的行为的实例可以报告给负责执行的社区领导者,电子邮件地址为:bennyli2011@163.com。所有投诉都将被及时且公正地审查和调查。 | ||
|
||
所有社区领导者都有义务尊重任何事件报告人的隐私和安全。 | ||
|
||
## 执行指南 | ||
|
||
社区领导者将遵循以下社区影响指南来确定他们认为违反本行为准则的任何行为的后果: | ||
|
||
1. 纠正 | ||
- 社区影响:使用不适当的语言或在社区中被认为不专业或不受欢迎的其他行为。 | ||
- 后果:社区领导者将发出私人书面警告,阐明违规性质和行为为何不适当。可能会要求公开道歉。 | ||
|
||
2. 警告 | ||
- 社区影响:通过单一事件或一系列行为违反。 | ||
- 后果:警告并继续行为的后果。在指定时间内不与涉及人员互动,包括与执行行为准则的人进行非请求性互动。这包括避免在社区空间以及外部渠道如社交媒体上的互动。违反这些条款可能导致临时或永久禁止。 | ||
|
||
3. 临时禁止 | ||
- 社区影响:严重违反社区标准,包括持续的不当行为。 | ||
- 后果:在指定时间内禁止与社区进行任何形式的互动或公开沟通。在此期间不允许与涉及人员进行公开或私下互动,包括与执行行为准则的人进行非请求性互动。违反这些条款可能导致永久禁止。 | ||
|
||
4. 永久禁止 | ||
- 社区影响:表现出违反社区标准的模式,包括持续的不当行为、对个人的骚扰或对个人类别的攻击或诽谤。 | ||
- 后果:永久禁止在社区内进行任何形式的公开互动。 | ||
|
||
## 归属 | ||
|
||
本行为准则改编自参与者公约,版本 2.0,可在 https://www.contributor-covenant.org/version/2/0/code_of_conduct.html 查看。 | ||
|
||
社区影响指南受到 Mozilla 行为准则执行阶梯的启发。 | ||
|
||
有关本行为准则的常见问题,请参见 FAQ https://www.contributor-covenant.org/faq。翻译可在 https://www.contributor-covenant.org/translations 查看。 |
Oops, something went wrong.