Fullscreen
[Show/Hide Right Column]

Close
noteNote
This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site

Code Review

2010-06-14: Work has started and this is part of Tiki6. You can Dogfood at code.tiki.org and on your own server with the software project profile


Code.tiki.org

Todo

  • setup voting (in profile too)
  • setup permissions (in profile too)
  • comments (in profile too)
  • syntax highlighting for diffs (needs coding)

Background info


It was brought up in TikiFestStrasbourg that we want a more systematic way to collectively review code commits.

Our vast project relies on enough eyeballs. This means quantity but also diversity. Right now, we don't know if a commit was checked by 6 people and another, by no one. Let's become more efficient.

ImpressCMS has a nifty system. It's a web-based review queue of all commits. Devs can approve, add a comment, ask for rollback, etc. And for everything except approve, an email is triggered to the dev list and the relevant comments are kept in the web-based system. And they connect this to their Trac instance.

This is quite similar to the informal way we do it now. We tend to reply to the SVN commit mailing list with feedback.

And if you are not comfortable to review a commit, you just move on to the next one and let a dev with more experience in that part of the code handle it.

This ticket/case tracking is very similar to the use case for GroupMail. I think it could make great dogfood.

We could also imagine two approve buttons "the fix/feature works" and "the code is of quality and future-proof". This could be useful in the case a programmer doesn't have sample data to test. Programmer could report that code is "right way of doing it" and "it should work" while a power-user who has the data could confirm that the "fix indeed works" and "hasn't broken anything for me".

People could put a special syntax in the commit message that could close the bug, add a note, etc.

This can save the Quality Team a lot of time.

Please see ImpressCMS example

Image
svn commit -m "[FIX] Add new Tiki Coffee feature. Solve #2345" tiki-coffee.php


This should trigger to close the ticket #2345 and add the note, and ideally, a link to SVN: example

Questions

  • What if one of the servers is not accessible? Will it retry ater?


Related

Other apps


Page last modified on Friday 03 February, 2012 17:36:00 UTC

Search Wishes (subject only) [toggle]

Categorize Code review

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.