blob: 7a718a7ecf5c7ec9a43ca1830214f89b3d9ceba1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="1230px" preserveAspectRatio="none" style="width:983px;height:1230px;background:#FFFFFF;" version="1.1" viewBox="0 0 983 1230" width="983px" zoomAndPan="magnify"><defs><filter height="300%" id="f1dp2z8cpqnugx" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="18" lengthAdjust="spacing" textLength="544" x="213.25" y="16.708">Apache/Skywalking-Eyes: Header fix process activity diagram</text><!--MD5=[12f9a589874d42fca04c670f992dfeae]
cluster singleFileProcess--><polygon fill="#FFFFFF" filter="url(#f1dp2z8cpqnugx)" points="16,163.9531,160,163.9531,167,186.25,952,186.25,952,1094.9531,16,1094.9531,16,163.9531" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="16" x2="167" y1="186.25" y2="186.25"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="138" x="20" y="178.9482">singleFileProcess</text><ellipse cx="847" cy="37.9531" fill="#000000" filter="url(#f1dp2z8cpqnugx)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="245" x="724.5" y="88.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="225" x="734.5" y="110.0918">Start of 'header fix'. Processing files</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="214" x="740" y="124.0605">without proper headers file by file.</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="186" x="650" y="1123.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="166" x="660" y="1145.0918">End of 'header fix' process</text><ellipse cx="743" cy="1204.9531" filter="url(#f1dp2z8cpqnugx)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.0;fill:none;"/><ellipse cx="743.5" cy="1205.4531" fill="#000000" rx="6" ry="6" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="184" x="755" y="190.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="164" x="765" y="212.0918">Start of single file process</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="847,261.9531,859,273.9531,847,285.9531,835,273.9531,847,261.9531" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="207" x="697.5" y="335.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="187" x="707.5" y="357.0918">Try to fix license header of file</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="790,406.9531,802,418.9531,790,430.9531,778,418.9531,790,406.9531" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="245" x="520.5" y="480.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="50" x="530.5" y="502.0918">Look for</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="30" x="584.5" y="502.0918">After</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="141" x="614.5" y="502.0918">-pattern in file content</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="639,551.9531,651,563.9531,639,575.9531,627,563.9531,639,551.9531" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="402" x="24" y="943.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="382" x="34" y="965.0918">fileContent := contentPart1 + licenseHeader + contentPart2</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="263" x="611.5" y="1052.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="243" x="621.5" y="1074.0918">End of fixing license header for this file</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="166" x="556" y="676.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="30" x="566" y="698.0918">After</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="116" x="596" y="698.0918">-pattern not found</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="639,747.9531,651,759.9531,639,771.9531,627,759.9531,639,747.9531" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="460" x="444" y="943.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="86" x="454" y="965.0918">fileContent :=</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="73" x="544" y="965.0918">ensureAfter</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="118" x="621" y="965.0918">+ licenseHeader +</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="84" x="743" y="965.0918">ensureBefore</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="63" x="831" y="965.0918">+ content</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="267" x="656.5" y="872.9531"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="247" x="666.5" y="894.0918">fileContent := licenseHeader + content</text><path d="M847,52.0469 C847,61.8752 847,76.541 847,88.9015 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="847,88.9015,851,79.9015,847,83.9015,843,79.9015,847,88.9015" style="stroke:#A80036;stroke-width:1.0;"/><path d="M847,137.421 C847,154.1019 847,176.0732 847,190.8135 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="847,190.8135,851,181.8135,847,185.8135,843,181.8135,847,190.8135" style="stroke:#A80036;stroke-width:1.0;"/><path d="M847,225.103 C847,236.5083 847,251.5075 847,261.6493 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="847,261.6493,851,252.6493,847,256.6493,843,252.6493,847,261.6493" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacing" textLength="102" x="558" y="258.8598">comment_style_id</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="182" x="664" y="258.8598">is set for this language/file type</text><path d="M840.4093,285.9853 C832.6087,299.0428 819.5537,320.8959 810.623,335.8451 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="810.623,335.8451,818.6726,330.1703,813.1872,331.5527,811.8048,326.0674,810.623,335.8451" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="20" x="830" y="315.1636">yes</text><path d="M798.2242,370.103 C796.2639,381.5083 793.686,396.5075 791.9428,406.6493 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="791.9428,406.6493,797.4096,398.457,792.7898,401.7216,789.5252,397.1018,791.9428,406.6493" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacing" textLength="28" x="625.9428" y="403.8598">After</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="133" x="657.9428" y="403.8598">is set in CommentStyle</text><path d="M777.9704,426.2544 C755.4108,438.0713 706.1136,463.8936 673.7559,480.8429 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="673.7559,480.8429,683.5844,480.2102,678.185,478.5229,679.8723,473.1235,673.7559,480.8429" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="20" x="734" y="460.1636">yes</text><path d="M641.9906,515.103 C641.2778,526.5083 640.3404,541.5075 639.7065,551.6493 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="639.7065,551.6493,644.2601,542.9164,640.0184,546.6591,636.2757,542.4174,639.7065,551.6493" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="91" x="547.7065" y="548.8598">pattern is found</text><path d="M626.9022,564.8698 C575.8946,564.837 381,568.0426 381,618.9531 C381,618.9531 381,618.9531 381,890.9531 C381,917.3099 362.1451,933.6801 337.5453,943.822 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="337.5453,943.822,347.3905,944.0897,342.1679,941.9162,344.3413,936.6936,337.5453,943.822" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="20" x="382" y="764.1636">yes</text><path d="M302.5498,977.9721 C400.3445,998.1729 567.4992,1032.701 665.344,1052.9122 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="665.344,1052.9122,657.3393,1047.1743,660.4474,1051.9008,655.7209,1055.0089,665.344,1052.9122" style="stroke:#A80036;stroke-width:1.0;"/><path d="M639,576.3123 C639,599.0729 639,650.3334 639,676.6647 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="639,676.6647,643,667.6647,639,671.6647,635,667.6647,639,676.6647" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="640" y="624.1636">no</text><path d="M639,711.103 C639,722.5083 639,737.5075 639,747.6493 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="639,747.6493,643,738.6493,639,742.6493,635,738.6493,639,747.6493" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacing" textLength="72" x="530" y="744.8598">ensure_after</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="32" x="606" y="744.8598">is set</text><path d="M638.2162,772.1783 C636.8018,796.9756 635.0657,858.0996 648,906.9531 C651.4625,920.0311 658.2669,933.7135 664.0463,943.9 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="664.0463,943.9,663.0841,934.0982,661.5789,939.5511,656.126,938.046,664.0463,943.9" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="20" x="640" y="852.1636">yes</text><path d="M684.4796,978.2041 C697.5239,998.4322 719.6631,1032.7641 732.6478,1052.8998 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="732.6478,1052.8998,731.132,1043.1683,729.9381,1048.6977,724.4087,1047.5039,732.6478,1052.8998" style="stroke:#A80036;stroke-width:1.0;"/><path d="M651.1017,771.2115 C677.3457,793.4581 739.6572,846.2784 771.1246,872.9527 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="771.1246,872.9527,766.8457,864.0819,767.3105,869.7196,761.6728,870.1844,771.1246,872.9527" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="712" y="820.1636">no</text><path d="M790,431.1749 C790,446.1669 790,473.559 790,496.9531 C790,496.9531 790,496.9531 790,816.9531 C790,836.2031 790,858.3481 790,872.939 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="790,872.939,794,863.939,790,867.939,786,863.939,790,872.939" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="791" y="656.1636">no</text><path d="M863.8938,906.9868 C883.0864,914.8612 901.5609,926.5682 913,943.9531 C921.3062,956.5767 920.7647,964.9895 913,977.9531 C889.9499,1016.4364 844.4526,1039.5653 806.323,1052.87 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="806.323,1052.87,816.1383,1053.6816,811.0438,1051.2227,813.5027,1046.1282,806.323,1052.87" style="stroke:#A80036;stroke-width:1.0;"/><path d="M859.3022,279.8442 C881.9617,289.7574 928,314.5062 928,351.9531 C928,351.9531 928,351.9531 928,652.9531 C928,774.0257 943,803.8806 943,924.9531 C943,924.9531 943,924.9531 943,1015.9531 C943,1034.0033 912.1765,1046.0495 874.7307,1054.0239 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="874.7307,1054.0239,884.3665,1056.0616,879.6211,1052.9825,882.7002,1048.237,874.7307,1054.0239" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="930" y="698.1636">no</text><path d="M743,1086.9565 C743,1097.9444 743,1112.4862 743,1123.5573 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="743,1123.5573,747,1114.5573,743,1118.5573,739,1114.5573,743,1123.5573" style="stroke:#A80036;stroke-width:1.0;"/><path d="M743,1158.103 C743,1169.5083 743,1184.5075 743,1194.6493 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="743,1194.6493,747,1185.6493,743,1189.6493,739,1185.6493,743,1194.6493" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#888888" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="116" x="427.25" y="1222.2354">apache/skywalking-eyes</text></g></svg>