From cab53dcd9eaee5defa849c9c5bbb953455cdb652 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 24 Aug 2007 23:12:30 +0100 Subject: [PATCH] the argument is the package_id not the name --- helpers/README | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/helpers/README b/helpers/README index e85c34631..a75413f65 100644 --- a/helpers/README +++ b/helpers/README @@ -58,7 +58,7 @@ STDERR error$enumdescription STDOUT package$status$package_id$summary $status: "1" if installed, "0" if not - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $summary: The one line package summary, e.g. "Clipart for OpenOffice" NOTES Do not refresh the package cache. This should be fast. @@ -89,7 +89,7 @@ STDERR error$enumdescription STDOUT package$status$package_id$summary $status: "1" if installed, "0" if not - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $summary: The one line package summary, e.g. "Clipart for OpenOffice" NOTES This is very similar to find-package. @@ -123,8 +123,8 @@ STDOUT FILENAME {backend}-install.* -ARGUMENTS $package - package: Single word package with no wildcard chars. +ARGUMENTS $package_id + package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora STDERR percentage$value value: Percentage complete of the entire transaction @@ -153,7 +153,7 @@ STDERR error$enumdescription STDOUT package$status$package_id$summary $status: Always "1" - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora A package_id always has to have three sections. $summary: The one line package summary, e.g. "Clipart for OpenOffice" NOTE: As packages are installed then emit them to the screen. @@ -167,12 +167,12 @@ NOTES The installer should always install extra packages automatically FILENAME {backend}-remove.* -ARGUMENTS $allowdeps $package +ARGUMENTS $allowdeps $package_id allowdeps: Either "yes" or "no". If yes allow other packages to be removed with the package, but "no" should cause the script to abort if other packages are dependant on the package. - package: Single word package with no wildcard chars. + package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora STDERR percentage$value value: Percentage complete of the entire transaction @@ -197,7 +197,7 @@ STDERR error$enumdescription STDOUT package$status$package_id$summary $status: Always "1" - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $summary: The one line package summary, e.g. "Clipart for OpenOffice" NOTE: as packages are installed then emit them to the screen. This allows a summary to be presented after the transaction. @@ -206,8 +206,8 @@ STDOUT package$status$package_id$summary FILENAME {backend}-get-deps.* -ARGUMENTS $package - package: Single word package with no wildcard chars. +ARGUMENTS $package_id + package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora STDERR percentage$value value: Percentage complete of the entire transaction @@ -222,7 +222,7 @@ STDERR error$enumdescription STDOUT package$status$package_id$summary $status: Always "1" - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $summary: The one line package summary. ========= Update System ========= @@ -255,7 +255,7 @@ STDERR requirerestart$type$details STDOUT package$status$package_id$summary $status: Always "1" - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $summary: The one line package summary. NOTE: As packages are updated then emit them to the screen. This allows a summary to be presented after the transaction. @@ -264,8 +264,8 @@ STDOUT package$status$package_id$summary FILENAME {backend}-get-description.* -ARGUMENTS $package - package: Single word package with no wildcard chars. +ARGUMENTS $package_id + package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora STDERR error$enumdescription enum: Enumerated type, e.g. "no-network", @@ -274,7 +274,7 @@ STDERR error$enumdescription notes: Errors should only be send on fatal abortion. STDOUT description$package_id$group$detail$url - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $group: The enumerated package group description This should be one of: "accessibility", "accessories", "education", "games", @@ -302,6 +302,6 @@ STDOUT package$status$package_id$summary "1" for security updates "2" for important updates "3" for low priority updates - $package_id: The package ID name, e.g. openoffice-clipart;2.6.22;ppc64;fedora + $package_id: The package ID name, e.g. openoffice;2.6.22;ppc64;fedora $summary: The one line package summary.