History log of /haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp
Revision Date Author Comments
# d9ec2095 21-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Fix removing dependencies on package removal

The dependencies must also be dissociated from the resolvables they have
been resolved to.


# dfd15a9e 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Optional dependency resolution tracing


# 5b206a82 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Fix adding order dependent dependency resolution

PackageFSRoot::_AddPackage(): When adding a resolvable which isn't known
yet, make sure all already added matching dependencies are resolved.


# 106c8c61 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Resolve dependencies to resolvables


# 7d2fa6f0 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

WIP towards dependency package links

* Add ResolvableFamily and DependencyFamily classes for grouping equally
named resolvables/dependencies.
* Add hash tables to PackageFSRoot to track resolvables and
dependencies. That is done in {Add,Remove}Package.
* Resolvable does now have a list of Dependency objects, the ones it
satisfies.


# fcdac386 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add Node::Init() flags parameter

* Add Node::Init() flags:
- NODE_FLAG_KEEP_NAME: Take over ownership of the name.
- NODE_FLAG_CONST_NAME: Don't copy the name -- it's a constant that
lives at least as long as the object.
* Remove Init() implementations in derived classes that just call the
base class version.


# ad9c25bf 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move PackageFamily table to PackageLinksDirectory


# 63875d17 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add yet empty package-links directory

* Add PackageLinksDirectory Directory subclass. Currently not doing
anything.
* PackageFSRoot: Create a PackageLinksDirectory.
* Volume: Add/remove the package links directory for the system volume.


# 991ba9fd 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

WIP towards packagefs package links support

* Introduce Version class representing a version.
* Introduce Dependency and Resolvable class and add lists of either to
Package.
* Parse package attributes and add dependencies and resolvables to
Package.
* Add a mount type to Volume and add a respective mount parameter
"mount-type" (values "system", "common", "home", "custom"). Also
implies the shine-through type, if that's not given.
* Introduce class PackageFamily which groups equally named and versioned
packages.
* Add class PackageFSRoot. Each instance represents a possible file
system root (separate roots for different chroot environments). Tracks
Volumes belonging to the same root and their packages.


# d9ec2095469f877194707d875f53c4f853276a54 21-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Fix removing dependencies on package removal

The dependencies must also be dissociated from the resolvables they have
been resolved to.


# dfd15a9eb00202630f8aa95ae94021d4bdceb108 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Optional dependency resolution tracing


# 5b206a827f97b19d14a683780c8ed74ed78476e6 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Fix adding order dependent dependency resolution

PackageFSRoot::_AddPackage(): When adding a resolvable which isn't known
yet, make sure all already added matching dependencies are resolved.


# 106c8c6153967c0c93e93f220504567a75d9d96e 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Resolve dependencies to resolvables


# 7d2fa6f0f83c87b90df3d3f87f47873bf0f26b4d 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

WIP towards dependency package links

* Add ResolvableFamily and DependencyFamily classes for grouping equally
named resolvables/dependencies.
* Add hash tables to PackageFSRoot to track resolvables and
dependencies. That is done in {Add,Remove}Package.
* Resolvable does now have a list of Dependency objects, the ones it
satisfies.


# fcdac38641324da5f35f398d345c33c3fa12d920 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add Node::Init() flags parameter

* Add Node::Init() flags:
- NODE_FLAG_KEEP_NAME: Take over ownership of the name.
- NODE_FLAG_CONST_NAME: Don't copy the name -- it's a constant that
lives at least as long as the object.
* Remove Init() implementations in derived classes that just call the
base class version.


# ad9c25bfea1830566596cce84b1166f774afa8cd 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move PackageFamily table to PackageLinksDirectory


# 63875d1702406f1bdc0e0f7adaa3492dd9fa3bdd 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add yet empty package-links directory

* Add PackageLinksDirectory Directory subclass. Currently not doing
anything.
* PackageFSRoot: Create a PackageLinksDirectory.
* Volume: Add/remove the package links directory for the system volume.


# 991ba9fddf31971e08b038b0f84ff165c8cb94b7 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

WIP towards packagefs package links support

* Introduce Version class representing a version.
* Introduce Dependency and Resolvable class and add lists of either to
Package.
* Parse package attributes and add dependencies and resolvables to
Package.
* Add a mount type to Volume and add a respective mount parameter
"mount-type" (values "system", "common", "home", "custom"). Also
implies the shine-through type, if that's not given.
* Introduce class PackageFamily which groups equally named and versioned
packages.
* Add class PackageFSRoot. Each instance represents a possible file
system root (separate roots for different chroot environments). Tracks
Volumes belonging to the same root and their packages.