[proposal]

31 views
Skip to first unread message

Amos King

unread,
Nov 30, 2017, 3:55:31 PM11/30/17
to elixir-l...@googlegroups.com
I often find that it is useful to interact with git when doing a build. I found that `Mix.SCM.Git` has many useful functions that I have rewritten in some projects. I would love to pull those functions out into their own module that can be documented and exposed. I'm not sure where I would put the module, but since the code is already in the core I don't think another hex package is the right solution. I'm willing to do this, but I want to see what others think before I put the work into it. Would anyone else find this useful?

Amos King
Owner
Binary Noggin
=======================================================
I welcome VSRE emails. Learn more at http://vsre.info/
=======================================================

José Valim

unread,
Nov 30, 2017, 3:58:23 PM11/30/17
to elixir-l...@googlegroups.com
Those functions are highly specific to how Mix works and not general purpose. They are callbacks after all. If we expose them, there will be a chance they diverge and we will have to keep two implementations: one for internal usage and another for the public API. Going with a separate library or tackling your own is the way to go.



José Valim
Founder and 
Director of R&D

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAJr6D4RGGzc1ycWWdkiYEs49A7jxdTCz0L-%2B0_xP9O01GQ22vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Amos King

unread,
Nov 30, 2017, 6:35:42 PM11/30/17
to elixir-l...@googlegroups.com
Thank you for the feedback. I will look into doing just that.

Amos

Amos King
Owner
Binary Noggin
=======================================================
I welcome VSRE emails. Learn more at http://vsre.info/
=======================================================

Reply all
Reply to author
Forward
0 new messages