[IMPORTANT] Guide for ports maintainers

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

[IMPORTANT] Guide for ports maintainers

Post by Giovanni »

Hello,

The number of ports is growing so I thought that it is better to write some guidelines.

Right now we have three kind of ports:
1) Ports in the main SVN repository. The code is released with ChibiOS.
2) Ports with their own repository with SVN links from the main repository. The code is released with ChibiOS.
3) Ports with their own GIT repository that cannot be linked from SVN as far I know. Usually those import the ChibiOS tree instead. Maintainers should offer downloads, I recommend freezing on a stable ChibiOS release and just include the parts of ChibiOS relevant for the port.

All types have equal status, I prefer types 2 and 3 because it allows for maximum effort independence. All port should use the provided templates for source code and try to conform to the style rules.

HAL LLD drivers must be Apache 2.0 license and can have the Copyright statement of the authors, there is no need to assign the copyright to me.

GPL licensed bits that must go in the main repositories must be assigned to me because I need to be able to re-license the code.

I am planning to write down a maturity scale for the various ports, this will help users understand the status of the effort. Just for example:
00 - Unmaintained.
10 - Pre-alpha.
20 - Unstable initial functionality.
30 - Stable functionality.
40 - Mature.
99 - Obsolete.

It would be a self-assessment by maintainers except for 00, I would rate the STM32 port at 35 for reference. Any suggestions about this?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [IMPORTANT] Guide for ports maintainers

Post by Giovanni »

Important update....

Apparently github allows to have a "subversion view" of git repositories: http://www.leewillis.co.uk/including-gi ... -external/

This means that a project handled on github could be linked from the ChibiOS repository using an "external".

Note that ports should provide 3 directories, assuming the port is named XXX:
./demos/XXX
./os/hal/ports/XXX
./testhal/XXX

We can do this for those ports classified at least stable.

Giovanni
colin
Posts: 149
Joined: Thu Dec 22, 2011 7:44 pm

Re: [IMPORTANT] Guide for ports maintainers

Post by colin »

I know the decision has been made to stick with SVN for now, but I have to say how amazingly easy and beautiful is the collaboration with Git. I hope sometime you will reconsider migrating to Git.
Post Reply