[Discussion] Optimistic operator support
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Hi, first of all, great cmd line tool.
This is more like a discussion I would like to start, to have your opinions.
I'm focusing this discussion on the cmd line tool, and how it's being used on fastlane right now.
Does it makes sense to support Optimistic operators for Xcode versions ~>?
Just like xcode-install used to do, with its fastlane wrapper:
xcversion(version: "~> 14.1")
I think we can benefit from something similar for xcodes.
Right now,
$ xcodes installed
outputs this list:
13.3.1 (13E500a) /Applications/Xcode13.3.1.app
14.1 (14B47b) (Selected) /Applications/Xcode14.1.app
The idea was to have something like this:
$ xcodes installed '~> 14'
This would return the matching versions, with the compatible Xcode paths:
14.1 (14B47b) (Selected) /Applications/Xcode14.1.app
Right now, I'm just collecting feedback if this makes sense, but I'm happy to contribute with this change to xcodes installed.
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI entry point for xcodes installed and the existing Xcode version-matching logic. Clarify the intended optimistic-operator semantics and acceptance criteria before implementation; done should mean that a command such as xcodes installed '~> 14' returns matching installed versions with their compatible paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100