Packages
geas
2.2.0
2.11.1
2.11.0
retired
2.10.1
2.10.0
retired
2.9.9
2.9.8
2.9.7
2.9.6
2.9.5
2.9.4
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.14
2.7.13
2.7.12
2.7.11
2.7.10
2.7.9
2.7.8
2.7.7
2.7.6
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.2
2.6.1
2.6.0
retired
2.5.1
2.5.0
retired
2.4.6
2.4.5
retired
2.4.4
retired
2.4.3
retired
2.4.2
retired
2.4.1
retired
2.4.0
2.3.0
2.2.0
Guess Erlang Application Scattering
Current section
Files
Jump to
Current section
Files
src/geas_disc.hrl
%%% File: geas_disc.hrl
%%% @author Eric Pailleau <geas@crownedgrouse.com>
%%% @copyright Eric Pailleau <geas@crownedgrouse.com>
%%% @licence https://github.com/crownedgrouse/geas/blob/master/LICENCE
%%% @doc
%%% Geas database to discard or discourage use of some releases when
%%% some modules or functions used.
%%% @end
%%-------------------------------------------------------------------------
%% @doc Return list of release to discard and OTP number explaining why.
%% @end
%%-------------------------------------------------------------------------
-spec rel_disc({atom(), atom(), integer()}) -> {list(), atom()} | ok.
% syntax_tool-1.6.12 buggy
rel_disc({epp_dodger, _, _}) -> {["R16B03"], 'OTP-11576'} ;
rel_disc({erl_prettypr, _, _}) -> {["R16B03"], 'OTP-11576'} ;
rel_disc({erl_recomment, _, _}) -> {["R16B03"], 'OTP-11576'} ;
rel_disc({erl_syntax, _, _}) -> {["R16B03"], 'OTP-11576'} ;
rel_disc({erl_syntax_lib, _, _}) -> {["R16B03"], 'OTP-11576'} ;
rel_disc({erl_tidy, _, _}) -> {["R16B03"], 'OTP-11576'} ;
rel_disc({igor, _, _}) -> {["R16B03"], 'OTP-11576'} ;
% Last rule : accept all
rel_disc({_, _, _}) -> ok.