Can you explain why it is important to disable those warnings? It is just a
way to clean the output? What if there is a warning that is indeed pointing
to a flaw or violation that must be addressed?

In any case, worst case scenario, if the user already has to install
igniter, you could inject an igniter.deps.compile task that call
deps.compile but captures stderr?



*José Valimhttps://dashbit.co/ <https://dashbit.co/>*


On Thu, Dec 26, 2024 at 03:55 Zach Daniel <zachary.s.dan...@gmail.com>
wrote:

> This is something I'd like to have for igniter. Part of what we do is
> download a dependency from hex and recompile the app. I'd like to find a
> way to clean up the output when doing something like
>
> `mix igniter.new --install ash`. I'd like to be able to suppress all of
> the information about deps compilation or potentially just suppress the
> warnings.
>
> I know this has been discussed before, and I agree with the general idea
> that allowing people to suppress warnings with an option is a slippery
> slope that leads in a bad direction. However, I think for *dependencies
> specifically* that principle doesn't necessarily hold.
>
> Would it be on the table to potentially disable or hide warnings while
> dependencies are compiling, on an opt-in basis. like `mix deps.compile
> --no-warnings`?
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/elixir-lang-core/94c2e48c-caa6-4dc6-bfda-f7b7e09c9eean%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/94c2e48c-caa6-4dc6-bfda-f7b7e09c9eean%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KcKf_Lxf7DycHCm6ivC9t73fTJhdkZ_Jnj0%2BabbCqEYA%40mail.gmail.com.

Reply via email to