| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
inttest/rgen1: increase retest timeout (30s -> 60s)
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
The current default (30s) causes inttest/rgen1 to timeout too often. Add
retest.config to double the timeout.
|
|\ \ \ \
| | | | |
| | | | | |
Make list of commands (for unabbreviation) easier to maintain
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
It's easier to modify the list with each command on a separate line.
The shell completion scripts have already been modified that way.
|
|\ \ \ \
| | | | |
| | | | | |
Switch retest dep to upstream (dizzyd/retest.git)
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Now that Dave has merged all patches, it's safe to switch back to
upstream retest.
|
|\ \ \ \
| | | | |
| | | | | |
rebar_core: fix Dialyzer warning introduced in aa46d85 (#157)
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix false reporting of (plain) vsn strings
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
rebar used to mistakenly report plain version strings like
{vsn, "1.0.0"} as follows:
DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "1.0.0"
Properly detect unknown/unsupported version terms and abort
if we encounter one.
While at it, rename a variable in vcs_vsn/3 to be non-misleading.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add missing dep examples and fix existing ones
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As discussed with Martin Schut, remove support for
{app_name, "vsn", {fossil, "url", latest}.
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix erl_opts use
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Avoid getting erl_opts twice in test_compile/3, and make sure the
correctly filtered (platform_define, etc.) version is used.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Delete unused inttest/retest binary
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Fixes for #137 and #142
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* fix Dialyzer warning
* fix formatting
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Don't over-aggressively clean the code path in the presence of lib_dir directives
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
directives
Rebar, when it encounters a lib_dir directive, caches the current code
path, adds the libdir(s) and returns the cached copy of the path. When
rebar has finished processing that directory, it restores the cached
path. This is problematic in the below scenario:
/(lib_dir)->G
A -> B -> C -> D -> E
\-> F -> D -> E
When rebar is finished processing B, it restores the code path to what
it was before it processed B, removing C, D, E and G from the code path.
This means when it comes to process F, neither D or E are in the code
path, so any header includes, rebar plugins or parse transforms will not
be in the code path. Without the lib_dir directive, rebar does no code
path cleanups, so everything works fine.
This change makes rebar only remove the explicit lib_dir code paths it
added and adds an inttest that replicates the above scenario.
|
|\ \ \ \
| | | | |
| | | | | |
Fix update-deps with certain forms of the {tag, ...} type
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Sometimes tags like 1.1-3-g3af5478 or d20b53f0 are encountered. The
first is the output of 'git describe', and the second is just a regular
git SHA. git fetch --tags will not pull these down, so do a full git
fetch instead.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Init RUNNER_SCRIPT var in simplenode.runner
|
|/ / /
| | |
| | |
| | |
| | | |
RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's
referenced when calling sudo.
|
|\ \ \
| | | |
| | | | |
Make update-deps traverse deps breadth-first, top-down
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Because rebar_core handles skipping apps, we had to specialcase the
handling in the case of update-deps because it has to do its own dep
handling. The way this was done is not particularly clean, but there
currently does not exist another way for a command to signal rebar_core
that it doesn't want rebar_core to pay attention to skip_apps.
With this change, however, you can update-deps even with local
conflicting changes/commits by simply skipping the deps you don't wish
to update, or whitelisting he ones you do wish to update.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \
| | | |
| | | | |
CONTRIBUTING: apply stylistic change suggested by dizzyd
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Always return the errors and warnings from erlydtl
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows us to use `rebar_base_compiler:ok_tuple/3` and
`rebar_base_compiler:error_tuple/5` when returning from
`rebar_erlydtl_compiler`.
|
|\ \ \ \
| | | | |
| | | | | |
Fix eunit regression introduced in 2716d83a18
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Use alternative way to detect net_kernel:stop/0 has succeeded as
suggested by Ulf Wiger.
|
|\ \ \ \
| |/ / /
|/| | | |
Extract contributing guide into CONTRIBUTING.md
|
|/ / /
| | |
| | |
| | |
| | | |
While at it, refactor the guide for clarity. Some of the new text was
taken from erlware/relx/CONTRIBUTING.md and modified as needed.
|
|\ \ \
| | | |
| | | | |
Fix typo in neotoma help message
|