ChibiOS has moved from SVN to Git

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
Post Reply
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

ChibiOS has moved from SVN to Git

Post by Giovanni »

ChibiOS has moved from SVN to Git

After many years on SourceForge Subversion, ChibiOS development has migrated to Git, hosted on GitHub. This is now the authoritative home for the source.

New repositories (under the chibios-upstream organization):
  • chibios — the OS itself: RT, NIL, HAL, SB, the test suites, demos and docs
  • chibios-tools — ChibiStudio tooling
  • chibios-ext — third-party libraries (FatFS, lwIP, littlefs, wolfSSL) as archives
  • chibios-ftl — FreeMarker code-generation templates
Getting the code

The ext/ and tools/ftl directories are Git submodules, so clone recursively:

Code: Select all

git clone --recurse-submodules https://github.com/chibios-upstream/chibios.git
git clone --recurse-submodules https://github.com/chibios-upstream/chibios-tools.git
If you already cloned without submodules, run:

Code: Select all

git submodule update --init --recursive
SSH works too — the submodule URLs are relative, so they follow whatever protocol you cloned with.

For existing SVN users — what maps to what
  • trunk becomes the branch main
  • branches/stable_XX.Y.x become the branches stable-19.1.x, stable-20.3.x, stable-21.11.x
  • tags/verXX.Y.Z become the tags ver_XX.Y.Z (tag names were normalized to a consistent ver_ prefix)
If you used to keep several branches in separate checkouts, Git worktrees reproduce that layout from a single clone:

Code: Select all

git clone --recurse-submodules https://github.com/chibios-upstream/chibios.git chibios
cd chibios
git worktree add ../chibios-stable-21.11.x stable-21.11.x
About history

The Git repository carries a release-snapshot history: one commit per release, with all release tags preserved and their original dates. The full revision-by-revision SVN history is not reproduced in Git; it remains available in the SourceForge SVN repository, which stays online as a permanent, read-only archive:

Code: Select all

https://svn.code.sf.net/p/chibios/code
The SVN repository is being frozen to read-only, so please do not rely on it for new commits.

Issues and tickets

Bug tracking moves to GitHub Issues on the chibios repository. We are importing the active (open and recent) SourceForge tickets; older and closed tickets remain in the SourceForge archive.

Contributing

Contributions are now made via fork and pull request on GitHub. Please remember to use --recurse-submodules when cloning your fork. The license is unchanged (GPL3 plus commercial, as before).

Thanks for bearing with the move. Git brings easier contribution, proper branching, and a smoother workflow for everyone.
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: ChibiOS has moved from SVN to Git

Post by alex31 »

Hello,

Unexpected breaking news :-)

Thanks for this move, it will make life easier for many people !

A.
Post Reply