From a94908d7b4db4f3cbf626ee010a5a744d7ae05eb Mon Sep 17 00:00:00 2001 From: Daniele Gobbetti Date: Tue, 7 Jul 2026 11:02:39 +0200 Subject: [PATCH] Add contribution policy --- CONTRIBUTING.md | 17 +++++++++++++++++ README.md | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..75056d2593 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,17 @@ +# Gadgetbridge Contribution and Maintenance Policy + +The Gadgetbridge core developers welcome contributions that expand support to new devices. However, contributors who add device support are expected to remain active as maintainers. This means helping to ensure that future changes do not introduce regressions and that new core features are also implemented for their devices when relevant. + +Contributors are also responsible for ensuring their changes are tested, both in case of new device additions and for changes to existing devices. + +Users should note that Gadgetbridge is a volunteer-driven project and offers no guarantees. The core team strives to maintain a set of devices that they directly support and keep them working reliably, but functionality for other devices depends on their respective maintainers. + +We do not accept pull requests that add integrations with external online services unless they are submitted either by the Gadgetbridge core team or by the service provider itself. External services are fast-moving targets and require commitment. + +## Clean-Room and Legal Compliance +Gadgetbridge is a free and open-source project that respects the rights of all creators and companies, and exists to ensure interoperability. We do not tolerate any form of copyright or intellectual property infringement. All contributions - especially reverse-engineering work for device support - must be done using clean-room techniques and based solely on public information or personal observations. Contributions derived from leaked, proprietary, decompiled, or confidential sources will be rejected without further explanations. + +## AI-assisted Contributions +The whole policy applies also to contributions partly written with the help of AI tools. We only accept humans as authors of contributions, though, so you are responsible for the code you submit to Gadgetbridge. + +In general, you can use AI to help with contributions, but we expect the disclosure of its usage. You must understand all the changes that were made. All PRs are held to the same standards for code quality, architecture, etc regardless of whether AI is used. diff --git a/README.md b/README.md index 76cf11b42c..dd039e640b 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,8 @@ Please see the [Features](https://gadgetbridge.org/basics/features/) page on the ## Contribute +See CONTRIBUTING.md for the contribution policy of Gadgetbridge. + Contributions are welcome, be it feedback, bug reports, documentation, translation, research or code. Feel free to work on any of the open [issues](https://codeberg.org/Freeyourgadget/Gadgetbridge/issues); just leave a comment that you're working on one to avoid duplicated work.