CONGRATULATIONS - This task appears to be completed except for the SQL scripts! Great work!
This page is being used to track the task of fixing all the license headers in Derby, as tracked through DERBY-1377.
Through this page I hope to coordinate the efforts of multiple people (meaning at least one more than me) working through all the Derby source files and modifying their license headers.
Here are the scripts to do this:
Warnings:
- Scripts fail if startDir is given as '.' and it contains subdirectories. Workaround: Use absolute directory name. -DagW
- These scripts have been built for UNIX environments. YMMV on Windows environments. - davidvc
- In one case update-AL20.pl reported a file updated that was not in fact updated. -jean
- You can use -v (for verbose) to get more information - davidvc
- I recommend running 'ant clobber' before running your scripts, otherwise they may try to insert license headers into generated files. No biggie if they do, but it could be confusing to you as you review the changes that were made. - davidvc
The file relicense.txt provides instructions on how to do this. Basically here is what I do:
- Pick a directory
- Run insert_license.pl as a practice run. Investigate log, and if OK, re-run without -p. You may need to tweak the extensions and comment settings for a given file type, but I think I've fixed most of these. One thing I noticed is that shell scripts without a #! leading comment need to be adjusted
- Run update-AL20.pl as a practice run. Investigate log, and if it looks OK, re-run without -p
- Look at the svn diff output
- Do a clean build and make sure it builds
- Do any other sanity checking you think needs to be done
- Commit
Below is a table showing all directories, with assignees and status. Grab a directory or an entire subtree by putting your name in the Assignee column (you can delete subdirectories if you're grabbing a subtree) and start working on it.
When analyzing which files to convert, think about whether the file has any creative content or if it's pretty "automated" or "brainless". If in doubt, add the license text.
It is generally recommended to convert and commit a single directory at a time. This makes the changes easier to scan for errors and the size of the commits stay manageable. However in some cases if there is a subtree that does not have a lot of files, you can probably do the subtree in one go.
Directory |
Assignee |
Status |
Comments |
frameworks |
David VC |
Completed |
|
java/build |
David VC |
Completed |
|
java/tools |
David VC / Andrew M |
Completed |
|
java/demo |
Andrew M |
Completed |
|
java/engine |
DavidVC |
Completed |
|
java/engine/org |
DavidVC |
Completed |
|
java/engine/org/apache |
DavidVC |
Completed |
|
java/engine/org/apache/derby |
DavidVC |
Completed |
|
java/engine/org/apache/derby/authentication |
Andrew M |
Completed |
|
java/engine/org/apache/derby/impl |
DagW / RickH |
Completed |
|
java/engine/org/apache/derby/osgi |
Andrew M |
Completed |
|
java/engine/org/apache/derby/iapi |
DavidVC |
Completed |
|
java/engine/org/apache/derby/iapi/sql |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/sql/compile |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/sql/conn |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/sql/depend |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/sql/execute |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/sql/dictionary |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/jdbc |
Rick H |
Completed |
|
java/engine/org/apache/derby/iapi/services |
Rick H |
Completed |
|
java/engine/org/apache/derby/iapi/types |
Rick H |
Completed |
|
java/engine/org/apache/derby/iapi/db |
Rick H |
Completed |
|
java/engine/org/apache/derby/iapi/error |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/store |
Rick H |
Completed |
|
java/engine/org/apache/derby/iapi/util |
DagW |
Completed |
|
java/engine/org/apache/derby/iapi/reference |
Dagw |
Completed |
|
java/engine/org/apache/derby/jdbc |
Andrew M |
Completed |
|
java/engine/org/apache/derby/vti |
Andrew M |
Completed |
|
java/engine/org/apache/derby/database |
Andrew M |
Completed |
|
java/engine/org/apache/derby/diag |
Andrew M |
Completed |
|
java/engine/org/apache/derby/io |
Andrew M |
Completed |
|
java/engine/org/apache/derby/catalog |
Andrew M |
Completed |
|
java/engine/org/apache/derby/loc |
Andrew M |
Completed |
|
java/shared |
Rick H |
Completed |
|
java/drda |
Andrew M |
Completed |
|
java/testing |
|
|
|
java/testing/org |
|
|
|
java/testing/org/apache |
|
|
|
java/testing/org/apache/derbyTesting |
|
|
|
java/testing/org/apache/derbyTesting/unitTests |
Andrew M |
Completed |
|
java/testing/org/apache/derbyTesting/functionTests |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests |
Andrew M |
.java files complete in trunk |
only .java files updated for 10.2.0/1, solution for .sql files required by 10.2.2 |
java/testing/org/apache/derbyTesting/functionTests/tests/i18n |
DavidVC |
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/i18n/data |
DavidVC |
Completed |
No creative works... |
java/testing/org/apache/derbyTesting/functionTests/tests/storetests |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/unit |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/tools |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/lang |
DagW |
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/lang/xmlTestFiles |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/demo |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/largedata |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4 |
Rick H |
Completed |
|
java/testing/org/apache/derbyTesting/functionTests/tests/memory |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/derbynet |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/junitTests |
Rick H |
Completed |
|
java/testing/org/apache/derbyTesting/functionTests/tests/store |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/tests/nist |
|
|
|
java/testing/org/apache/derbyTesting/functionTests/harness |
Andrew M |
Completed |
|
java/testing/org/apache/derbyTesting/functionTests/testData |
Andrew M |
Completed |
updated build.xml, the rest is fixed format data for tests. |
java/testing/org/apache/derbyTesting/functionTests/multi |
Andrew M |
Completed |
updated build.xml, the rest are very simple .sql and .properties files |
java/testing/org/apache/derbyTesting/functionTests/master |
|
|
Not needed, these are all output files |
java/testing/org/apache/derbyTesting/functionTests/suites |
|
|
Not needed, just lists of tests |
java/testing/org/apache/derbyTesting/functionTests/util |
Andrew M |
Completed |
|
java/client |
Andrew M |
Completed |
|
plugins |
Jean A |
Completed |
|
tools |
David |
Completed |
|