-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflicting shard name #44
Comments
I originally had that thought a while ago (#13), but when the other shard went dormant for over a year, I assumed this was the successor so I actually helped port both Cable and Mosquito over to this shard. It does look like the other one is starting to pick back up, and unfortunately with how Crystal and Shards works, there's no way to include both shards at the same time. It's definitely a tricky situation. |
This is my biggest gripe with Then there's how the same problem manifests with forks of shards. For example, So, as much as I wish this were a problem with individual shards, it's more systemic and, as the ecosystem grows, this issue is likely to become more common. |
made me find these two shards issues : crystal-lang/shards#137 and crystal-lang/shards#283 I'm really convinced by this type of solution : crystal-lang/shards#283 (comment)
|
Thanks for the links! I'd seen (and participated in) a few discussions with a few Crystal core members about this problem before, but couldn't remember where they were. Sounds like it might be time to revisit that. |
cable-cr/cable#74 brought me here :
The following shard.yml triggers an error :
Because the sidekiq shard has
One solution would be to change the name
redis
to something else inredis/shard.yml
Line 1 in 8d177ad
I'm posting the 'mirror' issue in https://github.com/stefanwille/crystal-redis
The text was updated successfully, but these errors were encountered: