LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-28-2016, 09:23 AM   #1
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
What is the Correct URL and command to git clone SlackBuilds Current ?


Thanks to Member 55020, I've done a git clone of the SBo Current Branch ( I hope ).

Is this the correct command to `git` the SBo Current Branch into my local directory ?

Code:
mkdir -m /home/dld/slackbuilds/current
cd /home/dld/slackbuilds/current
git clone git://github.com/Ponce/slackbuilds.git .
Thanks all !

-- kjh
 
Old 04-28-2016, 09:27 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
yes.

as that is rebased everytime, the next time you want to sync it, you have to
Code:
cd /home/dld/slackbuilds/
rm -fR current
git clone git://github.com/Ponce/slackbuilds.git current
 
1 members found this post helpful.
Old 04-28-2016, 09:32 AM   #3
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks ponce !

I'll do it that way but ... would this work as well to keep my local up-to-date without unnecessarily re-downloading the entire branch ?

Code:
cd /home/dld/slackbuilds/current
git pull
Or does it leave 'cruft' ?

Here's an example:

Code:
]$ git pull
Already up-to-date.
-- kjh
 
Old 04-28-2016, 09:37 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by kjhambrick View Post
would this work as well to keep my local up-to-date without unnecessarily re-downloading the entire branch ?

Code:
cd /home/dld/slackbuilds/current
git pull
Or does it leave 'cruft' ?

Here's an example:

Code:
]$ git pull
Already up-to-date.
no, it won't work because the current branch diverges, getting deleted and recreated each time, it's not like the master branch of SBo that has incremental changes.

you are free to try, a few days from now, when you will find a newer tag here.

Last edited by ponce; 04-28-2016 at 09:38 AM.
 
1 members found this post helpful.
Old 04-28-2016, 09:45 AM   #5
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
ponce --

Thanks VERY MUCH for the info !

For future users then ...

1. To set up a local SlackBuilds Current repository in say, /home/dld/slackbuilds/ as /home/dld/slackbuilds/current:

Code:
# Step 1:  set up a local directory according to your tastes:

mkdir -m /home/dld/slackbuilds/current
cd /home/dld/slackbuilds/current
git clone git://github.com/Ponce/slackbuilds.git .
2. To periodically refresh the SlackBuilds Current Directory:

Code:
# remove and replace the old current directory"

cd /home/dld/slackbuilds/
rm -fR current
git clone git://github.com/Ponce/slackbuilds.git current
Thanks a zillion !

-- kjh
 
Old 04-28-2016, 10:36 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you can also clone SBo's master branch
Code:
git clone git://slackbuilds.org/slackbuilds.git
 
3 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need correct syntax for creating HDD clone with dd command netraider Slackware 13 06-25-2012 11:05 AM
[SOLVED] How can I verify the downloaded kernel source with git clone command? goldwave Linux - Security 8 12-30-2011 12:06 PM
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration