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
DropRepositoryRequest.h
GlobalWritableFileInfo.h
InstallationLocationInfo.h
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
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
PackageInfoSet.h
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
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
UserSettingsFileInfo.h
WritableFileUpdateType.h