Skip to content

timkral/horn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heimdall

Heimdall is a build system service that checks for compliant commits to a git repository. It is licensed under the BSD-3 Clause license.

Installation

At a high level, Heimdall requires that the following be installed:

  • python (>= version 2.7, < version 3)
  • CouchDB (>= version 1.2)
  • git (>= version 1.7)
  • ccollab command line tool (>= version 6.5)

###Python Installation### In order to run Heimdall, one will need the following Python modules:

###CouchDB Installation###

Setup

Heimdall includes a command line setup and development tool called horn. Most setup and development commands will be issued through it. However, there are a few manual setup steps:

  1. Ensure that the ccollab command line client is configured:

    ccollab login
  2. Make horn executable:

    cd <heimdall_home>
    chmod x+ horn
  3. Setup Heimdall configuration:

    ./horn config
  4. Verify environment for using Heimdall:

    ./horn verify
  5. Push Heimdall design documents to CouchDB:

    ./horn push

###Data Loading### Heimdall requires data from two sources: a git repository and a CodeCollaborator review system.

To load a git commit:

./horn loadcommit <full_git_commit_sha1>

To load a CodeCollaborator review:

./horn loadreview <ccollab_review_id>

Development

Most map-reduce development will likely occur on CouchDB itself. To support this, horn comes with a sync function to pull design documents from CouchDB:

./horn sync
git commit -a

Note that ./horn sync and ./horn push are meant to be used in concert.

About

Heimdall python client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published