-
Notifications
You must be signed in to change notification settings - Fork 1.9k
factoids shouldn't be case-sensitive #1196
factoids shouldn't be case-sensitive #1196
Conversation
Leaving myself a note here.... @RobLoach |
Just about to push this fix :) Thanks though rob |
OK, so now all the keys in the system are lowercase, but it will print back whatever you wrote it as so as not to surprise:
Will we need to add something to convert all existing keys to lowercase? That might be destructive, so maybe the best way is to simply remove the Thoughts? |
You could try looking for the keys as they are entered as well as whatever Also worth noting that this script sounds pretty familiar to On Sunday, October 27, 2013, Patrick Connolly wrote:
Josh |
These messy additions should be removed after the next major version bump. It might make sense to leave the "get" and "del" functions like this so that people can clean up extra keys regardless.
Does this work well enough? Added |
It looks about right, but hard to tell if it'll work as expected without testing. How has your own testing gone? What uses cases have you tried? |
You know, what -- maybe I'll take the time to use |
factoids shouldn't be case-sensitive
We are actually moving away from adding scripts to repository in favor of separate npm packages per scripts. We have already stopped accepting new scripts, and will stop accepting pull requests on this repository after hubot 3.0. See #1113 for details. If you are interested in maintaining this longer term, check npm in case someone already made a package for it, and if not, check out https://hubot.github.com/docs/scripting/ for creating a package of your own. |
Title says it all. Will aim to split this script out per #1113 if I work on it.