haunt icon indicating copy to clipboard operation
haunt copied to clipboard

Accidental "spamming" of bootstrap

Open andrewdeandrade opened this issue 11 years ago • 3 comments

I wasn't totally sure what make haunt did in the twitter bootstrap makefile and accidentally spammed dozens of github issues for the project. I'm guessing there should be some sort of control or confirmation dialog before it is run for the first time on an open project. I didn't expect one of the makefile commands to perform so many actions on github on my behalf that I didn't intend.

reference example: https://github.com/twitter/bootstrap/issues/4550

andrewdeandrade avatar Sep 27 '12 17:09 andrewdeandrade

That probably isn't a bug but just ignorance because in the Makefile it states:

# HAUNT GITHUB ISSUES 4 FAT & MDO ONLY (O_O  )

But sure, I did the same, installed haunt, run make haunt and entered my GitHub credentials.

koenpunt avatar Oct 09 '12 08:10 koenpunt

It's not a bug, but it is certainly an issue. IMHO the haunt command itself should go ahead and tell you what you are about to do and put a prompt that asks you if you are sure you want to execute the command, requiring you to type out the entire word "yes"

andrewdeandrade avatar Oct 09 '12 19:10 andrewdeandrade

If its "[for] FAT & MDO ONLY" then a whitelist check of the given username might help as well.

Also a hint like "(automated bot message)" at the beginning could help, and that "should include a jsfiddle/jsbin" detection could be improved, then the accidential posts might even be helpful.

mk-pmb avatar Aug 08 '16 15:08 mk-pmb