configuring the current repository with sbopkg

Matteo Bernardini edited this page Sep 17, 2017 · 16 revisions

Thanks to slakmagik, since march 2011, this git repository is included in the default sbopkg set \o/

you can use it on -current setting these two variables in /etc/sbopkg/sbopkg.conf

REPO_BRANCH=${REPO_BRANCH:-current}

REPO_NAME=${REPO_NAME:-SBo-git}

then run sbopkg with the '-r' (remote sync) flag.

If you want to use it temporarly while having another default repository

sbopkg -V SBo-git/current -r

sbopkg -V SBo-git/current -i my_package_or_queue

would do.

the "current" branch gets deleted and re-created on every global merge, rebasing the modifications on the newer master, and this can confuse git a little so, for every new sync don't just launch "sbopkg -r" but

rm -fR /var/lib/sbopkg/SBo-git

sbopkg -r

The following part is obsoleted by above (but kept for historical reasons ;) ): you shouldn't need anthing below this line!


you can use the "current" branch of this repository in sbopkg by creating a file at /etc/sbopkg/repos.d/30-SBo-git.repo containing the following text (_custom is the package tag):

# Repo Branch Description Tag Tool Link CheckGPG

SBo-git current "Unofficial repository for -current" _custom git git://github.com/Ponce/slackbuilds.git@current ""

Then, within sbopkg, you should go to the Utilities menu and use the Repository option to select the SBo-git repository. You can then go back to the main menu and select the Sync option as usual.

For CLI users, you can edit the REPO_BRANCH and REPO_NAME in /etc/sbopkg/sbopkg.conf and run sbopkg with the '-r' (remote sync) flag. For temporary usage

sbopkg -V SBo-git/current -r

would do.

(tnx to 55020 for the setup instructions and to slakmagik for the cli hints )