Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Ideas for hubot v3 #256

Closed
tombell opened this Issue · 1 comment

1 participant

Tom Bell
Tom Bell

I was also thinking of adding a command to the bin/hubot for managing scripts from hubot-scripts instead of having it as a single package as it's becoming quite large with a good number of dependencies. This does have the added difficulty of how users will handle the dependencies on their end. I have a couple of ideas.

Adding a script

$ bin/hubot script add play
Adding play from https://github.com/github/hubot-scripts...
Added play to hubot-scripts.json
Please remember to add and commit the changes to your hubot repository

Removing a script

$ bin/hubot script rm play
Removing play...
Removed play from hubot-scripts.json
Please remember to add and commit the changes to your hubot repository

Importing from hubot-scripts.json

$ bin/hubot script import
Reading hubot-scripts.json...
Importing scripts from https://github.com/github/hubot-scripts...
airbrake...
commitmessage...
eightball...
gauges...
...
Finished importing scripts

Adding a script with a node module dependency

$ bin/hubot script add github-commiters
Adding github-commiters from https://github.com/github/hubot-scripts...

Additional dependencies are required for github-commiters to be used:

* githubot

Added github-commiters to hubot-scripts.json
Please remember to add and commit the changes to your hubot repository

Also to ease the deployment to heroku maybe add a deploy command that will commit any changes and push up to heroku.

Deploying to Heroku

$ bin/hubot deploy
Committing outstanding changes...
Deploying to Heroku...
Finished deploying to Heroku

Maybe even something to help with updating from a previous version of hubot to a newer version.

Updating your hubot instance

$ bin/hubot update
Currently installed: v3.0.0
Latest available: v3.0.1
Updating to v3.0.1...
Finished updating to v3.0.1

$ bin/hubot update
Currently installed: v3.0.0
Latest available: v3.0.0
No update required

Some of these are more useful than others, I'd love to try and make v3 just that little bit more user friendly.

Tom Bell

See #265.

Tom Bell tombell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.