Tristan Sloughter
be49c5cd44
use project sub-apps with deps in their rebar.config
il y a 10 ans
Tristan Sloughter
09a51a10ec
Merge pull request #161 from talentdeficit/recompile_purge
purge mods loaded during check to see if they need to be recompiled
il y a 10 ans
alisdair sullivan
ffbb31e660
purge mods loaded during check to see if they need to be recompiled
during compile task before running subsequent tasks
il y a 10 ans
alisdair sullivan
e6be44667d
suppress common_test output unless `rebar3 ct` is run with verbose switch
il y a 10 ans
Tristan Sloughter
c5a655da14
Merge pull request #157 from talentdeficit/real_needs_recompile
check already compiled modules compile arguments against current compile arguments
il y a 10 ans
Tristan Sloughter
43a18bf4fa
Merge pull request #145 from tsloughter/hex
Replace package management with hex.pm
il y a 10 ans
Tristan Sloughter
501b9b42df
print error message suggesting to run rebar3 update if missing package index
il y a 10 ans
Tristan Sloughter
9fbfeaa74d
parse version constraints in hex registry for digraph
il y a 10 ans
Tristan Sloughter
410e2bcdec
replace package management with hex.pm
il y a 10 ans
Tristan Sloughter
b654272063
remove unused functions from app utils
il y a 10 ans
alisdair sullivan
7fa628d615
check already compiled modules compile arguments against current compile
arguments to ensure compile results as as intended
il y a 10 ans
Fred Hebert
d65e6da7da
Merge pull request #156 from ferd/deps
Initial `deps` command
il y a 10 ans
Fred Hebert
53a05890ab
Initial `deps` command
il y a 10 ans
Fred Hebert
f6cdf56347
Merge pull request #154 from tsloughter/git_ref_needs_update
needs_update: on ref defined deps only have to match prefix if 7+ chars
il y a 10 ans
Tristan Sloughter
9665eb8e72
Merge pull request #153 from fishcakez/dialyzer_no_defaults
Dialyzer: Remove extra default warnings
il y a 10 ans
James Fish
e2d3c27b80
Remove extra default warnings
It is not convenient for everyone to handle unmatched_returns and
underspecs warnings. Extra default warnings are removed to match
dialyzer's behaviour.
il y a 10 ans
Tristan Sloughter
9f2133df47
needs_update: on ref defined deps only have to match prefix if 7+ chars
il y a 10 ans
Tristan Sloughter
63a765f1b0
Merge pull request #152 from fishcakez/dialyzer_plt_warnings
Fix {dialyzer_plt_warnings, false}
il y a 10 ans
James Fish
4b8e9db4ca
Fix dialyzer when only updating plt
Previously dialyzer would crash when not doing success typing analysis.
il y a 10 ans
James Fish
cede33a8f9
Fix {dialyzer_plt_warnings, false} returning warnings
When dialyzer_plt_warnings is false no warnings should be returned when
updating a PLT. Previously any callgraph warnings would be returned when
updating a PLT regardless of the get_warnings option.
il y a 10 ans
Tristan Sloughter
dcab8baca0
Merge pull request #142 from rebar/wtf-provider
Initial WTF provider implementation
il y a 10 ans
Fred Hebert
36563c0ab9
Advertise rebar3 wtf in error messages
il y a 10 ans
Tristan Sloughter
4b162c5917
Merge pull request #144 from cmkarlsson/erl-first-files-140
Fix #140 and preserve erl_first_files order
il y a 10 ans
Martin Karlsson
dca4edade0
Fix #140 and preserve erl_first_files order
Match erl_first_files properly against all files needing
compilation and make sure the order of erl_first_files as specified in
rebar.config is preserved (rebar/rebar#445 )
il y a 10 ans
Fred Hebert
1d9f1737c7
Initial WTF provider implementation
Tests missing
il y a 10 ans
Fred Hebert
3001618a4a
Merge pull request #126 from ferd/upgrade-redo
Upgrade procedure, from scratch (WIP)
il y a 10 ans
Fred Hebert
2e34e91dfb
Warnings for Deletions and friendly errors
Apps that are no longer used are not automatically deleted, but we tell
users it can be done. This is safer while we're not sure of the
correctness of these messages.
Error messages are added for transient dependencies and dependencies not
found.
il y a 10 ans
Fred Hebert
6d8567a7ed
Support multiple app upgrade & lock tests
- Many apps is supported through and through
- Not mentioning any app upgrades all apps
- Locks are refreshed on disk and tested as such after an upgrade
il y a 10 ans
Fred Hebert
62dc8fa9c7
Fix testcases, add multi-app upgrade support
todo:
- relock stuff
- default to all apps needing upgrade
- more tests?
- pkgs?
il y a 10 ans
Fred Hebert
f5acdfb9a5
Refactor install_deps to match 'upgrade' ideas
- rename 'update' to 'upgrade' -- 'update' stands for package list
updates, not dependencies upgrades
- extracting some deeply nested code
il y a 10 ans
Fred Hebert
92436d9960
More progress on upgrades
Only the most complex case is failing, where cross-dependencies would
need to be refetched as an update clears an app of its dependencies and
a different subtree should override it.
il y a 10 ans
Fred Hebert
748a046133
Partial work + Failing tests
The problem with the current effort is handling of transitive dependency
upgrades and possible values.
il y a 10 ans
Fred Hebert
9fb35fe6de
Alternative attempt
il y a 10 ans
Fred Hebert
b94afdfa2d
WIP
Test that all the correct locks are set for an upgrade run.
Now to actually re-run the install deps and prove it works
il y a 10 ans
Fred Hebert
2fd6f43c02
Merge pull request #138 from talentdeficit/args_to_tasks
factor out task/args parsing from `do` for use in other meta commands
il y a 10 ans
alisdair sullivan
c79d13f5e8
factor out task/args parsing from `do` for use in other meta
commands
il y a 10 ans
Tristan Sloughter
7298c9f774
Merge pull request #132 from fishcakez/dialyzer_fail
Dialyzer fails if any warnings
il y a 10 ans
Tristan Sloughter
bf5b1d59c0
Merge pull request #134 from fishcakez/dialyzer_tests
Add dialyzer tests
il y a 10 ans
Tristan Sloughter
bbda0b2208
Merge pull request #135 from fishcakez/dialyzer_erts_app
Fix dialyzer erts file lookup for releases prior to R16B02
il y a 10 ans
James Fish
d693093c00
Fix dialyzer erts file lookup for releases prior to R16B02
erts.app was introduced in R16B02 so read all beam files from the erts
ebin directory if erts.app file does not exist.
il y a 10 ans
James Fish
9a90239e51
Add initial dialyzer tests
il y a 10 ans
Tristan Sloughter
d0668532a3
Merge pull request #133 from nuex/handle-missing-app-file
Validate .app File Presence
il y a 10 ans
nuex
79a1c285f0
return an error when an app file is missing
il y a 10 ans
James Fish
027b0f008b
Fix dialyzer plt checking typo
il y a 10 ans
James Fish
e533e5d705
Display full path in dialyzer warningss
il y a 10 ans
James Fish
52319655a5
Fail if any dialyzer warnings aren't unknowns
il y a 10 ans
Tristan Sloughter
038d721f90
Merge pull request #129 from kellymclaughlin/add-pkgs-to-code-path
Add packages to code path after installation
il y a 10 ans
Tristan Sloughter
62581cfcc3
Merge pull request #131 from rebar/jem-rebar-deps-tag
Add documentation for {ref, <sha>} syntax rebar.config.sample file
il y a 10 ans
Jared Morrow
5250b8c9d9
Add documentation for {ref, <sha>} syntax rebar.config.sample file
Addresses: #130
il y a 10 ans
Kelly McLaughlin
29039bece6
Change mock_pkg_resource to create ebin directory
Change mock_pkg_resource to use rebar_test_utils:create_empty_app so
that an ebin directory is created which is a good expectation for a
package. Also revert the check in rebar_fetch:download_source to check
for an ebin directory before adding it to the code path for package
installs. If a package does not have an ebin directory it is probably
a good for an exception to be thrown.
il y a 10 ans