Bazel targets aren't created for labels using shorthand notation
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- swift
- Domain
- build-system
Research direction
Start at the label filtering code shown in the issue, where specifiedLabels is compared with each Xcode target label. Trace how labels are represented in the XCHammer configuration and target data, then verify that shorthand and full label syntax select the same Bazel targets. Done means shorthand labels no longer get missed.
Written by the indexing model from the issue text.
Description
Currently XCHammer creates Bazel targets by the labels specified in the XCHammer config.
Since we do a naive string comparison, it will miss labels that aren't using the full label syntax:
return allXCTargets
.filter { specifiedLabels.contains($0.value.xcodeTarget.label) }
.map { $0.value.xcodeTarget }
- Dominant language
- Swift
- Stars
- 314
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from bazel-xcode/xchammer
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
bazel-xcode/xchammer#305 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bazel-xcode/xchammer#300 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bazel-xcode/xchammer#284 · 3 comments · 4 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bazel-xcode/xchammer#275 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bazel-xcode/xchammer#273 ·
All issues in bazel-xcode/xchammer
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type: docs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
googleapis/google-cloud-swift#971 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla-mobile/firefox-ios#35743 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
manaflow-ai/cmux#13417 ·