summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* support for hex v2, multiple repository fetching, private organizations (#1884)Tristan Sloughter2018-09-1350-1642/+2557
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update to hex_core for hex-v2 repo support (#1865) * update to hex_core for hex-v2 repo support This patch adds only single repo hex-v2 support through hex_core. Packages no longer filtered out by buildtool metadata and the package index is updated per-package instead of fetched as one large ets dump. * tell travis to also build hex_core branch * support list of repos for hex packages (#1866) * support list of repos for hex packages repos are defined under the hex key in rebar configs. They can be defined at the top level of a project or globally, but not in profiles and the repos configured in dependencies are also ignored. Searching for packages involves first checking for a match in the local repo index cache, in the order repos are defined. If not found each repo is checked through the hex api for any known versions of the package and the first repo with a version that fits the constraint is used. * add {repos, replace, []} for overriding the global & default repos * add hex auth handling for repos (#1874) auth token are kept in a hex.config file that is modified by the rebar3 hex plugin. Repo names that have a : separating a parent and child are considered organizations. The parent repo's auth will be included with the child. So an organization named hexpm:rebar3_test will include any hexpm auth tokens found in the rebar3_test organization's configuration. * move packages to top level of of hexpm cache dir (#1876) * move packages to top level of of hexpm cache dir * append organization name to parent's repo_url when parsing repos * only eval config scripts and apply overrides once per app (#1879) * only eval config scripts and apply overrides once per app * move new resource behaviour to rebar_resource_v2 and keep v1 * cleanup use of rebar_resource module and unused functions * cleanup error messages and unused code * when discovering apps support mix packages as unbuilt apps (#1882) * use hex_core tarball unpacking support in pkg resource (#1883) * use hex_core tarball unpacking support in pkg resource * ignore etag if package doesn't exist and delete if checksum fails * add back tests for bad package checksums * improve bad registry checksum error message
* Back to git-based versioningFred Hebert2018-09-131-1/+1
|
* Bump to 3.6.2Fred Hebert2018-09-132-2/+2
|
* Merge pull request #1878 from ferd/autoreload-loggerFred Hebert2018-09-102-3/+52
|\ | | | | Reload logger config in shell
| * Reload logger config in shellFred Hebert2018-09-102-3/+52
|/ | | | | | | | | | | | | This requires some fancy dynamic work since the logger is started as part of the kernel and we lost the sys.config from users when working from there. We start conservatively by making it an optional thing, turning it on only where we know it to be safe. The changes are applied _after_ having loaded the rest of configs so if an inoffensive error happens, the shell works (with a bad error message) rather than plain exploding.
* Merge pull request #1869 from GeraldXv/masterFred Hebert2018-09-071-0/+1
|\ | | | | add report in the effects_code_generation, as it is the short form for both report_errors and report_warnings
| * add report in the effects_code_generation, as it is the short form for both ↵Gerald Xv2018-09-051-0/+1
|/ | | | report_errors and report_warnings
* Merge pull request #1850 from ferd/helpful-includelib-errorFred Hebert2018-08-031-3/+13
|\ | | | | Friendlier output on include_lib errors
| * Friendlier output on include_lib errorsFred Hebert2018-08-031-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns output like this: ===> Compiling apps/c/src/c.erl failed apps/c/src/c.erl:3: can't find include lib "parse_trans/include/codegen.hrl" Into: ===> Compiling apps/c/src/c.erl failed apps/c/src/c.erl:3: can't find include lib "parse_trans/include/codegen.hrl"; Make sure parse_trans is in your app file's 'applications' list Which is likely going to help newcomers encountering issues.
* | Merge pull request #1849 from ferd/bump-certifiFred Hebert2018-08-033-4/+9
|\ \ | | | | | | Bump certifi
| * | Bump certifiFred Hebert2018-08-023-4/+9
| |/ | | | | | | Includes an update to parse_trans on an OTP-21 friendly version
* | Merge pull request #1851 from shamis/erl_first_files_typoFred Hebert2018-08-031-1/+1
|\ \ | |/ |/| fixed typo erl_first_files
| * fixed typo erl_first_filesShamis Shukoor2018-08-031-1/+1
|/
* Merge pull request #1780 from feng19/refresh_pathsFred Hebert2018-07-111-24/+85
|\ | | | | smarter shell code reloading, add env options for refresh_paths & refresh_paths_blacklist
| * remove some refresh_paths's options(no_deps and no_test) & use ↵feng192018-07-111-24/+8
| | | | | | | | beam_lib:md5/1 to get the module's vsn
| * Merge tag '3.6.0' into refresh_pathsfeng192018-06-2122-103/+598
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump to 3.6.0 - Introduce support of add and del operations for overrides - OTP-21 compatibility - Bump cth_readable for OTP-21 compat - upgrade relx to 3.25.0 - upgrade bbmustache to 1.5.0 - run compile provider in default namespace from bare compiling (fixes hooks for mix builds) - Resolve string vs list crashing rebar3 in erl_first_files - Create ERLANG_LIB_*_erl_interface environment variables only if erl_interface exists - Add hooks to the upgrade command - Add --start-clean flag to rebar3 shell - Auto-boot main app in OTP app project templates - Use maps for child spec examples in templates
| * | add option(refresh_paths & refresh_paths_blacklist) for support set ↵feng192018-05-071-24/+101
| | | | | | | | | | | | refresh_paths when recompile
* | | Merge pull request #1828 from starbelly/erl_first_files_atom_supportFred Hebert2018-06-281-1/+20
|\ \ \ | | | | | | | | Warn but succeed when atoms are passed to erl_first_files
| * | | Fix for atoms in erl_first_filesBryan Paxton2018-06-281-1/+20
|/ / /
* | | Back to git-based versioningFred Hebert2018-06-251-1/+1
| | |
* | | Bump to 3.6.1 -- fixing eperm issuesFred Hebert2018-06-252-2/+2
| | |
* | | Merge pull request #1827 from tsloughter/local-epermFred Hebert2018-06-251-7/+1
|\ \ \ | | | | | | | | otp21 eperm fix for local install/upgrade, no need to set uid/gid
| * | | otp21 eperm fix for local install/upgrade, no need to set uid/gidTristan Sloughter2018-06-251-7/+1
|/ / /
* | | Merge pull request #1825 from tsloughter/copy-file-infoFred Hebert2018-06-232-6/+6
|\ \ \ | | | | | | | | otp-21 eperm fix: bump of erlware_commons and relx
| * | | bump erlware_commons and relx for eperm otp-21 fixTristan Sloughter2018-06-232-6/+6
|/ / /
* | | Merge pull request #1821 from ferd/travis-otp-21.0Fred Hebert2018-06-201-0/+2
|\ \ \ | | | | | | | | Add OTP-21.0 to Travis
| * | | Add OTP-21.0 to TravisFred Hebert2018-06-201-0/+2
|/ / /
* | | Back to git-based versioningFred Hebert2018-06-191-1/+1
| |/ |/|
* | Bump to 3.6.0Fred Hebert2018-06-192-2/+2
| |
* | Merge pull request #1819 from ferd/cth_readable-otp21-compatFred Hebert2018-06-192-3/+3
|\ \ | | | | | | Bump cth_readable for OTP-21 compat
| * | Bump cth_readable for OTP-21 compatFred Hebert2018-06-192-3/+3
|/ /
* | Merge pull request #1818 from erlang/revert-1813-certifi-2.3.1Fred Hebert2018-06-193-10/+4
|\ \ | | | | | | Revert "upgrade certifi to 2.3.1"
| * | Revert "upgrade certifi to 2.3.1"Tristan Sloughter2018-06-193-10/+4
|/ /
* | Merge pull request #1816 from tsloughter/relx-3.25.0Fred Hebert2018-06-192-3/+3
|\ \ | | | | | | upgrade relx to 3.25.0
| * | upgrade relx to 3.25.0Tristan Sloughter2018-06-192-3/+3
|/ /
* | Merge pull request #1813 from tsloughter/certifi-2.3.1Fred Hebert2018-06-123-4/+10
|\ \ | | | | | | upgrade certifi to 2.3.1
| * | upgrade certifi to 2.3.1Tristan Sloughter2018-06-123-4/+10
|/ /
* | Merge pull request #1812 from tsloughter/bb-1.5.0Fred Hebert2018-06-122-3/+3
|\ \ | | | | | | upgrade bbmustache to 1.5.0
| * | upgrade bbmustache to 1.5.0Tristan Sloughter2018-06-122-3/+3
|/ /
* | Merge pull request #1811 from starbelly/typespecsFred Hebert2018-06-111-0/+5
|\ \ | | | | | | Finish adding specs for private funs in rebar3.erl
| * | Finish adding specs for private funs in rebar3.erlBryan Paxton2018-06-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | - added type specs for following private functions: - run/1 - set_options/2 - test_state/1 - safe_define_test_macro/1 - test_defined/1
* | | Merge pull request #1810 from tsloughter/bare-nsFred Hebert2018-06-082-2/+21
|\ \ \ | |/ / | | | run compile provider in default namespace from bare
| * | run compile provider in default namespace from bareTristan Sloughter2018-06-082-2/+21
|/ /
* | Merge pull request #1807 from ↵Fred Hebert2018-06-083-3/+27
|\ \ | | | | | | | | | | | | starbelly/1645-erl_files_first_string_crashes_rebar3 Resolve string vs list crashing rebar3
| * | Abort if erl_first_files is not a list of stringsBryan Paxton2018-06-083-3/+27
|/ / | | | | | | - resolves #1645
* | Merge pull request #1809 from goncalotomas/masterFred Hebert2018-06-081-20/+34
|\ \ | | | | | | Create ERLANG_LIB_*_erl_interface environment variables only if erl_interface exists
| * | fix #1808Gonçalo Tomás2018-06-081-20/+34
|/ /
* | Merge pull request #1798 from juise/masterFred Hebert2018-06-062-38/+432
|\ \ | | | | | | Introduce support of add and del operations under erl_opts directive
| * | Introduce support of add and del operations under erl_opts directiveAlexander Petrovsky2018-05-312-38/+432
| | |
* | | Merge pull request #1802 from ferd/upgrade-hooksFred Hebert2018-06-061-0/+13
|\ \ \ | | | | | | | | Add hooks to the upgrade command