Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Developer guidelines

Aashish Chaudhary edited this page Apr 15, 2014 · 1 revision

Branch names

Every branch of OpenGeoScience should follow this convention

  1. Start with github issue tracker number
  2. Followed by '-' aka hyphen
  3. Followed by words separated by hyphen '-'

For example: 49-fixed-vtk-netcdf-time-bug

Submodules

For any given submodule of geoweb, you will need to create a same name branch in that submodule and push you changes to the submodule repository. When ready you will need to merge your submodule branch into its next and then merge your geoweb branch into next and update its submodule reference. For instance lets say you are working on a branch improve-map-rendering in geoweb you will do the following:

in geoweb:

  • git checkout master
  • git fetch --all -p && git reset --hard origin/master
  • git checkout -b improve-map-rendering
  • git add ....
  • git commit ...
  • git push origin HEAD

in geojs:

  • cd web/lib/geojs
  • git checkout master
  • git fetch --all -p && git reset --hard origin/master
  • git checkout -b improve-map-rendering
  • git add ....
  • git commit ...
  • git push origin HEAD
  • git checkout next && git fetch --all -p && git reset --hard origin/next
  • git merge --no-ff origin/improve-map-rendering
  • git push origin HEAD
  • WAIT for the improve-map-rendering to be approved and merged into master of geojs
  • git checkout master && git fetch --all -p && git reset --hard origin/master
  • cd ../../../

in geoweb again:

  • git add web/lib/geojs
  • git push origin HEAD
  • git checkout next && git fetch --all -p && git reset --hard origin/next
  • git merge --no-ff improve-map-rendering
  • git push origin HEAD

Clone this wiki locally