summaryrefslogtreecommitdiffstats
path: root/Utilities/Git
Commit message (Collapse)AuthorAgeFilesLines
* Add pre-commit hook to check whether SetupForDevelopment must re-runBrad King2017-01-311-0/+13
| | | | | Add a version number to the `SetupForDevelopment.sh` script and use a pre-commit hook to check when it changes.
* pre-commit: Update KWSys rejection message for new upstream locationBrad King2016-12-131-1/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-273-33/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Merge topic 'import-KWSys-subtree'Brad King2012-11-071-8/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68579cd Merge branch 'upstream-kwsys' into import-KWSys-subtree cd83da9 KWSys 2012-11-05 (df32fa6f) 3517106 CTestCustom: Suppress LNK4089 warning about PSAPI 5c63fa3 Merge branch 'ctest-SUBMIT_INDEX-cdash' into import-KWSys-subtree 17fb60b Merge branch 'upstream-kwsys' into import-KWSys-subtree 7ae44db KWSys 2012-10-16 (b7a97ac3) 97c9887 pre-commit: Update KWSys rejection message for new workflow 3db0b51 KWSys: Submit dashboard builds to PublicDashboard 4b8d363 Merge branch 'upstream-kwsys' into import-KWSys-subtree a61f633 Merge branch 'master' into import-KWSys-subtree 8c55ea0 Merge branch 'upstream-kwsys' into import-KWSys-subtree 5d0de36 KWSys 2012-10-01 (bab53989) 7d3c295 KWSys 2012-05-02 (719638e2)
| * pre-commit: Update KWSys rejection message for new workflowBrad King2012-10-051-8/+6
| | | | | | | | | | KWSys is now kept in its own Git repository. We manually extract snapshots of KWSys versions to update the Source/kwsys directory.
* | pre-commit: Reject C++ code with lines too longBrad King2012-07-171-0/+20
|/ | | | | Check changes in Source/*.h and Source/*.cxx for lines longer than our style limit.
* pre-commit: Reject changes to KWSys through GitBrad King2011-10-241-2/+26
| | | | Explain in the rejection message why KWSys cannot be changed in Git.
* Add pre-commit|commit-msg|prepare-commit-msg hook placeholdersBrad King2011-10-243-0/+61
Add CMake-specific hook placeholders that chain from the main hooks branch after it is installed into the local .git/hooks directory.