|
|
Heads up: CDDL checking tool added to SUNWonbld toolset
Date: Tue, 14 Feb 2006 09:10:32 +0000
From: Alan Burlison <Alan dot Burlison at sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com, on-all at sun dot com
Subject: Heads up: CDDL checking tool added to SUNWonbld toolset
As a result of the putback of:
6284655 wx needs to help keep source CDDLed
a new tool- cddlchk - is available to check that source files contain a
valid CDDL license block. cddlchk has been added to the checks run by
'wx pbchk' and 'wx nits', and there is a new option - 'wx cddlchk'.
In terms of licensing policy, nothing has changed, you should still
adhere to the guidelines in http://onnv.sfbay/copyright-policy.html.
Note that since the original CDDL block was added to most of ON, the text
of the block has changed (bug 6307123), and cddlchk will complain if it
finds the old version:
Error: Invalid line in CDDL block in file
usr/src/nobody/ever/reads/the/fine/print.c
at line 5, should be
'[#*!/\";. ]*Common Development and Distribution License (the "License").'
is
' * Common Development and Distribution License, Version 1.0 only'
The gate staff didn't send out a heads-up at the time, and they apologize
for the confusion it is causing now (and may have caused a few people in
the past few months).
'wx pbchk', 'wx nits' and 'wx cddlchk' will check that any new files
contain a valid CDDL block. For existing files, if they already contain
a CDDL block it must be valid, but if an existing file does not already
contain a CDDL block (e.g. because it is 3rd party source) no errors
will be reported. If you need to override this behaviour (e.g. because
a new file is 3rd party source, or because it can't accept comments) you
can suppress the errors by listing the file in $CODEMGR_WS/wx/cddlchk.NOT.
If you maintain a machine with a local installation of the SUNWonbld
package, remember to update it to get cddlchk and the modified wx.
--
Alan Burlison
--
|