Giter Site home page Giter Site logo

albot's People

Contributors

athieriot avatar bitdeli-chef avatar jenkoian avatar nickrowlandboxuk avatar tomseldon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

athieriot

albot's Issues

Better design of the "fallback" system

For every command you must have a fallback argument that allows albot to override the way the messages are rendered.

It's a bit weird for new comers to put this argument in a new Command and it's easy to forget

Working on error handling

Error handling is still a bit weak.

  • There is no simple way not to forget any error catching in a new Command.
  • Need more tests: Most of the lack of code coverage comes from the errors catching
  • Work on the actual display of the errors

Make albot show new PRs

Make albot show new PR details, either by listening to the jenkins API, or looking for a particular string in Hipchat, e.g.

PR:

Add stats command

albot stats http://url/to/repo

Which would return something like..

Project start: 3rd September 2012
Total commits: 123
No. of PR's: 123
LOC: 1234
Top contributor: Ben Davies

Not sure if all of the above is available from the github API, but I imagine some stuff would be

Querying should be better

Currently the querying is quite dump
You can't really mix the different possibilities and no errors are permitted

It would be nice to have an extensible system that allows the user to be more expressive

Test for existing parameter

Since this commit: 6e8d10b

There is not need to test a parameter existence with the "_.isString" method.

Would be nice to clean the code relative to that

Better usage of Async

The current code base could be cleaner by using more the Async library.

At least, a bit of housecleaning by reducing the functions into more little functions would be nice

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.