Skip to contentSkip to conversation

Patch submission - git crash course ?

Openvpn-devel David Balažic 5 participants 5 messages Jun 16, 2010 – Jun 17, 2010

lore
Share & tools
lore
#0 lore raw

Hi!

Is there some crash course for using git with openvpn sources?

I know svn and other tools, but not git.

So i need steps list like:

apt-get install git
svn co http://repo.openvpn.net/patchme # translated into git syntax #do your changes
svn diff > my_patch # again , git syntax

Thanks!

David Balažic

#1 lore raw

Hi,

You could start from here:

https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Testingrepositorygit

Take a look at the links in that chapter. You'd probably have to do something like this:

apt-get install git-core
git clone <repository_url>

# do your changes
# then git <something> to create and mail a patch to -devel

Hope this helps, I'm not a Git wizard myself, either.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
Quoted 28 lines

Hi!

Is there some crash course for using git with openvpn sources?

I know svn and other tools, but not git.

So i need steps list like:

apt-get install git
svn co http://repo.openvpn.net/patchme # translated into git syntax #do your changes
svn diff > my_patch # again , git syntax

Thanks!

David Balažic

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Openvpn-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

#2 lore raw
In reply to David Balažic

Hi,

Quoted 7 lines

Is there some crash course for using git with openvpn sources?

I know svn and other tools, but not git.

So i need steps list like:

apt-get install git

You should apt-get install git-core, well, at leat on some version "git" package used to be something else.
For instance on debian http://packages.debian.org/lenny/git

Then, for crash courses, checkout
https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Testingrepositorygit
you will find some links there that might help you

Quoted 3 lines

svn co http://repo.openvpn.net/patchme # translated into git syntax #do your changes
svn diff > my_patch # again , git syntax

In a nutshell:

$ git clone
git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn-testing.git
# do changes
$ git diff > my_patch 

But you might rather consider
https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Communitypatchesandtheacceptanceprocessofthesepatches

Quoted 5 lines

Thanks!

David Balažic

chantra

Signature · 4 lines
http://www.debuntu.org


!DSPAM:4c18c13861671523120871!
#3 lore raw
Quoted 3 lines · Samuli Seppänen

git clone <repository_url>

# do your changes
# then git <something> to create and mail a patch to -devel
Quoted 2 lines · chantra
# do changes
$ git diff > my_patch 

Please make sure to always create commits in your repo before sending a patch. Once you have made a commit it is easy to generate a patch using the git format-patch command.

//Peter

#4 lore raw
In reply to David Balažic
Quoted 4 lines · On Wednesday 16 Jun 2010 13:03:39 David Balažic wrote:

Hi!

Is there some crash course for using git with openvpn sources?

Quoted 8 lines

I know svn and other tools, but not git.

So i need steps list like:

apt-get install git
svn co http://repo.openvpn.net/patchme # translated into git syntax #do your changes
svn diff > my_patch # again , git syntax

Start from these pages:

https://community.openvpn.net/openvpn/wiki/GitCrashCourse
https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation
https://community.openvpn.net/openvpn/wiki/TesterDocumentation

HTH

Signature · 1 line
D.