LXDAO 的核心是公共物品,而 Github 可能是当前最适合公共物品协作和研发的平台,以残酷共学项目为例,使用 Github 平台节省了大量的人力,整个共学的过程可以使用 Github 的自动化流程来完成。Github 上的工作流程已经被广大开发者所接受,新贡献者的加入门槛更低。后续 LXDAO 的项目都应该在 Github 中完成,包括项目管理、方案讨论、代码开发等等流程。
使用 Github 的直接好处有:
1. 高效的代码管理与协作
- Git 版本控制:提供完整的 Git 功能(分支、合并、回滚等),确保代码历史可追溯。
- Pull Request(PR)机制:贡献者可以轻松提交代码修改,维护者通过代码审查(Code Review)合并变更。
- Issue 跟踪:管理任务、Bug 报告、功能请求,支持标签、里程碑和自动化流程(比如残酷共学的报名流程)。
- 代码审查工具:行内评论、代码对比(Diff)等功能,提升协作效率。
2. 庞大的开发者社区
- 全球曝光:GitHub 是全球最大的开源平台,拥有超过 1 亿开发者,项目更容易被发现和传播。
- 吸引贡献者:开发者可通过 Star、Fork、Watch 关注项目,降低参与门槛,吸引全球贡献者。
- 社交化互动:讨论区(Discussions)、项目主页、README 文件等帮助项目更好的吸引开发者加入讨论和传播。
3. 自动化与集成工具
- GitHub Actions:内置 CI/CD 工具,自动化测试、构建、部署流程(如自动运行单元测试或发布版本)。
- 第三方集成:支持与 Travis CI、CircleCI、Codecov 等工具无缝对接,扩展功能。
- 依赖管理:自动扫描依赖漏洞(Dependabot),提醒更新或修复安全问题。
LXDAO’s Core Focus is Public Goods, and GitHub is the Ideal Platform for Collaborative Public Goods Development
At the heart of LXDAO lies the mission to build public goods, and GitHub stands out as the most suitable platform for collaborative research and development in this domain. Taking the Cruel Co-Learning Program as an example, GitHub significantly reduces manual effort by automating workflows—such as managing registration and streamlining the entire co-learning process. GitHub’s established workflows are widely adopted by developers, lowering the barrier for new contributors to join. Moving forward, all LXDAO projects—including project management, proposal discussions, and code development—should be managed on GitHub.
Key Benefits of Using GitHub
1. Efficient Code Management and Collaboration
- Git Version Control: Full Git functionality (branching, merging, rollbacks) ensures traceable code history.
- Pull Request (PR) Workflow: Contributors submit changes seamlessly; maintainers review and merge via code review.
- Issue Tracking: Organize tasks, bug reports, and feature requests with labels, milestones, and automation (e.g., automated sign-ups for the Cruel Co-Learning Program).
- Code Review Tools: Inline comments and diff views enhance collaboration efficiency.
2. Massive Developer Community
- Global Exposure: As the world’s largest open-source platform (100M+ developers), GitHub amplifies project visibility and adoption.
- Attract Contributors: Features like Star, Fork, and Watch lower entry barriers, drawing global contributors.
- Community Engagement: Discussions, project pages, and READMEs foster participation and knowledge sharing.
3. Automation and Integration
- GitHub Actions: Built-in CI/CD automates testing, building, and deployment (e.g., auto-running unit tests).
- Third-Party Integrations: Connect with tools like Travis CI, CircleCI, and Codecov to extend functionality.
- Dependency Management: Dependabot automatically scans for vulnerabilities and suggests updates.