[Gambas-user] Code Reviews
Sebastian Kulesz
sebikul at ...626...
Wed Aug 29 05:59:35 CEST 2012
Okey, i will try to follow this line: What-> Why -> How
What?? I will be short; I created a website on google appengine for
code reviews [0] It allows you to publish any patch, either of a few
lines or a monstrous multi-file spaghetti. But the main feature is
that it allows other people to *comment* on single lines of that code,
or (re*n)publish that same patch with new changes and comments.
The reason for this is evident if you have been following the the
activity on the mailing list regarding the gb.net.pop3 component (and
obviously, a large amount of other threads about bugs, quick fixes,
etc). Pasting code on the list is effective(?), but, how can other
users provide feedback? There is everything from inline comments to
large -------->, which sometimes are overlooked.
Regrettably, neither Sourceforge nor ViewVC provide code comments
(like launchpad or google code does)
The how is extremely simple. Go to the website, (login with a google
account), click *Create Issue*, write a title and upload the patch.
This is as easy as "svn diff > patch".
It is integrated to the svn repository, so if you upload a patch of a
file (in the correct way), the full diff can be viewed online
side-by-side or only the changed lines. To share an issue
(collection/series of diff files) just copy and paste the url in the
list. For a detailed instructions manual, please visit this page [1]
I added 2 really simple examples so you can see how it works.
<b>Please feel free to play</b>. Code snippets can also be added, so
others can improve them (then they can be added to trunk or the wiki
snippets page)
* Consider this as an experiment, it can either work or not. i really
hope it does, bit it's okey if it doesn't
[0] https://gambas-svn.appspot.com/
[1] http://code.google.com/p/rietveld/wiki/CodeReviewHelp
More information about the User
mailing list