Git Product home page Git Product logo

Comments (5)

bcardiff avatar bcardiff commented on July 4, 2024

@crisward can you share your shard.yml and lock file?

from crystal-mysql.

crisward avatar crisward commented on July 4, 2024

shards.yml

name: app
version: 0.1.0

authors:
  - Cris Ward

license: MIT

dependencies:
  kemal:
    github: crisward/kemal
    branch: master
  slang:
    github: jeromegn/slang
    version: ~> 1.4.1
  db:
    github: crystal-lang/crystal-db
    branch: master
  mysql:
    github: crystal-lang/crystal-mysql
    branch: master
  kiwi:
    github: greyblake/crystal-kiwi
    version: ~> 0.1.0

shards.lock

version: 1.0
shards:
  db:
    github: crystal-lang/crystal-db
    commit: d7fdf1eada852ea084b7b9786e149094ec5270e0

  kemal:
    github: crisward/kemal
    commit: a8cc4f4177745f33fddbdf49472b6c440f607a7c

  kilt:
    github: jeromegn/kilt
    version: 0.3.3

  kiwi:
    github: greyblake/crystal-kiwi
    version: 0.1.0

  mysql:
    github: crystal-lang/crystal-mysql
    commit: c789a1e07b578a7ba46328862732a74b0bd432d9

  radix:
    github: luislavena/radix
    version: 0.3.1

  slang:
    github: jeromegn/slang
    version: 1.4.1

from crystal-mysql.

bcardiff avatar bcardiff commented on July 4, 2024

Ok, It seems that shards is not allowing to use db@master when there is requirement of db~>0.2.0 which is coming form mysql=0.2.0 (or mysql@master)

Current alternatives:

dependencies:
  db:
    github: crystal-lang/crystal-db
  mysql:
    github: crystal-lang/crystal-mysql
    branch: master
dependencies:
  db:
    github: crystal-lang/crystal-db
  mysql:
    github: crystal-lang/crystal-mysql
    version: ~> 0.2.0

When a 0.2.1 of db is released you should be able to add that in shard.yml, but branch: master seems to not be supported together with ~> 0.2.0.

from crystal-mysql.

bcardiff avatar bcardiff commented on July 4, 2024

I've just created crystal-lang/shards#132 . You might want a keep an eye on it.

from crystal-mysql.

crisward avatar crisward commented on July 4, 2024

Will do, thanks.

from crystal-mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.