haiku/headers/os/package
Alexander G. M. Smith a22fa0c977 package kit: Add pre-uninstall scripts feature.
Just like post-install scripts which run shortly after a package is
installed, pre-uninstall scripts are run just before a package is
removed.  Implements enhancement #13427

* Fix script exit code handling vs script launch errors.
* Bump package and repo file version numbers due to new attribute,
  unfortunately makes new .hpkg files not backwards compatible.
* Add pre-uninstall functionality, mostly cloning the post-install
  except in a few places.
* Discover that _RunQueuedScripts() is never called, a future TODO:?
* Update package documentation for pre-uninstall scripts, and use of
  the boot/post-install directory.

Change-Id: I45596255ce74bc102f6e5b606cbf83e4e4347a17
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1504
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-09-21 10:47:57 +00:00
..
hpkg package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
solver pkgman search: Add --requirements option 2015-11-20 20:55:12 +01:00
AddRepositoryRequest.h Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
Attributes.h
CommitTransactionResult.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
Context.h Package Kit: Fix -Wmismatched-tags 2018-08-25 18:53:32 +00:00
DownloadFileRequest.h Add DownloadFileRequest 2013-04-20 21:40:11 +02:00
DropRepositoryRequest.h
GlobalWritableFileInfo.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00
InstallationLocationInfo.h BInstallationLocationInfo: Provide more info 2014-05-04 20:59:01 +02:00
Job.h Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
PackageArchitecture.h Package kit: add likely-useful architectures 2019-02-20 22:29:36 +00:00
PackageDefs.h Remove /boot/common for good 2013-10-03 21:52:25 +02:00
PackageFlags.h
PackageInfo.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
PackageInfoAttributes.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
PackageInfoContentHandler.h Add class BPackageInfoContentHandler 2011-07-17 16:55:21 +02:00
PackageInfoSet.h BPackageInfoSet::Iterator: Fix NULL pointer dereference 2013-04-14 17:06:25 +02:00
PackageResolvable.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
PackageResolvableExpression.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
PackageResolvableOperator.h
PackageRoster.h HaikuDepot: Set package state when loading single package 2019-08-08 07:09:35 +00:00
PackageVersion.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
RefreshRepositoryRequest.h Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
RepositoryCache.h BRepositoryCache: use BStandardErrorOutput 2013-07-04 19:02:10 +02:00
RepositoryConfig.h Package Kit: reduce identifer/base-url confusion 2020-05-09 20:04:50 +00:00
RepositoryInfo.h Package Kit: reduce identifer/base-url confusion 2020-05-09 20:04:50 +00:00
Request.h Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
User.h BPackageInfoContentHandler: Handle new attributes 2013-05-28 02:44:13 +02:00
UserSettingsFileInfo.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00
WritableFileUpdateType.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00