同步操作将从 YYM/OpenBot 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
English | 简体中文
Submit an issue describing the changes you want to implement. If it's only minor changes/bug-fixes, you can skip to step 3.
After the scope was discussed in the issue, assign it to yourself. It should show up in the "To do" column in the OpenBot project.
Fork the project and clone it locally:
git clone https://github.com/<user_id>/OpenBot.git
Create a branch:
git checkout -b <branch-name>
where <branch-name>
concisely describes the scope of the work.
Do the work, write good commit messages, push your branch to the forked repository:
git add <modified file>
git commit -m <meaningful description>
git push --set-upstream origin <branch-name>
Create a pull request in GitHub and link the issue to it. It should show up in the "In progress" column in the OpenBot project.
Work on any code review feedback you may receive and push it to your fork. The pull request gets updated automatically.
Get a cold drink of your choice to reward yourself for making the world a better place.
We use a gradle script for formatting java code. Make sure you are in the android
directory.
You can check your code with:
./gradlew checkStyle
You can apply the style to all files by running:
./gradlew applyStyle
We use black for formatting python code.
You can check your code in the current directory with:
black --check .
You can apply the style to all files in the current directory by running:
black .
If you are looking for more information about contributing to open-source projects, here are two good references:
Thank you very much!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。