Add dependency thoughts to BLFS/TODO
This commit is contained in:
parent
1870b56894
commit
eec87dbd1f
1 changed files with 23 additions and 0 deletions
23
BLFS/TODO
23
BLFS/TODO
|
@ -15,3 +15,26 @@
|
|||
the BLFS book should be revised and validated, but our time is limited.
|
||||
|
||||
-- Bugs hunting.
|
||||
|
||||
-- About dependencies
|
||||
A. A DEPENDENCY MAY NOT BE INSTALLED EVEN IF NEEDED
|
||||
Currently (December 10th, 2021), the dependencies are only installed
|
||||
if either:
|
||||
- (i) they are not already installed
|
||||
- (ii) their version is higher than the installed version
|
||||
If a dependency is not installed, its dependencies are not considered.
|
||||
But it may happen that a dependency (depB) of a dependency (depA) is in
|
||||
case (i) or (ii) (most likely), but not depA. In this case, depB is
|
||||
not considered, although it might happen that it is needed for the
|
||||
requested package.
|
||||
So the dependency system should be changed to always compute the full
|
||||
dependency chain, and another function should be created to remove
|
||||
packages not in case (i) or (ii) from the list of generated dependencies.
|
||||
B. CHECKING DEPENDENCIES
|
||||
There are several kinds of checks we might want to implement, for
|
||||
example:
|
||||
- (i) check that a package can be built with only the listed
|
||||
dependencies, and their dependencies (missing dependency)
|
||||
- (ii) check that the dependencies do not include dependencies
|
||||
that are already in the dependency chain (redundant dependency)
|
||||
- (iii) check that a dependency is really needed (false dependency)
|
||||
|
|
Reference in a new issue