crashappsec / crashappsec/util.sh

Don't require integrations-schema for linting only

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

If the golang version of the integrations repo is checked out within GOPATH and thus integrations-schema is not present in the parent directory, linting step fails:
```
❯ ./build.sh lint
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13418 100 13418 0 0 78795 0 --:--:-- --:--:-- --:--:-- 84924
'../integrations-schema/docker-compose.yml' is missing to start schema
```

The ask of this issue is to decouple linting from other dependencies (will file a separate issue for the relative path requirement)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with build.sh and run ./build.sh lint in a checkout where integrations-schema is absent from the parent directory. Trace why the linting step requires ../integrations-schema/docker-compose.yml. Done means linting runs without that dependency, while the separate relative-path requirement remains out of scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.