swift-redis icon indicating copy to clipboard operation
swift-redis copied to clipboard

swift build return "error: The dependency graph could not be satisfied (https://github.com/swizzlr/swift-redis.git)"

Open chris-sean opened this issue 9 years ago • 8 comments

swift build error: The dependency graph could not be satisfied (https://github.com/swizzlr/swift-redis.git)

chris-sean avatar Jan 16 '16 17:01 chris-sean

Hey man, so sorry I only just saw this, been quite busy – I'll take a look tonight and let you know!

swizzlr avatar Jan 21 '16 14:01 swizzlr

Hey I think the problem is that the tag name is "v1.0.0", which I don't think swiftpm parses as a valid version tag. Could you please also add just plain "1.0.0"? I think that will fix it.

czechboy0 avatar Feb 10 '16 01:02 czechboy0

+1 for this.. making the tag 1.0.0 will fix it

IanKeen avatar Oct 27 '16 20:10 IanKeen

@IanKeen I've made you a collaborator, I'm on holiday right now so please commit the fix!

swizzlr avatar Oct 28 '16 11:10 swizzlr

I ended up forking yesterday to test, the fix works however there are some more blocks:

  • The code needs updating to swift 3 and I was unable to convert some of the UnsafePointer stuff back to strings.. the api expects a [Int8] but the pointer memory is a tuple of Int8 - I wasn't able to convert this correctly
  • The underlying modulemap lib also requires a 'proper' Package.swift now, an empty one causes an error

😢

IanKeen avatar Oct 28 '16 17:10 IanKeen

Shit moves fast :/

Is this the only Redis library around right now? I would have thought someone else would have made one. If even with all these bugs this represents the state of the art, then let's develop it some more!

swizzlr avatar Oct 28 '16 17:10 swizzlr

Ah, I see most of them are implementing redis from scratch, which is brave/stupid. Let's keep this project going.

swizzlr avatar Oct 28 '16 17:10 swizzlr

https://github.com/noppoMan/swift-redis

This puppy is promising but libuv isn't strictly where I would want to take this, preferring foundation's dispatch sources.

swizzlr avatar Oct 28 '16 17:10 swizzlr