Fred Hebert
73c36138ff
Add version annotations to scripts
This lets tools like mix figure out which version is in path without
invoking rebar3 itself.
il y a 5 ans
Tristan Sloughter
6a56a62fec
Merge pull request #2241 from ferd/otp-23-compat
OTP-23 compatibility and warning removal
il y a 5 ans
Tristan Sloughter
5f3aec7002
Merge pull request #2237 from ferd/allow-bare-compile-outdir
Allow specifying the outdir in bare compiler
il y a 5 ans
Fred Hebert
0ba1f04bbc
Merge pull request #2240 from tsloughter/force-tls1.2
force use of tls1.2 for http fetching to work on OTP-23-rc1
il y a 5 ans
Tristan Sloughter
e33357af97
Bump to 3.13.0
il y a 5 ans
Tristan Sloughter
1553164a52
Merge pull request #2191 from michaelklishin/otp-23-master-compat
OTP 23 [master] compatibility
il y a 5 ans
Tristan Sloughter
32453241ba
Merge pull request #2192 from tsloughter/string-trim
add rebar_string:trim function for removing all leading/trailing whitespace
il y a 5 ans
Michael Klishin
b93bb35819
Only suppress deprecation warnings on OTP 23
For OTP 19 and earlier compatibility.
il y a 5 ans
Tristan Sloughter
bc63821f79
add rebar_string:trim function for removing all leading/trailing whitespace
This function was used for trimming the version from a `{file, File}` app
vsn in .app.src but caused a crash because it did not exist.
il y a 5 ans
Michael Klishin
bb9f44c728
Ignore deprecation warnings for a few more http_uri funs
Switching to uri_string as the warning suggest
would ruin OTP 20 compatibility.
il y a 5 ans
Michael Klishin
c134da2196
Adapt to stricter unused variable check in OTP 23
See [1] for context.
1. https://bugs.erlang.org/browse/ERL-1113
il y a 5 ans
Michael Klishin
cb5558a5dc
Ignore http_uri:encode/1 deprecation warning
Switching to uri_string as the warning suggest
would ruin OTP 20 compatibility.
il y a 5 ans
Fred Hebert
d1af74d6b1
Merge pull request #2187 from kpy3/add-statistics-opt-to-dialyzer
Add `--statistics` option to dialyzer command
il y a 5 ans
Sergey Yelin
2fc7ebf3ee
Add new option to test
il y a 5 ans
Sergey Yelin
537283debb
Add comment for option naming
il y a 5 ans
Sergey Yelin
8946f723fb
Add `--statistics` option to dialyzer command
In some cases its nice to have dialyzer statistics out of box without
any additional steps.
il y a 5 ans
Fred Hebert
00df05b27c
Merge pull request #2186 from garazdawi/fix-windows-epmd-start
Fix epmd start on windows
il y a 5 ans
Lukas Larsson
03725bf81e
Fix epmd start on windows
Windows does not have the same quoting rules as Unix so
we need to use platform independent quoting. Also for
os:cmd like operations we do not expect the program to
read any input so in order for it to work on windows we
should put -noinput there.
il y a 5 ans
Fred Hebert
b8f8f3e5d6
Merge pull request #2173 from ferd/allow-cleaning-specific-apps
Allow cleaning specific apps or deps only
il y a 5 ans
Fred Hebert
16cc2d3118
Merge pull request #2170 from ferd/disable-bbmustache-escaping
Disable bbmustache escaping
il y a 5 ans
Fred Hebert
936c8b1ba9
Allow cleaning specific apps or deps only
This will allow project with larger dependencies sets to clean only the
apps they want to when testing or changing small things, rather than
forcing a rebuild of the whole dep set.
Also allows cleaning up apps, not just deps.
il y a 5 ans
Fred Hebert
fe8626ff7d
Disable HTML escaping in Erlang file templating
We never really need that and nobody would expect it either. We're
rendering normal files, not HTML.
il y a 5 ans
Fred Hebert
071921fc15
Bump bbmustache
il y a 5 ans
Fred Hebert
41b76f050d
Merge pull request #2167 from ferd/clear-bootstrap-failures
Handle missing OTP apps better
il y a 5 ans
Fred Hebert
fefa3bfebb
Handle missing OTP apps better
Otherwise we only get silent failures. This has been fixed a while ago
in mainline rebar3 but never in the bootstrap script.
il y a 5 ans
Fred Hebert
8cdf023455
Merge pull request #2155 from g-andrade/feature/profile-string-overlay-var
Support `profile_string` overlay var in releases
il y a 5 ans
Fred Hebert
bc8e5ef26a
Merge pull request #2165 from ferd/reload-sysconfig-in-ct
Reload logger config in CT suites
il y a 5 ans
Fred Hebert
2addcfebe2
Reload logger config in CT suites
Fixes #2159 ; this is done by force-reloading the handlers to match the
config.
This can create a bit of a funny effect if sys.config specifies an INFO
log level (or lower) is specified. While apps are booted for config
changes before the cth_failonly hook is enabled, supervision and other
application log messages can start being output. They will start being
suppressed once the CT run begins.
This is not a bug, it's a race in instantiation of control and enabling
of log levels. Nothing we can do about that. It might however surprise
people a good bit. If non-default stdout handlers are added, they are
similarly likely to become noisy; specifying a test-specific sys.config
file may be necessary then.
Also includes a bump of cth_readable version, which now checks for
updates to the log formatter on every test output.
il y a 5 ans
Guilherme Andrade
df808931cc
Fix function overspec.
il y a 5 ans
Guilherme Andrade
0cb050e93b
Add missing function spec.
il y a 5 ans
Guilherme Andrade
8412c684f9
Don't export internal function definition
il y a 5 ans
Fred Hebert
e2ac321758
Merge pull request #2149 from dmitrivereshchagin/fix-logger-reset
Disable the default logger handler in shell if required
il y a 5 ans
Fred Hebert
c031b0f24e
Merge pull request #2153 from tolbrino/tb-fix-ct-retry
Fix case clause which used wrong element order
il y a 5 ans
Guilherme Andrade
7bbc467859
Indulge in self-aggrandizement
il y a 5 ans
Guilherme Andrade
7311fb2429
Add test coverage of `profile_string` overlay variable usage in releases
il y a 5 ans
Guilherme Andrade
10974bb9d5
Support `profile_string` overlay variable in releases
il y a 5 ans
Guilherme Andrade
4033e65aaa
Fix formatting of literal expression within comment
il y a 5 ans
Tino Breddin
6d6a441370
Fix case clause which used wrong element order
See http://erlang.org/doc/man/ct_hooks.html#Module:on_tc_fail-4
il y a 5 ans
Dmitri Vereshchagin
0392742ceb
Disable the default logger handler in shell if required
To avoid a conflict the Kernel's default handler have to be disabled
before the new default handler is added
{kernel,
[{logger,
[{handler, default, undefined}
]}
]},
{my_app,
[{logger,
[{handler, default, my_handler, #{}}
]}
]}
To support this behavior in shell it's necessary to process the
handler-default-undefined tuple.
It's not clear what to do with the simple handler (logger_simple_h)
however. It's added at the start and removed if a default handler was
added. Should it be added in reread_logger_config/1 if there's no
default handler?
il y a 5 ans
Fred Hebert
542b93a852
Merge pull request #2143 from choptastic/master
Fix a couple typos in readme
il y a 5 ans
Jesse Gumm
870aa73052
Fix a couple typos in readme
il y a 5 ans
Tristan Sloughter
c2d74ada46
back to git-based versioning
il y a 5 ans
Tristan Sloughter
6cf8f2633d
Bump to 3.12.0
il y a 5 ans
Tristan Sloughter
2db55cea71
Merge pull request #2142 from tsloughter/relx-3.33.0
upgrade relx 3.33.0
il y a 5 ans
Tristan Sloughter
f71cd13b3e
upgrade relx 3.33.0
il y a 5 ans
Fred Hebert
5bc4581d6c
Merge pull request #2137 from tsloughter/provider-warning
format error from provider init and print as warning
il y a 5 ans
Tristan Sloughter
7a2911df03
format error from provider init and print as warning
il y a 5 ans
Fred Hebert
b1f8e3dfad
Merge pull request #2136 from tsloughter/env-base-dir
support REBAR_BASE_DIR for setting the base_dir
il y a 5 ans
Tristan Sloughter
9402857f55
support REBAR_BASE_DIR for setting the base_dir
il y a 5 ans
Fred Hebert
6abe440ec5
Merge pull request #2133 from ferd/fix-duplicate-edoc-macros
Fixing duplicate macro definition in umbrella edoc
il y a 5 ans