Zernit/Zernit.drawio
2020-02-21 01:56:19 +01:00

89 lines
8.3 KiB
Plaintext

<mxfile host="www.draw.io" modified="2020-02-21T00:56:14.754Z" agent="Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0" etag="epH6uhi7faczxcw1-xnr" version="12.7.2" type="github">
<diagram id="XR5g8oToN-AzZHMann27" name="Page-1">
<mxGraphModel dx="493" dy="294" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="none" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="4reyHjq-1IWQWPBtuEJG-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-6" target="4reyHjq-1IWQWPBtuEJG-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-6" value="&lt;div&gt;Zernit&lt;/div&gt;" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="410" y="310" width="50" height="50" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-10" target="4reyHjq-1IWQWPBtuEJG-25">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-10" value="Source" style="swimlane;startSize=23;" vertex="1" parent="1">
<mxGeometry x="335" y="390" width="200" height="50" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-12" value="&lt;div style=&quot;font-size: 10px&quot;&gt;Abstract for source code implementation&lt;/div&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-10">
<mxGeometry x="5" y="20" width="190" height="20" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-18" target="4reyHjq-1IWQWPBtuEJG-36">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-18" value="Resolve" style="swimlane;startSize=23;" vertex="1" parent="1">
<mxGeometry x="270" y="550" width="210" height="80" as="geometry">
<mxRectangle x="270" y="550" width="80" height="23" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-19" value="&lt;div&gt;Install/Uninstall packages on the system&lt;/div&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-18">
<mxGeometry x="10" y="40" width="190" height="20" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-25" target="4reyHjq-1IWQWPBtuEJG-18">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-25" value="Resolve arguments" style="swimlane;startSize=23;fontSize=10;" vertex="1" collapsed="1" parent="1">
<mxGeometry x="380" y="470" width="117.5" height="30" as="geometry">
<mxRectangle x="210" y="460" width="405" height="80" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-26" value="We are expecting subcommands to be resolved based on the amount of executables in subcom directory" style="text;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;html=1;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-25">
<mxGeometry x="-20" y="40" width="470" height="20" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-33" target="4reyHjq-1IWQWPBtuEJG-41">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-33" value="Phases" style="swimlane;startSize=23;whiteSpace=wrap;" vertex="1" collapsed="1" parent="1">
<mxGeometry x="280" y="710" width="80" height="23" as="geometry">
<mxRectangle x="280" y="710" width="325" height="80" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-34" value="&lt;div&gt;All packages goes through these phases to be processed on the system&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;These phases are expected to be hard-coded where developers can add custom phases if desired&lt;br&gt;&lt;/div&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-33">
<mxGeometry x="-115" y="30" width="440" height="40" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-36" target="4reyHjq-1IWQWPBtuEJG-33">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-36" value="Process metadata&#xa;" style="swimlane;startSize=23;" vertex="1" collapsed="1" parent="1">
<mxGeometry x="400" y="670" width="135" height="27" as="geometry">
<mxRectangle x="300" y="703" width="550" height="85" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-37" value="&lt;div&gt;For software to know what the package is it first needs to process metadata&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Metadata should contain the whole tree that we expect to be changed in the system -&amp;gt; If this is not met then the resolution should fail for security reasons&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-36">
<mxGeometry x="-120" y="15" width="670" height="70" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=10;" edge="1" parent="1" source="4reyHjq-1IWQWPBtuEJG-41" target="4reyHjq-1IWQWPBtuEJG-44">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-41" value="Fetch" style="swimlane;startSize=23;whiteSpace=wrap;" vertex="1" collapsed="1" parent="1">
<mxGeometry x="255" y="760" width="80" height="23" as="geometry">
<mxRectangle x="330" y="697" width="325" height="63" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-42" value="Phase dedicated to fetch the source/binary of the package" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-41">
<mxGeometry x="40" y="36" width="270" height="20" as="geometry" />
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-44" value="Prepare" style="swimlane;startSize=23;whiteSpace=wrap;" vertex="1" collapsed="1" parent="1">
<mxGeometry x="267.5" y="810" width="67.5" height="20" as="geometry">
<mxRectangle x="362.5" y="770" width="210" height="60" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="4reyHjq-1IWQWPBtuEJG-45" value="Apply patches to the original source if needed" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;fontSize=10;" vertex="1" parent="4reyHjq-1IWQWPBtuEJG-44">
<mxGeometry y="33" width="210" height="20" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>