1 Star 0 Fork 0

MorSunChen/obs-studio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CONTRIBUTING.rst 2.47 KB
一键复制 编辑 原始数据 按行查看 历史

Contributing

Quick Links for Contributing

Coding Guidelines

  • OBS Studio uses kernel normal form (linux variant), for more information, please read here: https://github.com/torvalds/linux/blob/master/Documentation/process/coding-style.rst
  • Avoid trailing spaces. To view trailing spaces before making a commit, use "git diff" on your changes. If colors are enabled for git in the command prompt, it will show you any whitespace issues marked with red.
  • Tabs for indentation, spaces for alignment. Tabs are treated as 8 columns wide.
  • 80 columns max

Commit Guidelines

  • OBS Studio uses the 50/72 standard for commits. 50 characters max for the title (excluding module prefix), an empty line, and then a full description of the commit, wrapped to 72 columns max. See this link for more information: http://chris.beams.io/posts/git-commit/

  • Make sure commit titles are always in present tense, and are not followed by punctuation.

  • Prefix each commit's titles with the module name, followed by a colon and a space (unless modifying a file in the base directory). After that, the first word should be capitalized.

    So for example, if you are modifying the obs-ffmpeg plugin:

    obs-ffmpeg: Fix bug with audio output
    

    Or for libobs:

    libobs: Fix source not displaying
    

    Note: When modifying cmake modules, just prefix with "cmake".

  • If you still need examples, please view the commit history.

Conduct Guidelines

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/MorsunJacky/obs-studio.git
git@gitee.com:MorsunJacky/obs-studio.git
MorsunJacky
obs-studio
obs-studio
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385