同步操作将从 Gitee 极速下载/bashtop 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Explain your thinking in why a change or addition is needed.
Split up multiple unrelated changes in multiple pull requests.
Shellcheck your work. Current shellsheck exceptions at the beginning of bashtop.
Purely cosmetic changes won't be accepted without a very good explanation of its value.
Indent type: Tabs
Tab size: 4
Use the longer "if, elif, then, else, fi" statements and indent conditionals, loops etc.
Use "[[ ]]", "(( ))" for conditions and "$( ), <( )" for command substitution.
Create functions instead of repeating blocks of code.
Don't stack unrelated blocks of code, leave blank lines for better readability.
Comment new code that isn't very obvious in it's function.
Name new variables and functions in lower-case and after what purpose they serve.
Avoid forks if possible.
Avoid writing to disk if possible.
Make sure variables/arrays are cleaned up if not reused.
Compare cpu and memory usage with and without your code and look for alternatives if they cause a noticeable negative impact.
For questions contact Aristocratos at admin@qvantnet.com
For proposing changes to this document create a new issue.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。