Skip to content
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

There is no "script" directory in the graylog-project #473

Open
eduault opened this issue Sep 5, 2018 · 5 comments
Assignees
Labels

Comments

@eduault
Copy link

@eduault eduault commented Sep 5, 2018

Context

I tried to execute the procedure described in "Creating a plugin skeleton" in the "Plugins" page :
http://docs.graylog.org/en/2.4/pages/plugins.html#creating-a-plugin-skeleton

After having cloned graylog-project from GitHub (git clone https://github.com/Graylog2/graylog-project.git), this page tell that I should execute those scripts :
$ scripts/bootstrap
$ scripts/bootstrap-plugin jira-alarmcallback

It is not possible because there is no no "script" directory in the graylog-project.

Expected Content

The procedure described in "Creating a plugin skeleton" in the "Plugins" page should be should be consistent with the content of the graylog-project.

Your Environment

  • Graylog Version: 2.4
  • graylog-project: cloned from GitHub on September 5 2018, at 08:10:54 UTC
  • Operating System: Ubuntu on AWS
  • Git version : 2.14.4
@danotorrey

This comment has been minimized.

Copy link
Contributor

@danotorrey danotorrey commented Sep 18, 2018

I am investigating this. I was able to reproduce the issue. There is no scripts directory in the graylog-project project.

@smxsm

This comment has been minimized.

Copy link

@smxsm smxsm commented Nov 24, 2018

I guess the scripts will be replaced for the new graylog-cli project in the future, but at the moment there is no alternative to "bootstrap-plugin" it seems... but I was able to pull the "scripts" dir from an older branch and copy the folder into my "graylog-project" folder ... I had to adjust the path to the graylog-project-repos in the "scripts/includes" file (modulesPrefix=../graylog-project-repos) and finally move the generated plugin folder one level up after creation, but it basically worked to create a new plugin with "scripts/bootstrap-plugin" (I didn't use "scripts/bootstrap" before, sind the graylog-cli already set everything up before)

@smxsm

This comment has been minimized.

Copy link

@smxsm smxsm commented Dec 4, 2018

For anyone interested, I have summarized my findings for creating new plugins and the missing script dir etc. in a blog article.

@danotorrey

This comment has been minimized.

Copy link
Contributor

@danotorrey danotorrey commented Dec 4, 2018

Hi @smxsm,
Thanks for the blog article. It looks like the link did not come through. Could you please repost it?

@smxsm

This comment has been minimized.

Copy link

@smxsm smxsm commented Dec 5, 2018

@danotorrey whoops, I've fixed the link, please try again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.