Ambiguous shard name source checker error message could be more helpful
Opened this issue · 0 comments
rmarronnier commented
Edit : after digging down, another dependency in my canonical shard.yml
cable:
github: cable-cr/cable
required
redis:
github: stefanwille/crystal-redis
Maybe the
Error shard name (redis) has ambiguous sources: 'git: https://github.com/jgaskins/redis.git' and 'git: https://github.com/stefanwille/crystal-redis.git'.
error message could list all the shard.yml files with conflicting shard name ?
Original issue :
A shards install
using
dependencies:
redis:
github: jgaskins/redis
results in :
Error shard name (redis) has ambiguous sources: 'git: https://github.com/jgaskins/redis.git' and 'git: https://github.com/stefanwille/crystal-redis.git'.
Is this intended behaviour ?
Shards 0.17.3 [d75b004] (2023-04-07)