Repository navigation
spec(AST-093): Swift components live in the one apple/ package - #8245
Conversation
|
/approve-spec f5128b8 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
|
There was a problem hiding this comment.
Changes requested: an engineering owner has approved moving Swift component specs to packages/native/apple/Sources/Astryx/<Name>/ for this head, but the package guidance that FR1 points to still sends specs to the old folder. packages/native/specs/TEMPLATE.md (line 4), packages/native/specs/README.md (lines 15–18 and 43), packages/native/specs/swift/README.md (line 6) and packages/native/specs/swift/library/README.md (line 5) still name swift-ios-1/core/<Name>/<Name>.spec.md, so a contributor who follows the template would put a spec where the new FR1 does not allow it. Please point those lines at the new path, either in this PR or in a packages/native/-only companion change, or name the stale files in Current-state impact until they move.
[Automated review]
| spec is `packages/native/apple/Sources/Astryx/<Name>/<Name>.spec.md`, beside | ||
| the component's views. `<Name>` is the core component's name. The spec follows | ||
| `packages/native/specs/TEMPLATE.md`: summary, contract, native control, |
There was a problem hiding this comment.
The template this sentence points to still gives the old location. packages/native/specs/TEMPLATE.md:3-4 tells contributors to copy it to packages/native/swift-ios-1/core/<Name>/<Name>.spec.md, and packages/native/specs/README.md:42-43, packages/native/specs/swift/README.md:5-6 and packages/native/specs/swift/library/README.md:4-5 repeat that path. Please point them at apple/Sources/Astryx/<Name>/<Name>.spec.md, or name them in Current-state impact until a packages/native/ change moves them.
|
/approve-spec 064451a |
There was a problem hiding this comment.
This looks ready: an engineering owner approved the FR1 change for this head, and the template and READMEs now give the same apple/Sources/Astryx/<Name>/<Name>.spec.md path as the record, which resolves the earlier request for changes. No further changes are needed here. As a follow-up outside this pull request, the draft Swift theme generator rules and draft AST-091 still describe swift-ios- paths and will need the new layout before they are approved.
[Automated review]
FR1 places a Swift component's spec in packages/native/apple/Sources/Astryx/<Name>/, since each language has one implementation package, and drops the lowest-numbered-package rule. Current-state impact names the Astryx product, and the package spec guidance points at the new folder.
|
/approve-spec 24bc5e5 |
064451a to
24bc5e5
Compare
Exact decision needed
Where Swift component specs live now that the Swift views are one package under
packages/native/apple/.Existing authority searched
spec:AST-093FR1 places a Swift component's spec inpackages/native/swift-ios-<n>/core/<Name>/, with a lowest-numbered-live-package rule for several generations.packages/native/apple/package, as productsAstryx(views) andAstryxNative(contracts).Decision
packages/native/apple/, and a component's spec ispackages/native/apple/Sources/Astryx/<Name>/<Name>.spec.md, beside its views. The lowest-numbered-package rule is removed.Astryxproduct inapple/.Rejected alternatives
swift-ios-<n>package: Swift Package Manager versions the package itself, and one package is what apps add.Claim scope and non-goals
The spec's record form (a separate change) and FR2–FR6 are unchanged.
Evidence and implementation relationship
Record only. The SwiftUI views PR moves the views to this layout.
Writing rubric results
Scope
Validation
Prettier-formatted with the repository config; spec validation runs in CI.