hubot-archive / hubot-auth

Assign roles to users and restrict command access in other scripts
149 stars 54 forks source link

List Assigned Roles gets no response (Latest code not downloading/installing through NPM) #34

Closed chriskol closed 8 years ago

chriskol commented 8 years ago

The list assigned roles command gets no response when I issue it with hubot. No errors or any messages from hubot. Just nothing as if the command weren't recognized. All other commands are fine (if I ask it what roles I have, or what roles a specific user has, or who has a specific role, it works fine). I think this may have something to do with my hubot standup script not recognizing any members of roles.

chriskol commented 8 years ago

Hey I'm a bit new to this but it looks like the version of hubot-auth I'm installing via npm is not the same as is on github. For instance the 'List Assigned Roles' function is not even in the auth.coffee version I'm downloading via npm. Tried deleting the folder in node_modules and reinstalling and it seems to be installing an old version.

Maybe this has something to do with the latest commit, @patcon? It's blowing my mind how what's on github isn't downloading/installing through npm

chriskol commented 8 years ago

It's looking like a new 'release' needs to be made to reflect the new changes? Maybe this is indeed two separate issues

chriskol commented 8 years ago

Jesus, sorry for the spam but would something like this be better to implement in the package.json file?

http://stackoverflow.com/questions/23338393/npm-install-not-installing-latest-version-on-github

Or is the only way for me to get the latest version to my hubot on heroku to do a fork and publish my fork to npm? Not being passive aggressive, just genuinely curious. Or is this already done and it's tied to the latest version instead of what's latest in the repo and new versions just aren't being made?

chriskol commented 8 years ago

I'm a big ol idiot and learned I can just change the package.json to use

"hubot-auth": "github:hubot-scripts/hubot-auth",

instead of the latest version

patcon commented 8 years ago

Heh. No worries -- there technically should be a new release. But yeah, the alt syntax works when that hasn't been done :)

Just release v1.3.0 :fireworks: