[Twg] Managing code history and test collateral
Andreas Dilger
adilger at whamcloud.com
Thu May 5 16:54:19 UTC 2011
> From: Chris Gearing <chris at whamcloud.com>
>
> The greatest problem facing the code acceptance process for Lustre is establishing the complete history of the code being submitted. To fully establish the history the code development process must be documented from conception thru landing. This documentation which will form part of the landing collateral will include at least the requirements specification, the design document, test specification/plan, results of testing, the code itself and for copyright purposes the identity of the owner of the submitted code. A key piece of information that must be present is evidence in the form of failing tests that indicate the tests built are fit for purpose. Results showing the failing tests before code implementation are vital to demonstrate that passing results have value.
>
> As a timeline this collateral can be defined as;
> 1/ What is the requirement
> 2/ How will the requirement be met
> 3/ How will success be measured
> 4/ Validation that the code does not already meet the requirement
> 5/ The Code
> 6/ Validation the code now meets the requirement including general regression testing.
> 7/ Code ownership information.
>
> The documents can be extensive and detailed for a major project like the health network or updates of a bugtracker for a bug or small improvement, however in all cases each of the 7 collateral points must be covered. Another key requirement of all documents is that they must be free standing in their own right, this means that whilst references to other specifications or documents are obviously acceptable references to 'lustre-devel', 'email-threads' or 'Skype discussions' etc are not. In all cases a lustre capable gatekeeper should have at hand everything to answer the 7 points on the timeline without the need for any historical knowledge of the code change.
>
Cheers, Andreas
--
Andreas Dilger
Principal Engineer
Whamcloud, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensfs.org/pipermail/twg_lists.opensfs.org/attachments/20110505/2faf1910/attachment.html>
More information about the Twg
mailing list