Git Product home page Git Product logo

hubot-rotation's Introduction

hubot-rotation

npm version CircleCI codecov code style: prettier

hubot-rotation is a hubot script, that makes it easier for your team to rotate some roles such as facilitator of morning meeting.

hubot-rotation

Requirement

Install

Rocket.Chat

See docker-compose example

Usage

  • Show current status
rotate show
  • Add users
rotate add user1 user2 user3
  • Delete an user (You cannot delete multiple users at the same time)
rotate delete hitochan
  • Move the facilitator to the next user
rotate next
  • Timezone (Default: +09:00)

To set timezone (In +/-HH:mm format from -12:00 to +14:00. I don't know why +14:00 but it was written so in wikipedia)

rotate config timezone +02:00

To show currently used timezone

rotate config timezone

Development

Feel free to submit Pull Requests to improve hubot-rotation together! First fork this repository, and then run yarn to install dependencies. You can use the following commands during the development. Note that PRs are accepted only if all the tests pass and the code is formatted with yarn format.

# Build
yarn build

# Test 
yarn test

# Formatting
yarn format

LICENSE

MIT

hubot-rotation's People

Contributors

f-hitochan777 avatar hitochan777 avatar

Watchers

 avatar  avatar  avatar

hubot-rotation's Issues

Bulk add feature

Can specify multiple names delimited by arbitrary number of whitespaces

rotate add user1 user2 user3

Data not persisted to Redis

After the restart the data is sometimes not persisted.
This is probably not the bug but due to the wrong setting of redis

Add time trigger using cron

Introduce rotate trigger command to trigger certain commands at certain time.

Planned syntax:

  • To add a trigger
    rotate trigger add <command> @ <occurrences>
  • To show triggers (and it will show a list of triggers with a numbered ID, command, and occurrences)
    rotate trigger show
  • To delete triggers
    rotate trigger delete <id>

For parsing occurrences and scheduling events, I am planning to use later.js

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.