Platform Team/packagekit-backend-presolve: Difference between revisions

Line 51: Line 51:
=== Overview ===
=== Overview ===


* The client side keep the list of installed, via backend, packages;
* Client side keeps a list of installed, via backend, packages;
* After getting install request, it will check if requested package is already installed;
* After getting install request, backend will check if requested package is already installed;
* If not, download a file from know HTTP location with the requested package's name;
* If not, download a file from know HTTP location with the requested package's name;
* Downloaded file contains RPM url for requested packages and a list of package-name/url pairs for all dependencies (starting from some known point);
* Downloaded file contains RPM url for requested package and a list of package-name/url pairs for all dependencies (starting from some known point);
* All missed RPMs will be downloaded and installed by directly calling {{Code|rpm -i}};
* All missed RPMs will be downloaded and installed by directly calling {{Code|rpm -i}};
* Install packages list will be updated correspondingly.
* Installed packages list will be updated correspondingly.


== Sources ==
== Sources ==