From 5fdaeda601efd08a07e0cf09c7a6df6a4c64760d Mon Sep 17 00:00:00 2001 From: amlmtl <> Date: Fri, 3 Nov 2023 11:11:35 +0000 Subject: [PATCH 1/3] chore: add missing gitignore entries --- .gitignore | 18 +++++++++++++----- docker/test/build.sh | 2 -- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index df81eae..4499e38 100644 --- a/.gitignore +++ b/.gitignore @@ -4,15 +4,16 @@ # Whitelist our source files and folders !/internal/ !/pkg -!/.config +!/src # Whitelist project files -!/.gitignore +!/.config !/.eslintrc +!/.gitignore !/.prettierrc.js !/CHANGELOG.md !/LICENSE -!/magefile.go +!/Magefile.go !/README.md !/go.mod !/go.sum @@ -22,9 +23,16 @@ !/package.json !/tsconfig.json !/yarn.lock -!/src !/sage !/ci !/install + !/docker -!/snyk +/docker/dev/data/ +/docker/test/data/ +!/docker/test/data/grafana-oss/plugins/* +!/docker/test/data/grafana-oss/public/* + +!/.vscode +/.vscode/* +!/.vscode/launch.json diff --git a/docker/test/build.sh b/docker/test/build.sh index 8ffd389..f108a2e 100644 --- a/docker/test/build.sh +++ b/docker/test/build.sh @@ -2,6 +2,4 @@ mkdir -p data/grafana-oss/plugins/ rm -rf data/grafana-oss/plugins/sasesp-plugin/dist ln -srf ../../dist data/grafana-oss/plugins/sasesp-plugin -mkdir -p data/grafana-oss/public/maps/ - docker build . \ No newline at end of file From 75b49687e81308c2a2cd7bef6bbc8932ae30800f Mon Sep 17 00:00:00 2001 From: amlmtl <> Date: Fri, 3 Nov 2023 11:30:41 +0000 Subject: [PATCH 2/3] chore: add vscode config under version control --- .vscode/launch.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c86901c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug in Container", + "type": "go", + "request": "attach", + "mode": "remote", + "remotePath": "/var/lib/grafana/plugins/sasesp-plugin/", + "port": 3222, + "host": "127.0.0.1", + "apiVersion": 2, + "trace": "verbose" + } + ] +} From e501dd6f3811e08d78cae0a4ea40cc65db78d4a3 Mon Sep 17 00:00:00 2001 From: amlmtl <> Date: Fri, 3 Nov 2023 11:31:14 +0000 Subject: [PATCH 3/3] chore: clean up gitignore file --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4499e38..365a46e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,8 +23,6 @@ !/package.json !/tsconfig.json !/yarn.lock -!/sage -!/ci !/install !/docker