Git Product home page Git Product logo

Comments (7)

dnesteryuk avatar dnesteryuk commented on May 26, 2024

Thank you for your hard work on this project, @florinpatrascu 👏 🎆

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

Hi Dmitriy,

Thank you for your kind words and I am sorry to hear about your troubles with etls. I am at work now but I'll check later on to see if there are any issues with the current mix support, but I doubt there are; had Travis working with this for a while. See, the etls dependency is used, conditional, in the mix.exs. Please view this part ++ env_specific_deps(); hope I typed it right from the memory ;)

Are you sure the env variable is set, when you run mix? Also please make sure you clear up the previous dependencies, the ones where you compiled without etls. The hardcore approach :) as follows:

mix deps.unlock --all
export BOLT_WITH_ETLS=true
mix deps.get

You should see now the mix pulling etls and its dependencies.

Please let me know if this works for you. HTH - Florin

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

Hi there - please let me know if cleaning the previous compile results and dependencies works for you. I just had the opportunity to try on a fresh install and couldn't reproduce your case. But I don't doubt you're right, just need more info to be able to reproduce the issue at my end. Thank you!

from bolt_sips.

dnesteryuk avatar dnesteryuk commented on May 26, 2024

Hello Florin,

Thank you for the fast response. I tried your approach, but it didn't work for me. 😢 Most likely, I am doing something wrong.

How did I try?

$ git clone https://github.com/sirko-io/engine.git
$ cd engine
$ mix deps.unlock --all
$ export BOLT_WITH_ETLS=true
$ mix deps.get

It isn't there.

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

Ugh, I see what is going on now. Mix is just doing what it's expected to do, when you set environment variables, for example:

w_and_wo_etls

However, this is not happening when bolt_sips is included in another project. Two things may happen:

  • mix is only parsing the list of dependencies, w/o executing my BoltSips.Mixfile.deps/1
  • or if it does calling the ...deps/1, then the environment variable is not passed through?! Hard to believe.

I'll have to look into the how Mix works, and chat on Slack with some people; hopefully I can do this today. Sorry for the delay, Dmitriy.

Meanwhile, please try the following:

  • set the BOLT_WITH_ETLS to true
  • add the :etls library as a dependency to: your mix.exs file

And see if bolt_sips can be "fooled" that way; because of my BoltSips.Mixfile.opt_etls/1, hopefully?! Not having a better idea right now, need a coffee, too early, but I'll be back :)

Have a great day!
Florin

from bolt_sips.

dnesteryuk avatar dnesteryuk commented on May 26, 2024

@florinpatrascu please, take your time. It doesn't block my work 😉 Thank you!

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

Etls will be removed, from the next version. Sorry for the confusion created.

from bolt_sips.

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.