Skip to content

New snmp-integration docs not being picked up for Logstash Reference (LSR) #106

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

Closed
karenzone opened this issue May 20, 2024 · 4 comments
Closed
Assignees

Comments

@karenzone
Copy link
Contributor

karenzone commented May 20, 2024

Integration-snmp docs are not being picked up in LSR docgen.

Some context

How do we want to handle this?

  • It appears that we have two other non-default integration plugins.
    Screen Shot 2024-05-20 at 5 15 40 PM
    • It seems weird that the other two non-default plugins are being picked up for the docgen job, but they aren't mentioned in the skiplist. So obviously, there's some way to get plugins building that I'm not aware of. Can we figure out what that is, and then perhaps add those two in-process plugins to the skiplist with default-plugins: false and "skip-list": true? And then change docs tooling to allow non-default integration plugins such as integration-snmp is in the interim?
@karenzone karenzone self-assigned this May 20, 2024
@karenzone
Copy link
Contributor Author

Another possible solution: Could we add those to this skiplist to skip the whole repo?

@jsvd
Copy link
Member

jsvd commented May 21, 2024

Another possible solution: Could we add those to this skiplist to skip the whole repo?

Indeed, the skip list in docs-tools should be only for repos that aren't plugins, so keeping:

skip:
  - logstash-core-plugin-api
  - logstash-patterns-core
  - logstash-devutils

is fine, and the rest should be moved to plugins-metadata.json, and we should be able to remove the condition to automatically exclude non default integrations, and exclude them if they have "skip-list":true https://github.com/elastic/docs-tools/blob/main/plugindocs.rb#L66-L69

@karenzone
Copy link
Contributor Author

UPDATE: The root cause still exists, but this particular issue was resolved when integration-snmp became a default plugin with the merge of elastic/logstash#16180.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants