Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jeremy Woertink
    @jwoertink
    but the shard.yml has to be at the room
    Paul Smith
    @paulcsmith
    And have just one lucky shard. But then you must have it all bundled at the same version...which is probably a good thing!
    Jeremy Woertink
    @jwoertink
    avram:
      path: "./avram/"
    Stephen Dolan
    @stephendolan
    That would be very neat
    If someone wanted to use something like Avram outside of Lucky, would that still be possible?
    Jeremy Woertink
    @jwoertink
    probably not without using the entire lucky stack
    Stephen Dolan
    @stephendolan
    good... gooooooood... join us
    Want our pretty Wordsmith library? Hop on board, friend!
    Jeremy Woertink
    @jwoertink
    :joy:
    Stephen Dolan
    @stephendolan
    I can't combine path with github and version keys... can I?
      authentic:
        github: luckyframework/lucky
        version: ~> 0.24.0
        path: "./authentic/"
    That's a negative
    Jeremy Woertink
    @jwoertink
    nope. You have to specify github or path, but not both
    so it'd be like
    lucky:
      github: luckyframework/lucky
      version: 1.0
    authentic:
      path: ./authentic
    I think....
    Stephen Dolan
    @stephendolan
    Damn, I went with the one version bump but you're already at 1.0!
    positive thinking intensifies
    Jeremy Woertink
    @jwoertink
    lol
    Stephen Dolan
    @stephendolan
    Huh, yeah amber takes the same approach
    Jeremy Woertink
    @jwoertink
    There was something posted somewhere that had a valid example on how this works, but I can't find it
    not sure if it was an issue on a repo, or forum
    Stephen Dolan
    @stephendolan
    I might play around with submodules as well, that could be neat if shards wouldn't care
    Jeremy Woertink
    @jwoertink
    Yeah, I was trying to create this https://github.com/jwoertink/psst/ and I wanted my shard.yml in the crystal folder, but it wouldn't work. It has to be at the top directory
    Stephen Dolan
    @stephendolan
    Annoying that there's not an easier way to bump shards :disappointed:
    Jeremy Woertink
    @jwoertink
    Ok, this version is all looking good to me.
    If anyone else wants to give this a shot before tomorrow, you'll just need to do a few things
    * clone https://github.com/luckyframework/lucky_cli
    * install shards v0.12.0 https://github.com/crystal-lang/shards/
    * generate a new app
    * add a shard.override.yml file with
    
    dependencies:
       lucky:
          github: luckyframework/lucky
          branch: master
    If you find anything, let me know!
    Stephen Dolan
    @stephendolan
    Weird, with shards 0.12 and crystal 0.35.1, I'm getting this on shards install:
    ...
    Fetching https://github.com/crystal-loot/exception_page.git
    Fetching https://github.com/crystal-ameba/ameba.git
    Fetching https://github.com/luckyframework/teeplate.git
    Unable to satisfy the following requirements:
    
    - `crystal (~> 0.35, >= 0.35.0)` required by `lucky_cli 0.23.1`
    - `crystal (~> 0.35, >= 0.35.0)` required by `habitat 0.4.4`
    - `crystal (~> 0.26, >= 0.26.1)` required by `wordsmith 0.2.0`
    - `crystal (~> 0.35, >= 0.35.0)` required by `avram 0.16.1+git.commit.45fb3197962fd54ddc84536a6104c2e9f71b7268`
    - `crystal (~> 0.35, >= 0.35.0)` required by `lucky_router 0.3.0`
    - `crystal (~> 0.22, >= 0.22.0)` required by `shell-table 0.9.2+git.commit.078a04ea58ead5203bb435a3b5fff448ddabaeea`
    - `crystal (~> 0.33, >= 0.33.0)` required by `cry 0.4.2`
    - `crystal (~> 0.33, >= 0.33.0)` required by `exception_page 0.1.4`
    - `crystal (~> 0.35, >= 0.35.0)` required by `dexter 0.3.1`
    - `crystal (~> 0.29, >= 0.29.0)` required by `ameba 0.13.2`
    - `crystal (~> 0.35, >= 0.35.0)` required by `teeplate 0.8.2`
    - `crystal (< 1.0.0)` required by `blank 0.1.0`
    - `crystal (< 1.0.0)` required by `pg 0.21.1`
    - `crystal (~> 0.35, >= 0.35.1)` required by `pulsar 0.2.1`
    Failed to resolve dependencies, try updating incompatible shards or use --ignore-crystal-version as a workaround if no update is available.
    Oh, it works fine when I remove the shard.override.yml file
    Stephen Dolan
    @stephendolan
    If anyone cares to easily reproduce, I've at least got a RailsByte up and running that will install shards v0.12, install a Lucky CLI from master, and generate an app for you with the override file. It just falls down during script/setup currently
    mkdir lucky_next_gen_test && cd lucky_next_gen_text && bloat with http://go.luckycasts.com/lucky-next-app
    Once i get it fully working it should make it a bit easier to test upcoming versions if I keep that updated
    Jeremy Woertink
    @jwoertink
    :joy: that's awesome!
    Stephen Dolan
    @stephendolan
    By default it'll give you a nifty lucky-next CLI tool that's running master
    But you can always override your current lucky CLI if you like to live dangerously
    Matthew McGarvey
    @matthewmcgarvey
    I'm not able to run avram's script/test locally right now. After updating the Dockerfile to use 0.35.1 this spec pauses the tests asking for a password
    Jeremy Woertink
    @jwoertink
    Someone else had that same issue...
    I don't run the specs through docker though
    I updated my /etc/hosts so db points locally, then added the lucky developer to postgres
    @matthewmcgarvey are you on Linux?
    Matthew McGarvey
    @matthewmcgarvey
    No, mac
    Jeremy Woertink
    @jwoertink
    That's strange
    Are you able to run it outside of docker?
    Matthew McGarvey
    @matthewmcgarvey
    So the tests worked for me when I moved the database to the brew installed postgres but it asks for the password when I try to use docker
    2 replies
    Jeremy Woertink
    @jwoertink
    I don't think it's been deployed yet, but https://github.com/luckyframework/website/pull/406/files
    I think that's what @mwlang ran in to
    Jeremy Woertink
    @jwoertink
    Hey everyone! Lucky 0.24.0 is out. We will do the whole big announcement and blog post stuff after the weekend, but please play with it.