Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of local dependencies (rebase upstream) #1

Closed
wants to merge 72 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
bce1245
Remove nesting from warning and do not return self() on start
josevalim Jul 15, 2020
828dc1c
Merge pull request #402 from josevalim/jv-no-start
jeremyjh Jul 15, 2020
a0e2313
Add missing_range explanation and resolve bug.
asummers Oct 16, 2020
08cced9
Test against more modern elixir and OTP versions
PragTob Jul 31, 2020
abcfc61
bump deps & local dev versions
jeremyjh Oct 19, 2020
039c38c
Bump travis versions.
jeremyjh Oct 19, 2020
4f34447
Merge pull request #415 from jeremyjh/update-ci
jeremyjh Oct 19, 2020
5ae5eb3
doc: Improve message verbiage (#417)
asummers Oct 27, 2020
c03cfba
exclude files based on regex; https://github.com/jeremyjh/dialyxir/pu…
vans163 Oct 31, 2020
f70389a
Update README.md
KamilZielinski Nov 23, 2020
96a3a89
Merge pull request #420 from KamilZielinski/patch-1
jeremyjh Nov 23, 2020
622fad9
added tests for setting a local plt path
baseballlover723 Dec 23, 2020
69d1a3d
added a config for setting the local path
baseballlover723 Dec 23, 2020
e6870ce
updated README
baseballlover723 Dec 23, 2020
7fe6cb0
updated module docs
baseballlover723 Dec 23, 2020
8c1707f
Merge pull request #421 from baseballlover723/master
jeremyjh Dec 23, 2020
a3a2dd7
Misc doc changes
kianmeng Jan 16, 2021
e18cc40
Merge pull request #425 from kianmeng/misc-doc-changes
jeremyjh Jan 20, 2021
612d72c
Update changelog and bump version for release 1.1.
jeremyjh Feb 18, 2021
39a7654
Fixup changelog.
jeremyjh Feb 18, 2021
8eac260
Use Github Actions instead of TravisCI
dolfinus Mar 21, 2021
b78735f
Merge pull request #427 from dolfinus/github_actions
jeremyjh Mar 22, 2021
5a8d10e
Add `ignore_file` format output
n-epifanov Jun 11, 2021
231d61c
Merge pull request #432 from staring-frog/format-ignore
jeremyjh Sep 3, 2021
e8c46d6
update CI to the latest Elixir 1.11 and Erlang 23. Add Elixir 1.12 an…
baseballlover723 Sep 9, 2021
05a1a73
only run CI on master and on PRs against master
baseballlover723 Sep 10, 2021
334ef02
Merge pull request #441 from baseballlover723/pr/update_ci_build_on
jeremyjh Sep 10, 2021
ac3f648
Fix typos
kianmeng Sep 22, 2021
02f0e15
Merge pull request #442 from kianmeng/fix-typos
jeremyjh Sep 22, 2021
97270a6
Add Github Action cache example into README.md
Nov 22, 2021
7410509
Merge pull request #447 from Klohto/master
jeremyjh Nov 23, 2021
a1438f7
Fix typo
kianmeng Jan 14, 2022
a03b926
Merge pull request #449 from kianmeng/fix-typo
jeremyjh Jan 17, 2022
b0201d1
Improve documentation of the ignore file
x-ji Apr 1, 2022
a78730f
Merge pull request #457 from x-ji/x-ji/fix-documentation-for-format-i…
jeremyjh Apr 4, 2022
d38e42f
feat: Adds a github formatter (#463)
isaacsanders Jul 20, 2022
04f1bda
Bump version
jeremyjh Jul 20, 2022
e299330
Update doc of how to generate ignore in elixir term format
robsonpeixoto Jul 24, 2022
7493118
Merge pull request #465 from robsonpeixoto/patch-1
jeremyjh Aug 1, 2022
c9c0bcd
feat: support `:callback_not_exported` warning
shutangyu Oct 19, 2022
af3ae2f
Merge pull request #469 from shutangyu/support-callback-not-exported
jeremyjh Oct 19, 2022
8eb3125
OTP removed support for race_conditions flag.
Oct 24, 2022
1de32e1
Merge pull request #471 from gabrielpedepera/doc/470-remote-race-cond…
jeremyjh Oct 24, 2022
5843d58
Fix crash when mix.lock was missing
ollien Nov 6, 2022
c84611e
Merge pull request #473 from ollien/fix-no-lockfile-crash
jeremyjh Nov 7, 2022
91dd36d
Add syntax_tools as a dependency
josevalim Feb 27, 2023
a59513e
Merge pull request #479 from josevalim/patch-1
jeremyjh Feb 27, 2023
90921cc
Add :erts to extra_applications for 1.15 compatibility.
jeremyjh Feb 27, 2023
ed0df65
Add `:no_umbrella` config option
pnezis Mar 10, 2023
25642eb
Use explicit ubuntu version with matrix support.
jeremyjh Mar 19, 2023
162a889
use an actual version
jeremyjh Mar 19, 2023
69416e0
Update Matrix versions to latest & prior two.
jeremyjh Mar 19, 2023
c13a56f
This combo doesn't exist.
jeremyjh Mar 19, 2023
48bdc32
Fix unmatched return warning.
jeremyjh Mar 19, 2023
8073eaa
Merge pull request #481 from pnezis/no-umbrella-cd
jeremyjh Mar 19, 2023
ee31585
Merge branch 'master' into jh-ubuntu20-ci
jeremyjh Mar 19, 2023
605846c
Merge pull request #485 from jeremyjh/jh-ubuntu20-ci
jeremyjh Mar 19, 2023
6c4ef67
GitHub CI example: separate cache restore and save
Nezteb Mar 30, 2023
d2b4074
Merge pull request #487 from Nezteb/master
jeremyjh Mar 30, 2023
b17df86
Remove out-dated README content.
jeremyjh Apr 8, 2023
77162cf
Update version & CHANGELOG for 1.3 release.
jeremyjh Apr 8, 2023
8dc1e9c
Merge pull request #489 from jeremyjh/jh-bump-for-release
jeremyjh Apr 8, 2023
d019f4a
Create .github/FUNDING.yml
jeremyjh Apr 8, 2023
2d65f31
Add full license file so license type displays in GH.
jeremyjh Apr 8, 2023
d53c2cd
Refactor docs, add GitLab CI example
Nezteb Apr 12, 2023
b0102c5
Minor yaml refactor
Nezteb Apr 12, 2023
fedbe91
Merge pull request #490 from Nezteb/master
jeremyjh Apr 13, 2023
adfb635
Add CircleCI example configuration
merwan Apr 14, 2023
94c3b42
Merge pull request #491 from merwan/circleci-documentation
jeremyjh Apr 18, 2023
eed8ddf
Add new format for ignore_file_strict: {file, warning_description} (#…
Nezteb Apr 21, 2023
7ed69ab
Improve handling of local dependencies
josevalim Jul 15, 2020
34dea8f
Bump minimum Elixir version to 1.10
Nezteb May 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .dialyzer_ignore.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[
{":0:unknown_function Function :erl_types.t_is_opaque/1 does not exist."},
{":0:unknown_function Function :erl_types.t_to_string/1 does not exist."},
~r/format_(long|short).*no local return/
{":0:unknown_function Function :erl_types.t_to_string/1 does not exist."}
]
10 changes: 10 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# These are supported funding model platforms

github: [jeremyjh]







121 changes: 121 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
check_duplicate_runs:
name: Check for duplicate runs
continue-on-error: true
runs-on: ubuntu-20.04
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
github_token: ${{ github.token }}
concurrent_skipping: always
cancel_others: true
skip_after_successful_duplicate: true
paths_ignore: '["**/README.md", "**/CHANGELOG.md", "**/LICENSE"]'
do_not_skip: '["pull_request"]'

test:
name: Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
runs-on: ubuntu-20.04
needs: check_duplicate_runs
if: ${{ needs.check_duplicate_runs.outputs.should_skip != 'true' }}

strategy:
fail-fast: false
matrix:
elixir:
- '1.12.3'
- '1.13.4'
- '1.14.3'
otp:
- '23.3'
- '24.3'
- '25.3'

exclude:
- elixir: '1.12.3'
otp: '25.3'

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}

- name: Restore deps cache
uses: actions/cache@v2
with:
path: |
deps
_build
key: ${{ runner.os }}-deps-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-git-${{ github.sha }}
restore-keys: |
${{ runner.os }}-deps-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
${{ runner.os }}-deps-${{ matrix.otp }}-${{ matrix.elixir }}

- name: Install package dependencies
run: mix deps.get

- name: Remove compiled application files
run: mix clean

- name: Compile dependencies
run: mix compile
env:
MIX_ENV: test

- name: Run unit tests
run: mix test --trace

- name: Check compilation warnings
run: mix do compile --warnings-as-errors, archive.build, archive.install --force
env:
MIX_ENV: prod

- name: Check source code formatting
if: ${{ matrix.elixir > '1.12.0' }}
run: mix format --check-formatted

- name: Get results in short format
run: mix dialyzer --format short
env:
MIX_ENV: prod

- name: Get results in raw format
run: mix dialyzer --format raw
env:
MIX_ENV: prod

- name: Get results in dialyzer format
run: mix dialyzer --format dialyzer
env:
MIX_ENV: prod

- name: Get results in ignore_file format
run: mix dialyzer --format ignore_file
env:
MIX_ENV: prod

- name: Run output tests
run: mix test
env:
OUTPUT_TESTS: true

- name: Check examples
run: mix dialyzer --format short --ignore-exit-status
env:
MIX_ENV: examples
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.7.3-otp-21
erlang 21.0.4
elixir 1.14.3-otp-25
erlang 25.2.2
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,42 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased changes post [1.3.0]

## [1.3.0] - 2023-04-08

### Added
- Elixir 1.15 support.
- Support for warning `:callback_not_exported`.

### Changed
- Several improvements to documentation, particularly Github CI documentation.

### Removed
- Support for `:race_conditions` flag which was [removed from Erlang](https://github.com/erlang/otp/pull/5502).

### Fixed
- Crash when `mix.lock` is missing.

## [1.2.0] - 2022-07-20
### Added
- "github" formatter.

## [1.1.0] - 2021-02-18

### Added
- Configuration option to set the project's PLT path: `:plt_local_path`.
- Project configuration setting to exclude files based on a regex: `:exclude_files`.
- `explain` text for `:missing_range` warning.

### Fixed

- Fixes and improvements to README and documentation.
- Fixed `mix.lock` hash stability. Will cause a recheck of PLTs on first usage in each project.

### Changed
- Improved wording of argument mismatch warnings.

## [1.0.0] - 2020-03-16

### Changed
Expand All @@ -14,7 +50,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Warning pretty printing and message fixes/improvements.
- Prevent crash when short_format fails.
- Ensure path to PLT target directory exists.
- Bumpe required `erlex` for formatting fix.
- Bumped required `erlex` for formatting fix.

## [1.0.0-rc.7] - 2019-09-21

Expand Down
Loading