Gentoo Linux announced recently, that its repository mirrors are now accepting contributions on Codeberg, marking the start of a gradual migration away from the Microsoft-owned GitHub platform. The move follows Gentoo’s January 2026 announcement citing “continuous attempts to force Copilot usage for our repositories” as the primary motivation.
Copilot Training Drives Platform Switch
Gentoo’s migration stems directly from concerns about GitHub Copilot’s training on repository code and persistent prompts encouraging developers to enable the AI assistant. The distribution published a policy in 2024 explicitly forbidding contributions created with “Natural Language Processing artificial intelligence tools” based on copyright, quality, and ethical grounds.
The project’s stance aligns with broader FOSS community concerns about AI-generated pull requests degrading code quality and proprietary AI systems training on open-source code without explicit permission. GitHub recently added a setting to disable pull requests entirely, acknowledging complaints about AI-generated submissions overwhelming maintainers.
Migration Details and Timeline
Gentoo’s ebuild repository is currently live at codeberg.org/gentoo, with additional repositories scheduled to migrate under the Codeberg organization. The GitHub repository will remain active temporarily as a mirror during the transition period, though all primary development and contributions now occur on Codeberg.
Gentoo continues hosting its own primary Git infrastructure, bug tracking, and internal tools on self-hosted servers. Both GitHub and Codeberg serve as convenience mirrors for contributor access rather than replacing Gentoo’s core infrastructure.
Contributors can submit changes using AGit workflow, which allows direct push to the main repository without maintaining personal forks. The technical process involves cloning from Gentoo’s primary servers and pushing to Codeberg’s mirror with topic-based pull requests.
Codeberg’s Technical Foundation
Codeberg operates as a non-profit organization based in Berlin, Germany, running on the Forgejo software stack—a community-maintained fork of Gitea. The platform provides Git hosting, issue tracking, pull requests, and collaboration features similar to GitHub but under a governance model prioritizing open-source community interests over commercial objectives.
The non-profit structure means Codeberg operates on member donations and volunteer contributions rather than venture capital or corporate ownership, eliminating pressures to implement features that monetize user data or code.
Broader FOSS Platform Migration Trend
Gentoo joins other projects reassessing their reliance on centralized, corporate-owned development platforms. The migration reflects growing concern about platform concentration where a single provider controls hosting for a majority of open-source projects, creating dependency risks and potential conflicts between commercial interests and community values.
Similar movements toward decentralized infrastructure have accelerated as AI integration into development tools raises questions about code ownership, training data ethics, and whether contributions to platforms like GitHub constitute implicit permission for AI model training.
Follow us on Bluesky , LinkedIn , and X to Get Instant Updates



