[erlang-questions] Erlang package managers?
Steve Davis
steven.charles.davis@REDACTED
Fri May 31 01:37:38 CEST 2013
Hi Olav,
I guess I'm being dense about this (if so, accept my apology and educate my
ignorance), but if your (versioned) app file was allowed to specify (where
needed) a version of a dependent app - then what is the distinction that
remains?
best,
/s
On Thursday, May 30, 2013 9:41:26 AM UTC-5, Olav Frengstad wrote:
>
> Hey Steve,
>
> You are touching on something different than "how to maintain my
> dependencies". As i see it there are 2 cases where you need to select
> correct dependencies: when you run the app and when you run tests.
>
> For the first one can easily be solved if you generate a release for
> every run, you will then specify the version to include in reltool (i
> use relx from erlware which has a nice way to specify dependency
> versions). Otherwise your are stuck with same approach as when running
> tests.
>
> For the second one it depends on how you invoke your tests, I add
> everything in lib/* to the codepath and assume there are no conflicts.
>
> Is there a need for running applications with specific dependency
> versions? So far i have managed fine by adding everything.
>
>
> 2013/5/30 Steve Davis <steven.cha...@REDACTED <javascript:>>:
> > I'm a bit bemused about the whole "deps" thing and am likely being naive
> > about this issue.
> >
> > However, it seems to me that ERL_LIBS works pretty good for me... except
> > where we have "deps" on particular versions.
> >
> > I'm throwing it out that if our apps were reliably semantically
> versioned
> > (www.semver.org) and that the .app file were updated to recognize
> versions
> > in
> > {application, _, {applications, [...]}}
> >
> > ...where atom was "latest" and {atom, version} were some .ez or other
> > ERL_LIBS folder...
> >
> > ...would that not solve a whole raft of the issues here?
> >
> > Interested in the responses :)
> >
> > /s
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-q...@REDACTED <javascript:>
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
>
>
>
> --
> Med Vennlig Hilsen
> Olav Frengstad
>
> Systemutvikler // FWT
> +47 920 42 090
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@REDACTED <javascript:>
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130530/1fdcea26/attachment.htm>
More information about the erlang-questions
mailing list