-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Review hubot-scripts organization and npm for scripts that have been extracted #1641
Comments
When new issues are opened, we should check to see if it's on a script that's been extracted. That'd give us a nice reactive list, without having to go through everything up front. |
I'm also maintaining the original Karma script (karma.coffee, not plusplus.coffee). |
I'm willing to move my package over to wherever it needs to be. I'm also probably going to work on my own hubot over the summer and will probably find reasons to fix scripts -- what should the process be for doing that? It seems like most scripts have an author, but not necessarily a maintainer, assuming I give credit to the original work, is there any harm in creating a new package, and the creating new PR's with deprecation warnings? |
Some additional scripts to deprecate: meme_captain.coffee → cycomachead/hubot-meme |
I moved resumator.coffee to it's own repo here: https://github.com/ChrisMissal/hubot-resumator |
#1697 adds a mapping of deprecated scripts in that package to external packages. Then hubotio/hubot#970 builds on this to display notices to users that they are using the deprecated thing with some actions to take. Unfortunately, the action for most people is going to be to try to find a replacement or maintain it themself, but the notice points to this issue for coordination. |
I was just directed here after an npm update and restart of my hubot. One of the scripts the warning message says has no replacement is "s3-brain.coffee", yet I see it linked above in the checklist. Is it supposed to detect these already, or is that still not an implemented feature? edit: looks like the replacements.json file lists "s3-brain" instead of "s3-brain.cofee" as the key. |
@technicalpickles for brewerydb.coffee, I made a hubot package that uses untappd instead of brewerydb that can suggest random beers for you: https://github.com/jvarness/hubot-barkeep This isn't a 100% like-for-like replacement, but it might be similar. |
jenkins-notifier -> https://github.com/halkeye/hubot-jenkins-notifier |
calm-down -> https://www.npmjs.com/package/hubot-calm-down |
bitcoin -> https://www.npmjs.com/package/hubot-bitcoin |
As part of deprecating this repo, we'll want to find scripts that have been extracted, and prompt users to use those. When we get closer to turning this off, we can make it more forceful.
Some places to look:
npm search hubot-scripts
Example snippet for deprecation: https://github.com/github/hubot-scripts/blob/master/src/scripts/pagerduty.coffee#L61(This is handled in hubot as of 2.19.0)Running list of things to deprecate:
9gag
: https://github.com/luijose/hubot-9gagasana
: https://github.com/hubot-scripts/hubot-asanaascii
: https://github.com/sanderploegsma/hubot-ascii-artbanbang
: https://www.npmjs.com/package/hubot-bang-bangcoin
: https://github.com/fordnox/hubot-coindarksky
: https://github.com/hubot-scripts/hubot-darkskyfactoids
: https://github.com/hubot-scripts/hubot-factoidsgitlab
for https://github.com/spruce/hubot-gitlab-hooksgoogle
: for https://github.com/mnpk/hubot-googleisup
: https://github.com/pric/hubot-isupjenkins
: https://github.com/balbeko/hubot-jenkinsjira-issues
: https://github.com/rustedgrail/hubot-jirakarma
: https://github.com/notpeter/hubot-karma-classicmeme_captain.coffee
: cycomachead/hubot-memeKnown things without extractions:
cc @github/open-source-hubot-maintainers
The text was updated successfully, but these errors were encountered: