8000 Merge pull request #174 from arduino/support_for_cli_1.0 · arduino/arduino-language-server@e2ed6de · GitHub
[go: up one dir, main page]

Skip to content

Commit e2ed6de

Browse files
authored
Merge pull request #174 from arduino/support_for_cli_1.0
Support for `arduino-cli` API changes after 1.0.0
2 parents ed5efe3 + df387a6 commit e2ed6de
  • magiconair
  • mattn
  • mitchellh
  • pelletier
  • pmylund
  • sirupsen
  • spf13
  • subosito
  • go.bug.st
  • golang.org/x
  • google.golang.org
  • gopkg.in
  • ls
  • Some content is hidden

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

    174 files changed

    +1265
    -19580
    lines changed

    .github/workflows/build.yml

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -37,7 +37,7 @@ jobs:
    3737
    - name: Install Go
    3838
    uses: actions/setup-go@v5
    3939
    with:
    40-
    go-version: '1.18.3'
    40+
    go-version: '1.21.5'
    4141

    4242
    - name: Build and Test
    4343
    run: |

    .github/workflows/check-go-dependencies-task.yml

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -3,7 +3,7 @@ name: Check Go Dependencies
    33

    44
    env:
    55
    # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
    6-
    GO_VERSION: "1.18.3"
    6+
    GO_VERSION: "1.21.5"
    77

    88
    # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
    99
    on:

    .github/workflows/check-go-task.yml

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -3,7 +3,7 @@ name: Check Go
    33

    44
    env:
    55
    # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
    6-
    GO_VERSION: "1.18.3"
    6+
    GO_VERSION: "1.21.5"
    77

    88
    # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
    99
    on:

    .gitignore

    Lines changed: 1 addition & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -3,3 +3,4 @@ build.sh
    33
    /arduino-language-server*
    44
    !/arduino-language-server*/
    55
    /node_modules/
    6+
    dist

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/builder.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/cores.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/globals.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/httpclient.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/libraries.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/resources.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/security.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/sketch.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/arduino/utils.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/cli/feedback.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/cli/globals.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/configuration.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/executils.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/i18n.dep.yml

    Lines changed: 0 additions & 685 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1.dep.yml

    Lines changed: 19 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,12 +1,12 @@
    11
    ---
    22
    name: github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1
    3-
    version: v0.0.0-20220711135540-a5466d017f77
    3+
    version: v0.35.0-rc.1.0.20240103085706-cdbf2f5e088f
    44
    type: go
    55
    summary:
    66
    homepage: https://pkg.go.dev/github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1
    77
    license: gpl-3.0-only
    88
    licenses:
    9-
    - sources: arduino-cli@v0.0.0-20220711135540-a5466d017f77/LICENSE.txt
    9+
    - sources: arduino-cli@v0.35.0-rc.1.0.20240103085706-cdbf2f5e088f/LICENSE.txt
    1010
    text: |2
    1111
    GNU GENERAL PUBLIC LICENSE
    1212
    Version 3, 29 June 2007
    @@ -682,7 +682,23 @@ licenses:
    682682
    the library. If this is what you want to do, use the GNU Lesser General
    683683
    Public License instead of this License. But first, please read
    684684
    <https://www.gnu.org/licenses/why-not-lgpl.html>.
    685-
    - sources: arduino-cli@v0.0.0-20220711135540-a5466d017f77/README.md
    685+
    - sources: arduino-cli@v0.35.0-rc.1.0.20240103085706-cdbf2f5e088f/license_header.tpl
    686+
    text: |
    687+
    This file is part of arduino-cli.
    688+
    689+
    Copyright{{ if .Year }} {{.Year}}{{ end }} {{.Holder}}
    690+
    691+
    This software is released under the GNU General Public License version 3,
    692+
    which covers the main part of arduino-cli.
    693+
    The terms of this license can be found at:
    694+
    https://www.gnu.org/licenses/gpl-3.0.en.html
    695+
    696+
    You can be released from the requirements of the above licenses by purchasing
    697+
    a commercial license. Buying such a license is mandatory if you want to
    698+
    modify or otherwise use the software for commercial activities involving the
    699+
    Arduino software without disclosing the source code of your own applications.
    700+
    To purchase a commercial license, send an email to license@arduino.cc.
    701+
    - sources: arduino-cli@v0.35.0-rc.1.0.20240103085706-cdbf2f5e088f/README.md
    686702
    text: |-
    687703
    Arduino CLI is licensed under the [GPL 3.0] license.
    688704

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/rpc/cc/arduino/cli/settings/v1.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/arduino-cli/version.dep.yml

    Lines changed: 0 additions & 704 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/go-paths-helper.dep.yml

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -1,6 +1,6 @@
    11
    ---
    22
    name: github.com/arduino/go-paths-helper
    3-
    version: v1.7.0
    3+
    version: v1.11.0
    44
    type: go
    55
    summary:
    66
    homepage: https://pkg.go.dev/github.com/arduino/go-paths-helper

    .licenses/arduino-language-server/go/github.com/arduino/go-properties-orderedmap.dep.yml

    Lines changed: 0 additions & 350 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/arduino/go-win32-utils.dep.yml

    Lines changed: 0 additions & 506 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/codeclysm/extract/v3.dep.yml

    Lines changed: 0 additions & 33 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/djherbis/buffer.dep.yml

    Lines changed: 0 additions & 32 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/djherbis/buffer/limio.dep.yml

    Lines changed: 0 additions & 31 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/djherbis/buffer/wrapio.dep.yml

    Lines changed: 0 additions & 31 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/djherbis/nio/v3.dep.yml

    Lines changed: 0 additions & 31 deletions
    This file was deleted.

    .licenses/arduino-language-server/go/github.com/fatih/color.dep.yml

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -1,6 +1,6 @@
    11
    ---
    22
    name: github.com/fatih/color
    3-
    version: v1.13.0
    3+
    version: v1.16.0
    44
    type: go
    55
    summary: Package color is an ANSI color package to output colorized or SGR defined
    66
    output to the standard output.

    .licenses/arduino-language-server/go/github.com/fsnotify/fsnotify.dep.yml

    Lines changed: 0 additions & 62 deletions
    This file was deleted.
    Original file line numberDiff line numberDiff line change
    @@ -1,28 +1,27 @@
    11
    ---
    2-
    name: github.com/spf13/pflag
    3-
    version: v1.0.5
    2+
    name: github.com/golang/protobuf/jsonpb
    3+
    version: v1.5.3
    44
    type: go
    5-
    summary: Package pflag is a drop-in replacement for Go's flag package, implementing
    6-
    POSIX/GNU-style --flags.
    7-
    homepage: https://pkg.go.dev/github.com/spf13/pflag
    5+
    summary: Package jsonpb provides functionality to marshal and unmarshal between a
    6+
    protocol buffer message and JSON.
    7+
    homepage: https://pkg.go.dev/github.com/golang/protobuf/jsonpb
    88
    license: bsd-3-clause
    99
    licenses:
    10-
    - sources: LICENSE
    11-
    text: |
    12-
    Copyright (c) 2012 Alex Ogier. All rights reserved.
    13-
    Copyright (c) 2012 The Go Authors. All rights reserved.
    10+
    - sources: protobuf@v1.5.3/LICENSE
    11+
    text: |+
    12+
    Copyright 2010 The Go Authors. All rights reserved.
    1413
    1514
    Redistribution and use in source and binary forms, with or without
    1615
    modification, are permitted provided that the following conditions are
    1716
    met:
    1817
    19-
    * Redistributions of source code must retain the above copyright
    18+
    * Redistributions of source code must retain the above copyright
    2019
    notice, this list of conditions and the following disclaimer.
    21-
    * Redistributions in binary form must reproduce the above
    20+
    * Redistributions in binary form must reproduce the above
    2221
    copyright notice, this list of conditions and the following disclaimer
    2322
    in the documentation and/or other materials provided with the
    2423
    distribution.
    25-
    * Neither the name of Google Inc. nor the names of its
    24+
    * Neither the name of Google Inc. nor the names of its
    2625
    contributors may be used to endorse or promote products derived from
    2726
    this software without specific prior written permission.
    2827
    @@ -37,4 +36,5 @@ licenses:
    3736
    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    3837
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3938
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    39+
    4040
    notices: []

    .licenses/arduino-language-server/go/github.com/golang/protobuf/proto.dep.yml

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,12 +1,12 @@
    11
    ---
    22
    name: github.com/golang/protobuf/proto
    3-
    version: v1.5.2
    3+
    version: v1.5.3
    44
    type: go
    55
    summary: Package proto provides functionality for handling protocol buffer messages.
    66
    homepage: https://pkg.go.dev/github.com/golang/protobuf/proto
    77
    license: bsd-3-clause
    88
    licenses:
    9-
    - sources: protobuf@v1.5.2/LICENSE
    9+
    - sources: protobuf@v1.5.3/LICENSE
    1010
    text: |+
    1111
    Copyright 2010 The Go Authors. All rights reserved.
    1212

    .licenses/arduino-language-server/go/github.com/golang/protobuf/ptypes.dep.yml

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,12 +1,12 @@
    11
    ---
    22
    name: github.com/golang/protobuf/ptypes
    3-
    version: v1.5.2
    3+
    version: v1.5.3
    44
    type: go
    55
    summary: Package ptypes provides functionality for interacting with well-known types.
    66
    homepage: https://pkg.go.dev/github.com/golang/protobuf/ptypes
    77
    license: bsd-3-clause
    88
    licenses:
    9-
    - sources: protobuf@v1.5.2/LICENSE
    9+
    - sources: protobuf@v1.5.3/LICENSE
    1010
    text: |+
    1111
    Copyright 2010 The Go Authors. All rights reserved.
    1212

    0 commit comments

    Comments
     (0)
    0