PerfectlySoft / Perfect

Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)
https://www.perfect.org
Apache License 2.0
13.83k stars 945 forks source link

how to update dependency? #252

Open bianzhifeng opened 6 years ago

bianzhifeng commented 6 years ago

hi, i want to know something:

  1. How to update the dependency Library
  2. when i modify package and Swift build, this operation took me too much time.

This is the output of the terminal:

bogon:PerfectTemplate1 gavin$ Swift build Fetching https://github.com/PerfectlySoft/Perfect-Mustache.git Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git Fetching https://github.com/dabfleming/Perfect-RequestLogger.git Fetching https://github.com/PerfectlySoft/Perfect-Logger.git Updating https://github.com/PerfectlySoft/Perfect-Crypto.git Updating https://github.com/PerfectlySoft/Perfect-Net.git Updating https://github.com/PerfectlySoft/Perfect-HTTP.git Updating https://github.com/PerfectlySoft/Perfect-CZlib-src.git Updating https://github.com/PerfectlySoft/PerfectLib.git Updating https://github.com/PerfectlySoft/Perfect-HTTPServer.git Updating https://github.com/PerfectlySoft/Perfect-COpenSSL.git Updating https://github.com/PerfectlySoft/Perfect-Thread.git Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git

not finished in three hours! is it my network problem?

hulk10425 commented 6 years ago

face the same problem too

LeeCenY commented 6 years ago
  1. How to update the dependency Library
    swift package update
neoighodaro commented 5 years ago

Facing this same issue and I have a 20mbps connection so it's not my network. Any help?

LeeCenY commented 5 years ago

@neoighodaro It is recommended to go to the community to ask for convenience. https://perfectswift.slack.com/messages

forwyt commented 5 years ago

the same problem happened to me , and why the github guide me to use ".Package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", majorVersion: 2, minor: 0),"

but the finaly is .package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", from: "3.0.0"), that's really confused me

LeeCenY commented 5 years ago

@forwyt https://github.com/apple/swift-package-manager Because the swiftPM version is different.

forwyt commented 5 years ago

@LeeCenY thanks, after the question i asked , i found that ! but i try to use other's such as Vapor i also fail in cloning . there are alomost make me to try to use dart to develope the server-side-services! SMP is really not useful !