Fred Hebert
2ffbb80cea
Bump to 3.2.0
9 anni fa
Fred Hebert
aa273a15d5
Merge pull request #1243 from jonathn/fix-unicode-tree
Fix unicode rendering of deps tree (issue #1140 )
9 anni fa
Jon
c7b7b9005f
Fix unicode rendering of deps tree (issue #1140 )
9 anni fa
Fred Hebert
ac69558087
Merge pull request #1234 from talentdeficit/shell_config
ignore return value of `rebar_utils:reread_config` in shell provider
9 anni fa
alisdair sullivan
74cc922fb4
ignore return value of `rebar_utils:reread_config` in shell provider
9 anni fa
Fred Hebert
db8dbdfbcf
Merge pull request #1233 from talentdeficit/REBAR-1199
normalize include dirs to absolute paths during compilation
9 anni fa
alisdair sullivan
dfec27a1cd
normalize include dirs to absolute paths during compilation
changed include files were not properly picked up by `erlc_compiler`
in cases where they were in directories relative to the application
source and not the current working dir of rebar3
fixes #1199
9 anni fa
Fred Hebert
095af3bfca
Merge pull request #1232 from talentdeficit/REBAR-1184
REBAR-1184 always recompile if `ERL_COMPILER_OPTIONS` env var is set
9 anni fa
alisdair sullivan
aba5a721e1
REBAR-1184 exclude tests for `ERL_COMPILER_OPTIONS` on r15
9 anni fa
Fred Hebert
dabf56646e
Merge pull request #1227 from ferd/compiler-source-format
Compiler source paths in output are now relative
9 anni fa
alisdair sullivan
fb26525a52
REBAR-1184 always recompile if `ERL_COMPILER_OPTIONS` env var is set
partially addresses #1184
9 anni fa
Fred Hebert
caaa4be10d
Merge pull request #1231 from tsloughter/ct_sys_config
add support for passing a sys_config to common test
9 anni fa
Tristan Sloughter
854abc1bda
add support for passing a sys_config to common test
9 anni fa
Fred Hebert
e337793e9f
Merge pull request #1230 from ferd/support-env-proxy-vars
Expand os ENV proxy support to bootstrap script
9 anni fa
Fred Hebert
87f9950839
Expand os ENV proxy support to bootstrap script
9 anni fa
Fred Hebert
3978062dc1
Merge pull request #1229 from ferd/support-env-proxy-vars
Support ENV config for proxy values
9 anni fa
Fred Hebert
398b3085fc
Support ENV config for proxy values
- The configured stuff in rebar3 takes precedence over the ENV
- The env is then chosen
9 anni fa
Fred Hebert
979bb18b27
Merge pull request #1080 from project-fifo/crashdump
Write rebar3.crashdump on errors
9 anni fa
Fred Hebert
1875eadd9a
Fix alternative path printing, default is relative
This required moving the reporting functions to rebar_base_compiler but
since this was already done for error_tuple, this seems to make sense.
Paths are also reformatted for warnings in erlc files.
9 anni fa
alisdair sullivan
e6d64858c5
Merge pull request #1164 from snaiper80/fix_cover_compile_error
Fix compile error case when cover compilation
9 anni fa
Fred Hebert
76f30b1884
Rename 'unchanged' option to 'build'
This will allow us to eventually change the default type without it
looking ridiculous.
9 anni fa
Fred Hebert
cfa0a7e409
Merge pull request #1219 from ferd/umbrella-upgrade
Bugfix for upgrading deps of umbrella apps
9 anni fa
Fred Hebert
821f82314e
Merge pull request #1222 from lucafavatella/patch-1
Fix minor typo in README
9 anni fa
Fred Hebert
3038aae4ba
Rework patch to work without accident
The previous iteration of the patch worked somewhat by accident. After
digging in and figuring out why the two dep sources are the way they
are, the patch is now properly working with a well-documented
explanatiion inline.
9 anni fa
Luca Favatella
c2f9d99125
Fix minor typo in README
9 anni fa
Fred Hebert
eccbfee95e
Merge pull request #1220 from gomoripeti/handle_error_crash
Handle control sequences in formatted errors
9 anni fa
Péter Gömöri
cc2e5f7876
Handle control sequences in formatted errors
Formatted errors can accidentally contain substrings which are control
sequences for io:format/2. This is a naive attempt to handle such cases.
One example is running xref on the following module
(assuming module m does not exist)
```
-module(handle_error).
-export([f/0]).
f() -> m:'bobby~stables'().
```
```
$ rebar3 xref
===> Verifying dependencies...
===> Compiling myapp
===> Running cross reference analysis...
escript: exception error: bad argument
in function io:format/3
called as io:format(<0.23.0>,
"\e[0;31m===> \e[1mWarning: handle_error:f/0 is unused export (Xref)\nWarning: handle_error:f/0 calls undefined function m:bobby~stables/0 (Xref)\n\n\e[0m\e[0m",
[])
in call from rebar3:handle_error/1 (/Users/gomoripeti/git/rebar3/_build/default/lib/rebar/src/rebar3.erl, line 279)
```
9 anni fa
Fred Hebert
3cb67ff753
Account for umbrella apps' deps in upgrades
9 anni fa
Fred Hebert
88b251a364
Regression test showing the bug for umbrella apps
When the operation for an unlock takes place in the config of a umbrella
application, the `unlock' provider does not see the dependency in the
`deps' value of the config (since it only includes the deps at the root
of the project) and ignores these.
9 anni fa
Fred Hebert
e1f3473ca3
Merge pull request #1211 from erlang/ignore-raw-deps-spec
Don't die when source deps with [raw] are used
9 anni fa
Fred Hebert
8284b55152
Merge pull request #1213 from stuart-thackray/master
Debug log update
9 anni fa
Stuart Thackray
2d4e5b5fa6
Debug log update
9 anni fa
Fred Hebert
eae1fe2f52
Don't die when source deps with [raw] are used
This adds support for their format both on the first read and when
looking for modifications to dependencies.
9 anni fa
Tristan Sloughter
24b4eb4aa5
Merge pull request #1205 from talentdeficit/fix_data_dir_test
adjust `data_dir_correct` test in ct suite
9 anni fa
alisdair sullivan
285d1687f3
adjust `data_dir_correct` test in ct suite
don't bother checking the profile in the path to the data dir
9 anni fa
Fred Hebert
bf085b9c00
Merge pull request #1201 from tsloughter/pkg-vsns
filter available package versions individually by buildtools
9 anni fa
Tristan Sloughter
5da76266d5
Merge pull request #1196 from tsloughter/github_releases
deploy escript to travis releases instead of s3
9 anni fa
Tristan Sloughter
f701895165
filter available package versions individually by buildtools
9 anni fa
Fred Hebert
41addaa53b
Merge pull request #1197 from zsoci/fixpathcmd
Fix path command to consider {deps_dir, "deps"} in rebar.config
9 anni fa
zsoci
91485a8ec8
Fix path command to consider {deps_dir, "deps"} in rebar.config
9 anni fa
Fred Hebert
3dc62dba5d
Merge pull request #1198 from postHawk/fix-1185
#1185 fix windows git working directory
9 anni fa
Post hawk
8db9bc4e1d
#1185 fix windows git working directory
fix issue #1185 git working directory issues due to command line options in Windows
9 anni fa
Tristan Sloughter
e481288689
deploy escript to travis releases instead of s3
9 anni fa
Fred Hebert
5586b1b312
Revert semver commit
9 anni fa
Fred Hebert
80f6be689d
Cutting 3.1.1
9 anni fa
Tristan Sloughter
9f5a30f3d7
Merge pull request #1194 from tsloughter/provider_hook_paths
don't needlessly update the code path twice if no hooks to run
9 anni fa
Tristan Sloughter
15dda967b7
don't needlessly update the code path twice if no hooks to run
9 anni fa
Fred Hebert
b8c81edb1e
Merge pull request #1192 from talentdeficit/no_coverage_for_extra_dirs
don't generated coverage for `extra_src_dirs`
9 anni fa
alisdair sullivan
ee47316113
don't generated coverage for `extra_src_dirs`
closes #1057 and #1179
9 anni fa
Fred Hebert
89b25b2d82
Merge pull request #1189 from tsloughter/otp-19-bootstrap
fix otp-19 bootstrap compiling
9 anni fa