From 57ef3b499f2818d57eadd86faf0cd91d406f128f Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Sat, 17 Apr 2021 09:28:36 +0800 Subject: [PATCH 1/3] look for v1 versions only --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b801d58..3b94d1c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: branches: - "!*" tags: - - "v*" + - "v1*" jobs: release-build: From c4878671e38b158ec65626587c03c96c00c64e12 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 21 Apr 2021 18:00:34 +0800 Subject: [PATCH 2/3] add codespace support --- .devcontainer/Dockerfile | 10 +++++++ .devcontainer/devcontainer.json | 32 +++++++++++++++++++++ .idea/workspace.xml | 20 +++++++++++-- .vscode/settings.json | 3 +- geeksville-private/TODO.md | 4 +-- geeksville-private/pine64.md | 51 +++++++++++++++++++++++++++++++++ src/main.cpp | 4 +-- 7 files changed, 116 insertions(+), 8 deletions(-) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json create mode 100644 geeksville-private/pine64.md diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..5e7ef03d --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,10 @@ +# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.162.0/containers/ubuntu/.devcontainer/base.Dockerfile + +# [Choice] Ubuntu version: bionic, focal +ARG VARIANT="focal" +FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} + +# [Optional] Uncomment this section to install additional OS packages. +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install python3-distutils +RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip -O /tmp/protoc.zip && cd /tmp && unzip protoc.zip && chmod a+x bin/protoc && cp bin/protoc /usr/local/bin diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..e0a284e8 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,32 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: +// https://github.com/microsoft/vscode-dev-containers/tree/v0.162.0/containers/ubuntu +{ + "name": "Ubuntu", + "build": { + "dockerfile": "Dockerfile", + // Update 'VARIANT' to pick an Ubuntu version: focal, bionic + "args": { "VARIANT": "focal" } + }, + + // Set *default* container specific settings.json values on container create. + "settings": { + "terminal.integrated.shell.linux": "/bin/bash" + }, + + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "platformio.platformio-ide", + "xaver.clang-format" + ], + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "remoteUser": "vscode", + + "postCreateCommand": "git submodule update --init" +} \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 826eaac5..dad7634e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -14,7 +14,17 @@ + + + + + + + + + + @@ -146,6 +157,11 @@ 20