Code Monkey home page Code Monkey logo

Comments (4)

gomoripeti avatar gomoripeti commented on May 24, 2024

Building and packaging investigation (ongoing)

  • both rebar3 and mix support umbrella projects where there are multiple OTP applications under apps/ dir within the same repo
  • it is possible to create multiple hex packages, one from each app
  • it is also possible to include "anything" in a hex package with files setting. (A list of files and directories to include in the package.) So theoretically even multiple apps can be included
  • it is possible to build multiple releases from an umbrella project which include different set of apps. (However this is not too relevant as xprof is a library app which is mostly to be included in the users release. There is only one standalone release candidate: xprof_gui)

Open question:

  • if a user would like to depend on the git repo and not a hex package, how to do that?
    rebar3 by default does not really like an umbrella project as dependency
    (Dependency failure: Application xprof_umbrella not found at the top level of directory)

from xprof.

ddeboer avatar ddeboer commented on May 24, 2024

target release already contains conflicting version of cowboy

We have this problem when we try to profile Zotonic 1.x (which relies on Cowboy 2) with XProf.

  • if a user would like to depend on the git repo and not a hex package, how to do that?

Would this be necessary? What about two apps: xprof_tracer and xprof_gui? The umbrella repository would then simply be the combination of the two, which each of them independently published to Hex.

from xprof.

gomoripeti avatar gomoripeti commented on May 24, 2024

thanks for your input, David.

I pushed branch cowboy_2.0 based on latest XProf release. It shouldn't be merged to master but it can serve as a temporary solution for those who would like to use XProf in a project with cowboy 2.0, until this task is properly addressed.

from xprof.

gomoripeti avatar gomoripeti commented on May 24, 2024

XProf is now split into 3 applications #101 and published separately to hex.pm #129 (since 2.0.0-rc.0)

from xprof.

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.