Skip to content
This repository has been archived by the owner. It is now read-only.

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

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

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

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

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
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
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
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
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
Copy link

@smxsm smxsm commented Dec 5, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants