<div dir="ltr"><span style="font-size:14px">Hi, I&#39;m JPMartha.</span><br><div><span style="font-size:14px"><br></span></div><div><div>I mentioned the following questions on <a href="https://github.com/apple/swift-package-manager/pull/228">https://github.com/apple/swift-package-manager/pull/228</a>. But, I send that to the mailing lists again.</div><div>Because I feel questions might be mentioned on the mailing list better than GitHub PR.<br></div><div><br></div><div>----------</div><div><br></div><div>I understand the SwiftPM don&#39;t support running `--fetch` twice in the current implementation.</div><div>- <a href="https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160328/000380.html">https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160328/000380.html</a><br></div><div><br></div><div>Then, can I ask any questions about `--update`?<br></div><div><br></div><div>Let&#39;s suppose the following situation:</div><div>- `MyApp` depends on `PackageA` and `B`.</div><div>- `PackageB` depends on `C`.</div><div><br></div><div>```</div><div>MyApp</div><div>├── Package A</div><div>└── Package B</div><div>    └── Package C</div><div>```</div><div><br></div><div>##### Questions #####</div><div><br></div><div>1. If `PackageA` requires update, then SwitPM should fetch `PackageA` only, or all packages?</div><div>2. If `PackageB` requires update, then SwitPM should fetch both `PackageB` and `C`?</div><div>3. if `PackageA-1.0.0` requires update to `2.0.0`, then SwiftPM shoud remain `PackageA-1.0.0` directory, or remove?</div><div><br></div><div>- - -</div><div><br></div><div>#### P.S.</div><div><br></div><div>It seems the SwiftPM gets current package version from a part of directory name in the `Packages` directory.</div><div>If `Lockfile` is supported, is it planned to change?</div><div><br></div><div>- <a href="https://github.com/apple/swift-package-manager/blob/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a/Sources/Get/Fetcher.swift#L76-L86">https://github.com/apple/swift-package-manager/blob/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a/Sources/Get/Fetcher.swift#L76-L86</a></div><div>- <a href="https://github.com/apple/swift-package-manager/blob/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a/Sources/Get/Package.swift#L32-L34">https://github.com/apple/swift-package-manager/blob/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a/Sources/Get/Package.swift#L32-L34</a></div></div><div><br></div><div><div style="font-size:14px">Best regards,</div><div style="font-size:14px">JPMartha</div></div></div>