Files
tart/CONTRIBUTING.md
T
Fedor KorotkovandClaude a2972aa4d9 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>
2025-07-07 08:52:05 +00:00

1.3 KiB

Contributing to Tart

Table of Contents

How to Build

  1. Fork the repository to your own GitHub account
  2. Clone the forked repository to your local machine
  3. If using Xcode, use from Xcode 15 or newer
  4. Run ./scripts/run-signed.sh from the root of your repository
./scripts/run-signed.sh list

How to Create an Issue/Enhancement

  1. Go to the Issue page of the repository
  2. Click on the "New Issue" button
  3. Provide a descriptive title and detailed description of the issue or enhancement you're suggesting
  4. Submit the issue

Style Guidelines

  1. Code should follow camel case
  2. Code should follow SwiftFormat guidelines. You can auto-format the code by running the following command:
swift package plugin --allow-writing-to-package-directory swiftformat --cache ignore .

Pull Requests

  1. Provide a detailed description of the changes you made in the pull request
  2. Wait for pull request to be reviewed
  3. Make adjustments if necessary