haiku/headers/os/package/hpkg
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
..
v1 Fix more class/struct mixups. 2017-12-02 22:24:06 -05:00
BlockBufferPool.h Rename BBlockBufferCache and friends to *Pool* 2013-05-25 01:12:25 +02:00
BlockBufferPoolNoLock.h Rename BBlockBufferCache and friends to *Pool* 2013-05-25 01:12:25 +02:00
BufferPool.h Rename BBlockBufferCache and friends to *Pool* 2013-05-25 01:12:25 +02:00
DataReader.h Remove BPackageKit::BDataOutput 2014-06-23 22:58:15 +02:00
ErrorOutput.h
HPKGDefs.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
NoErrorOutput.h Add BNoErrorOutput to package kit 2013-04-01 23:17:25 +00:00
PackageAttributes.h package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
PackageAttributeValue.h
PackageContentHandler.h Fix more class/struct mixups. 2017-12-02 22:24:06 -05:00
PackageData.h hpkg format: compress the whole heap 2013-05-25 01:12:25 +02:00
PackageDataReader.h hpkg format: compress the whole heap 2013-05-25 01:12:25 +02:00
PackageEntry.h * minor whitespace cleanup, no functional change 2011-02-14 17:20:14 +00:00
PackageEntryAttribute.h
PackageInfoAttributeValue.h PackageKit: Fix BPackageInfoAttributeValue::Clear for GCC2. 2019-03-03 17:04:22 -05:00
PackageReader.h Switch package file accessor classes to use BPositionIO 2014-07-12 15:40:22 +02:00
PackageWriter.h BPackageWriter::Recompress(): Change param to BPositionIO* 2014-07-13 17:57:57 +02:00
RepositoryContentHandler.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
RepositoryReader.h hpkg format: compress the whole heap 2013-05-25 01:12:25 +02:00
RepositoryWriter.h Add support for adding a package-info to BRepositoryWriter. 2013-09-18 12:05:34 +02:00
StandardErrorOutput.h package_repo: Removes dependency to package 2013-04-01 23:06:33 +00:00