pink-mist / sbotools

provides a ports-like interface to slackbuilds.org
53 stars 15 forks source link

sbotools.conf and mirror #81

Open ryuuzaki42 opened 3 years ago

ryuuzaki42 commented 3 years ago

Hello,

I was look for with mirror sbotools was using. In the documentation in the package and the site has sbotools.conf: https://pink-mist.github.io/sbotools/documentation/sbotools.conf.5.html

Looks like that sbotools don't use this file any more. After some search if found in the Util.pm. Using /etc/slackware-version and the defaults mirros. https://github.com/pink-mist/sbotools/blob/master/SBO-Lib/lib/SBO/Lib/Util.pm#L203#L211

My suggestion is to remove the sbotools.conf, if is not used any more and maybe add some info about the mirror in use documentation.

Thanks for the hard work. Have a nice day.

drgibbon commented 3 years ago

I use /etc/sbotools/sbotools.conf to configure sbotools to work with -current with: REPO=https://github.com/Ponce/slackbuilds.git

From the docs:

REPO=(FALSE|url)

If set to a url, use that repository instead of the SlackBuilds.org repository for your SLACKWARE_VERSION. Setting this will make the SLACKWARE_VERSION setting redundant. URLs need to either lead to a git repository or an rsync repository. The repository needs to be laid out like the SlackBuilds.org one with a couple of broad categories at the root and under those are subdirectories for each package.