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

Removing tests dir causes github-apply script to fail #464

Open
dot-mike opened this issue Oct 25, 2024 · 0 comments
Open

Removing tests dir causes github-apply script to fail #464

dot-mike opened this issue Oct 25, 2024 · 0 comments

Comments

@dot-mike
Copy link

dot-mike commented Oct 25, 2024

LibreNMS has a github-apply script that applies a PR. I wanted to use this a temporarily workaround until a fix arrives in a release.

Turns out running the command does not work because tests directory is missing

$ docker compose exec -it librenms sh
/opt/librenms # github-apply 16188
sh: github-apply: not found
/opt/librenms # ./scripts/github-apply 16188
Checking patch includes/definitions/discovery/eltek-webpower.yaml...
Checking patch tests/data/eltek-webpower.json...
error: tests/data/eltek-webpower.json: No such file or directory

tests/ \

@dot-mike dot-mike changed the title Removing tests dir causes github-apply scrip to file Removing tests dir causes github-apply script to fail Oct 25, 2024
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

1 participant