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 Tue 21 Oct 2014, 13:34
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Put your projects on github
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Wed 18 Jun 2014, 19:55    Post_subject:  Put your projects on github  

#this assumes you have already setup a devx which typically contains git and other tools required (curl, shell) -TODO add wget support
1. Go to github and signup.
2. signin
3. Click on "New repository" (white on green button toward lower right)
4. Fill out your project info and click on "Create repository"
- You can setup a readme and license
- Repeat steps 3 & 4 for each of your offline projects
- *note: If your project License is CC0 or other permissive license I will be more apt to contribute
4.5 (optional) goto your favorite projects on github and fork them by simply clicking "Fork" in the upper right hand corner
5. Use the script I have included to set up git locally and optionally clone all of your github projects
Code:
tar -xf github-setup.tar.gz; github-setup.sh

6. Copy/move your project files to its new home at $HOME/github/<project> (for puppy $HOME==/root)
7. Run the following from each project directory you've added/modified files:
Code:
git add . ;git commit -a; git push -u origin master
github-fork.png
 Description   
 Filesize   2.01 KB
 Viewed   272 Time(s)

github-fork.png

github-initrepo.png
 Description   
 Filesize   10.92 KB
 Viewed   265 Time(s)

github-initrepo.png

newrepo.png
 Description   
 Filesize   2.22 KB
 Viewed   272 Time(s)

newrepo.png

github-setup.tar.gz
Description 
gz

 Download 
Filename  github-setup.tar.gz 
Filesize  1.08 KB 
Downloaded  36 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Edited_time_total
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Wed 18 Jun 2014, 19:56    Post_subject:  

To use gitk (GUI tool included with git), you will need `wish` which you can get by installing tk (which will install tcl)

Geany also has a version control plugin that is somewhat helpful for common commands and also supports cvs, svn and hg (amongst others)

for projects that are not on github here are tips for migrating from other version control systems

svn
cvs
fossil
darcs
hg - aka mercurial
gnu arch
bzr - aka bazaar (bizarre is how the launchpad interface looks - which uses bzr iirc)
monotone

for others you may need to use:
other tools or write your own "fast-export" for git --fast-import

_________________
Web Programming - Pet Packaging 100 & 101

Edited_times_total
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Wed 18 Jun 2014, 19:58    Post_subject:  

more tips will go here
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Karl Godt


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

PostPosted: Sat 13 Sep 2014, 22:32    Post_subject:  

You may look here, if run out of funds :

http://www.codeplex.com/

I have set up this :

https://krgwoof.codeplex.com/SourceControl/latest#README

So I push now two times :
One to my woof-CE fork at github and one to my woof repo on codeplex .

Example :
https://krgwoof.codeplex.com/SourceControl/changeset/46997b209145810ad1775b1522aa8c8b3a1ebf34


_________________
«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 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
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.0491s ][ Queries: 12 (0.0041s) ][ GZIP on ]