Skip to content

Conversation

@joshyorko
Copy link
Contributor

@joshyorko joshyorko commented Dec 22, 2025

🦅 The Swift Predator Strikes

"London is nice, but Paris is nicer... and Swift is swiftest."


Summary

This PR adds Swift development support to Bluefin DX by adding a Brewfile that will be discoverable via ujust bbrew.

Changes

File Description
system_files/bluefin/usr/share/ublue-os/homebrew/swift.Brewfile Brewfile with opinionated Swift packages

Packages Included

Package Purpose
swiftly Official Swift toolchain manager from swift.org
swiftlint Enforce Swift style and conventions
swiftformat Automatic code formatting

Usage

ujust bbrew              # Select "swift" from the list
swiftly install latest   # Install the Swift compiler

Test Plan

  • Build Bluefin DX image with updated common layer
  • Verify "swift" appears as an option in ujust bbrew
  • Select swift and confirm brew bundle installs successfully
  • Verify swiftly install latest works after installation

Closes ublue-os/bluefin#2655

Adds a dedicated Brewfile and ujust command for Swift development:
- swiftly: Official Swift toolchain manager
- swiftlint: Code linting
- swiftformat: Code formatting

Users can run `ujust swift` to install, then `swiftly install latest`
to get the Swift compiler.

Closes ublue-os/bluefin#2655
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 22, 2025
@dosubot
Copy link

dosubot bot commented Dec 22, 2025

Documentation Updates

2 document(s) were updated by changes in this PR:

bluefin

How did I do? Any feedback?  Join Discord

@castrojo
Copy link
Contributor

We're moving away from top level ujust commands, having the brewfile in the right place so swift shows up in ujust bbrew would match the new pattern. Thanks!

Moving away from top-level ujust commands. Swift will be available
via `ujust bbrew` which auto-discovers all Brewfiles.
No need for swift.just import since Swift is accessed via ujust bbrew
@joshyorko
Copy link
Contributor Author

joshyorko commented Dec 23, 2025

Thanks @castrojo! Updated the PR:

  • ✅ Removed swift.just (no top-level ujust swift command)
  • ✅ Reverted 00-entry.just to original
  • ✅ Kept only swift.Brewfile so it shows up in ujust bbrew

Users will now: ujust bbrew → select "swift" → done.

Is this the pattern you are speaking to?

@hanthor hanthor enabled auto-merge December 24, 2025 07:44
@hanthor hanthor added this pull request to the merge queue Dec 24, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 24, 2025
Merged via the queue into projectbluefin:main with commit 052868f Dec 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Swift a first class citizen

3 participants