[Slackbuilds-users] requirements in README files

J j at dawnrazor.net
Mon Jul 9 20:24:52 UTC 2012


Quoting Doogster <thedoogster at gmail.com>:

> You're trying to parse requirements out of README files?
>
> Are you trying to to write something like Portage for SBo?

No, something like FreeBSD's pkgtools:

http://dawnrazor.net/sbotools/


Quoting Yaroslav Panych <panych.y at gmail.com>:

> I am absolutely against of such enforcement. Because next step will be
> automatic dependency resolver and I don't think somebody wants it.

This is a leap of login akin to saying that publicly available condoms  
will lead to no children being born. I have written the option to  
parse requirements into sbotools because the current method - look up  
sbo, find list of requirements, open new tab, look up requirement,  
find list of requirements, etc etc, is a usability and sanity failure.  
The fact is that the sort of consistency in the READMEs in which I'm  
interested is good for the users who don't care to utilize such an  
option as well, because it's easier to identify - pattern recognition,  
basic human interface to the world.

> think it will bring more harm than profit. I know how hard to
> determinate requirements manually, but I sure it worth to do. It will
> filter noobs aside(less noobs - less maintainers headache, less
> maintainers headache - better maintainer work).

Requirements would still be determined manually. The only change I am  
proposing is consistency in documenting them.

Quoting Hullen at t-online.de (Helmut Hullen):

> The README is created from the author/maintainer of the program. The SBO
> maintainer should not change it.

And yet, other parts of slackbuilds will get changed by maintainers.

>> This requires perl-Params-Validate, perl-DateTime-Locale,
>> perl-DateTime-TimeZone, perl-Test-Exception, perl-Sub-Uplevel
>> perl-Math-Round.
>
> That's another problem - these informations should be put into "install/
> slack-required". And that could be a job for the SBO maintainer.

These would be a valid solution, but I'm not sure it makes a lot of  
sense, personally. It not only duplicates the data, but I'm apparently  
the only person who is dead sick and tired of crawling through 20 tabs  
of slackbuilds to get the requirements together for a single one, and  
who doesn't feel that sbopkg and queue files are a solution that fits  
the problem. And that's fine, and doesn't warrant an individual file -  
though it would be nice. But consistency amongst READMEs is easy to  
achieve, better for usability, and as noted, there is already a  
precedent since other files will get edited.

J



More information about the SlackBuilds-users mailing list