GithubHelp home page GithubHelp logo

afrolov1 / launchpad-reports-summary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mirantis/launchpad-reports-summary

0.0 2.0 0.0 5.02 MB

License: MIT License

Python 10.28% CSS 3.73% JavaScript 85.99%

launchpad-reports-summary's Introduction

launchpad-reporting

Convenient web-based frontend for Launchpad. Displays bug tables and charts for a Launchpad project.

Getting Started

First, install pip and virtualenv on your system. On Ubuntu it can be done by running "sudo apt-get install python-pip python-virtualenv". You may also consider using virtualenvwrapper script (http://virtualenvwrapper.readthedocs.org/en/latest/). Also you will need to install mongodb. Then:

~$ virtualenv venv  # creating virtualenv
~$ source venv/bin/activate
~$ git clone https://github.com/Mirantis/launchpad-reports-summary.git
~$ cd launchpad-reports-summary
~$ mkdir data  # folder to store mongodb data (you can specify your own)
~$ mongod --dbpath ./data  # this launches mongodb instance. It may take some time first
~$ pip install -r requirements.txt
~$ python syncdb.py
~$ python collect_assignees.py
~$ python main.py run

After that, open http://localhost:1111 in your browser.

How it works

  • Flask is used as a web frontend
  • d3 & nvd3 are used for the charts
  • Interation with Launchpad is done through launchpadlib
  • The code is optimized to retrieve data from launchpad using the minimum amount of queries. Still, it can take up to 5-10 seconds for a query to complete (for a milestone with hundreds of bugs)
  • The results retrieved from Launchpad are cached for 5 minutes. See decorator @ttl_cache

Limitations

  • Does not show private bugs, as it requires more complex authentication flow with Launchpad

Screenshots

alt tag

launchpad-reports-summary's People

Contributors

nastya-kuz avatar smurashov avatar afrolov1 avatar pkholkin avatar

Watchers

James Cloos avatar  avatar

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.