Open dnrce opened 7 years ago
I'd definitely be interested in that. Is there a Hubot guide for structuring the package?
There is -- in fact there's a tool, too: https://github.com/github/hubot/blob/master/docs/scripting.md#creating-a-script-package
I should note that I'm totally willing to jump in and help here, as well. It's your code so I don't want to step on any toes, but you've already done the work to create this so I also don't want to demand further of you. Happy to take care of the packaging bit if you'd like.
Thanks for that offer, @dnrce. I'm interested in trying this out, but if I haven't done it in a week or two I'll hand it back over.
👍
No rush whatsoever. Thanks!
I went ahead and created https://github.com/dnrce/hubot-wmata for your review, to be transferred to the @codefordc org or your personal account once it's polished up. I used git filter-branch
to extract the existing commits for the script from the muttbot repo. Things to review:
package.json
)Oh, how wonderful, thank you! I'm fine with this as you've set it up.
Two small additional things:
LICENSE.md
in the root of the repopackage.json
, if you'd likeThanks, @stvnrlly! Updated. I chose to squash the fixup commit (dnrce/hubot-wmata@3fa9ea559ff7bdea503aafd53e9583877e8d18a9) into the commit it amended, but can revert that if you'd prefer to keep it separate.
Transferring to an org requires the transferrer to be an org admin, so it'll probably be easiest if you just pull this down and then push to a new repo.
Hi @stvnrlly,
Would you consider converting your great WMATA script into its own npm package so other DC-area Hubot operators can benefit (and contribute)?
Thanks!