LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-04-2011, 03:05 AM   #1
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 393

Rep: Reputation: 116Reputation: 116
[Solved] SBopkg queues git download


Anyone know of the simple (!) command syntax to :

a) download the full SQF tree from http://gitorious.org/sbopkg-slackware-queues

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)

Thanx

Last edited by Mark Pettit; 06-04-2011 at 03:38 AM. Reason: Solved
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-04-2011, 03:15 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
hope I have understood the question

I do like this: the first time
Code:
cd /var/lib/sbopkg
mv queues old.queues
git clone git://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git queues
(here takes just a few seconds to clone it)

when I want to update it
Code:
cd /var/lib/sbopkg/queues
git pull
 
2 members found this post helpful.
Old 06-04-2011, 03:42 AM   #3
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 393

Original Poster
Rep: Reputation: 116Reputation: 116
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
 
Old 06-04-2011, 04:12 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
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 slackbuilds.org) 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,
Code:
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)
Code:
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
 
Old 06-04-2011, 05:42 AM   #5
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 393

Original Poster
Rep: Reputation: 116Reputation: 116
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 SlackBuild.org, and then part of the menu (just like the current rsync is). Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
[SOLVED] Used sbopkg to download & install Wine - it's been 'installing' for over 1 hr... Robert.Thompson Slackware 6 03-05-2011 03:22 AM
dzen2 won't download with sbopkg! agi93 Slackware 4 03-30-2010 07:08 AM
POSIX Queues with message type facility of System V queues ehsan_haq98@yahoo.com Programming 2 12-27-2009 11:45 AM
POSIX message queues(Solaris) to SYS V message queues(Linux) devershetty Programming 1 01-22-2007 10:15 AM


All times are GMT -5. The time now is 09:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration