com um clique
license
// Check and fix Apache 2.0 license headers and dependency licenses using skywalking-eyes. Use before submitting a PR.
// Check and fix Apache 2.0 license headers and dependency licenses using skywalking-eyes. Use before submitting a PR.
Add a new monitoring target / layer to SkyWalking OAP. Orients you to the OAL / MAL / LAL / SpanListener / SegmentListener extension points, the UI template + submodule touchpoints, the docs set that must move together, and the cross-cutting traps that don't live in any one skill.
Verify, commit, and push changes on a PR branch. Runs pre-flight checks (compile, checkstyle, license headers) before every push. Also creates the PR if one doesn't exist yet.
Run SkyWalking E2E tests locally
Rebuild the SkyWalking distribution and OAP Docker image after source changes. Use before running e2e tests so the image reflects your code changes. Avoids the "image looks updated but runtime has stale jars" trap.
Download and inspect CI e2e test logs from GitHub Actions artifacts. Use when investigating e2e test failures in CI.
Generate bytecode classes from DSL scripts (MAL, OAL, LAL, Hierarchy). Runs the compiler and dumps .class files for inspection.
| name | license |
| description | Check and fix Apache 2.0 license headers and dependency licenses using skywalking-eyes. Use before submitting a PR. |
| argument-hint | [check|fix|deps] |
Check and fix license compliance using skywalking-eyes. Two CI jobs use this tool:
check argument)license-eye header check
valid: N, invalid: 0 — nothing to do.license-eye header fix, then re-check.fix argument)license-eye header fix
license-eye header check
deps argument)This regenerates the LICENSE file from dependency metadata and checks for drift:
license-eye dependency resolve --summary ./dist-material/release-docs/LICENSE.tpl || exit 1
if [ ! -z "$(git diff -U0 ./dist-material/release-docs/LICENSE)" ]; then
echo "LICENSE file is not updated correctly"
git diff -U0 ./dist-material/release-docs/LICENSE
fi
If the LICENSE file changed, review the diff and commit it. Important: CI runs on Linux — some dependencies have platform-specific variants. If you're on macOS/Windows, the LICENSE diff may be a platform artifact. Verify before committing.
Configuration is in .licenserc.yaml:
META-INF/services/) require headers (use # comment style)# Same version as CI (pinned commit)
go install github.com/apache/skywalking-eyes/cmd/license-eye@5b7ee1731d036b5aac68f8bd3fc9e6f98ada082e
# Or via Homebrew (macOS)
brew install license-eye