{"push_id":994693436,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"b9b7f018d493c760f10661a377a249f2de547615","before":"ec154b5f46bfee0781ca514e8f9078f33f08410a","commits":[{"sha":"23d120c3fd725f5deeb6a2165aa721befc5bedb3","author":{"email":"859d3fd8ca46de62a08fca56c64958e301f5352c@kitware.com","name":"Jean-Christophe Fillion-Robin"},"message":"STYLE: Rename compare tools using \"ActionVerb + Object\" convention\n\nPrevious commit 0acb1ff only removed the \"Command\" suffix.\n\nThis commit go further by changing the names of the application\nso that they begin with the action (Compare, Compute,\nSegment, Register) and then specify additional details such as the\nobject type and/or algorithmic details.\n\nHere were the steps:\n\n(1) Rename files:\n\n$ for file in $(find . | ack \"ImageCompare\"); do newfile=$(echo $file | sed -e 's/ImageCompare/CompareImages/'); echo \"Renaming $file to $newfile\"; mv $file $newfile; done\nRenaming ./Base/CompareTools/ImageCompare.xml to ./Base/CompareTools/CompareImages.xml\nRenaming ./Base/CompareTools/ImageCompare.cxx to ./Base/CompareTools/CompareImages.cxx\n\n$ for file in $(find . | ack \"TextCompare\"); do newfile=$(echo $file | sed -e 's/TextCompare/CompareTextFiles/'); echo \"Renaming $file to $newfile\"; mv $file $newfile; done\nRenaming ./Base/CompareTools/TextCompare.cxx to ./Base/CompareTools/CompareTextFiles.cxx\n\n$ for file in $(find . | ack \"JsonCompare\"); do newfile=$(echo $file | sed -e 's/JsonCompare/CompareJsonFiles/'); echo \"Renaming $file to $newfile\"; mv $file $newfile; done\nRenaming ./Base/CompareTools/JsonCompare.cxx to ./Base/CompareTools/CompareJsonFiles.cxx\nRenaming ./Base/Common/Testing/JsonCompareTestBaseline2.json to ./Base/Common/Testing/CompareJsonFilesTestBaseline2.json\nRenaming ./Base/Common/Testing/JsonCompareTestTest1.json to ./Base/Common/Testing/CompareJsonFilesTestTest1.json\nRenaming ./Base/Common/Testing/JsonCompareTestTest2.json to ./Base/Common/Testing/CompareJsonFilesTestTest2.json\nRenaming ./Base/Common/Testing/JsonCompareTestBaseline1.json to ./Base/Common/Testing/CompareJsonFilesTestBaseline1.json\n\n\n(2) Replace text occurences using KFileReplace\n\n\n(3) Run the tests:\n\n$ ctest -R \"^Compare\"\nTest project /home/jcfr/Projects/TubeTK-Refactor-BuildInITK-Release/TubeTK-build\n      Start 15: CompareImages-Test1_fetchData\n 1/17 Test 15: CompareImages-Test1_fetchData ....   Passed    0.00 sec\n      Start 16: CompareImages-Test1\n 2/17 Test 16: CompareImages-Test1 ..............   Passed    0.09 sec\n      Start 17: CompareImages-Test2_fetchData\n 3/17 Test 17: CompareImages-Test2_fetchData ....   Passed    0.00 sec\n      Start 18: CompareImages-Test2\n 4/17 Test 18: CompareImages-Test2 ..............   Passed    0.03 sec\n      Start 19: CompareImages-Test3_fetchData\n 5/17 Test 19: CompareImages-Test3_fetchData ....   Passed    0.00 sec\n      Start 20: CompareImages-Test3\n 6/17 Test 20: CompareImages-Test3 ..............   Passed    0.03 sec\n      Start 21: CompareImages-Test4_fetchData\n 7/17 Test 21: CompareImages-Test4_fetchData ....   Passed    0.00 sec\n      Start 22: CompareImages-Test4\n 8/17 Test 22: CompareImages-Test4 ..............   Passed    0.04 sec\n      Start 23: CompareImages-Test5_fetchData\n 9/17 Test 23: CompareImages-Test5_fetchData ....   Passed    0.01 sec\n      Start 24: CompareImages-Test5\n10/17 Test 24: CompareImages-Test5 ..............   Passed    0.04 sec\n      Start 25: CompareImages-Test6_fetchData\n11/17 Test 25: CompareImages-Test6_fetchData ....   Passed    0.00 sec\n      Start 26: CompareImages-Test6\n12/17 Test 26: CompareImages-Test6 ..............   Passed    0.02 sec\n      Start 27: CompareImages-Test7_fetchData\n13/17 Test 27: CompareImages-Test7_fetchData ....   Passed    0.00 sec\n      Start 28: CompareImages-Test7\n14/17 Test 28: CompareImages-Test7 ..............   Passed    0.02 sec\n      Start 29: CompareJsonFiles-Test1\n15/17 Test 29: CompareJsonFiles-Test1 ...........   Passed    0.00 sec\n      Start 30: CompareJsonFiles-Test2\n16/17 Test 30: CompareJsonFiles-Test2 ...........   Passed    0.00 sec\n      Start 31: CompareJsonFiles-Test3\n17/17 Test 31: CompareJsonFiles-Test3 ...........   Passed    0.00 sec","distinct":true,"url":"https://api.github.com/repos/KitwareMedical/TubeTK/commits/23d120c3fd725f5deeb6a2165aa721befc5bedb3"},{"sha":"b9b7f018d493c760f10661a377a249f2de547615","author":{"email":"859d3fd8ca46de62a08fca56c64958e301f5352c@kitware.com","name":"Jean-Christophe Fillion-Robin"},"message":"Merge pull request #613 from jcfr/rename-compare-tool-with-action-object\n\nSTYLE: Rename compare tools using \"ActionVerb + Object\" convention","distinct":true,"url":"https://api.github.com/repos/KitwareMedical/TubeTK/commits/b9b7f018d493c760f10661a377a249f2de547615"}]}