Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 03:06
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Howto git PART 1
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 17 Dec 2013, 18:11    Post_subject:  Howto git PART 1
Sub_title: Using git
 

As many have recognized, there is

https://github.com/puppylinux-woof-CE

Since there are not many contributors, I would like to give a tutorial about how to use it .

First , you'll need the git package installed, should be part of most common devx_puppy-version.sfs .

Second , open a console urxvt or xterm window in your preferred home directory and type
Code:
mkdir puppylinux-woof-CE.d

Then change into that new created directory :
Code:
cd puppylinux-woof-CE.d


Third - now the git part begins .
Type
Code:
git init
which will answer
initialized empty Git repository in /root/puppylinux-woof-CE.d/.git/

then type
Code:
git remote add woofce https://github.com/puppylinux-woof-CE/woof-CE
which will answer nothing

then type
Code:
git pull woofce
that will download the woof and print into the terminal like :
Code:
remote: Counting objects: 9530, done.
remote: Compressing objects: 100% (4818/4818), done.
remote: Total 9530 (delta 3973), reused 9071 (delta 3531)
Receiving objects: 100% (9530/9530), 19.89 MiB | 388.00 KiB/s, done.
Resolving deltas: 100% (3973/3973), done.
From https://github.com/puppylinux-woof-CE/woof-CE
 * [new branch]      firmware   -> woofce/firmware
 * [new branch]      master     -> woofce/master
 * [new branch]      testing    -> woofce/testing
From https://github.com/puppylinux-woof-CE/woof-CE
 * [new tag]         0.1        -> 0.1
 * [new tag]         woof-CE-0.1 -> woof-CE-0.1
You asked to pull from the remote 'woofce', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.


Fourth , it ineeds to initialize the branches :
Code:
git checkout firmware
will answer
Branch firmware set up to track remote branch firmware from woofce.
Switched to a new branch 'firmware'


and in the filer window you will see the created file and folder tree .

This has to be done for master and testing branches, too :
Code:
git checkout testing

Branch testing set up to track remote branch testing from woofce.
Switched to a new branch 'testing'

Code:
 git checkout master

Branch master set up to track remote branch master from woofce.
Switched to a new branch 'master'



#*** END of LESSON PART 1

Questions ?
Back to top
View user's profile Send_private_message Visit_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 17 Dec 2013, 20:31    Post_subject:  

Continues here :
Howto git PART 2

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11118
Location: Arizona USA

PostPosted: Tue 17 Dec 2013, 21:34    Post_subject:  

Thanks for the How-To. Maybe the reason there aren't many contributors is that very few people know what git is or what it might be good for. For sure I don't have a clue. Confused
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 17 Dec 2013, 22:36    Post_subject:  

Flash wrote:
Thanks for the How-To. Maybe the reason there aren't many contributors is that very few people know what git is or what it might be good for. For sure I don't have a clue. Confused

Yup, for the average user means git, svn or cvs are just tools to download something that just does never compile anyway .

Smile
Back to top
View user's profile Send_private_message Visit_website 
mavrothal


Joined: 24 Aug 2009
Posts: 1689

PostPosted: Wed 18 Dec 2013, 01:47    Post_subject:  

Flash wrote:
Thanks for the How-To. Maybe the reason there aren't many contributors is that very few people know what git is or what it might be good for. For sure I don't have a clue. Confused


Git is a versioning system. ie it keeps track of the changes you make in a file or in a folder so you can know what is changed and why, and provide and easy way to go back if something is wrong or identify what exactly generated a problem.
There are many of these system. svn, mercurial and git are the most used. BarryK himself first created bones and then used fossil to track changes in woof development.
Git is arguably the most powerful of all and geared much more for collaboration with a lot of new features. The linux kernel and many other major projects use it.
Github is a web repository and interface for git-based projects, like woof-CE.

Oversimplifying, for the avid puppean it means in that instead of suggesting specific code changes in the forum can do that in git/github and a) make the life of a pupplet developer easier and b) get his/her name on the record. Wink
For the pupplet developer, it means that whatever changes where made in the woof code can be shared with all the other developers easily and advance puppy in general.

In a nutshell, is something that makes it easy and efficient for people to truly collaborate in a project (in puppy "community edition" for example)

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
gyro

Joined: 28 Oct 2008
Posts: 481
Location: Brisbane, Australia

PostPosted: Sun 19 Oct 2014, 15:33    Post_subject:  

When I type
Code:
git pull woofce
I get
Code:
error:  while accessing https://github.com/puppylinux-woof-CE/woof-CE/info/refs

fatal: HTTP request failed

When I use git 1.9.1 I get
Code:
# git pull woofce
fatal: unable to access 'https://github.com/puppylinux-woof-CE/woof-CE/': Problem with the SSL CA cert (path? access rights?)


gyro
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0812s ][ Queries: 11 (0.0173s) ][ GZIP on ]