summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Bump to 3.4.6Fred Hebert2017-11-172-2/+2
| | | | | | | | Updates relx (windows fixes) and erlware commons (strings)
* | Merge pull request #1662 from tsloughter/up-ec-1.0.4Fred Hebert2017-11-172-6/+6
|\ \ | | | | | | upgrade relx and erlware commons
| * | upgrade relx and erlware commonsTristan Sloughter2017-11-172-6/+6
|/ /
* | Return to git-based versioningFred Hebert2017-11-171-1/+1
| |
* | Bump to 3.4.5Fred Hebert2017-11-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - OTP-21 readiness, Full Unicode support, massive dep upgrade - fixed handling of proxy username and password when fetching registry - git versions from tag made consistent and all strip 'v' prefix - Prevent hard crash on duplicate plugin paths - Fix include paths in profile multiapp edge case - Fix unlock state carry, which broke do sequences with unlock in them. - Avoid guessing on utf8 decoding of app files - Various fixes related to .app files - Warn user when an unsupported local git or hg resource is used - Corrects a fix to src_dir values - Update eunit_formatters to latest version - Changes in wording of warnings for more accuracy
* | Merge pull request #1660 from ferd/otp-21-preparednessFred Hebert2017-11-1629-86/+143
|\ \ | | | | | | OTP-21 readiness, Full Unicode support
| * | OTP-21 readiness, Full Unicode supportFred Hebert2017-11-1629-86/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces all deprecated function usage by alternative ones based on a version switch enacted at compile time, preventing all warnings. This will likely introduce some possible runtime errors in using a Rebar3 compiled on OTP-20 or OTP-21 back in versions 19 and earlier, but we can't really work around that. A bunch of dependencies have been updated to support OTP-21 without warnings as well.
* | | Merge pull request #1658 from ferd/fix-install-readmeFred Hebert2017-11-161-1/+2
|\ \ \ | | | | | | | | We no longer build the nightlies, just stables
| * | | We no longer build the nightlies, just stablesFred Hebert2017-11-161-1/+2
|/ / /
* | | Merge pull request #1655 from kanyukaaa/masterFred Hebert2017-11-051-1/+2
|\ \ \ | |/ / |/| | fixed handling of proxy username and password when fetching registry
| * | added http option {relaxed, true} when fetching registryAndrey Kanyuka2017-11-051-1/+1
| | |
| * | fixed handling of proxy username and password when fetching registryAndrey Kanyuka2017-11-031-1/+2
|/ /
* | Merge pull request #1654 from tsloughter/strip-vFred Hebert2017-11-021-0/+3
|\ \ | | | | | | git vsn from tag both strip 'v' prefix
| * | git vsn from tag both strip 'v' prefixTristan Sloughter2017-11-021-0/+3
|/ /
* | Merge pull request #1650 from ferd/prevent-crash-on-dup-plugin-pathsFred Hebert2017-11-022-1/+2
|\ \ | | | | | | Prevent hard crash on duplicate plugin paths
| * | Prevent hard crash on duplicate plugin pathsFred Hebert2017-10-202-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a global plugin is used both locally and within the project, there are cases when the rebar3 program will hard crash (killed in do_boot). This has been traced to plugin-handling in compilation, where the same code path may be purged twice in a row without further reloading for the compile operation. This of course yields the result where the code handling on the VM kills all processes holding references to the module in memory, in this case the rebar3 process itself. By deduplicating the paths first, we ensure at most one purge before reloading plugins and paths, and this prevents a hard crash.
* | Merge pull request #1652 from ferd/fix-multiapp-incl-edge-caseFred Hebert2017-11-022-3/+51
|\ \ | |/ |/| Fix include paths in profile multiapp edge case
| * Fix include paths in profile multiapp edge caseFred Hebert2017-10-232-3/+51
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiling of OTP applications is done by first topographically sorting them according to their dependencies, deps-first. This allows all compilation to take place in order. In the current code, the same logic extends to top-level applications in an umbrella project. Unfortunately, there are cases where this is not going to be true: when an application has extra_src_dirs entries (or additional directories or files) to conditionally compile under some profiles, it may start depending on another top-level application dedicated to that profile for include files. However, such an app will never make it to production and neither will the compilation artifacts that create the dependency. Under that scenario, current rebar3 is unusable. This patch makes it so that the compilation provider instead changes the logic for top-level apps: rather than copying their directories one by one and compiling them in order, it: 1. copies all top-level apps to the build directory so the files are in their proper locations 2. adds the top-level apps to the path (after the global hooks have run, so the existing scope and env has not changed) 3. runs the compilation as usual. Fixes #1651
* Merge pull request #1647 from ferd/fix-unlock-state-carryFred Hebert2017-10-132-7/+13
|\ | | | | Fix unlock state carry, which broke `do` sequences with `unlock` in them.
| * Add tests for unlock state passthroughFred Hebert2017-10-131-2/+5
| |
| * Fixing the carry of unlocksFred Hebert2017-10-131-5/+8
| | | | | | | | | | When composed with 'do', not carrying the unlocks in state may create problems.
* | Merge pull request #1646 from ferd/fix-unicode-app-filesalisdair sullivan2017-10-132-9/+14
|\ \ | |/ |/| Avoid guessing on utf8 decoding of app files
| * Avoid guessing on utf8 decoding of app filesFred Hebert2017-10-132-9/+14
|/ | | | | | | | | Rather than trying one method and then the other, allow the caller to specify the encoding of the expected file. All other schemes are risky and won't work well. Rollback the function's default interface to the binary format in case any plugin used it for non-unicode content, preserving backwards compat.
* Merge pull request #1640 from ferd/app-src-fixesFred Hebert2017-10-084-6/+28
|\ | | | | Various fixes related to .app files
| * Bundle in debug for weak testFred Hebert2017-10-041-0/+3
| | | | | | | | Getting real tired of that nondeterministic set of runs on OSX CI
| * Add a description in compiled app file if undefFred Hebert2017-10-041-1/+13
| | | | | | | | | | Same default value as used in relx and other environments, but as reported in #979 some tools don't like having no description available.
| * Normalize return values of app_info dataFred Hebert2017-10-041-4/+11
| | | | | | | | | | | | | | The parsing functions were used inconsistently, and the returned values were bad in some clauses; things only worked because they are never used within rebar3. This ensures the return types are consistent on all clauses.
| * Fix messed up rollback to git versioningFred Hebert2017-10-041-1/+1
| | | | | | | | was still hardcoded to 3.4.4
* | Merge pull request #1641 from ferd/warn-local-resourcesFred Hebert2017-10-082-0/+28
|\ \ | |/ |/| Warn user when a local git or hg resource is used
| * Warn user when a local git or hg resource is usedFred Hebert2017-10-052-0/+28
|/ | | | Those aren't supported and so a warning should be output. Fixes #1003
* Merge pull request #1637 from ferd/re-fix-src-dir-specsFred Hebert2017-09-272-3/+6
|\ | | | | Corrects a fix to src_dir values
| * Corrects a fix to src_dir valuesFred Hebert2017-09-272-3/+6
|/ | | | | | | | | | The previous patch at #7c959cc fixed the usage of duplicate values for directories through relative paths, but mistakenly went overboard and dropped the `./` path, which is still fairly common. Similarly for `../". The code is modified to special-case such values and keep the code working.
* Merge pull request #1634 from seancribbs/sdc/update-eunit-formattersTristan Sloughter2017-09-252-3/+3
|\ | | | | Update eunit_formatters to latest.
| * Update rebar.lockSean Cribbs2017-09-251-2/+2
| |
| * Update eunit_formatters to latest.Sean Cribbs2017-09-241-1/+1
|/
* Merge pull request #1630 from JYZR/patch-1Fred Hebert2017-09-171-1/+1
|\ | | | | Changes word 'transient' to 'transitive' which is what it is supposed to say
| * Changes word 'transient' to 'transitive' which is what it is supposed to sayJimmy Zöger2017-09-141-1/+1
|/
* Back to git-based versioningFred Hebert2017-09-101-1/+1
|
* Bump to 3.4.4Fred Hebert2017-09-101-1/+1
| | | | | | | | - fix sys config merging - Fix relative src_dir specifications to avoid double .app.src file detection - Recompile when include files change in non-default directories
* Merge pull request #1625 from tsloughter/ct-sys-config-mergingFred Hebert2017-09-012-3/+14
|\ | | | | fix sys config merging
| * fix sys config mergingTristan Sloughter2017-09-012-3/+14
| |
* | Merge pull request #1624 from ferd/fix-rel-srcdirsFred Hebert2017-09-012-3/+10
|\ \ | |/ |/| Fix relative src_dir specifications to avoid double .app.src file detection
| * Fix relative src dir specificationsFred Hebert2017-08-302-3/+10
| | | | | | | | | | | | | | | | When fetching src_dir values, some relative paths can be inserted. When deduplicating the paths on the fetch, this fact means that logically duplicate (but literally different) directories can be returned at once. By normalizing the names, duplication bugs can be resolved.
* | Merge pull request #1619 from suexcxine/masterFred Hebert2017-08-302-2/+52
|\ \ | |/ |/| Recompile when include files change in non-default directories
| * Recompile when include files changesuexcxine2017-08-292-2/+52
|/
* Back to git-based versionningFred Hebert2017-08-211-1/+1
|
* Bump to 3.4.3Fred Hebert2017-08-212-2/+2
|
* Merge pull request #1615 from getong/test_erlang_20Fred Hebert2017-08-181-0/+2
|\ | | | | add erlang 20 for CI
| * add erlang 20 for testgetong2017-08-181-0/+2
| |
* | Merge pull request #1614 from cieplak/masterFred Hebert2017-08-181-0/+3
|\ \ | |/ |/| fix `rebar3 shell` when relx section of rebar.config contains release…