Fred Hebert
8bb2f909cf
move shell debug to diagnostic
před 4 roky
Fred Hebert
88113401f5
friendlier debug mode in rebar_core
před 4 roky
Fred Hebert
aa0043f1f8
Rename ?FAIL to ?ABORT
The change was possible since R13B04 when macros with many arities
became supported. We never really cleaned that stuff up before so I'm
picking it up while I'm updating that code
před 4 roky
Fred Hebert
096fbf2145
Introduce Diagnostic Mode
Diagnostic mode is intended to be used for rebar3 maintainers to debug
and understand issues. It shows all the things and all the data and
works with the assumption that people has intent to use the source code
to debug things.
Debug mode is promoted to user-oriented debugging, based on the idea
that what they care about is figuring out their interactions with the
tool. A major improvement in usability would be to directly tie the user
config to the interpreted config (ie merged profiles) to clearly hint at
seen rebar3’s behaviour. If the debug output can show that and even tie
some behaviours to the config value that impacts things, we could get
some discoverability out of it too, something missing from declarative
tools like this.
před 4 roky
Fred Hebert
98c6e808a4
Merge pull request #2384 from pablocostass/1386_templates_check_name_clashes
Make rebar3 templates check for name clashes
před 4 roky
Pablo Costas
a1d17fce6a
Update rebar_templater with safer regex
Co-authored-by: Fred Hebert <mononcqc@ferd.ca>
před 4 roky
Tristan Sloughter
1577b738bc
Merge pull request #2386 from smswz/patch-1
Update link for Rebar 2.x to Rebar3
před 4 roky
Sean Swezey
029565df65
Update link for Rebar 2.x to Rebar3
The link was missing a `tutorials` in the path.
před 4 roky
Pablo Costas Sánchez
9a9f2d2024
Make rebar3 templates check for name clashes
This commit changes rebar3 to check for name clashes of the
modules created from its templates with existing Erlang modules
to produce a non-blocking warning for each clashing module.
před 4 roky
Fred Hebert
7700dc25f2
Merge pull request #2383 from pablocostass/2378_patch_compiler_leading_dot
Patch `rebar_base_compiler` to handle extensions with no leading dot
před 4 roky
Pablo Costas Sánchez
4230ddb633
Patch `rebar_base_compiler` to handle extensions with no leading dot
před 4 roky
eryx67
24247a7a9c
fix endless recursion in del_dep
před 4 roky
Fred Hebert
725b0af9f8
Merge pull request #2380 from pablocostass/2374_handle_unicode_author_names_in_templates
Handle unicode in author's name in templates
před 4 roky
Pablo Costas Sánchez
6fa559e066
Handle unicode in author's name in templates
před 4 roky
Fred Hebert
f5d6f88db6
Merge pull request #2373 from ferd/fix-mib-deps
Specify dependencies for MIB files
před 4 roky
Fred Hebert
8de300813d
add MIB deps handling test
před 4 roky
Fred Hebert
9c15b57aa4
Specify dependencies for MIB files
This is required for compile order to be maintained in a post-3.14
world.
před 4 roky
Fred Hebert
dfbe941ddd
Merge pull request #2368 from ferd/ignore-global-profile-warning
Ignore `global` and `default` in empty profiles warning for `as`
před 4 roky
Fred Hebert
7eb983b822
also ignore 'default' for profile warnings
před 4 roky
Fred Hebert
e037ec8c8f
Ignore `global` in empty profiles warning for `as`
před 4 roky
Fred Hebert
9a0ccee6be
Merge pull request #2365 from LincolnBryant/patch-1
Update README.md
před 4 roky
Lincoln Bryant
8c4a7f17dc
Update README.md
Only one of the two plugin system links seems to work, the other 404's. I think the proposed link may go to the equivalent place?
před 4 roky
Fred Hebert
4c80f6bdb2
Merge pull request #2363 from shino/compiler-timeout-patch
Use infinity timeout for rebar_compiler_epp resolve call
před 4 roky
Shunichi Shinohara
543743d80d
Change resolve call timeout to infinity
před 4 roky
Fred Hebert
3cb623d882
Merge pull request #2354 from pablocostass/2119_xref_only_runtime_dependencies
Change xref paths to only those of runtime deps
před 4 roky
Pablo Costas
24c4d78b5f
Update rebar_paths_SUITE with checks for runtime applications
This commit adds new checks in the `set_paths` test case related to
runtime apps and their path handling with the `runtime` target in
`rebar_paths`. These new checks also hope to increase the coverage
of the changes done to the xref provider in this same PR (#2354 ).
This commit also adds some new helper functions to help deal with
future changes related to these new checks (i.e., changes related to
the runtime apps), besides fixing a problem when looking for the
first instace of an app/dep/plugin in the path while testing.
před 4 roky
Shunichi Shinohara
c7d7b32b47
Add 60 sec timeout for resolve call
před 4 roky
Fred Hebert
d11ceb4fe9
Merge pull request #2360 from paulo-ferraz-oliveira/feature/alias_in_rebar_config_sample
Add `alias` to example `rebar.config.sample`
před 4 roky
Paulo F. Oliveira
d0c6df26be
Improve readability
před 4 roky
Paulo F. Oliveira
f50bec9e5e
Add `alias` to example `rebar.config.sample`
před 4 roky
Fred Hebert
d5e3255b71
Merge pull request #2357 from pablocostass/update_readme_with_otp_compatibility
Update README with supported Erlang/OTP versions
před 4 roky
Pablo Costas
b1efddafd1
Update README with supported Erlang/OTP versions
před 4 roky
Fred Hebert
024ed3ce2e
Merge pull request #2351 from paulo-ferraz-oliveira/fix/dialyzer_warning_output_for_unknown
Fix `dialyzer` warning output for option `unknown`
před 4 roky
Paulo F. Oliveira
573906513f
Fix output issue (bug) when `dialyzer.warnings.unknown` is used in `rebar.config`
... and e.g. an unknown type is detected
před 4 roky
Pablo Costas
7cb5793492
Fix runtime apps paths
před 4 roky
Fred Hebert
62b97215ae
Merge pull request #2356 from paulo-ferraz-oliveira/feature/xref_ignores_in_rebar_config_sample
Add xref_ignores to sample config file
před 4 roky
Paulo F. Oliveira
c9d14e8dd0
Make existing `rebar.config` option more visible and easier to find
Especially for those that rely on the sample rebar.config from the get-go
před 4 roky
Pablo Costas
a5fc48bc52
Change xref paths to only those of runtime deps
This commit changes mainly the `rebar_paths` module by adding a
new `runtime` target. When using that target, `rebar_paths:get_apps/2`
will, for each project app, find all their `applications` and
`included_applicactions` and filter those that could be found
in rebar3's state.
před 4 roky
Fred Hebert
8bba1c311c
Merge pull request #2353 from pablocostass/2349_fix_empty_lock_regression
Fix lock file not being generated when no deps are present in the config
před 4 roky
Pablo Costas
e65ef19194
Fix lock file not being generated when no deps are present in the config
před 4 roky
Tristan Sloughter
d447e8b948
Merge pull request #2347 from paulo-ferraz-oliveira/fix/rebar3_xref_undefined_functions
Prevent crash when function deemed undefined has no local context
před 4 roky
Paulo F. Oliveira
f12e84a441
Prevent crash when function deemed undefined has no local context
před 4 roky
Fred Hebert
3803f10b27
Merge pull request #2345 from tsloughter/s3-cp-release
use 'aws cp' when copying escript to s3
před 4 roky
Tristan Sloughter
d9a7df73c0
use 'aws cp' when copying escript to s3
před 4 roky
Tristan Sloughter
8c61085376
revert to git version in .app.src
před 4 roky
Tristan Sloughter
7b90fafef2
Merge pull request #2340 from tsloughter/bump-3.14.1
Bump 3.14.1
před 4 roky
Fred Hebert
7e585a3015
Merge pull request #2344 from tsloughter/git-lock-vsn
git lock: abort if version is not equal to or greater than 1.8.5
před 4 roky
Tristan Sloughter
d0ca3cb1da
Merge pull request #2342 from tsloughter/git-subdir-path
require the app name as the last part of git_subdir path
před 4 roky
Tristan Sloughter
9ea61ec81c
git lock: abort if version is not equal to or greater than 1.8.5
před 4 roky
Tristan Sloughter
b14fa55c77
require the app name as the last part of git_subdir path
před 4 roky