-   Slackware (
-   -   [Solved] SBopkg queues git download (

Mark Pettit 06-04-2011 04:05 AM

[Solved] SBopkg queues git download
Anyone know of the simple (!) command syntax to :

a) download the full SQF tree from

b) maintain that tree WITHOUT having to download the whole dang thing again.

I'm 100% certain this is possible - that's exactly what source-code repository tools like subversion and git are supposed to do. But Git is complex and that site doesn't seem to have an obvious (to me) method of doing part b)


ponce 06-04-2011 04:15 AM

hope I have understood the question

I do like this: the first time

cd /var/lib/sbopkg
mv queues old.queues
git clone git:// queues

(here takes just a few seconds to clone it)

when I want to update it

cd /var/lib/sbopkg/queues
git pull

Mark Pettit 06-04-2011 04:42 AM

Ah - it was the 'git pull' that evaded me. So simple - maybe the maintainer (Mauro Giachero) could put a simple readme for people like me who just want to use his fabulous work, without getting into the intricacies of git. Many thanks @Ponce

ponce 06-04-2011 05:12 AM

sometimes, but not with this repository I think, you'll find that pulling will result in conflicting commits: it happens when you rebase a lot (like me on SBo-git, following master branch of and then recreate branches from scratch to merge all your stuff (the current default branch there).
the faster way there is to update in cases like those, is to delete all and reclone/resync,

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

you could also delete the local branch and retrack the current one on the remote (ORIG_HEAD)

cd /var/lib/sbopkg/SBo-git
git reset --hard
git branch -M master master-old
git checkout -b master
git reset --hard ORIG_HEAD
git branch -D master-old
git checkout -f

and it will have the same effect

whatever you feel easier :)

Mark Pettit 06-04-2011 06:42 AM

As I'm not trying to actually modify the Q's themselves, but rather to just use the latest ones, the simple method you indicated in your first post looks the best. If the git pull gives an error, then I can always just delete the entire subdirectory and do an initial pull (ie first load) as you suggested.
I really love the SlackBuilds, but (whoa - must be careful here... :-), getting the dependencies right by manually checking README's and then drawing up a dependency list on a piece of paper was becoming a hassle. So the SQF gitorious work from Mauro Giachero is really fantastic. It would be fantastic to actually have this as an official part of, and then part of the menu (just like the current rsync is). Cheers.

jheengut 04-17-2015 05:46 AM

Gitorious is being acquired by GitLab

System notice: Gitorious is being acquired by GitLab and will shut down end of May. Please import your repositories to - Read about it

so rebase your git remote elsewhere ...

willysr 04-17-2015 07:04 AM

it's easier to build your own queue using sqg that has been provided in sbopkg

clawjam 04-19-2015 01:31 PM

Indeed. I did a little poking around when git pull failed for me and found this:

All times are GMT -5. The time now is 05:42 AM.