Skip to content

Commit 877ff24

Browse files
authored
Merge pull request #154 from Templum/develop
🔀 Pulling develop changes
2 parents 514acb0 + e5d8619 commit 877ff24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4881
-4481
lines changed

.devcontainer/Dockerfile

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/go/.devcontainer/base.Dockerfile
2-
3-
# [Choice] Go version: 1, 1.15, 1.14
4-
ARG VARIANT="1"
5-
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
6-
7-
# [Option] Install Node.js
8-
ARG INSTALL_NODE="true"
9-
ARG NODE_VERSION="lts/*"
10-
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
11-
12-
# [Optional] Uncomment this section to install additional OS packages.
13-
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
14-
# && apt-get -y install --no-install-recommends <your-package-list-here>
15-
16-
# [Optional] Uncomment the next line to use go get to install anything else you need
17-
# RUN go get -x <your-dependency-or-tool>
18-
19-
# [Optional] Uncomment this line to install global node packages.
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/go/.devcontainer/base.Dockerfile
2+
3+
# [Choice] Go version: 1, 1.15, 1.14
4+
ARG VARIANT="1"
5+
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
6+
7+
# [Option] Install Node.js
8+
ARG INSTALL_NODE="true"
9+
ARG NODE_VERSION="lts/*"
10+
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
11+
12+
# [Optional] Uncomment this section to install additional OS packages.
13+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
14+
# && apt-get -y install --no-install-recommends <your-package-list-here>
15+
16+
# [Optional] Uncomment the next line to use go get to install anything else you need
17+
# RUN go get -x <your-dependency-or-tool>
18+
19+
# [Optional] Uncomment this line to install global node packages.
2020
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1

.devcontainer/devcontainer.json

+56-56
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2-
// https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/go
3-
{
4-
"name": "Go",
5-
"build": {
6-
"dockerfile": "Dockerfile",
7-
"args": {
8-
// Update the VARIANT arg to pick a version of Go: 1, 1.15, 1.14
9-
"VARIANT": "1.15",
10-
// Options
11-
"INSTALL_NODE": "false",
12-
"NODE_VERSION": "lts/*"
13-
}
14-
},
15-
"runArgs": [
16-
"--cap-add=SYS_PTRACE",
17-
"--security-opt",
18-
"seccomp=unconfined"
19-
],
20-
// Set *default* container specific settings.json values on container create.
21-
"settings": {
22-
"terminal.integrated.shell.linux": "/bin/bash",
23-
"go.toolsManagement.checkForUpdates": "off",
24-
"go.useLanguageServer": true,
25-
"go.gocodeAutoBuild": false,
26-
"files.autoSave": "afterDelay",
27-
"editor.formatOnPaste": true,
28-
"editor.formatOnSave": true,
29-
"go.gopath": "/go",
30-
"go.goroot": "/usr/local/go",
31-
"go.toolsGopath": "/go/bin",
32-
"go.buildOnSave": "workspace",
33-
"go.lintOnSave": "package",
34-
"go.vetOnSave": "package",
35-
"go.coverOnSave": false,
36-
"go.useCodeSnippetsOnFunctionSuggest": false,
37-
"go.lintTool": "golangci-lint",
38-
"go.formatTool": "goimports",
39-
"[go]": {
40-
"editor.codeActionsOnSave": {
41-
"source.organizeImports": true
42-
},
43-
},
44-
},
45-
// Add the IDs of extensions you want installed when the container is created.
46-
"extensions": [
47-
"golang.Go",
48-
"streetsidesoftware.code-spell-checker",
49-
"premparihar.gotestexplorer"
50-
],
51-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
52-
// "forwardPorts": [],
53-
// Use 'postCreateCommand' to run commands after the container is created.
54-
// "postCreateCommand": "go version",
55-
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
56-
"remoteUser": "vscode"
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/go
3+
{
4+
"name": "Go",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
"args": {
8+
// Update the VARIANT arg to pick a version of Go: 1, 1.15, 1.14
9+
"VARIANT": "1.15",
10+
// Options
11+
"INSTALL_NODE": "false",
12+
"NODE_VERSION": "lts/*"
13+
}
14+
},
15+
"runArgs": [
16+
"--cap-add=SYS_PTRACE",
17+
"--security-opt",
18+
"seccomp=unconfined"
19+
],
20+
// Set *default* container specific settings.json values on container create.
21+
"settings": {
22+
"terminal.integrated.shell.linux": "/bin/bash",
23+
"go.toolsManagement.checkForUpdates": "off",
24+
"go.useLanguageServer": true,
25+
"go.gocodeAutoBuild": false,
26+
"files.autoSave": "afterDelay",
27+
"editor.formatOnPaste": true,
28+
"editor.formatOnSave": true,
29+
"go.gopath": "/go",
30+
"go.goroot": "/usr/local/go",
31+
"go.toolsGopath": "/go/bin",
32+
"go.buildOnSave": "workspace",
33+
"go.lintOnSave": "package",
34+
"go.vetOnSave": "package",
35+
"go.coverOnSave": false,
36+
"go.useCodeSnippetsOnFunctionSuggest": false,
37+
"go.lintTool": "golangci-lint",
38+
"go.formatTool": "goimports",
39+
"[go]": {
40+
"editor.codeActionsOnSave": {
41+
"source.organizeImports": true
42+
},
43+
},
44+
},
45+
// Add the IDs of extensions you want installed when the container is created.
46+
"extensions": [
47+
"golang.Go",
48+
"streetsidesoftware.code-spell-checker",
49+
"premparihar.gotestexplorer"
50+
],
51+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
52+
// "forwardPorts": [],
53+
// Use 'postCreateCommand' to run commands after the container is created.
54+
// "postCreateCommand": "go version",
55+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
56+
"remoteUser": "vscode"
5757
}

.github/ISSUE_TEMPLATE/bug_report.md

+36-36
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
---
2-
name: Bug report
3-
about: Create a report to help us improve the connector
4-
title: "[BUG]"
5-
labels: bug, investigate
6-
assignees: ''
7-
8-
---
9-
10-
# General Information
11-
12-
**Environment**
13-
14-
Docker: []
15-
Kubernetes: []
16-
Other: []
17-
18-
**Connector Version**
19-
Tag:
20-
Sha:
21-
22-
# Bug Details
23-
24-
**Describe the bug**
25-
Please give a clear and concise description of the bug.
26-
27-
**Expected behaviour**
28-
Please give a clear and concise description of what you expected to happen.
29-
30-
**Steps to Reproduce**
31-
32-
If possible provide a step by step guide on how to reproduce the issue.
33-
Please make sure to also highlight environmental factors.
34-
35-
**Screenshots/Logs**
36-
If applicable, add screenshots/logs to help explain your problem.
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve the connector
4+
title: "[BUG]"
5+
labels: bug, investigate
6+
assignees: ''
7+
8+
---
9+
10+
# General Information
11+
12+
**Environment**
13+
14+
Docker: []
15+
Kubernetes: []
16+
Other: []
17+
18+
**Connector Version**
19+
Tag:
20+
Sha:
21+
22+
# Bug Details
23+
24+
**Describe the bug**
25+
Please give a clear and concise description of the bug.
26+
27+
**Expected behaviour**
28+
Please give a clear and concise description of what you expected to happen.
29+
30+
**Steps to Reproduce**
31+
32+
If possible provide a step by step guide on how to reproduce the issue.
33+
Please make sure to also highlight environmental factors.
34+
35+
**Screenshots/Logs**
36+
If applicable, add screenshots/logs to help explain your problem.
+20-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: "[FR]"
5-
labels: design, enhancement
6-
assignees: ''
7-
8-
---
9-
10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12-
13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
15-
16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
18-
19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FR]"
5+
labels: design, enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
---
2-
name: Question
3-
about: Ask a Question around the project
4-
title: "[Q]"
5-
labels: question
6-
assignees: ''
7-
8-
---
9-
10-
<!---
11-
1. Prior to raising a Question please check out if it was already answered in the past.
12-
2. Make sure to be as precise as possible in order to ensure a good answer
13-
-->
1+
---
2+
name: Question
3+
about: Ask a Question around the project
4+
title: "[Q]"
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
<!---
11+
1. Prior to raising a Question please check out if it was already answered in the past.
12+
2. Make sure to be as precise as possible in order to ensure a good answer
13+
-->

.github/dependabot.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
version: 2
2-
updates:
3-
# Maintain dependencies for GitHub Actions
4-
- package-ecosystem: "github-actions"
5-
directory: "/"
6-
schedule:
7-
interval: "daily"
8-
labels:
9-
- "dependencies"
10-
- "github-actions"
11-
- package-ecosystem: "docker"
12-
directory: "/"
13-
schedule:
14-
interval: "weekly"
15-
labels:
16-
- "dependencies"
17-
- "docker"
18-
- package-ecosystem: "gomod"
19-
directory: "/"
20-
schedule:
21-
interval: "daily"
22-
labels:
23-
- "dependencies"
24-
- "go-mod"
1+
version: 2
2+
updates:
3+
# Maintain dependencies for GitHub Actions
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
labels:
9+
- "dependencies"
10+
- "github-actions"
11+
- package-ecosystem: "docker"
12+
directory: "/"
13+
schedule:
14+
interval: "weekly"
15+
labels:
16+
- "dependencies"
17+
- "docker"
18+
- package-ecosystem: "gomod"
19+
directory: "/"
20+
schedule:
21+
interval: "daily"
22+
labels:
23+
- "dependencies"
24+
- "go-mod"

0 commit comments

Comments
 (0)