wiki:DevWikiMain/DevForDummy

Version 3 (modified by marcu, 8 years ago) ( diff )

details for tests

This page is a step by step guide for contributing to PostGIS


Workflow:

  • Fork https://github.com/postgis/postgis
  • clone the forked postgis on your computer
  • compile (everything should be ok)
    • ./autogen.sh
    • ./configure
    • make
    • sudo make install
  • if big new feature
    • discuss on the dev mailing list or on irc.freenode.org #postgis
  • if bug correction
    • create / update tickets
  • if minor changes (no API break)
    • directly work on it
  • in all case : create a branch with a telling name (what you will be working on)
  • to code
    • start from SQL looking for the function definition and the associated C function
    • look for C function in postgis sources, and look if the postgis function calls a libgeom function
    • etc
  • to test
    • if libgeom : CUnit
      • cd liblwgeom/cunit/
      • make check
    • test at the postgres level (before submitting the code)
      • make
      • make check
      • sudo make install
      • make installcheck


Note: See TracWiki for help on using the wiki.