Assumes basic inductions completed:
Mentor to add the new hire to the appropriate online resources:
Development environment setup:
# git command line fails after install - even if found on $PATH ok 10:22:00 3 $ which git /usr/local/bin/git 10:22:37 4 $ git xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools. # installation fine though 10:22:40 5 $ /usr/local/bin/git usage: git [--version] [--help] [-C <path>] [-c name=value] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] ... # sudo mv MacOS git not permitted - even logged in as root! sudo mv /usr/bin/git /usr/bin/git-system Password: mv: rename /usr/bin/git to /usr/bin/git-system: Operation not permitted # fix is to alias - add to ~/.bash_profile alias git=/usr/local/bin/git 10:34:30 23 $ git usage: git [--version] [--help] [-C <path>] [-c name=value] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] ...
IG git repos:
For each desired repo, fork then clone...
From the master repo, fork it:
Forking it allows you to have your own copy of the repo.
Clone your forked repo on your laptop - with command line or with SourceTree:
e.g. git clone ssh URL of your new forked repo
# generate ssh key 10:10:56 132 $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/Users/wayne.morrison/.ssh/id_rsa): Created directory '/Users/wayne.morrison/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/wayne.morrison/.ssh/id_rsa. Your public key has been saved in /Users/wayne.morrison/.ssh/id_rsa.pub. # navigate to your forked repo and select clone to reveal the URL (use the ssh URL) # you may need to navigate to your repo via your user profile 10:35:17 33 $ pwd /Users/wayne.morrison/dev 10:35:18 35 $ git clone ssh://email@example.com:7999/~wayne.morrison/openig.git Cloning into 'openig'... ...
Pyforge is a python-based functional testing framework used by IG QA. It is also very useful in quickly configuring an environment representing a particular use-case.
It may not be immediately useful to you. To install and configure see Pyforge Installation Guide.
The team follows this convention: https://chris.beams.io/posts/git-commit/
With the addition of the JIRA issue number as a commit message prefix:
OPENIG-666 Add support for CORS