Benoit Chesneau
56f8f6d7df
uses erlang-certifi
9 anni fa
Jess Balint
731916870d
Fix parsing of version #'s of dependencies
Version #'s with patch info like "1.1.1-x" would cause an error. Now
tokenize the version string with "." AND "-".
9 anni fa
Zachary Hueras
1469e59c3a
Improve semantic versioning from git between tags
In the scenario we that we have selected a commit
that is between two tags, we should base the
version on the most recent tag we can see in the
revision history, but we should not treat this as
the tag version.
`git describe --tags` finds the most recent tag
visible in the revision history from the current
HEAD. Return this as the version string and
undefined as the tag to trigger ref counting.
9 anni fa
Zachary Hueras
82faab2fe7
Only match current HEAD tag in git semver
In the scenario that someone had cloned an entire
repository and then checked out an older version
tag, the semantic versioning would detect the
newest tag, not the checked out tag. Look for
the HEAD string prior to tag: to indicate the
currently selected tag.
9 anni fa
Zachary Hueras
979610b44c
Make the v-prefix optional in git semver
Not all repositories use a v-prefix for version
tags. All tags should be considered valid
versions.
9 anni fa
Mickael Remond
16757c0c54
Fix typo in plugins command help
9 anni fa
Tristan Sloughter
7ad9f7ea75
append ebin dirs to path in local start script
9 anni fa
Tristan Sloughter
665bdf6bdb
add --paths option to bare compile provider
9 anni fa
Tristan Sloughter
9dfec19c67
escript should append the ebin dirs to the code path not prepend
9 anni fa
Tristan Sloughter
16ea08b9c3
add rebar3 paths to the end of the code path in start script
9 anni fa
Tristan Sloughter
4c29a771c1
add bare compile provider, for starters for use by mix
9 anni fa
alisdair sullivan
ae275c6396
function name changes:
`reduce_path/1` -> `canonical_path/1`
`relative_path/2` -> `path_from_ancestor/2`
9 anni fa
Tristan Sloughter
168f423baa
replace noinput with noshell so providers that ask for input work
9 anni fa
alisdair sullivan
6a89485448
extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and
add tests
9 anni fa
Tristan Sloughter
ef8fc6ab61
parse versions in deps tree output and support checkouts
9 anni fa
Takeru Ohta
f5d413e90f
Change option name from "plt_include_all_deps" to "plt_apps"
9 anni fa
Takeru Ohta
4891912790
Fix error handlings for unknown applications
9 anni fa
Garret Smith
ce19c2e16d
Terms is already a list
Fixes compiling yaws, which has an .app.src.script file
9 anni fa
alisdair sullivan
34816ad8dc
cover compile beams compiled for ct/eunit seperately from beams compiled otherwise
fixes #788
9 anni fa
Tristan Sloughter
242d12b234
check checksum of rebar3 download in local_upgrade provider
9 anni fa
Tristan Sloughter
a3a590947a
fix rebar3 url for upgrade
9 anni fa
Tristan Sloughter
9fb8198926
update completions and docs for command unstable install and upgrade
9 anni fa
Tristan Sloughter
286e832a29
move local install/upgrade to 'unstable install/upgrade' and print error if windows
9 anni fa
Tristan Sloughter
14ab5f562e
fix dialyzer warnings
9 anni fa
Tristan Sloughter
d19320b17c
fix run_all_hooks call for ct provider, no need to pass appinfo
9 anni fa
Tristan Sloughter
da3d8a69cc
add providers 'local upgrade' and 'local install' for installing/upgrading
9 anni fa
Takeru Ohta
fa462e9dba
Add `plt_include_all_deps` dialyzer config option
9 anni fa
Takeru Ohta
b72c19c12c
Add rebar_set/0 type
9 anni fa
alisdair sullivan
04da2ffd5e
shell completions for `rebar3 path'
9 anni fa
Tristan Sloughter
2d4ba55f57
fix plugins porvider use of rebar_dir
9 anni fa
Tristan Sloughter
5223175c26
support updating of per app info by hooks
9 anni fa
Tristan Sloughter
cfd4beb99d
hooks/artifacts are always run/resolved from an app unless at top of umbrella
9 anni fa
Tristan Sloughter
8c7bed454d
add current_app attribute for setting before calling hooks
9 anni fa
Tristan Sloughter
33a3a6d55a
support _checkouts overriding package dep that doesn't exist in registry
9 anni fa
Yury Gargay
c3194052e7
Fix cover_spec options for ct
9 anni fa
Fred Hebert
c57177fde8
Revert "Revert "only load packages when needed""
9 anni fa
Fred Hebert
3f83b3a382
Revert "only load packages when needed"
9 anni fa
Tristan Sloughter
dc3e8d789f
delete and prepend code path instead of replacing, fixes #770
9 anni fa
Tristan Sloughter
8732b7d5bd
only load packages when needed
9 anni fa
Tristan Sloughter
a81444ae1c
move otp version verification to a single app_info function
9 anni fa
Tristan Sloughter
d034f40c38
move opts functions to new module rebar_opts
9 anni fa
Tristan Sloughter
b2c051452e
remove overrides element from state record
9 anni fa
Tristan Sloughter
a1d45c364c
use ~ts for unicode output and reset encoding to latin1
9 anni fa
Tristan Sloughter
e6f6ccc757
more cleanup
9 anni fa
Tristan Sloughter
c7a7b309fd
more cleanup of old state usage
9 anni fa
Tristan Sloughter
a6ca5d5e25
fixes for overrides of deps
9 anni fa
Tristan Sloughter
8e25a45cbb
update use of hooks and plugins with state in app_info
9 anni fa
Tristan Sloughter
32d07ec076
build on already created AppInfo instead of having to do copy
9 anni fa
Tristan Sloughter
3aec31f0bc
fix erl_opts to not be inherited
9 anni fa
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
9 anni fa