Skip to content

Commit 1fd7617

Browse files
authored
feat(updater): update on windows using installer (#675)
1 parent c604d75 commit 1fd7617

File tree

15 files changed

+116
-26
lines changed

15 files changed

+116
-26
lines changed

.github/workflows/go-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
env:
1010
GO_VERSION: "1.25.0"
11+
GITHUB_TOKEN: ${{ secrets.ARDUINOBOT_TOKEN }}
12+
GITHUB_USERNAME: ArduinoBot
1113

1214
jobs:
1315
go-test-orchestrator:
@@ -57,6 +59,10 @@ jobs:
5759
version: 3.x
5860
repo-token: ${{ secrets.GITHUB_TOKEN }}
5961

62+
- name: Configure Git for private repo cloning
63+
run: |
64+
git config --global url."https://${{ env.GITHUB_USERNAME }}:${{ env.GITHUB_TOKEN }}@github.com".insteadOf "https://github.com"
65+
6066
- name: Set up Go
6167
uses: actions/setup-go@v5
6268
with:

.licenses/arduino-app-cli/NOTICE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164868,7 +164868,7 @@ rights granted to you under this License for this implementation of Go
164868164868
shall terminate as of the date such litigation is filed.
164869164869

164870164870
*****
164871-
golang.org/x/sys/execabs@v0.35.0
164871+
golang.org/x/sys/execabs@v0.36.0
164872164872

164873164873
Copyright 2009 The Go Authors.
164874164874

@@ -164924,7 +164924,7 @@ rights granted to you under this License for this implementation of Go
164924164924
shall terminate as of the date such litigation is filed.
164925164925

164926164926
*****
164927-
golang.org/x/sys/unix@v0.35.0
164927+
golang.org/x/sys/unix@v0.36.0
164928164928

164929164929
Copyright 2009 The Go Authors.
164930164930

.licenses/arduino-app-cli/go/golang.org/x/sys/execabs.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: golang.org/x/sys/execabs
3-
version: v0.35.0
3+
version: v0.36.0
44
type: go
55
summary: Package execabs is a drop-in replacement for os/exec that requires PATH lookups
66
to find absolute paths.
77
homepage: https://pkg.go.dev/golang.org/x/sys/execabs
88
license: other
99
licenses:
10-
- sources: sys@v0.35.0/LICENSE
10+
- sources: sys@v0.36.0/LICENSE
1111
text: |
1212
Copyright 2009 The Go Authors.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: sys@v0.35.0/PATENTS
39+
- sources: sys@v0.36.0/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/arduino-app-cli/go/golang.org/x/sys/unix.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: golang.org/x/sys/unix
3-
version: v0.35.0
3+
version: v0.36.0
44
type: go
55
summary: Package unix contains an interface to the low-level operating system primitives.
66
homepage: https://pkg.go.dev/golang.org/x/sys/unix
77
license: other
88
licenses:
9-
- sources: sys@v0.35.0/LICENSE
9+
- sources: sys@v0.36.0/LICENSE
1010
text: |
1111
Copyright 2009 The Go Authors.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: sys@v0.35.0/PATENTS
38+
- sources: sys@v0.36.0/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/arduino-router/NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ This software is released under the [BSD 3-clause license].
604604
[BSD 3-clause license]: https://github.com/bugst/go-serial/blob/master/LICENSE
605605

606606
*****
607-
golang.org/x/sys/unix@v0.35.0
607+
golang.org/x/sys/unix@v0.36.0
608608

609609
Copyright 2009 The Go Authors.
610610

.licenses/arduino-router/go/golang.org/x/sys/unix.dep.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: golang.org/x/sys/unix
3-
version: v0.35.0
3+
version: v0.36.0
44
type: go
55
summary: Package unix contains an interface to the low-level operating system primitives.
66
homepage: https://pkg.go.dev/golang.org/x/sys/unix
77
license: other
88
licenses:
9-
- sources: sys@v0.35.0/LICENSE
9+
- sources: sys@v0.36.0/LICENSE
1010
text: |
1111
Copyright 2009 The Go Authors.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: sys@v0.35.0/PATENTS
38+
- sources: sys@v0.36.0/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164883,7 +164883,7 @@ rights granted to you under this License for this implementation of Go
164883164883
shall terminate as of the date such litigation is filed.
164884164884

164885164885
*****
164886-
golang.org/x/sys/execabs@v0.35.0
164886+
golang.org/x/sys/execabs@v0.36.0
164887164887

164888164888
Copyright 2009 The Go Authors.
164889164889

@@ -164939,7 +164939,7 @@ rights granted to you under this License for this implementation of Go
164939164939
shall terminate as of the date such litigation is filed.
164940164940

164941164941
*****
164942-
golang.org/x/sys/unix@v0.35.0
164942+
golang.org/x/sys/unix@v0.36.0
164943164943

164944164944
Copyright 2009 The Go Authors.
164945164945

debian/arduino-router/usr/share/doc/arduino-router/copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ This software is released under the [BSD 3-clause license].
619619
[BSD 3-clause license]: https://github.com/bugst/go-serial/blob/master/LICENSE
620620

621621
*****
622-
golang.org/x/sys/unix@v0.35.0
622+
golang.org/x/sys/unix@v0.36.0
623623

624624
Copyright 2009 The Go Authors.
625625

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bcmi-labs/orchestrator
22

3-
go 1.25
3+
go 1.25.1
44

55
// This is needed because compose introduce a regression in https://github.com/docker/compose/pull/13062
66
// They changed the wait monitor ends. Because we're using the Logs() method, we are no longer able to make it
@@ -17,6 +17,7 @@ require (
1717
github.com/Andrew-M-C/go.emoji v1.1.4
1818
github.com/arduino/arduino-cli v1.3.1
1919
github.com/arduino/go-paths-helper v1.14.0
20+
github.com/arduino/go-windows-runas v0.0.0-20250918132957-e681a11c5bd8
2021
github.com/codeclysm/extract/v4 v4.0.0
2122
github.com/compose-spec/compose-go/v2 v2.8.1
2223
github.com/containerd/errdefs v1.0.0
@@ -272,7 +273,7 @@ require (
272273
golang.org/x/net v0.42.0 // indirect
273274
golang.org/x/oauth2 v0.30.0 // indirect
274275
golang.org/x/sync v0.16.0 // indirect
275-
golang.org/x/sys v0.35.0 // indirect
276+
golang.org/x/sys v0.36.0 // indirect
276277
golang.org/x/time v0.11.0 // indirect
277278
golang.org/x/tools v0.35.0 // indirect
278279
google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a // indirect

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b h1:9hDi4F2st6
9393
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b/go.mod h1:uwGy5PpN4lqW97FiLnbcx+xx8jly5YuPMJWfVwwjJiQ=
9494
github.com/arduino/go-win32-utils v1.0.0 h1:/cXB86sOJxOsCHP7sQmXGLkdValwJt56mIwOHYxgQjQ=
9595
github.com/arduino/go-win32-utils v1.0.0/go.mod h1:0jqM7doGEAs6DaJCxxhLBUDS5OawrqF48HqXkcEie/Q=
96+
github.com/arduino/go-windows-runas v0.0.0-20250918132957-e681a11c5bd8 h1:bJSXX/6PkMnriAi3p4FL7+DEZEc19PbLD4jcLEcLO8w=
97+
github.com/arduino/go-windows-runas v0.0.0-20250918132957-e681a11c5bd8/go.mod h1:cyVCsn7S6M3H1Nl94YOEu14ZJU+DYiPTDeYQcCMVWqk=
9698
github.com/arduino/pluggable-discovery-protocol-handler/v2 v2.2.1 h1:Fw8zKj1b/FkcQrWgN7aBw3ubSxpKIUtdANLXvd1Qdzw=
9799
github.com/arduino/pluggable-discovery-protocol-handler/v2 v2.2.1/go.mod h1:1dgblsmK2iBx3L5iNTyRIokeaxbTLUrYiUbHBK6yC3Y=
98100
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
@@ -1160,8 +1162,8 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc
11601162
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
11611163
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
11621164
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1163-
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
1164-
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
1165+
golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k=
1166+
golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
11651167
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
11661168
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
11671169
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=

0 commit comments

Comments
 (0)