<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">I understand the SwiftPM don't support running `--fetch` twice in the current implementation.</div><div class="">- <a href="https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160328/000380.html" class="">https://lists.swift.org/pipermail/swift-build-dev/Week-of-Mon-20160328/000380.html</a><br class=""></div><div class=""><br class=""></div><div class="">Then, can I ask any questions about `--update`?<br class=""></div><div class=""><br class=""></div><div class="">Let's suppose the following situation:</div><div class="">- `MyApp` depends on `PackageA` and `B`.</div><div class="">- `PackageB` depends on `C`.</div><div class=""><br class=""></div><div class="">```</div><div class="">MyApp</div><div class="">├── Package A</div><div class="">└── Package B</div><div class=""> └── Package C</div><div class="">```</div><div class=""><br class=""></div><div class="">##### Questions #####</div><div class=""><br class=""></div><div class="">1. If `PackageA` requires update, then SwitPM should fetch `PackageA` only, or all packages?</div></div></div></div></blockquote><div><br class=""></div><div>—update updates everything</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">2. If `PackageB` requires update, then SwitPM should fetch both `PackageB` and `C`?</div></div></div></div></blockquote><div><br class=""></div><div>—update updates everything</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">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></div></div></blockquote><br class=""></div><div>It depends on the Package.swift for MyApp. If it allows A to be 2.0, then it updates to 2.0, if not then it does not update to 2.0</div><br class=""></body></html>