-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bump elixir/erlang and dependencies & add timezone to airports #22
Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [dialyxir](https://github.com/jeremyjh/dialyxir) from 1.1.0 to 1.2.0. - [Release notes](https://github.com/jeremyjh/dialyxir/releases) - [Changelog](https://github.com/jeremyjh/dialyxir/blob/master/CHANGELOG.md) - [Commits](jeremyjh/dialyxir@1.1.0...1.2.0) --- updated-dependencies: - dependency-name: dialyxir dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…checkout-3 Bump actions/checkout from 2 to 3
Bump dialyxir from 1.1.0 to 1.2.0
Bumps [excoveralls](https://github.com/parroty/excoveralls) from 0.14.6 to 0.16.1. - [Release notes](https://github.com/parroty/excoveralls/releases) - [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md) - [Commits](parroty/excoveralls@v0.14.6...v0.16.1) --- updated-dependencies: - dependency-name: excoveralls dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bump excoveralls from 0.14.6 to 0.16.1
Skip header when parsing CSV
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.29.4 to 0.30.6. - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](elixir-lang/ex_doc@v0.29.4...v0.30.6) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
…/checkout-4 Bump actions/checkout from 3 to 4
Bump ex_doc from 0.29.4 to 0.30.6
feat(WEB-0): Update csv source
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.31.0 to 0.31.1. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](elixir-lang/ex_doc@v0.31.0...v0.31.1) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bump ex_doc from 0.31.0 to 0.31.1
update tests
feat(WEB-7334): Add API for getting timezone based on IATA code
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.34.1 to 0.34.2. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](elixir-lang/ex_doc@v0.34.1...v0.34.2) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [castore](https://github.com/elixir-mint/castore) from 1.0.7 to 1.0.8. - [Commits](elixir-mint/castore@v1.0.7...v1.0.8) --- updated-dependencies: - dependency-name: castore dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bump elixir from 1.16 to 1.17 and erlang from 26.2 to 27.0
Bump castore from 1.0.7 to 1.0.8
Bump ex_doc from 0.34.1 to 0.34.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @dgigafox 👋 Thanks for your contribution! I ran mix airports.update
locally and liked the progress indicator. I did not had any changes, so its looking good 👌 A nice addition for in the future would be to first update priv/airports.csv
in the same command 😄
I left a few comments, could you take a look at those?
@@ -16,6 +17,7 @@ defmodule Airports.Airport do | |||
:local_code, | |||
:home_link, | |||
:wikipedia_link, | |||
:keywords | |||
:keywords, | |||
:timezone_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a changelog entry at 1.0.0 for this addition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing
def run do | ||
source_path() | ||
|> File.stream!() | ||
|> AirportsParser.parse_stream(skip_headers: true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a changelog entry for this addition as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing
.github/workflows/elixir.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this branch up-to-date with its base branch? I added pull_request
to the github action workflow, so it will run here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a problem with github action on push and pull request as it doubles the job and I'm getting this error:
** (ExCoveralls.ReportUploadError) Failed to upload the report to 'https://coveralls.io/' (reason: status_code = 422, body = {"message":"Can't add a job to a build that is already closed. Build 4a906ff5af85935d69cae47d180084dacce7e615-PR-43 is closed. See docs.coveralls.io/parallel-builds","error":true}).
@samhamilton could you take a look at this one too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is caused by the following change: d23b5b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dgigafox I pushed a new change to the branch. Hopefully that will fix it. Can you make this branch up-to-date with its base branch again?
Change requests from upstream
@sjoulbak change requests are pushed. Please take a look again. Thanks! Btw, about
Agree on this. Will take a look at that |
Pull Request Test Coverage Report for Build 7d1162caeb87b3db1b9c366b6a9261d5ccfd5a7c-PR-22Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@sjoulbak error on workflow appeared again because I think this is both a pull request and a pull to master. |
@dgigafox Its fine by me if you remove excoveralls from the workflow for now, but keep it in the code base so we can run it locally. Currently we're not covering a lot for this package |
Replace coveralls with test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@dgigafox and @samhamilton Thanks both for all of your effort! 🎉 I've released 1.0.0 🎉 |
Changes:
timezone_id
field of the Airport struct which can be updated usingmix airports.update
. The source of timezone data is tz_world