agrc / forklift

:tractor::package::sparkles: Slinging data all over the place :tractor::package::sparkles:
MIT License
28 stars 3 forks source link

Add forklift version to the bottom of all emails #300

Closed stdavis closed 5 years ago

stdavis commented 5 years ago

Description of Changes

This pull request adds a small paragraph to the end of all emails with the current forklift version. image

image

Test results and coverage

----------- coverage: platform win32, python 3.6.8-final-0 -----------
Name                                                                                                  Stmts   Miss Branch BrPart     Cover   Missing
----------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\__main__.py       71
71     42      0     0.00%   3-189
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\arcgis.py        113
29     32      2    70.34%   26, 79-107, 137-138, 143, 146, 163, 181, 198-200, 222-224, 178->181, 197->198
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\config.py         50
 1     20      2    95.71%   82, 81->82, 117->116
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\core.py          186
 5     72      3    96.12%   122, 145-146, 345, 415, 121->122, 292->291, 414->415
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\engine.py        428    147    142     11    63.86%   133, 202, 215, 228-303, 317-319, 369-440, 470, 480, 486-496, 501-514, 530, 550, 569, 582-585, 645-646, 651, 665-671, 677, 684, 730, 835-875, 130->133, 214->215, 227->228, 307->341, 316->317, 529->530, 568->569, 642->645, 648->651, 681->684, 729->730
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\lift.py          145
51     52      4    60.91%   39, 149-152, 159-160, 183-194, 229-250, 277, 281, 288-291, 306-313, 342-353, 38->39, 148->149, 155->159, 280->281
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\messaging.py      39
 1      6      0    97.78%   55
C:\Users\agrc-arcgis\AppData\Local\ESRI\conda\envs\forklift\Lib\site-packages\forklift\models.py        192
 4     56      3    96.37%   89, 392, 444-445, 176->175, 389->392, 436->444
----------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                                  1246    309    428     25    72.40%

3 files skipped due to complete coverage.

============================ 175 passed, 69 skipped, 5 warnings in 337.14 seconds =============================

Speed test results

Setting up speed test...
Tests ready starting dry run...
Changing data...
Repeating test...
Dry Run Output

    5 out of 5 pallets ran successfully in 2.38 minutes.
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:LargeDataPallet (70.21 seconds)
                           AddressPoints - Warning generated during update and data updated successfully.
crate message: duplicate features detected!
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:LargeDataPalletNoReproject (44.35 seconds)
                  AddressPointsNoProject - Warning generated during update and data updated successfully.
crate message: duplicate features detected!
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:ShapefilePallet (10464 ms)
                   CountiesFromShapefile - Created table successfully.
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:SmallDataPallet (8539 ms)
                                Counties - Created table successfully.
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:TablePallet (6962 ms)
                              SchoolInfo - Created table successfully.

Repeat Run Output

    5 out of 5 pallets ran successfully in 86.55 seconds.
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:LargeDataPallet (7381 ms)
                           AddressPoints - Warning generated during update. Data not modified.
crate message: duplicate features detected!
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:LargeDataPalletNoReproject (66.38 seconds)
                  AddressPointsNoProject - Warning generated during update and data updated successfully.
crate message: duplicate features detected!
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:ShapefilePallet (2608 ms)
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:SmallDataPallet (3448 ms)
C:\Projects\forklift\src\forklift\..\..\speedtest\SpeedTestPallet.py:TablePallet (4214 ms)

Speed Test Results
Dry Run: 2.38 minutes
Repeat: 86.55 seconds
steveoh commented 5 years ago

I'll let you merge and decide what you would like to do with that comment! 🚜❤