From 19ca5867c10aa443db5104b565e6f774dc3a6158 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Fri, 26 Feb 2021 15:42:19 +0100 Subject: [PATCH 1/3] Change workflow branch from master to main --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c85b26..71507b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,13 +3,13 @@ name: build on: push: branches: - - master + - main schedule: - cron: '0 4 * * MON-FRI' # run every weekday at 4AM (https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule) workflow_dispatch: pull_request: branches: - - master + - main jobs: @@ -57,7 +57,7 @@ jobs: publish: needs: build - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master') + if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') runs-on: ubuntu-latest steps: - name: Download Workflow Artifact [GitHub Actions] From 4d1d1f2b017f86688df8a2268f0dced9faff10a4 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Fri, 26 Feb 2021 16:03:56 +0100 Subject: [PATCH 2/3] Update links in PRs template --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index dfabe10..ed75591 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,8 +1,8 @@ **Please check if the PR fulfills these requirements** -- [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/bcmi-labs/arduino-language-server/pulls) +- [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-language-server/pulls) before creating one) -- [ ] The PR follows [our contributing guidelines](https://github.com/bcmi-labs/arduino-language-server#pull-requests) +- [ ] The PR follows [our contributing guidelines](https://github.com/arduino/arduino-language-server#pull-requests) - [ ] Tests for the changes have been added (for bug fixes / features) * **What kind of change does this PR introduce?** From 1c1106f20209a1b2c8ecbad6bff8ff10d369489c Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Fri, 26 Feb 2021 16:04:04 +0100 Subject: [PATCH 3/3] Remove .gitpod files --- .gitpod.Dockerfile | 19 ------------------- .gitpod.setup.sh | 13 ------------- .gitpod.yml | 5 ----- 3 files changed, 37 deletions(-) delete mode 100644 .gitpod.Dockerfile delete mode 100755 .gitpod.setup.sh delete mode 100644 .gitpod.yml diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile deleted file mode 100644 index 2f0dd6f..0000000 --- a/.gitpod.Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# same as https://github.com/bcmi-labs/arduino-editor/blob/master/Dockerfile -FROM gitpod/workspace-full - -USER root -RUN apt-get update -q --fix-missing && \ - apt-get install -y -q software-properties-common && \ - apt-get install -y -q --no-install-recommends \ - build-essential \ - libssl-dev \ - golang-go \ - libxkbfile-dev - -RUN set -ex && \ - tmpdir=$(mktemp -d) && \ - curl -L -o $tmpdir/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip && \ - mkdir -p /usr/lib/protoc && cd /usr/lib/protoc && unzip $tmpdir/protoc.zip && \ - chmod -R 755 /usr/lib/protoc/include/google && \ - ln -s /usr/lib/protoc/bin/* /usr/bin && \ - rm $tmpdir/protoc.zip diff --git a/.gitpod.setup.sh b/.gitpod.setup.sh deleted file mode 100755 index ecb73a7..0000000 --- a/.gitpod.setup.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -euxo pipefail - -echo go build -o /workspace/arduino-editor/arduino-ide-extension/build/arduino-language-server > /workspace/arduino-language-server/build.sh -chmod +x /workspace/arduino-language-server/build.sh - -cd /workspace -git clone https://github.com/bcmi-labs/arduino-editor -cd arduino-editor -yarn - -echo "starting an Arduino IDE with: yarn --cwd /workspace/arduino-editor/browser-app start" -yarn --cwd /workspace/arduino-editor/browser-app start diff --git a/.gitpod.yml b/.gitpod.yml deleted file mode 100644 index 9cf4a98..0000000 --- a/.gitpod.yml +++ /dev/null @@ -1,5 +0,0 @@ -image: - file: .gitpod.Dockerfile - -tasks: -- command: echo "please run .gitpod.setup.sh to get started (cannot checkout private repos before Gitpod is up and running)" \ No newline at end of file