Skip to content

Commit a2b4486

Browse files
authored
Merge branch 'apple:main' into main
2 parents 27a94a0 + bfc5ca9 commit a2b4486

File tree

376 files changed

+3451
-32639
lines changed

Some content is hidden

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

376 files changed

+3451
-32639
lines changed

.github/ISSUE_TEMPLATE/01-bug.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ body:
4343
label: Environment
4444
description: |
4545
Examples:
46-
- **OS**: macOS 26.0 Beta (25A5279m)
47-
- **Xcode**: Version 26.0 beta (17A5241e)
46+
- **OS**: macOS 26.0 (25A354)
47+
- **Xcode**: Version 26.0 (17A324)
4848
- **Container**: Container CLI version 0.1.0
4949
value: |
5050
- OS:
@@ -58,6 +58,8 @@ body:
5858
attributes:
5959
label: Relevant log output
6060
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
61+
value: |
62+
N/A
6163
render: shell
6264
- type: checkboxes
6365
id: terms

BUILDING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
To build the `container` project, you need:
44

55
- Mac with Apple silicon
6-
- macOS 15 minimum, macOS 26 beta recommended
7-
- Xcode 26 beta, set as the [active developer directory](https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_SELECT_THE_DEFAULT_VERSION_OF_XCODE_TO_USE_FOR_MY_COMMAND_LINE_TOOLS_)
6+
- macOS 15 minimum, macOS 26 recommended
7+
- Xcode 26, set as the [active developer directory](https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_SELECT_THE_DEFAULT_VERSION_OF_XCODE_TO_USE_FOR_MY_COMMAND_LINE_TOOLS_)
88

99
> [!IMPORTANT]
10-
> There is a bug in the `vmnet` framework on macOS 26 beta that causes network creation to fail if the `container` helper applications are located under your `Documents` or `Desktop` directories. If you use `make install`, you can simply run the `container` binary in `/usr/local`. If you prefer to use the binaries that `make all` creates in your project `bin` and `libexec` directories, locate your project elsewhere, such as `~/projects/container`, until this issue is resolved.
10+
> There is a bug in the `vmnet` framework on macOS 26 that causes network creation to fail if the `container` helper applications are located under your `Documents` or `Desktop` directories. If you use `make install`, you can simply run the `container` binary in `/usr/local`. If you prefer to use the binaries that `make all` creates in your project `bin` and `libexec` directories, locate your project elsewhere, such as `~/projects/container`, until this issue is resolved.
1111
1212
## Compile and test
1313

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2025 Apple Inc. and the container project authors. All rights reserved.
1+
# Copyright © 2025 Apple Inc. and the container project authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

Package.resolved

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 4 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// swift-tools-version: 6.2
22
//===----------------------------------------------------------------------===//
3-
// Copyright © 2025 Apple Inc. and the container project authors. All rights reserved.
3+
// Copyright © 2025 Apple Inc. and the container project authors.
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import PackageDescription
2323
let releaseVersion = ProcessInfo.processInfo.environment["RELEASE_VERSION"] ?? "0.0.0"
2424
let gitCommit = ProcessInfo.processInfo.environment["GIT_COMMIT"] ?? "unspecified"
2525
let builderShimVersion = "0.6.1"
26-
let scVersion = "0.7.2"
26+
let scVersion = "0.9.1"
2727

2828
let package = Package(
2929
name: "container",
@@ -42,18 +42,11 @@ let package = Package(
4242
.library(name: "ContainerVersion", targets: ["ContainerVersion"]),
4343
.library(name: "ContainerXPC", targets: ["ContainerXPC"]),
4444
.library(name: "SocketForwarder", targets: ["SocketForwarder"]),
45-
.library(name: "ContainerBuildReporting", targets: ["ContainerBuildReporting"]),
46-
.library(name: "ContainerBuildIR", targets: ["ContainerBuildIR"]),
47-
.library(name: "ContainerBuildExecutor", targets: ["ContainerBuildExecutor"]),
48-
.library(name: "ContainerBuildCache", targets: ["ContainerBuildCache"]),
49-
.library(name: "ContainerBuildSnapshotter", targets: ["ContainerBuildSnapshotter"]),
50-
.library(name: "ContainerBuildParser", targets: ["ContainerBuildParser"]),
5145
],
5246
dependencies: [
5347
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
5448
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
5549
.package(url: "https://github.com/apple/swift-collections.git", from: "1.2.0"),
56-
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),
5750
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.26.0"),
5851
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.29.0"),
5952
.package(url: "https://github.com/apple/swift-nio.git", from: "2.80.0"),
@@ -71,7 +64,7 @@ let package = Package(
7164
"ContainerClient",
7265
"ContainerCommands",
7366
],
74-
path: "Sources/ExecutableCLI"
67+
path: "Sources/CLI"
7568
),
7669
.target(
7770
name: "ContainerCommands",
@@ -90,7 +83,7 @@ let package = Package(
9083
"ContainerVersion",
9184
"TerminalProgress",
9285
],
93-
path: "Sources/CLI"
86+
path: "Sources/ContainerCommands"
9487
),
9588
.executableTarget(
9689
name: "container-apiserver",
@@ -276,77 +269,6 @@ let package = Package(
276269
"ContainerPersistence",
277270
]
278271
),
279-
.executableTarget(
280-
name: "native-builder-demo",
281-
dependencies: ["ContainerBuildIR", "ContainerBuildExecutor", "ContainerBuildCache"],
282-
path: "Sources/NativeBuilder/ContainerBuildDemo"
283-
),
284-
.target(
285-
name: "ContainerBuildReporting",
286-
dependencies: [],
287-
path: "Sources/NativeBuilder/ContainerBuildReporting",
288-
),
289-
.target(
290-
name: "ContainerBuildIR",
291-
dependencies: [
292-
"ContainerBuildReporting",
293-
.product(name: "ContainerizationOCI", package: "containerization"),
294-
.product(name: "Crypto", package: "swift-crypto"),
295-
],
296-
path: "Sources/NativeBuilder/ContainerBuildIR",
297-
),
298-
.target(
299-
name: "ContainerBuildExecutor",
300-
dependencies: [
301-
"ContainerBuildReporting",
302-
"ContainerBuildIR",
303-
"ContainerBuildSnapshotter",
304-
"ContainerBuildCache",
305-
.product(name: "ContainerizationOCI", package: "containerization"),
306-
],
307-
path: "Sources/NativeBuilder/ContainerBuildExecutor",
308-
),
309-
.target(
310-
name: "ContainerBuildCache",
311-
dependencies: [
312-
"ContainerBuildIR",
313-
"ContainerBuildSnapshotter",
314-
.product(name: "ContainerizationOCI", package: "containerization"),
315-
.product(name: "ContainerizationExtras", package: "containerization"),
316-
.product(name: "Crypto", package: "swift-crypto"),
317-
],
318-
path: "Sources/NativeBuilder/ContainerBuildCache",
319-
),
320-
.target(
321-
name: "ContainerBuildSnapshotter",
322-
dependencies: [
323-
"ContainerBuildIR",
324-
.product(name: "ContainerizationOCI", package: "containerization"),
325-
.product(name: "ContainerizationArchive", package: "containerization"),
326-
.product(name: "Crypto", package: "swift-crypto"),
327-
"ContainerClient",
328-
],
329-
path: "Sources/NativeBuilder/ContainerBuildSnapshotter",
330-
),
331-
.target(
332-
name: "ContainerBuildParser",
333-
dependencies: [
334-
"ContainerBuildIR"
335-
],
336-
path: "Sources/NativeBuilder/ContainerBuildParser",
337-
),
338-
.testTarget(
339-
name: "NativeBuilderTests",
340-
dependencies: [
341-
"ContainerBuildIR",
342-
"ContainerBuildExecutor",
343-
"ContainerBuildCache",
344-
"ContainerBuildReporting",
345-
"ContainerBuildParser",
346-
"ContainerBuildSnapshotter",
347-
"ContainerClient",
348-
]
349-
),
350272
.target(
351273
name: "ContainerPersistence",
352274
dependencies: [

Protobuf.Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2025 Apple Inc. and the container project authors. All rights reserved.
1+
# Copyright © 2025 Apple Inc. and the container project authors.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The tool consumes and produces [OCI-compatible container images](https://github.
1414

1515
You need a Mac with Apple silicon to run `container`. To build it, see the [BUILDING](./BUILDING.md) document.
1616

17-
`container` is supported on macOS 26, since it takes advantage of new features and enhancements to virtualization and networking in this release. We do not support older versions of macOS and the `container` maintainers typically will not address issues that cannot be reproduced on the latest macOS 26 beta.
17+
`container` is supported on macOS 26, since it takes advantage of new features and enhancements to virtualization and networking in this release. We do not support older versions of macOS and the `container` maintainers typically will not address issues that cannot be reproduced on the macOS 26.
1818

1919
### Install or upgrade
2020

@@ -58,6 +58,11 @@ uninstall-container.sh -k
5858
- [Build and run](./BUILDING.md) `container` on your own development system.
5959
- View the project [API documentation](https://apple.github.io/container/documentation/).
6060

61+
> [!IMPORTANT]
62+
> The links above are for the CURRENT BRANCH's documentation. To find documentation for official releases, find the target release on the [Release Page](https://github.com/apple/container/releases) and click the tag corresponding to your release version.
63+
>
64+
> Example: [release 0.4.1 tag](https://github.com/apple/container/tree/0.4.1)
65+
6166
## Contributing
6267

6368
Contributions to `container` are welcomed and encouraged. Please see our [main contributing guide](https://github.com/apple/containerization/blob/main/CONTRIBUTING.md) for more information.

Sources/CLI/Builder/BuilderStatus.swift

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

Sources/CLI/Container/ContainersCommand.swift

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//===----------------------------------------------------------------------===//
2-
// Copyright © 2025 Apple Inc. and the container project authors. All rights reserved.
2+
// Copyright © 2025 Apple Inc. and the container project authors.
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ import ContainerClient
1919
import ContainerCommands
2020

2121
@main
22-
public struct Executable: AsyncParsableCommand {
22+
public struct ContainerCLI: AsyncParsableCommand {
2323
public init() {}
2424

2525
@Argument(parsing: .captureForPassthrough)

0 commit comments

Comments
 (0)