Go to file
2016-06-09 11:27:15 +02:00
.github adding reference to subquery argument requirement 2016-05-20 16:26:43 -04:00
doc descriptions for all functions 2016-06-01 15:06:58 -04:00
release Release 0.0.2 2016-03-16 19:22:21 +01:00
src rename some variables 2016-06-01 15:07:16 -04:00
.gitignore Ignore idea based configurations 2016-06-09 11:27:15 +02:00
CONTRIBUTING.md Fix instructions to update/install the extension 2016-05-20 11:47:12 +02:00
LICENSE Add licencse 2016-02-15 18:36:38 +01:00
Makefile Add missing Makefile comment 2016-03-16 15:54:39 +01:00
Makefile.global Refactor the Makefile 2016-03-16 15:40:40 +01:00
NEWS.md Release 0.0.2 2016-03-16 19:22:21 +01:00
README.md typo fixes, linking, etc. 2016-03-21 08:51:10 -04:00
RELEASE.md Reorganize the documentation into separate files 2016-03-16 17:42:28 +01:00

crankshaft

CartoDB Spatial Analysis extension for PostgreSQL.

Code organization

  • doc documentation
  • src source code
    • src/pg contains the PostgreSQL extension source code
    • src/py Python module source code
  • release reseleased versions
  • env base directory for Python virtual environments

Requirements

  • pip, virtualenv, PostgreSQL
  • python-scipy system package (see src/py/README.md)

Working Process -- Quickstart Guide

We distinguish two roles regarding the development cycle of crankshaft:

  • developers will implement new functionality and bugfixes into the codebase and will request for new releases of the extension.
  • A release manager will attend these requests and will handle the release process. The release process is sequential: no concurrent releases will ever be in the works.

We use the default develop branch as the basis for development. The master branch is used to merge and tag releases to be deployed in production.

Developers shall create a new topic branch from develop for any new feature or bugfix and commit their changes to it and eventually merge back into the develop branch. When a new release is required a Pull Request will be open against the develop branch.

The develop pull requests will be handled by the release manage, who will merge into master where new releases are prepared and tagged. The master branch is the sole responsibility of the release masters and developers must not commit or merge into it.

Development Guidelines

For a detailed description of the development process please see the CONTRIBUTING.md guide.

Any modification to the source code (src/pg/sql for the SQL extension, src/py/crankshaft for the Python package) shall always be done in a topic branch created from the develop branch.

Tests, documentation and peer code reviewing are required for all modifications.

The tests (both for SQL and Python) are executed by running, from the top directory:

sudo make install
make test

To request a new release, which will be handled by them release manager, a Pull Request must be created in the develop branch.

Release

The release and deployment process is described in the RELEASE.md guide and it is the responsibility of the designated release manager.