Skip to content

Commit

Permalink
Bump GOA to V3 and generate (#815)
Browse files Browse the repository at this point in the history
* go get goa v3 & go mod tidy

* bump goa version used in design files (DSL)

* goa gen github.com/arduino/arduino-create-agent/design

a lot of docs file were deleted because in #670 I forgot to run generate
Same

* remove doc server

followup of #670 since generated doc files are not there anymore

* go mod tidy again

* bump to goa v3 also in v2 package

* fixes after bump to goa v3 (needs to be tested)

* update license cache

* apply suggestions by code-review
  • Loading branch information
umbynos authored Aug 28, 2023
1 parent 1d88dcb commit 604da4a
Show file tree
Hide file tree
Showing 93 changed files with 1,556 additions and 1,347 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: github.com/dimfeld/httptreemux
version: v5.0.1+incompatible
name: github.com/dimfeld/httptreemux/v5
version: v5.5.0
type: go
summary: This is inspired by Julien Schmidt's httprouter, in that it uses a patricia
tree, but the implementation is rather different.
homepage: https://pkg.go.dev/github.com/dimfeld/httptreemux
homepage: https://pkg.go.dev/github.com/dimfeld/httptreemux/v5
license: mit
licenses:
- sources: LICENSE
Expand Down
38 changes: 38 additions & 0 deletions .licenses/arduino-create-agent/go/github.com/google/uuid.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: github.com/google/uuid
version: v1.3.0
type: go
summary: Package uuid generates and inspects UUIDs.
homepage: https://pkg.go.dev/github.com/google/uuid
license: bsd-3-clause
licenses:
- sources: LICENSE
text: |
Copyright (c) 2009,2014 Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
notices: []
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: github.com/gorilla/websocket
version: v1.4.0
version: v1.5.0
type: go
summary: Package websocket implements the WebSocket protocol defined in RFC 6455.
homepage: https://pkg.go.dev/github.com/gorilla/websocket
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: goa.design/goa/http
version: v1.0.1-0.20190116060309-40843d63b0e4
name: goa.design/goa/v3/http
version: v3.12.4
type: go
summary:
homepage: https://pkg.go.dev/goa.design/goa/http
summary: Package http contains HTTP specific constructs that complement the code generated
by Goa.
homepage: https://pkg.go.dev/goa.design/goa/v3/http
license: mit
licenses:
- sources: goa@v1.0.1-0.20190116060309-40843d63b0e4/LICENSE
- sources: v3@v3.12.4/LICENSE
text: |
The MIT License (MIT)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
name: goa.design/goa/http/middleware
version: v1.0.1-0.20190116060309-40843d63b0e4
name: goa.design/goa/v3/http/middleware
version: v3.12.4
type: go
summary:
homepage: https://pkg.go.dev/goa.design/goa/http/middleware
summary: Package middleware contains HTTP middlewares that wrap a HTTP handler to
provide additional functionality.
homepage: https://pkg.go.dev/goa.design/goa/v3/http/middleware
license: mit
licenses:
- sources: goa@v1.0.1-0.20190116060309-40843d63b0e4/LICENSE
- sources: v3@v3.12.4/LICENSE
text: |
The MIT License (MIT)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: goa.design/goa
version: v1.0.1-0.20190116060309-40843d63b0e4
name: goa.design/goa/v3/middleware
version: v3.12.4
type: go
summary:
homepage: https://pkg.go.dev/goa.design/goa
summary: Package middleware contains transport independent middlewares.
homepage: https://pkg.go.dev/goa.design/goa/v3/middleware
license: mit
licenses:
- sources: LICENSE
- sources: v3@v3.12.4/LICENSE
text: |
The MIT License (MIT)
Expand Down
34 changes: 34 additions & 0 deletions .licenses/arduino-create-agent/go/goa.design/goa/v3/pkg.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: goa.design/goa/v3/pkg
version: v3.12.4
type: go
summary: Package goa implements a Go framework for writing microservices that promotes
best practice by providing a single source of truth from which server code, client
code, and documentation is derived.
homepage: https://pkg.go.dev/goa.design/goa/v3/pkg
license: mit
licenses:
- sources: v3@v3.12.4/LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2015 Raphael Simon and goa Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
notices: []
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/blowfish
version: v0.9.0
version: v0.12.0
type: go
summary: Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
homepage: https://pkg.go.dev/golang.org/x/crypto/blowfish
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/cast5
version: v0.9.0
version: v0.12.0
type: go
summary: Package cast5 implements CAST5, as defined in RFC 2144.
homepage: https://pkg.go.dev/golang.org/x/crypto/cast5
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/crypto/curve25519
version: v0.9.0
version: v0.12.0
type: go
summary: Package curve25519 provides an implementation of the X25519 function, which
performs scalar multiplication on the elliptic curve known as Curve25519.
homepage: https://pkg.go.dev/golang.org/x/crypto/curve25519
license: other
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/ed25519
version: v0.9.0
version: v0.12.0
type: go
summary: Package ed25519 implements the Ed25519 signature algorithm.
homepage: https://pkg.go.dev/golang.org/x/crypto/ed25519
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/openpgp
version: v0.9.0
version: v0.12.0
type: go
summary: Package openpgp implements high level operations on OpenPGP messages.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/openpgp/armor
version: v0.9.0
version: v0.12.0
type: go
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/armor
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: golang.org/x/crypto/openpgp/elgamal
version: v0.9.0
version: v0.12.0
type: go
summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified
in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms,"
IEEE Transactions on Information Theory, v.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/elgamal
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -37,7 +37,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/crypto/openpgp/errors
version: v0.9.0
version: v0.12.0
type: go
summary: Package errors contains common error types for the OpenPGP packages.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/errors
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -35,7 +35,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/crypto/openpgp/packet
version: v0.9.0
version: v0.12.0
type: go
summary: Package packet implements parsing and serialization of OpenPGP packets, as
specified in RFC 4880.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/packet
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/crypto/openpgp/s2k
version: v0.9.0
version: v0.12.0
type: go
summary: Package s2k implements the various OpenPGP string-to-key transforms as specified
in RFC 4800 section 3.7.1.
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/s2k
license: bsd-3-clause
licenses:
- sources: crypto@v0.9.0/LICENSE
- sources: crypto@v0.12.0/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.
Expand Down Expand Up @@ -36,7 +36,7 @@ licenses:
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- sources: crypto@v0.9.0/PATENTS
- sources: crypto@v0.12.0/PATENTS
text: |
Additional IP Rights Grant (Patents)
Expand Down
Loading

0 comments on commit 604da4a

Please sign in to comment.