Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleObsolete Page

This page is obsolete and is no longer being updated. Please refer to the Contributing tab on http://trafodion.incubator.apache.org for information on how to contribute to Trafodion:

 

 

This page describes the contributor workflow for changes to Trafodion code and documentation.  To contribute to the wiki, see Contribute to the Wiki.

...

Command-line instructions here assume you have "hub" installed. If you do not use "hub", you can accomplish the same thing using the github.com web site plus some git commands. You can alias "git" to "hub" for ease of use, but here we'll use "hub" explicitly for clarity. Instructions below use GHuser in place of your github username.

Note

Refer to Development Tools for information on how to set up your git environment.

Refer to https://hub.github.com/ for information on how to install hub.

 

Initial Steps (need not be repeated for subsequent changes)

Clone the

...

Trafodion Repository from the GitHub

...

Mirror

If you are using ssh:
Code Block
languagetext
titleIf you are using ssh
git clone git@github.com:apache/incubator-trafodion

...

OR

...

Code Block
languagetext
titleIf you are using hub
hub clone -p apache/incubator-trafodion

...

  ## -p option for ssh

Fork the

...

Repository on

...

    • cd incubator-trafodion

Then:

    • hub fork

OR

...

GitHub, If Needed

If you've never forked the repository on GitHub, then do the following.

Code Block
languagetext
titleIf using hub
cd incubator-trafodion
hub fork

Alternative method.

  1. Use the Fork button on the web interface: https://github.com/apache/incubator-trafodion

...

  1. Execute the following command: git remote add GHuser 

...

  1. git@github.com:GHuser/incubator-trafodion

Create a Task Branch

...

  • git fetch --all
Code Block
languagetext
# Ensure that you have the latest changes.
hub fetch --all
# Base your branch on the latest master.
hub checkpout -b <mybranch> orgin

...

/master

Make Changes

Once you have created your task branch, you are ready to make changes.

...