-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Hubot uses obsolete script repository #6640
Comments
Yes it has not been used for a very long time.
https://github.com/github/hubot-scripts/blob/master/CONTRIBUTING.md
The scripts don't get loaded from that repo anymore they are loaded from
npmjs.com
…On 10 Apr. 2017 3:49 pm, "Joan Touzet" ***@***.***> wrote:
Rocket.Chat Version: 0.54.2
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.8.1
The Internal Hubot admin settings page says:
Please enter a comma separated list of scripts to load from
https://github.com/github/hubot-scripts/tree/master/src/scripts
However, the top-level README for that repository reads:
*DEPRECATED*, see github/hubot-scripts#1113
<github/hubot-scripts#1113> for details
which in turn says:
IMPORTANT: No longer accepting new scripts to this package, create
external packages instead
Reading through the history, the hubot-scripts repo was already deprecated
in 2015!
On top of this, many of the scripts don't even work anymore, not having
been maintained for 3 years or more - see #5952
<#5952> for details.
Please revisit how scripts can be added to the internal Hubot without
using this deprecated (and mostly non-functional) repository.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6640>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AA1QDyR0SFQ0TSM2qLoamuqV4kM7Sc7fks5rucLegaJpZM4M4WOI>
.
|
Yes currently it uses a preseeded folder of scripts compiled in. We are working on resolving this. The issue here is we can't just let you specify any random script from npm. Because we won't be able.to handle the installation of the scripts. It'll have to only point to scripts you've dropped into a folder. We have an issue open for setting an external folder where you can add your own scripts |
Is there a list of which scripts are in the preseeded folder anywhere?
The help text in the settings dialogue is definitely misleading at the
very least.
Can you point me to the ticket for the replacement setup as well?
Thanks for your responses!
|
Default scripts can be found here: |
Thanks - unfortunately I deploy using Docker so I won't be able to leverage this approach easily. And it still doesn't show me what the default list of scripts is from anywhere in this repo, which is what I was looking for. |
Mount a local folder on the docker host/storage into /app/bundle/programs/server/npm/node_modules/meteor/rocketchat_internal-hubot/node_modules/hubot-scripts/src/scripts/ Then you can just pop your choice of scripts in there the scripts in there and they wont go anywhere on upgrades. |
Hello a lot of the packaged hubot scripts would already be enough for a lot of things. are there plans to update at least those? I've tried a few and a lot of them don't do anything or require environment settings (bing api key for a deprecated api) that are unclear to me where to put them. there are a lot of scripts. my main focus was search, images, youtube, maps (google or bing). what people use the most :) |
@wemu the environment variables are set in the same place you set MONGO_URL, ROOT_URL and the PORT url at the time of deployment / startup |
ah I see. Thanks! I'll try some more of the scripts - quite fun 👍 |
I have question, too. |
@teamfighter Internal hubot is integrated, so you don't need install anything after you install RC. |
@Rohlik |
is the bot invited to the channel? "bot help" does nothing? is the bot using a username that exists in the users list? does that user have proper permissions? |
@wemu |
Is this already resolved with #7095 ? |
Rocket.Chat Version: 0.54.2
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.8.1
The Internal Hubot admin settings page says:
However, the top-level README for that repository reads:
which in turn says:
Reading through the history, the hubot-scripts repo was already deprecated in 2015!
On top of this, many of the scripts don't even work anymore, not having been maintained for 3 years or more - see #5952 for details.
Please revisit how scripts can be added to the internal Hubot without using this deprecated (and mostly non-functional) repository.
The text was updated successfully, but these errors were encountered: