Perfect icon indicating copy to clipboard operation
Perfect copied to clipboard

how to update dependency?

Open bianzhifeng opened this issue 6 years ago • 7 comments

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?

bianzhifeng avatar Apr 28 '18 07:04 bianzhifeng

face the same problem too

hulk10425 avatar Jun 20 '18 14:06 hulk10425

  1. How to update the dependency Library
swift package update

LeeCenY avatar Jul 18 '18 01:07 LeeCenY

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

neoighodaro avatar Dec 06 '18 06:12 neoighodaro

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

LeeCenY avatar Dec 06 '18 07:12 LeeCenY

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

forwyt avatar Jun 26 '19 09:06 forwyt

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

LeeCenY avatar Jun 26 '19 10:06 LeeCenY

@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 !

forwyt avatar Jul 01 '19 02:07 forwyt