Standards
Standard |
Usage |
URL |
iCalendar |
Events and tasks |
|
HTML+RDFa (extension task) |
Inline markup |
|
RSS and JSON |
Events and tasks |
https://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml |
Data sources
Debian UDD (https://udd.debian.org/dmd/?format=json&email1=user@mail.com)
- Github API
- github repository(s) url(s)
- github username (to fetch all issues belonging to that user)
- github access token (only if needed to access any private repository)
Nagios MK Live status
- Debian Events (summit.debconf.org)
- Bugzilla search results
- Bitbucket API
Any External direct iCal link (http://something.com/something/abc.ical)
Client side applications
- Mozilla Lightning plugin for Thunderbird
- GNOME Evolution
Github Project Link
https://github.com/ninjatrench/DeveloperHorizon
Features
- Data aggregating from above mentioned sources
- Direct download or storing it in a session
- Share a session key across people for allowing them to download particular combination of data sources
- Generate permanent session url
- Generate short url of deb.li or go.debian format for the same session
- Load any session with session key
- Load session into online calendar for better visualization
HOW TO USE
I have recently written a one step installation script for this project just fetch the setup.sh script and run/pipe it to bash
user@pc:~$ curl https://raw.githubusercontent.com/ninjatrench/DeveloperHorizon/master/setup.sh | bash
or
user@pc:~$ wget https://raw.githubusercontent.com/ninjatrench/DeveloperHorizon/master/setup.sh -o setup.sh
- user@pc:~$ chmod +x setup.sh
- user@pc:~$ ./setup.sh
it will automatically install all the required dependency, fetch the code and prepare the environment for it. currently it is written for using with Debian and Ubuntu, but it can be altered easily to work with other linux distributions.
help is welcome for writing the script for that.
Technologies and reference
I have implemented rest API architecture for the project so back end and front end works separately
So you can run web API and User interface separately or skip the UI all together and just use the web API or build your own UI over the webAPI
Reference usage of REST web API is at : https://github.com/ninjatrench/DeveloperHorizon/blob/master/examples/Flask_api_usage.txt
Backend:
- Python3
- Flash microframework for handling url and web api
- SQLalchemy and JSON for storage
- python-multiprocessing for concurrent processing
Front end :
- HTML5
- CSS 3
- Angular JS
- Twitter bootstrap
Backend libraries
Library |
Debian Package |
URL |
Python 3 |
||
SQLalchemy ORM |
||
pygithub |
||
python-bugzilla (1.1.0) |
Not found |
|
bitbucket-api (0.5.0) |
python-bitbucket (not Python 3) |
|
Flask-classy |
Not found |
|
pickleDB |
Not found |
Team
- Harsh Daftary (info [at] securitylabs.in)
Project discussion at #debian-data on irc.debian.org (OFTC).
Other Debian contacts
Debian QA Team - mailing list, IRC