Giter Site home page Giter Site logo

girajira's Introduction

Girajira Build Status codecov

Girajira is a small clojure web api that automates Jira card transitions via opened github pull requests.

Prerequisites

Testing & Plugins

Girajira uses Midje for automated tests.

Recommended user plugins are:

A sample ~/.lein/profiles.clj:

{:user {:plugins [[cider/cider-nrepl "0.16.0"]
                  [venantius/ultra "0.5.2"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.13"]]}}

Running tests using Midje

Enter the project directory and run the tests by using the lein midje command in your terminal.

Running tests automatically

Midje allows you to automatically run your tests whenever you change your source code. To automatically run your tests use the lein midje :autotest command.

Running code coverage

We're using cloverage for code coverage. Generate the coverage report by running lein cloverage --runner :midje in your terminal.

Configuring Aero

Girajira uses Aero for enviroment configuration. In order to be able to perform requests to Jira's API you need to setup a .secrets.edn configuration file in the project's config directory. This file will be ignored by git.

A sample config/.secrets.edn:

{:jira
  {:url "https://YOUR_JIRA_URL"
   :username "JIRA_USERNAME"
   :password "JIRA_PASSWORD"}}

Running

To start a web server for the application, run:

lein ring server

License

MIT

girajira's People

Contributors

drayah avatar oborba avatar

Stargazers

Renato Zannon avatar Luiz Marques avatar

girajira's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.