Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 185970

Summary: Copyright check should look for third-party copyrights
Product: z_Archived Reporter: jkubasta
Component: TPTPAssignee: Joshua Bowles <jbowles>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: ewchan, jcayne
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Adds distinctions for third party files in copyright-check.sh
none
Changes Copyright-check.sh to separate third party copyrights into their own file
none
Improved version of the copyright checker
none
Adds link on build report page for third party report
none
Adds ThirdpartyCopyright file to upload-driver.sh's list of file to upload none

Description jkubasta CLA 2007-05-08 11:36:27 EDT
Copyright checking tool should flag references to third-party copyrights
Comment 1 jkubasta CLA 2007-11-29 17:10:37 EST
Eugene, would you possibly be able to review this code please?
Comment 2 jkubasta CLA 2008-05-23 08:53:42 EDT
deferral to future with PMC approval
Comment 3 Joshua Bowles CLA 2008-08-15 09:54:22 EDT
How exactly should the plug-ins be flagged, just adding the words "Third Party" before the entry in the FilesWithCopyrights/BadOrMissingCopyrights files or should they be separated in to their own lists.
Comment 4 Joshua Bowles CLA 2008-08-19 13:27:02 EDT
Created attachment 110368 [details]
Adds distinctions for third party files in copyright-check.sh

This will remove third party files from the FilesWithCopyrights and BadOrMissingCopyrights files and lists them in a ThirdPartyFiles file.
Joel could you review the patch.
Comment 5 Joshua Bowles CLA 2008-08-27 16:43:27 EDT
Created attachment 111125 [details]
Changes Copyright-check.sh to separate third party copyrights into their own file

Disregard the previous patch as it did not search for the copyrights in the correct manner.  This patch causes Copyright-check.sh to list files that do not have the words IBM, Intel or Scapa in the copyright statement in a new file "ThirdPartyCopyrights".  It also currently ignores source files and certain OS specific files, tell me if that need to be changed.
Comment 6 Joshua Bowles CLA 2008-09-05 11:48:08 EDT
Created attachment 111835 [details]
Improved version of the copyright checker

Improvement on the old script, shortened grep statements to simplify them and moved the thirdparty checking statement to a better location to remove need to ignore source and native files.
Comment 7 Joshua Bowles CLA 2008-09-05 11:51:57 EDT
Created attachment 111836 [details]
Adds link on build report page for third party report
Comment 8 Eugene Chan CLA 2008-09-30 12:52:42 EDT
(In reply to comment #6)
> Created an attachment (id=111835) [details]
> Improved version of the copyright checker
> 
> Improvement on the old script, shortened grep statements to simplify them and
> moved the thirdparty checking statement to a better location to remove need to
> ignore source and native files.
> 
This patch looks okay to me.
Comment 9 Joel Cayne CLA 2008-10-07 10:28:24 EDT
Patches checked into HEAD.
Comment 10 Joshua Bowles CLA 2008-10-08 10:05:16 EDT
Created attachment 114550 [details]
Adds ThirdpartyCopyright file to upload-driver.sh's list of file to upload

Missed this, files weren't being uploaded to website yet.
Comment 11 Joshua Bowles CLA 2008-11-12 13:45:02 EST
Verified and resolving.
Comment 12 Joshua Bowles CLA 2008-12-04 14:48:49 EST
closing