这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: cirruslabs/tart

Tags

2.30.1

Toggle 2.30.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Disable Sentry's app launch profiling (#1164)

And access SentrySDK only when SENTRY_DSN is set.

2.30.0

Toggle 2.30.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tart set: support optional "pt" and "px" units for "--display" argume…

…nt (#1155)

* tart set: support optional "pt" and "px" units for "--display" argument

* Don't forget to update "unit" too

2.29.0

Toggle 2.29.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix integration tests (#1149)

* Use ghcr.io/cirruslabs/macos-tahoe-base:latest

* CI: "Test on Sequoia" can be named just "Test"

* integration-test: can use latest requests now that the bug is fixed

2.28.6

Toggle 2.28.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Avoid duplicate progress updates in CI logs (#1140)

* Avoid duplicate progress updates in CI logs

* Update Sources/tart/Logging/ProgressObserver.swift

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>

---------

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>

2.28.5

Toggle 2.28.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tart clone: make pruning limit configurable (#1126)

* tart clone: make pruning limit configurable

* Fixed compilation

2.28.4

Toggle 2.28.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tart clone: cap automatic pruning at 100 GB (#1124)

2.28.3

Toggle 2.28.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tart exec: do not attempt to call TTY-related methods when no -t is s…

…et (#1122)

2.28.2

Toggle 2.28.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tart exec: handle input redirection of regular files (#1106)

2.28.1

Toggle 2.28.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: prioritize pruning of old SHA when pulling updated tags (#1102)

* feat: prioritize pruning of old SHA when pulling updated tags

When pulling a new version of a tagged image (e.g., ghcr.io/cirruslabs/macos-runner:sonoma),
set the access date of the previous SHA to epoch time (1970-01-01). This ensures that the
old SHA will be prioritized for pruning, even if it was accessed more recently than other
cached images.

This helps manage disk space more efficiently by automatically cleaning up superseded
versions of frequently-updated tagged images.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* format

* Review comments

---------

Co-authored-by: Claude <noreply@anthropic.com>

2.28.0

Toggle 2.28.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add disk image format selection with ASIF support (#1094)

* feat: Add disk image format selection with ASIF support

* fixed goreleaser-pro

* Fix ASIF disk format compatibility issues

- Use .uncached caching mode for ASIF disks to avoid Virtualization framework compatibility issues
- Improve caching mode selection logic for better maintainability
- Fix compiler warning by changing var to let for attachment variable

This resolves VM startup failures when using ASIF disk format by ensuring proper disk attachment configuration.

* Update goreleaser installation to use tap-specific formula

Change from 'brew install --cask goreleaser-pro' to 'brew install --cask goreleaser/tap/goreleaser-pro' for proper installation from the official goreleaser tap.

* Remove VS Code configuration and add to gitignore

- Remove .vscode/launch.json from repository
- Add .vscode/ to .gitignore to prevent VS Code settings from being tracked

* Implement ASIF disk resize using diskutil

- Add support for resizing ASIF disk images using diskutil image resize
- Detect disk format from VM config and route to appropriate resize method
- Use diskutil image info to get current ASIF disk size and validate resize
- Remove restriction that prevented ASIF disk resizing in Set command
- Add FailedToResizeDisk error case for proper error handling
- Maintain backward compatibility with raw disk resizing
- Add comprehensive size validation to prevent data loss

* Update Sources/tart/Commands/Create.swift

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>

* Update Sources/tart/DiskImageFormat.swift

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>

* Update Sources/tart/DiskImageFormat.swift

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>

* Fix test naming and remove redundant test cases

- Rename testFormatArgument to testCaseInsensitivity for clarity
- Remove redundant 'raw' and 'invalid' test cases already covered in testFormatFromString
- Remove testFormatDescriptions test as it's not very useful

Addresses review comment: #1094 (comment)

* Remove canCreate property and simplify DiskImageFormat

- Remove canCreate property since it's the same as isSupported
- Remove description property entirely as it's not used
- Fix displayName for RAW format (remove UDIF reference)
- Remove checkDiskutilASIFSupport helper function

Addresses review comments:
- #1094 (comment)
- #1094 (comment)
- #1094 (comment)

* Update Create command validation and help text

- Simplify ArgumentParser help text to let it show possible values automatically
- Remove canCreate validation since property was removed
- Simplify error message for unsupported disk formats

Addresses review comment: #1094 (comment)

* Add disk format validation to Run command

- Add validation to ensure ASIF disk format is supported on current system
- Check disk format compatibility before attempting to run VM

Addresses review comment: #1094 (comment)

* Use proper namespaced constant for OCI label

- Add diskFormatLabelAnnotation constant in Manifest.swift
- Use org.cirruslabs.tart.disk.format namespace for consistency
- Use variable shadowing instead of new variable name for labels

Addresses review comment: #1094 (comment)

* Remove special ASIF caching mode

- Remove .uncached caching mode for ASIF disks
- Use default caching logic for all disk formats
- Testing shows .cached mode works fine on macOS 26.0

Addresses review comment: #1094 (comment)

* Improve code structure in VMDirectory

- Use guard let instead of nested if let for better readability
- Reduce nesting in resizeASIFDisk function
- Improve error handling flow

Addresses review comment: #1094 (comment)

* diskFormatLabel

* reverted caching mode

* Use PropertyListDecoder

---------

Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>