Skip to content

Commit 500418d

Browse files
authored
Merge pull request #902 from SpiffyEight77/docs/update-windows-support
Outdated list of supported Windows versions in docs
2 parents 471f376 + aebe74c commit 500418d

File tree

8 files changed

+84
-84
lines changed

8 files changed

+84
-84
lines changed

.github/workflows/builds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ permissions:
99
jobs:
1010
doc:
1111
name: Documentation (Sphinx)
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Build docs
1818
run: make doc

.github/workflows/commits.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
permissions:
1111
pull-requests: read # for tim-actions/get-pr-commits to get list of commits from the PR
1212
name: Signed-off-by (DCO)
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: Get PR Commits
1616
id: 'get-pr-commits'
@@ -27,7 +27,7 @@ jobs:
2727
permissions:
2828
contents: none
2929
name: Branch target
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-latest
3131
steps:
3232
- name: Check branch target
3333
env:

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
go:
20-
- 1.22.x
21-
- 1.23.x
20+
- oldstable
21+
- stable
2222
os:
23-
- ubuntu-20.04
2423
- ubuntu-22.04
24+
- ubuntu-24.04
2525
runs-on: ${{ matrix.os }}
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Dependency Review
32-
uses: actions/dependency-review-action@v3
32+
uses: actions/dependency-review-action@v4
3333
if: github.event_name == 'pull_request'
3434

3535
- name: Install Go
36-
uses: actions/setup-go@v4
36+
uses: actions/setup-go@v5
3737
with:
3838
go-version: ${{ matrix.go }}
3939

@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- name: Checkout
59-
uses: actions/checkout@v3
59+
uses: actions/checkout@v4
6060

6161
- name: Install dependencies
6262
run: |

.sphinx/wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ WebSocket
275275
WebSockets
276276
XFS
277277
XHR
278+
XP
278279
YAML
279280
Zettabyte
280281
ZFS

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ GOPATH=$(shell go env GOPATH)
66

77
.PHONY: default
88
default:
9-
go env -w GOCACHE=$(shell go env GOCACHE)
10-
$(shell go env | grep -v GOENV | sed "s/'//g" > $(shell go env GOENV))
119
gofmt -s -w .
1210
go install -v ./...
1311
@echo "distrobuilder built successfully"
1412

1513
.PHONY: update-gomod
1614
update-gomod:
17-
go get -t -v -d -u ./...
18-
go mod tidy -go=1.22.7
15+
go get -t -v -u ./...
16+
go mod tidy -go=1.23.0
1917
go get toolchain@none
2018
@echo "Dependencies updated"
2119

doc/tutorials/use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ lxc-start -n myContainerImage
156156
With Incus it's possible to run Windows VMs. All you need is a Windows ISO and a bunch of drivers.
157157
To make the installation a bit easier, `distrobuilder` added the `repack-windows` command. It takes a Windows ISO, and repacks it together with the necessary drivers.
158158

159-
Currently, `distrobuilder` supports Windows 10, Windows Server 2012, Windows Server 2016, Windows Server 2019 and Windows Server 2022. The Windows version will automatically be detected, but in case this fails you can use the `--windows-version` flag to set it manually. It supports the values `w10`, `2k12`, `2k16`, `2k19` and `2k22` for Windows 10, Windows Server 2012, Windows Server 2016, Windows Server 2019 and Windows Server 2022 respectively.
159+
Currently, `distrobuilder` supports Windows 11, Windows 10, Windows 8.1, Windows 8, Windows 7, Windows XP, Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008 and Windows Server 2003. The Windows version will automatically be detected, but in case this fails you can use the `--windows-version` flag to set it manually. It supports the values `w11`, `w10`, `w8.1`, `w8`, `w7`, `xp`, `2k22`, `2k19`, `2k16`, `2k12r2`, `2k12`, `2k8r2`, `2k8` and `2k3` for Windows 11, Windows 10, Windows 8.1, Windows 8, Windows 7, Windows XP, Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008 and Windows Server 2003 respectively.
160160

161161
Here's how to repack a Windows ISO:
162162

go.mod

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module github.com/lxc/distrobuilder
22

3-
go 1.22.7
3+
go 1.23.0
44

55
require (
66
github.com/antchfx/htmlquery v1.3.4
77
github.com/flosch/pongo2/v4 v4.0.2
88
github.com/google/go-github/v56 v56.0.0
9-
github.com/lxc/incus/v6 v6.8.0
9+
github.com/lxc/incus/v6 v6.9.0
1010
github.com/mudler/docker-companion v0.4.6-0.20211015133729-bd4704fad372
1111
github.com/sirupsen/logrus v1.9.3
12-
github.com/spf13/cobra v1.8.1
12+
github.com/spf13/cobra v1.9.1
1313
github.com/stretchr/testify v1.10.0
14-
golang.org/x/sys v0.29.0
15-
golang.org/x/text v0.21.0
14+
golang.org/x/sys v0.30.0
15+
golang.org/x/text v0.22.0
1616
gopkg.in/yaml.v2 v2.4.0
1717
)
1818

@@ -24,22 +24,22 @@ require (
2424
github.com/antchfx/xpath v1.3.3 // indirect
2525
github.com/apex/log v1.9.0 // indirect
2626
github.com/containerd/cgroups/v3 v3.0.5 // indirect
27-
github.com/containerd/containerd v1.7.24 // indirect
27+
github.com/containerd/containerd v1.7.25 // indirect
2828
github.com/containerd/continuity v0.4.5 // indirect
2929
github.com/containerd/errdefs v1.0.0 // indirect
3030
github.com/containerd/errdefs/pkg v0.3.0 // indirect
3131
github.com/containerd/log v0.1.0 // indirect
3232
github.com/containerd/typeurl/v2 v2.2.3 // indirect
3333
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
34-
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
34+
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
3535
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3636
github.com/distribution/reference v0.6.0 // indirect
3737
github.com/docker/distribution v2.8.3+incompatible // indirect
38-
github.com/docker/docker v27.4.1+incompatible // indirect
38+
github.com/docker/docker v27.5.1+incompatible // indirect
3939
github.com/docker/go-connections v0.5.0 // indirect
4040
github.com/docker/go-units v0.5.0 // indirect
4141
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
42-
github.com/fsouza/go-dockerclient v1.12.0 // indirect
42+
github.com/fsouza/go-dockerclient v1.12.1 // indirect
4343
github.com/go-jose/go-jose/v4 v4.0.4 // indirect
4444
github.com/go-logr/logr v1.4.2 // indirect
4545
github.com/go-logr/stdr v1.2.2 // indirect
@@ -65,7 +65,7 @@ require (
6565
github.com/muhlemmer/gu v0.3.1 // indirect
6666
github.com/opencontainers/go-digest v1.0.0 // indirect
6767
github.com/opencontainers/image-spec v1.1.0 // indirect
68-
github.com/opencontainers/runc v1.2.4 // indirect
68+
github.com/opencontainers/runc v1.2.5 // indirect
6969
github.com/opencontainers/runtime-spec v1.2.0 // indirect
7070
github.com/opencontainers/umoci v0.4.8-0.20211009121349-9c76304c034d // indirect
7171
github.com/pkg/errors v0.9.1 // indirect
@@ -74,25 +74,25 @@ require (
7474
github.com/rootless-containers/proto/go-proto v0.0.0-20230421021042-4cd87ebadd67 // indirect
7575
github.com/russross/blackfriday/v2 v2.1.0 // indirect
7676
github.com/spf13/jwalterweatherman v1.1.0 // indirect
77-
github.com/spf13/pflag v1.0.5 // indirect
77+
github.com/spf13/pflag v1.0.6 // indirect
7878
github.com/urfave/cli v1.22.16 // indirect
7979
github.com/vbatts/go-mtree v0.5.4 // indirect
8080
github.com/zitadel/logging v0.6.1 // indirect
81-
github.com/zitadel/oidc/v3 v3.34.0 // indirect
81+
github.com/zitadel/oidc/v3 v3.34.1 // indirect
8282
github.com/zitadel/schema v1.3.0 // indirect
8383
go.opencensus.io v0.24.0 // indirect
8484
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
85-
go.opentelemetry.io/otel v1.33.0 // indirect
86-
go.opentelemetry.io/otel/metric v1.33.0 // indirect
87-
go.opentelemetry.io/otel/trace v1.33.0 // indirect
88-
golang.org/x/crypto v0.32.0 // indirect
89-
golang.org/x/net v0.34.0 // indirect
90-
golang.org/x/oauth2 v0.25.0 // indirect
91-
golang.org/x/sync v0.10.0 // indirect
92-
golang.org/x/term v0.28.0 // indirect
93-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect
94-
google.golang.org/grpc v1.69.2 // indirect
95-
google.golang.org/protobuf v1.36.2 // indirect
85+
go.opentelemetry.io/otel v1.34.0 // indirect
86+
go.opentelemetry.io/otel/metric v1.34.0 // indirect
87+
go.opentelemetry.io/otel/trace v1.34.0 // indirect
88+
golang.org/x/crypto v0.33.0 // indirect
89+
golang.org/x/net v0.35.0 // indirect
90+
golang.org/x/oauth2 v0.26.0 // indirect
91+
golang.org/x/sync v0.11.0 // indirect
92+
golang.org/x/term v0.29.0 // indirect
93+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250212204824-5a70512c5d8b // indirect
94+
google.golang.org/grpc v1.70.0 // indirect
95+
google.golang.org/protobuf v1.36.5 // indirect
9696
gopkg.in/yaml.v3 v3.0.1 // indirect
9797
)
9898

0 commit comments

Comments
 (0)