Skip to content

Commit 7c3657d

Browse files
committed
Updated copyright notice
1 parent 6bfd786 commit 7c3657d

File tree

3 files changed

+81
-27
lines changed

3 files changed

+81
-27
lines changed

grpc/client-example/client.go

+28-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
1-
// This file is part of arduino-cli.
2-
//
3-
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4-
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of arduino-cli.
7-
// The terms of this license can be found at:
8-
// https://www.gnu.org/licenses/gpl-3.0.en.html
9-
//
10-
// You can be released from the requirements of the above licenses by purchasing
11-
// a commercial license. Buying such a license is mandatory if you want to
12-
// modify or otherwise use the software for commercial activities involving the
13-
// Arduino software without disclosing the source code of your own applications.
14-
// To purchase a commercial license, send an email to [email protected].
1+
/*
2+
* This file is part of Arduino Builder.
3+
*
4+
* Arduino Builder is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation; either version 2 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program; if not, write to the Free Software
16+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
*
18+
* As a special exception, you may use this file as part of a free software
19+
* library without restriction. Specifically, if other files instantiate
20+
* templates or use macros or inline functions from this file, or you compile
21+
* this file and link it with other files to produce an executable, this
22+
* file does not by itself cause the resulting executable to be covered by
23+
* the GNU General Public License. This exception does not however
24+
* invalidate any other reasons why the executable file might be covered by
25+
* the GNU General Public License.
26+
*
27+
* Copyright 2020 Arduino LLC (http://www.arduino.cc/)
28+
*/
1529

1630
// Package main implements a simple gRPC client that demonstrates how to use gRPC-Go libraries
1731
// to perform unary, client streaming, server streaming and full duplex RPCs.

grpc/proto/builder.proto

+25-13
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
1-
// This file is part of arduino-cli.
21
//
3-
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4-
// Copyright 2015 Matthijs Kooijman
2+
// This file is part of Arduino Builder.
53
//
6-
// This software is released under the GNU General Public License version 3,
7-
// which covers the main part of arduino-cli.
8-
// The terms of this license can be found at:
9-
// https://www.gnu.org/licenses/gpl-3.0.en.html
4+
// Arduino Builder is free software; you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation; either version 2 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// This program is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with this program; if not, write to the Free Software
16+
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
//
18+
// As a special exception, you may use this file as part of a free software
19+
// library without restriction. Specifically, if other files instantiate
20+
// templates or use macros or inline functions from this file, or you compile
21+
// this file and link it with other files to produce an executable, this
22+
// file does not by itself cause the resulting executable to be covered by
23+
// the GNU General Public License. This exception does not however
24+
// invalidate any other reasons why the executable file might be covered by
25+
// the GNU General Public License.
26+
//
27+
// Copyright 2020 Arduino LLC (http://www.arduino.cc/)
1028
//
11-
// You can be released from the requirements of the above licenses by purchasing
12-
// a commercial license. Buying such a license is mandatory if you want to
13-
// modify or otherwise use the software for commercial activities involving the
14-
// Arduino software without disclosing the source code of your own applications.
15-
// To purchase a commercial license, send an email to [email protected].
16-
1729
// compile me with: protoc -I proto/ proto/builder.proto --go_out=plugins=grpc:proto
1830

1931
syntax = "proto3";

grpc/rpc.go

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
/*
2+
* This file is part of Arduino Builder.
3+
*
4+
* Arduino Builder is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation; either version 2 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program; if not, write to the Free Software
16+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
*
18+
* As a special exception, you may use this file as part of a free software
19+
* library without restriction. Specifically, if other files instantiate
20+
* templates or use macros or inline functions from this file, or you compile
21+
* this file and link it with other files to produce an executable, this
22+
* file does not by itself cause the resulting executable to be covered by
23+
* the GNU General Public License. This exception does not however
24+
* invalidate any other reasons why the executable file might be covered by
25+
* the GNU General Public License.
26+
*
27+
* Copyright 2020 Arduino LLC (http://www.arduino.cc/)
28+
*/
129
package grpc
230

331
import (

0 commit comments

Comments
 (0)