Skip to content
vgadiyar edited this page Mar 7, 2013 · 22 revisions

![Bugathon Developer Process] (https://dl.dropbox.com/u/8526836/Bugathon_Process.png)https://dl.dropbox.com/u/8526836/Bugathon_Process.png

Definition of Done

  • Recommended: Code has appropriate test coverage using a combination of unit, functional and integration tests
  • Code conforms to Magento coding standards
  • Code passes Magento technical review
  • Code is approved by Magento Product Manager

Demo of development process

Before you can start coding, do the following.

Clone Bugathon repository

vgadiyar@L-SJC-00520818 /c/Bugathon/CE
$ git clone https://github.com/magento/bugathon_march_2013.git
Cloning into bugathon_march_2013...
remote: Counting objects: 16563, done.
remote: Compressing objects: 100% (7679/7679), done.
remote: Total 16563 (delta 6783), reused 16542 (delta 6768)
Receiving objects: 100% (16563/16563), 20.12 MiB | 102 KiB/s, done.
Resolving deltas: 100% (6783/6783), done.

Create named branch

vgadiyar@L-SJC-00520818 /c/Bugathon/CE/bugathon_march_2013 (master)
$ git checkout -b vgadiyar-157
Switched to a new branch 'vgadiyar-157'
vgadiyar@L-SJC-00520818 /c/Bugathon/CE/bugathon_march_2013 (vgadiyar-157)
$ git push origin vgadiyar-157
Username for 'github.com':
Password for 'github.com':
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/magento/bugathon_march_2013.git
 * [new branch]      vgadiyar-157 -> vgadiyar-157
vgadiyar@L-SJC-00520818 /c/Bugathon/CE/bugathon_march_2013 (vgadiyar-157)
$ git checkout vgadiyar-157
Already on 'vgadiyar-157'

At this point, you are ready to make code changes related to the issue #157.

Push your changes

$ git status
# On branch vgadiyar-157
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   RELEASE_NOTES.txt
#
no changes added to commit (use "git add" and/or "git commit -a")

vgadiyar@L-SJC-00520818 /c/Bugathon/CE/bugathon_march_2013 (vgadiyar-157)
$ git add RELEASE_NOTES.txt

vgadiyar@L-SJC-00520818 /c/Bugathon/CE/bugathon_march_2013 (vgadiyar-157)
$ git commit -m "closes #157"
[vgadiyar-157 50aa81d] closes #157
 1 files changed, 1 insertions(+), 1 deletions(-)
 
vgadiyar@L-SJC-00520818 /c/Bugathon/CE/bugathon_march_2013 (vgadiyar-157)
$ git push origin vgadiyar-157
Username for 'github.com':
Password for 'github.com':
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 325 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
To https://github.com/magento/bugathon_march_2013.git
   870ab1e..50aa81d  vgadiyar-157 -> vgadiyar-157

Clone this wiki locally