[jhalfs] branch trunk updated: Add dependency thoughts to BLFS/TODO

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <163915695159.3005.7191947120136103027@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new eec87db  Add dependency thoughts to BLFS/TODO
eec87db is described below

commit eec87dbd1f226a0bf09145862f43b36fd1fde14b
Author: Pierre Labastie <[email protected]>
AuthorDate: Fri Dec 10 18:19:06 2021 +0100

    Add dependency thoughts to BLFS/TODO
---
 BLFS/TODO | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/BLFS/TODO b/BLFS/TODO
index 51207ec..ad11b07 100644
--- a/BLFS/TODO
+++ b/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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.