Quote:
|
just to clarify: the %README% entry in REQUIRES means that, according to the maintainer, it's *mandatory* having a look at the README before building for successful compilation or for having a working package after, like:
- creation of additional users/groups; - some important options you need to choose between before building; - steps to take before building; - steps to take after package installation; - whatever more; ( leaving aside that one should be supposed to have a look at READMEs of the stuff he builds from SBo anyways ;) ) |
Quote:
A simple boolean flag in the .info-file, like OPTIONAL="TRUE||FALSE" would make it much easier in these cases where you for sure won't read all 3000+ READMEs, but can do a simple grep over all .info files to become aware of which packages need special attention. To be honest, some time ago I tried to write something similar (though my attempts were lot less elegant), but the issue of not being able to determine reliably if a package has optional dependencies (which really matters for queue-files) and the reluctance of most maintainers when it comes to changes (see discussions on the SBo mailing list) put me down on that and I have given up before even asking for something like that. |
about that if you grep -i for "dependenc" on the READMEs you can have a general idea, I think: dependencies that are not optional shouldn't be listed there.
|
Quote:
|
sqg: command not found
|
Quote:
|
If you are using the -a option, there are some things that can be done to speed things up...
The quickest fix is to use the @package_name option instead of recursively processing the package. The more involved fix would be to read all the package names into an associative array (bash 4 supports that) so you don't have to hit the file system in the search_package function. The code looks an awful lot like... Code:
declare -A packages It should be possible to use the tsort command to create an ordered list of everything, but that's overkill given the way that sbopkg works. (On the other hand, it would be nice if sbopkg would order the packages correctly when upgrading packages and tsort could possibly help.) |
All times are GMT -5. The time now is 09:28 AM. |