blob: 647d3597b249f13c38ba218f391884fd83d9f755 [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="1231px" preserveAspectRatio="none" style="width:909px;height:1231px;background:#FFFFFF;" version="1.1" viewBox="0 0 909 1231" width="909px" 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="535" x="180.5" y="17.4023">Apache/Skywalking-Eyes: Header fix process activity diagram</text><!--MD5=[12f9a589874d42fca04c670f992dfeae]
cluster singleFileProcess--><polygon fill="#FFFFFF" filter="url(#f1dp2z8cpqnugx)" points="16,164.1992,147,164.1992,154,186.6875,882,186.6875,882,1095.1992,16,1095.1992,16,164.1992" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:1.5;" x1="16" x2="154" y1="186.6875" y2="186.6875"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="125" x="20" y="179.7344">singleFileProcess</text><ellipse cx="782" cy="38.1992" fill="#000000" filter="url(#f1dp2z8cpqnugx)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="48.2656" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="226" x="669" y="89.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="206" x="679" y="110.8008">Start of 'header fix'. Processing files</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="200" x="682" y="124.9336">without proper headers file by file.</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="175" x="599.5" y="1124.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="155" x="609.5" y="1145.8008">End of 'header fix' process</text><ellipse cx="687" cy="1205.1992" filter="url(#f1dp2z8cpqnugx)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.0;fill:none;"/><ellipse cx="687.5" cy="1205.6992" fill="#000000" rx="6" ry="6" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="168" x="698" y="191.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="148" x="708" y="212.8008">Start of single file process</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="782,262.1992,794,274.1992,782,286.1992,770,274.1992,782,262.1992" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="196" x="640" y="336.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="176" x="650" y="357.8008">Try to fix license header of file</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="731,407.1992,743,419.1992,731,431.1992,719,419.1992,731,407.1992" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="229" x="478.5" y="481.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="47" x="488.5" y="502.8008">Look for</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="28" x="539.5" y="502.8008">After</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="130" x="567.5" y="502.8008">-pattern in file content</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="590,552.1992,602,564.1992,590,576.1992,578,564.1992,590,552.1992" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="367" x="24.5" y="944.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="347" x="34.5" y="965.8008">fileContent := contentPart1 + licenseHeader + contentPart2</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="245" x="564.5" y="1053.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="225" x="574.5" y="1074.8008">End of fixing license header for this file</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="156" x="512" y="677.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="28" x="522" y="698.8008">After</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="108" x="550" y="698.8008">-pattern not found</text><polygon fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" points="590,748.1992,602,760.1992,590,772.1992,578,760.1992,590,748.1992" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="424" x="410" y="944.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="79" x="420" y="965.8008">fileContent :=</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="67" x="503" y="965.8008">ensureAfter</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="110" x="574" y="965.8008">+ licenseHeader +</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="76" x="688" y="965.8008">ensureBefore</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="56" x="768" y="965.8008">+ content</text><rect fill="#FEFECE" filter="url(#f1dp2z8cpqnugx)" height="34.1328" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="245" x="608.5" y="873.1992"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="225" x="618.5" y="894.8008">fileContent := licenseHeader + content</text><path d="M782,52.293 C782,62.1213 782,76.7871 782,89.1476 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="782,89.1476,786,80.1476,782,84.1476,778,80.1476,782,89.1476" style="stroke:#A80036;stroke-width:1.0;"/><path d="M782,137.667 C782,154.348 782,176.3193 782,191.0596 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="782,191.0596,786,182.0596,782,186.0596,778,182.0596,782,191.0596" style="stroke:#A80036;stroke-width:1.0;"/><path d="M782,225.3491 C782,236.7544 782,251.7536 782,261.8954 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="782,261.8954,786,252.8954,782,256.8954,778,252.8954,782,261.8954" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacing" textLength="97" x="511" y="259.5302">comment_style_id</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="170" x="611" y="259.5302">is set for this language/file type</text><path d="M775.6959,286.2314 C768.2345,299.2889 755.747,321.142 747.2046,336.0912 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="747.2046,336.0912,755.1428,330.2616,749.6853,331.75,748.1969,326.2925,747.2046,336.0912" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="766" y="315.834">yes</text><path d="M736.2336,370.3491 C734.9861,381.7544 733.3456,396.7536 732.2364,406.8954 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="732.2364,406.8954,737.1912,398.3837,732.78,401.9251,729.2386,397.5139,732.2364,406.8954" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacing" textLength="27" x="580.2364" y="404.5302">After</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="121" x="610.2364" y="404.5302">is set in CommentStyle</text><path d="M718.7534,427.0325 C697.1831,439.0681 651.8704,464.3512 621.9411,481.0509 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="621.9411,481.0509,631.7495,480.1587,626.3074,478.6146,627.8515,473.1726,621.9411,481.0509" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="679" y="460.834">yes</text><path d="M592.243,515.3491 C591.7083,526.7544 591.0053,541.7536 590.5299,551.8954 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="590.5299,551.8954,594.9469,543.0926,590.764,546.9009,586.9557,542.718,590.5299,551.8954" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="86" x="503.5299" y="549.5302">pattern is found</text><path d="M577.7684,565.3049 C528.8611,566.0512 350,572.0065 350,619.1992 C350,619.1992 350,619.1992 350,891.1992 C350,917.7861 329.6131,934.1314 304.2887,944.1793 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="304.2887,944.1793,314.1295,944.5781,308.9362,942.3353,311.1791,937.1421,304.2887,944.1793" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="351" y="764.834">yes</text><path d="M279.7111,978.2182 C370.1429,998.419 524.7126,1032.9471 615.1907,1053.1583 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="615.1907,1053.1583,607.2792,1047.2924,610.311,1052.0683,605.5352,1055.1,615.1907,1053.1583" style="stroke:#A80036;stroke-width:1.0;"/><path d="M590,576.5584 C590,599.319 590,650.5795 590,676.9108 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="590,676.9108,594,667.9108,590,671.9108,586,667.9108,590,676.9108" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="591" y="624.834">no</text><path d="M590,711.3491 C590,722.7544 590,737.7536 590,747.8954 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="590,747.8954,594,738.8954,590,742.8954,586,738.8954,590,747.8954" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacing" textLength="68" x="490" y="745.5302">ensure_after</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="28" x="561" y="745.5302">is set</text><path d="M589.5455,772.3703 C588.8044,797.0598 588.4284,857.9821 600,907.1992 C603.0098,920.0008 608.7649,933.6918 613.6339,943.9515 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="613.6339,943.9515,613.3889,934.1057,611.4902,939.4344,606.1615,937.5357,613.6339,943.9515" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="592" y="852.834">yes</text><path d="M631.8721,978.4502 C644.1602,998.6783 665.016,1033.0102 677.248,1053.1459 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="677.248,1053.1459,675.9939,1043.3772,674.652,1048.8726,669.1566,1047.5307,677.248,1053.1459" style="stroke:#A80036;stroke-width:1.0;"/><path d="M602.0216,772.1124 C626.9289,794.7233 684.2691,846.7768 713.3696,873.1943 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="713.3696,873.1943,709.3944,864.1833,709.6675,869.8335,704.0172,870.1066,713.3696,873.1943" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="659" y="820.834">no</text><path d="M731,431.421 C731,446.413 731,473.8051 731,497.1992 C731,497.1992 731,497.1992 731,817.1992 C731,836.4492 731,858.5942 731,873.1851 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="731,873.1851,735,864.1851,731,868.1851,727,864.1851,731,873.1851" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="732" y="656.834">no</text><path d="M795.2055,907.2322 C813.8266,915.1824 832.0685,926.9326 843,944.1992 C851.0831,956.9667 850.5263,965.0957 843,978.1992 C821.3712,1015.8557 777.4846,1039.4022 741.7545,1053.0842 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="741.7545,1053.0842,751.5898,1053.6012,746.4239,1051.2962,748.7289,1046.1302,741.7545,1053.0842" style="stroke:#A80036;stroke-width:1.0;"/><path d="M794.2107,280.6321 C815.6942,291.1187 858,316.3238 858,352.1992 C858,352.1992 858,352.1992 858,653.1992 C858,774.2718 873,804.1266 873,925.1992 C873,925.1992 873,925.1992 873,1016.1992 C873,1033.1976 843.9047,1045.0406 808.7289,1053.1472 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="808.7289,1053.1472,818.3973,1055.0239,813.6012,1052.0243,816.6007,1047.2282,808.7289,1053.1472" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="14" x="860" y="698.834">no</text><path d="M687,1087.2026 C687,1098.1905 687,1112.7323 687,1123.8034 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="687,1123.8034,691,1114.8034,687,1118.8034,683,1114.8034,687,1123.8034" style="stroke:#A80036;stroke-width:1.0;"/><path d="M687,1158.3491 C687,1169.7544 687,1184.7536 687,1194.8954 " fill="none" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="687,1194.8954,691,1185.8954,687,1189.8954,683,1185.8954,687,1194.8954" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#888888" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="122" x="387" y="1222.8672">apache/skywalking-eyes</text></g></svg>