| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, update-deps on a dep tagged as {branch, ...} would do the
following:
git fetch
git checkout -q origin/<branch>
If you were already on that branch, the repo would end up in detached
head state. This is kind of annoying if you're doing local development.
This patch changes the behaviour to be
git fetch
git checkout -q <branch>
git pull --ff-only --no-rebase -q <branch>
The intent of this is to move the branch's HEAD forward to match
upstream without destroying any local commits or changes, and without
accidentally causing merges or rebases. It will fail if the operation
can not be performed without losing history, merging or rebasing.
The previous behaviour has been around a very long time:
https://github.com/rebar/rebar/commit/064195dc5a90f5b0cc3ae92e8373671b0043033f#L0R308
It also exactly mirrors the download_source case, which is not really
true. With git tags and SHAs, one can assume that they don't change, but
branches move all the time.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that deps of deps are updated AFTER the dep listing them
is, so that a complicated project with many layers of deps will be
updated correctly. Any new deps encountered along the way are also
cloned, and THEIR deps are also evaluated.
Also added was conflict detection, if a dep has differing versions or
source information, inherited from different places, that will be logged
at the end of update-deps, along with the origin of each conflicting
dep.
|
| |
|
|\
| |
| | |
dialyzer_reference plus one minor patch
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Document 'rebar help <CMD1> <CMD2>'
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| | |
change cover html generation to produce valid html
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- added missing doctype
- added encoding statement
- removed invalid additional opening <body> tag
|
|\ \
| | |
| | | |
Fixes and updates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- restore support for "rebar help xref"
- update rebar.config.sample
- update 'help xref' string
- simplify new/changed functions by breaking out code or
using simpler syntax where applicable
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- refactor plugin dirs code to be simpler and easier to read
- use erlang-mode's default (%%) comments for portability/consistency
- make sure erlang-mode's indenter is used so that a future whole
buffer indent doesn't get messed up
|
| | |
| | |
| | |
| | | |
Also fix a single line exceeding max column.
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Add one more "unicode" option in expand_env_variable—I have a bullet in my prompt that was blowing it up
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
prompt that was blowing it up
|
|\ \
| | |
| | | |
Allow the use of absolute paths in the lib_dirs configuration setting
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
src/rebar_xref.erl
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Allow the following predefined analyses :
undefined_function_calls, undefined_functions, locals_not_used,
exports_not_used, deprecated_function_calls, deprecated_functions
* Trap some possible errors in case module information is not
available
* ignore_xref works on all checks and can take {M,F,A} tuples.
(Automatic behaviour export suppression still only works on
exports_not_used)
|
|\ \
| | |
| | | |
rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
One could argue that rebar_eunit does some pretty dangerous stuff when
trying to clean up after a test run, but specifically, it tells the
Application Controller to delete everything returned by
application:get_all_env(App). Unfortunately, included_applications
also goes, which can lead to a crash in application_controller, if
the application is subsequently unloaded.
This patch attempts the smallest possible fix: remove all env
variables except included_applications.
|
|\ \
| | |
| | | |
External deps_dir should have higher priority than the config one
|
|/ /
| |
| |
| |
| |
| |
| | |
The external deps_dir should have higher priority because
it is used by scripts and other build tools to set up the
location of the dependencies. This commit ensures that,
even if a project has set deps_dir in its config file has
lower preference than the command line one.
|
|\ \
| | |
| | | |
Add latest version getopt that automatically wraps usage output lines
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix file handling on windows for tests
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Running tests on windows creates false positive due to setup failures
not executing all tests. Checking for tmp_dir was failing on
subsequent runs. Added cases to tmp_dir creation to delete preexisting
tmp_dirs in .eunit directory.
|
|\ \ \
| | | |
| | | | |
Correct ext of neotoma output file
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Ensure we always have a `registered` value in `.app` files
|
| | | |
| | | |
| | | |
| | | |
| | | | |
`systools:make_relup/4` fails with `{missing_param, registered}`
without a `registered` value.
|
|\ \ \ \
| | | | |
| | | | | |
Allow specifying eunit suite run order in 'suites'
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Normally, Rebar runs eunit tests in the order the beam files are
stored in the file system (see rebar_utils:beams). However, sometimes
it is desirable to run the tests in a different order (e.g. to
reproduce an error found on a build server). For that case, it would
make sense to use the 'suites' parameter not just for selecting which
modules to consider, but also for choosing the order.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Implement merged overlays
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This allows overlay_vars to merge comma delimited var config files
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove leading empty line from a template
|
| | |_|_|/ /
| |/| | | | |
|