Skip to content

Contributing

Batocera Unofficial Addons Contribution Guidelines

Section titled “Batocera Unofficial Addons Contribution Guidelines”

Welcome to the Batocera Unofficial Addons project! We appreciate your interest in contributing. Whether you’re fixing a bug, adding a new feature, or improving documentation, please follow these guidelines to ensure smooth collaboration.


There are multiple ways to contribute to this project:

  • Reporting issues and suggesting improvements
  • Submitting bug fixes and patches
  • Adding new features and enhancements
  • Improving documentation
  • Testing and providing feedback

Before contributing, please read the following guidelines.


If you encounter a bug or issue, please check existing issues before submitting a new one.

When reporting an issue:

  • Provide a clear and descriptive title.
  • Include steps to reproduce the issue.
  • Mention your Batocera version and hardware details.
  • Attach logs or screenshots if applicable.

Issues should be submitted in the GitHub Issues section.


  1. Fork the repository on GitHub.

  2. Clone your fork:

    Terminal window
    git clone https://github.com/batocera-unofficial-addons/batocera-unofficial-addons.git
    cd batocera-unofficial-addons
  3. Create a new branch for your changes:

    Terminal window
    git checkout -b feature-or-bugfix-name
  • Shell Scripts: Use shellcheck to lint your scripts.
  • Python: Follow PEP 8 guidelines.
  • JSON/XML/YAML: Validate before submitting.
  • Keep commits small and meaningful.
  • Ensure compatibility with multiple Batocera versions.
  • Run the script or addon on Batocera to ensure it works.
  • Use logs and debug messages for troubleshooting.
  • If adding a new feature, write clear documentation.
  1. Commit with a meaningful message:
    Terminal window
    git commit -m "Fix: Corrected install script for XYZ addon"
  2. Push changes to your fork:
    Terminal window
    git push origin feature-or-bugfix-name
  • Go to the original repository and click New Pull Request.
  • Select your branch and describe your changes.
  • Follow the PR template and provide necessary details.
  • Wait for code review and feedback.

  • Keep PRs small and focused: Avoid combining multiple features or fixes in one pull request.
  • Write meaningful commit messages: This helps maintainers understand changes quickly.
  • Use clear variable names in scripts.
  • Comment your code: Explain complex logic for better maintainability.
  • Stay updated: Pull the latest changes before submitting new work.

  • By contributing, you agree to license your work under the same license as the project.
  • Do not submit copyrighted content.
  • If using third-party code, ensure proper attribution.

If you’re unsure about something, feel free to:


Happy coding! 🚀