Platform Team/packagekit-backend-presolve: Difference between revisions
| Line 51: | Line 51: | ||
=== Overview === | === Overview === | ||
* | * Client side keeps a list of installed, via backend, packages; | ||
* After getting install request, | * 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 | * 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}}; | ||
* | * Installed packages list will be updated correspondingly. | ||
== Sources == | == Sources == | ||