Conditional dependencies break PackLib.Planner
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- swift
- 領域
- build-system
調査の方向性
Start by reading Sources/PackLib/Planner.swift at lines 435–437, then reproduce with swift-structured-queries v0.11.0 as described. Check how the disabled StructuredQueriesTagged trait affects dependency resolution; done means Planner no longer tries to resolve Tagged when that trait is disabled.
索引モデルが issue の本文から書いたものです。
説明
Description
When using a package that has conditionally-included dependencies (such as dependencies that are pulled in iff a Package Trait is enabled), Planner will try to resolve them unconditionally. If the dependency isn't actually pulled in by SwiftPM, then, Planner will fail here:
To repro: try adding a dependency on https://github.com/pointfreeco/swift-structured-queries @ v0.11.0. We end up with the error Could not find package containing product 'Tagged', because Planner doesn't know that the Tagged dependency is only required when the StructuredQueriesTagged trait is enabled (and in this case the trait is disabled.)
Environment
Host OS: Ubuntu 24.04.3 LTS
Swift version: swift-6.1-RELEASE
SDK version: iOS 18.5
- 主要言語
- Swift
- スター
- 5.5k
- フォーク
- 163
- 平均マージ
- 18時間 29分
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
xtool-org/xtool のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 51/100
xtool-org/xtool#401 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
Error: exited(127)オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
xtool-org/xtool#376 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Feature Request] Add `xtool update` command for automatic CLI updates対応中かも @Madhav008 が今日担当しました。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
xtool-org/xtool#365 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
xtool-org/xtool の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jellyfin/Swiftfin#2388 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
area: browser area: cli
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
manaflow-ai/cmux#25105 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
📦 expo-modules-core contributor: external iOS needs review sdk-58 severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
firebase/firebase-ios-sdk#16950 ·
メンテナーはふだん 1 日以内に返信