From ae7ec444b041bfc81cc97d8aa522c99a91d443e9 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 18 Apr 2012 16:11:30 +0100 Subject: Add some documentation for the new RepairSystem transaction interaction --- docs/api/spec/pk-concepts.xml | 20 + docs/api/spec/pk-transactions.svg | 3464 ++++++++++++++++++++++++------------- 2 files changed, 2280 insertions(+), 1204 deletions(-) diff --git a/docs/api/spec/pk-concepts.xml b/docs/api/spec/pk-concepts.xml index 632594ef..62837238 100644 --- a/docs/api/spec/pk-concepts.xml +++ b/docs/api/spec/pk-concepts.xml @@ -1003,6 +1003,26 @@ + + Transaction example: Repair + + + + + + + If the package management system is damaged, a repair may be required. + This is not automatically done befor each transaction as the user + may have to verify destructive package actions or make manual changes to + configuration files. + + + This transaction sequence is not common and is not supported on + many backends. + It may be completely implemented in the frontend or not at all. + + + diff --git a/docs/api/spec/pk-transactions.svg b/docs/api/spec/pk-transactions.svg index 152e1213..c5678133 100644 --- a/docs/api/spec/pk-transactions.svg +++ b/docs/api/spec/pk-transactions.svg @@ -277,6 +277,370 @@ d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" transform="scale(0.6,0.6)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml - + @@ -367,1776 +731,2396 @@ inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-trusted.png" inkscape:export-xdpi="90.094635" inkscape:export-ydpi="90.094635" /> - + + + + Manager + Tran #1 + Client + + - GetTid() + - InstallFile(trusted, f) + - ::ErrorCode(bad-gpg-sig) + + InstallFile(untrusted, f) + + ::StatusChanged(inst) + ::Finished(success) + + + Manager + Client + + + GetTid() + + Manager + id="tspan6209" + x="370.99738" + y="312.39032" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">InstallPackage(p) + Tran #1 + id="tspan6215" + x="381.83722" + y="352.39032" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::RepoSigRequired(key) + Client + id="tspan6221" + x="364.61615" + y="432.36218" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">InstallSignature(key) - + d="M 290.6546,557.36218 L 465.59766,557.36218" + id="path6225" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/spec/pk-transactions-sig-install.png" + inkscape:export-xdpi="180" + inkscape:export-ydpi="180" /> GetTid() + id="tspan6229" + x="381.77734" + y="552.36218" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::StatusChanged(inst) + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;marker-start:url(#Arrow2Mstart);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 291.25227,477.36216 L 466.19533,477.36216" + id="path6231" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/spec/pk-transactions-sig-install.png" + inkscape:export-xdpi="180" + inkscape:export-ydpi="180" /> InstallFile(trusted, f) + id="tspan6235" + x="382.375" + y="472.36218" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(success) ::ErrorCode(bad-gpg-sig) + id="tspan6243" + x="409.26813" + y="120.21018" + style="font-size:11.32614231px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(need-untrusted) + ::Finished(key-required) + InstallFile(untrusted, f) + id="tspan6257" + x="164.33984" + y="147.36218" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() ::StatusChanged(inst) + id="tspan6267" + x="-213.1825" + y="490" + style="font-size:20px;text-align:center;text-anchor:middle">Tran #2 + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.75172305;stroke-linecap:butt;stroke-linejoin:miter;marker-start:url(#Arrow2Mstart);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 76.015436,417.3553 L 250.88729,417.3553" + id="path6271" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/spec/pk-transactions-sig-install.png" + inkscape:export-xdpi="180" + inkscape:export-ydpi="180" /> ::Finished(success) + id="tspan6275" + x="165.35527" + y="412.35529" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() + Manager + id="tspan6285" + x="-363.1825" + y="490.59766" + style="font-size:20px;text-align:center;text-anchor:middle">Tran #1 Client - #2 + + Tran #3 GetTid() + InstallPackage(p) ::RepoSigRequired(key) - ::Finished(success) + + InstallSignature(key) + id="tspan6327" + x="-738.41687" + y="275" + style="font-size:20px;text-align:center;text-anchor:middle">Client ::StatusChanged(inst) + id="tspan6333" + x="167.53403" + y="642.39026" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetActions() + + ::Finished(success) + id="tspan6343" + x="164.58481" + y="692.39032" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.39060569;stroke-linecap:butt;stroke-linejoin:miter;marker-start:url(#Arrow2Mstart);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 245.21512,707.39718 L 119.82719,707.39718 L 110.18509,697.36218" + id="path6345" + sodipodi:nodetypes="ccc" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/spec/pk-transactions-success.png" + inkscape:export-xdpi="180" + inkscape:export-ydpi="180" /> ::Finished(need-untrusted) + id="tspan6349" + x="370.58481" + y="712.39032" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">InstallPackage(p) ::Finished(key-required) + id="tspan6355" + x="381.42465" + y="752.39032" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Progress(%) + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;marker-start:url(#Arrow2Mstart);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 290.53166,797.3553 L 465.47472,797.3553" + id="path6365" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/spec/pk-transactions-success.png" + inkscape:export-xdpi="180" + inkscape:export-ydpi="180" /> GetTid() - + id="tspan6369" + x="381.65442" + y="792.35529" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::StatusChanged(inst) + Tran #2 + style="font-size:20px;text-align:center;text-anchor:middle">Tran #1 GetTid() - + id="tspan6427" + x="381.65442" + y="832.35529" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(success) Tran #1 + id="tspan6435" + x="-953.41687" + y="275" + style="font-size:20px;text-align:center;text-anchor:middle">Client + #2 - GetActions() + + - Tran #3 GetTid() - InstallPackage(p) ::Finished(success) - + id="tspan6463" + x="381.59747" + y="992.35529" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::ErrorCode(NoNetwork) Client + id="tspan6477" + x="-993.18243" + y="490.38794" + style="font-size:20px;text-align:center;text-anchor:middle">Tran #1 GetActions() - ::Finished(failed) + - Manager + + inkscape:export-ydpi="180">Manager + + + + Client + + d="M 75.059877,1082.3903 L 249.93173,1082.3903" + id="path2610" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/html/pk-transactions-set-locale.png" + inkscape:export-xdpi="90.089996" + inkscape:export-ydpi="90.089996" /> GetTid() + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/html/pk-transactions-set-locale.png" + inkscape:export-xdpi="90.089996" + inkscape:export-ydpi="90.089996" /> InstallPackage(p) - + ::Progress(%) + id="tspan2632" + x="-1171.0731" + y="490" + style="font-size:20px;text-align:center;text-anchor:middle">Tran + d="M 290,1192.3622 L 464.94306,1192.3622" + id="path2634" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/html/pk-transactions-set-locale.png" + inkscape:export-xdpi="90.089996" + inkscape:export-ydpi="90.089996" /> ::StatusChanged(inst) - + id="tspan2638" + x="381.12277" + y="1187.3621" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(failed) Tran #1 + id="tspan2642" + x="-1133.495" + y="60" + style="font-size:20px;text-align:center;text-anchor:middle">Manager + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.75172305;stroke-linecap:butt;stroke-linejoin:miter;marker-start:url(#Arrow2Mstart);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 75.12815,1127.3622 L 250,1127.3622" + id="path2644" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/html/pk-transactions-set-locale.png" + inkscape:export-xdpi="90.089996" + inkscape:export-ydpi="90.089996" /> ::Finished(success) + id="tspan2648" + x="164.46797" + y="1122.3621" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">SetLocale() + + + + Manager + Transaction Client + GetActions() - + id="tspan2637" + x="164.3997" + y="1237.3903" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() - GetTid() + id="tspan2643" + x="370.39972" + y="1257.3903" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">DownloadPackages(p) InstallPackage(p) + id="tspan2649" + x="381.23956" + y="1297.3903" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Downloading(p) ::ErrorCode(NoNetwork) + id="tspan2673" + x="381.18262" + y="1337.3903" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Files(a;b;c) + ::Finished(success) + + Client copies filesfrom a, b and c tofinal destination + + + height="150" + x="464.94305" + y="1437.3622" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> + + Manager + Tran #1 + Tran #1 + id="tspan2423-4" + x="-1566.4169" + y="274.94305" + style="font-size:20px;text-align:center;text-anchor:middle">Client + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 459.88612,1452.3622 -174.94306,0" + id="path6109-9" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> + ::Finished(failed) + id="tspan6117-1" + x="164.2829" + y="1427.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() + Manager + id="tspan6123-1" + x="362.2829" + y="1447.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">SimulateInstallPkg(p) + Manager - - - + id="tspan6129-9" + x="387.12274" + y="1487.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Package(installing, p) + Client - + id="tspan6243-2" + x="409.20782" + y="1441.5935" + style="font-size:11.32614231px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Package(untrusted, p) + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.75172305;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 75.02985,1612.3553 174.87185,0" + id="path6253-9" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> GetTid() + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> + + InstallPackage(p) - + id="tspan6135-6-6" + x="362.90131" + y="1617.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">InstallPkg(untrusted, p) + Tran + id="tspan6163-6-5" + x="380.66016" + y="1657.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Package(installing) + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 290.05694,1702.3622 174.94306,0" + id="path6165-5-9" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> ::Finished(failed) + id="tspan6169-3-4" + x="380.66016" + y="1697.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(success) Manager + id="tspan6267-8-1" + x="-1663.1825" + y="490" + style="font-size:20px;text-align:center;text-anchor:middle">Tran #2 + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 288.71421,1572.3621 174.94306,0" + id="path6239-8-8" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> SetLocale() - + id="tspan6243-2-8" + x="407.90588" + y="1479.3473" + style="font-size:11.32614231px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(success) + + height="110" + x="464.94305" + y="1757.3622" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> - + height="654.99988" + x="249.94305" + y="1737.3622" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> + height="654.99988" + x="34.943062" + y="1737.3622" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> Manager Transaction + style="font-size:20px;text-align:center;text-anchor:middle">Tran #1 Client + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 459.88612,1772.3622 -174.94306,0" + id="path6109-9-6" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.75172305;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 74.94306,1752.3622 174.87186,0" + id="path6113-0-7" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> GetTid() + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> DownloadPackages(p) + id="tspan6123-1-5" + x="362.2829" + y="1767.3622" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">SimulateInstallPkg(p) + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.7523787;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 290.71419,1812.3621 174.94306,0" + id="path6239-8-6" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> ::Downloading(p) + id="tspan6243-2-0" + x="410.02487" + y="1705.8701" + style="font-size:11.32614231px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::ErrorCode(unfinished) - ::Files(a;b;c) + inkscape:connector-curvature="0" + style="fill:none;stroke:#000000;stroke-width:3.75172305;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)" + d="m 75.02985,1872.3553 174.87185,0" + id="path6253-9-9" + inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" + inkscape:export-xdpi="90.094635" + inkscape:export-ydpi="90.094635" /> ::Finished(success) - - Client copies filesfrom a, b and c tofinal destination + id="tspan6257-9-6" + x="164.36969" + y="1867.3552" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() - - - SimulateInstallPkg(p) + ::Package(installing) + + Manager + id="tspan6169-3-4-4" + x="380.66016" + y="2236.542" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(success) Tran #1 + id="tspan6267-8-1-1" + x="-2202.3623" + y="490" + style="font-size:20px;text-align:center;text-anchor:middle">Tran #4 + Client - ::Finished(repair-required) + GetTid() + id="tspan6135-6-6-5-0" + x="363.36389" + y="1897.3621" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">SimulateRepairSystem(p) SimulateInstallPkg(p) + id="tspan6163-6-5-2-7" + x="381.12274" + y="1937.3621" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Package(cleaning) ::Package(installing, p) + id="tspan6169-3-4-4-6" + x="381.12274" + y="1977.3621" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Finished(success) + Tran #2 + ::Package(untrusted, p) + id="tspan6135-6-6-5-0-6" + x="362.90131" + y="2026.5419" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">RepairSystem(p) GetTid() + id="tspan6163-6-5-2-7-9" + x="380.66016" + y="2066.542" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">::Package(cleaning) + ::Finished(success) + Tran #3 @@ -2144,22 +3128,22 @@ xml:space="preserve" style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans" x="362.90131" - y="1617.3622" - id="text6133-7-5" + y="2286.542" + id="text6133-7-5-9-8" sodipodi:linespacing="125%" inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" inkscape:export-xdpi="90.094635" inkscape:export-ydpi="90.094635">InstallPkg(untrusted, p) + y="2286.542" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">SimulateInstallPkg(p) @@ -2167,22 +3151,22 @@ xml:space="preserve" style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans" x="380.66016" - y="1657.3622" - id="text6161-3-1" + y="2326.542" + id="text6161-3-1-7-5" sodipodi:linespacing="125%" inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" inkscape:export-xdpi="90.094635" inkscape:export-ydpi="90.094635">::Package(installing) @@ -2190,55 +3174,127 @@ xml:space="preserve" style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans" x="380.66016" - y="1697.3622" - id="text6167-6-8" + y="2366.542" + id="text6167-6-8-3-1" sodipodi:linespacing="125%" inkscape:export-filename="/home/hughsie/Code/PackageKit/docs/api/spec/pk-transactions-auto-untrusted.png" inkscape:export-xdpi="90.094635" inkscape:export-ydpi="90.094635">::Finished(success) Tran #2 + style="font-size:20px;text-align:center;text-anchor:middle">Tran #5 ::Finished(success) + id="tspan6257-9-6-2" + x="164.36969" + y="1997.3552" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Sans;-inkscape-font-specification:Sans">GetTid() + + + GetTid() + + + GetTid() + -- cgit v1.2.3