81ea8bc06b
merge: updates from upstream
continuous-integration/drone/pr Build is passing
2025-02-14 22:07:52 +00:00
8a6c0d73df
chore(deps): update postgres docker tag to v17.3 ( #122 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| postgres | minor | `17.2-alpine` -> `17.3-alpine` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Reviewed-on: #122
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-02-14 22:06:25 +00:00
30a913bca5
chore(deps): update dependency erlang to v27.2.2 ( #121 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp ) | patch | `27.2.1` -> `27.2.2` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Reviewed-on: #121
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-02-14 21:48:33 +00:00
d2b7ac73aa
chore(deps): update dependency postgrex to ~> 0.20.0 ( #119 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [postgrex](https://hex.pm/packages/postgrex ) ([source](https://github.com/elixir-ecto/postgrex )) | prod | minor | `~> 0.19.0` -> `~> 0.20.0` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #119
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-02-06 17:56:19 +00:00
18759bf234
feat(deps): upgrade dependencies
...
continuous-integration/drone/pr Build is passing
* `decimal`: from 2.1.1 to 2.3.0
* `earmark_parser`: from 1.4.41 to 1.4.43
* `ex_doc`: from 0.34.2 to 0.36.1
* `req`: from 0.5.7 to 0.5.8
https://diff.hex.pm/diffs?diffs[]=decimal:2.1.1:2.3.0&diffs[]=earmark_parser:1.4.41:1.4.43&diffs[]=ex_doc:0.34.2:0.36.1&diffs[]=req:0.5.7:0.5.8&
2025-01-26 15:10:24 +00:00
d385451a5e
merge: updates from upstream
...
Conflicts:
mix.exs
mix.lock
2025-01-26 15:07:39 +00:00
eadd2f5988
feat(deps): upgrade dependencies ( #118 )
...
continuous-integration/drone/push Build is passing
[Upgrade dependencies][0]:
* `credo`: from 1.7.8 to 1.7.11
* `dialyxir`: from 1.4.4 to 1.4.5
* `gettext`: from 0.26.1 to 0.26.2
* `phoenix`: from 1.7.14 to 1.7.18
* `phoenix_live_dashboard`: from 0.8.4 to 0.8.6
* `postgrex`: from 0.19.2 to 0.19.3
[Upgrade transient dependencies][1]:
* `castore`: from 1.0.9 to 1.0.11
* `decimal`: from 2.1.1 to 2.3.0
* `ecto`: from 3.12.4 to 3.12.5
* `file_system`: from 1.0.1 to 1.1.0
* `hpax`: from 1.0.0 to 1.0.2
* `nimble_parsec`: from 1.4.0 to 1.4.2
* `peep`: from 3.3.0 to 3.4.1
* `phoenix_html`: from 4.1.1 to 4.2.0
* `phoenix_live_view`: from 0.20.17 to 1.0.2
* `websock_adapter`: from 0.5.7 to 0.5.8
Reviewed-on: #118
[0]: https://diff.hex.pm/diffs?diffs[]=credo:1.7.8:1.7.11&diffs[]=dialyxir:1.4.4:1.4.5&diffs[]=gettext:0.26.1:0.26.2&diffs[]=phoenix:1.7.14:1.7.18&diffs[]=phoenix_live_dashboard:0.8.4:0.8.6&diffs[]=postgrex:0.19.2:0.19.3
[1]: https://diff.hex.pm/diffs?diffs[]=castore:1.0.9:1.0.11&diffs[]=decimal:2.1.1:2.3.0&diffs[]=ecto:3.12.4:3.12.5&diffs[]=file_system:1.0.1:1.1.0&diffs[]=hpax:1.0.0:1.0.2&diffs[]=nimble_parsec:1.4.0:1.4.2&diffs[]=peep:3.3.0:3.4.1&diffs[]=phoenix_html:4.1.1:4.2.0&diffs[]=phoenix_live_view:0.20.17:1.0.2&diffs[]=websock_adapter:0.5.7:0.5.8
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-01-26 10:50:44 +00:00
395ee2eca7
chore(deps): update absinthe_plug digest to 307c8bb ( #116 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| absinthe_plug | prod | digest | `3a984cc` -> `307c8bb` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #116
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-01-25 15:17:15 +00:00
27ff265d47
chore(deps): update dependency telemetry_metrics to ~> 1.1.0 ( #115 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [telemetry_metrics](https://hex.pm/packages/telemetry_metrics ) ([source](https://github.com/beam-telemetry/telemetry_metrics )) | prod | minor | `~> 1.0.0` -> `~> 1.1.0` |
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #115
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-01-25 14:38:43 +00:00
bd894e4aac
chore(deps): upgrade lefthook from 1.8.2 to 1.10.10 ( #117 )
...
continuous-integration/drone/push Build is passing
Upgrade [lefthook](https://lefthook.dev/ ) from [1.8.2 to 1.10.10](https://github.com/evilmartians/lefthook/compare/v1.8.2...v1.10.10 ).
Reviewed-on: #117
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-01-25 12:45:40 +00:00
dec73629e9
chore(deps): update dependency erlang to v27.2.1 ( #114 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp ) | patch | `27.2` -> `27.2.1` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Reviewed-on: #114
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-01-25 12:29:32 +00:00
1967275b7e
chore(deps): update dependency elixir to v1.18.2 ( #113 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [elixir](https://elixir-lang.org/ ) ([source](https://github.com/elixir-lang/elixir )) | patch | `1.18.0` -> `1.18.2` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43NC4xIiwidXBkYXRlZEluVmVyIjoiMzkuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Reviewed-on: #113
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2025-01-25 12:14:28 +00:00
d916795d1d
chore(deps): update dependency elixir to v1.18.0 ( #112 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [elixir](https://elixir-lang.org/ ) ([source](https://github.com/elixir-lang/elixir )) | minor | `1.17.3` -> `1.18.0` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43NC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #112
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-12-21 21:07:31 +00:00
2521072af1
chore(deps): update dependency erlang to v27.2 ( #111 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp ) | minor | `27.1.3` -> `27.2` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Reviewed-on: #111
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-12-11 19:34:35 +00:00
97b1ef9a6b
merge: updates from upstream
continuous-integration/drone/pr Build is passing
2024-12-07 15:50:18 +00:00
c43d1774ec
chore(deps): update dependency erlang to v27.1.3 ( #110 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp ) | patch | `27.1.2` -> `27.1.3` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #110
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-12-07 10:31:59 +00:00
42a5712d38
chore(deps): update postgres docker tag to v17.2 ( #109 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| postgres | minor | `17.1-alpine` -> `17.2-alpine` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: #109
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-11-23 17:01:40 +00:00
0ca674f76c
chore(deps): update postgres docker tag to v17.1 ( #108 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| postgres | minor | `17.0-alpine` -> `17.1-alpine` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: #108
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-11-22 18:51:58 +00:00
4b643202c3
feat: update deps
...
continuous-integration/drone/pr Build is passing
* `req` from 0.5.6 to 0.5.7
2024-11-02 14:24:09 +00:00
adfb85533b
merge: updates from upstream
...
Conflicts:
mix.lock
2024-11-02 14:22:34 +00:00
d0114d9c46
feat: always build image when running tests ( #107 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: #107
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-11-02 14:19:04 +00:00
fb001fc8b5
chore: update deps ( #106 )
...
continuous-integration/drone/push Build is passing
Update deps:
* `ecto_sql` from 3.12.0 to 3.12.1
* `phoenix_ecto` from 4.6.2 to 4.6.3
* `postgrex` from 0.19.1 to 0.19.2
Update deps of deps:
* `castore` from 1.0.9 to 1.0.9
* `ecto` from 3.12.4 to 3.12.4
* `file_system` from 1.0.0 to 1.0.1
* `peep` from 3.2.0 to 3.3.0
Reviewed-on: #106
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-11-02 14:10:33 +00:00
f5d001d419
merge: updates from upstream
2024-11-02 13:30:15 +00:00
70582003de
feat: check code quality through git hooks ( #105 )
...
continuous-integration/drone/push Build is passing
Add `git hooks` that execute common and repetitive tasks before committing and pushing to make developer life easier.
Reviewed-on: #105
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-11-02 13:29:32 +00:00
aef062dcf5
fix(growth): remove unused match
continuous-integration/drone/pr Build is passing
2024-11-02 12:56:38 +00:00
02540e1046
merge: updates from upstream
...
continuous-integration/drone/pr Build is passing
Conflicts:
mix.exs
mix.lock
2024-10-30 19:56:46 +00:00
ab97a6c14f
chore(deps): update dependency prom_ex to ~> 1.11.0 ( #104 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [prom_ex](https://hex.pm/packages/prom_ex ) | minor | `~> 1.10.0` -> `~> 1.11.0` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4zOS42IiwidXBkYXRlZEluVmVyIjoiMzguMzkuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #104
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-10-30 19:25:50 +00:00
69cd36d7e1
merge: updates from upstream
continuous-integration/drone/pr Build is passing
2024-10-21 02:16:01 +00:00
f6cfff14e7
merge: update from upstream
continuous-integration/drone/pr Build is passing
2024-10-21 02:14:48 +00:00
216015fb82
chore(docker/ci): bump erlang to 27.1.2 ( #103 )
...
continuous-integration/drone/push Build is passing
Also, use debian bookworm 20241016.
Reviewed-on: #103
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-10-21 02:13:56 +00:00
ffa2a68b7a
fix(growth): use Application.app_dir to write/read priv dir
continuous-integration/drone/pr Build is passing
2024-10-21 01:53:14 +00:00
26b72afd5a
chore(deps): update dependency erlang to v27.1.2 ( #102 )
...
continuous-integration/drone/push Build is passing
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [erlang](https://github.com/erlang/otp ) | patch | `27.1.1` -> `27.1.2` |
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4zOS42IiwidXBkYXRlZEluVmVyIjoiMzguMzkuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #102
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-10-21 01:51:44 +00:00
fb38910137
test(growth): add test for happy download paths
continuous-integration/drone/pr Build is passing
2024-10-07 19:27:27 +00:00
6ba171343d
test(growth): add dep to write in-memory excel data
...
This will be used to mock data from WHO site.
2024-10-07 19:23:26 +00:00
0fc8c56c41
chore(growth): add separated method to merge genders data
...
This makes easier to test aggregation logic for multiple gender
configuration.
2024-10-07 19:22:14 +00:00
c77d4eb97d
chore(growth): allow one to customize Req
options
...
With this change it's possible to change the way the application make
requests to WHO website.
2024-10-07 19:21:27 +00:00
df16f2ce1c
merge: updates from upstream
continuous-integration/drone/pr Build is passing
2024-10-07 12:17:42 +00:00
5e029670eb
feat: execute test with docker compose ( #101 )
...
continuous-integration/drone/push Build is passing
When we changed the application to be executed as distributed nodes (PR #96 ), performing tests with `docker-compose` became impossible.
To fix this situation in this PR, two new targets are added to `Makefile`:
* `compose_test`
* `compose_test_shell`
These new targets allow one to execute tests and enter the container shell responsible for running these tests.
Reviewed-on: #101
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-10-07 12:16:07 +00:00
25cb7508bb
test(growth): add main module tests
continuous-integration/drone/pr Build is passing
2024-10-05 15:11:33 +00:00
84cf6758bb
fix(growth): results is now a keyword list
2024-10-05 15:10:40 +00:00
7e041ae6c9
chore(growth): adjust indicator lookup to use atoms for unit
2024-10-05 15:09:44 +00:00
82d7009b34
chore(growth): adjust key in ets tables to contain atoms
...
The `ets` tables containing growth indicator has a key in the form of
`{gender :: atom(), unit :: atom(), value :: number()}`.
2024-10-05 15:07:10 +00:00
fa65a36852
test(growth): fix doctest for centile and percentile
continuous-integration/drone/pr Build is passing
2024-10-05 12:58:36 +00:00
1e36c29180
test(growth): add percentile test
2024-10-05 12:58:04 +00:00
8c89b55487
test(growth): add centile compute test
2024-10-05 12:57:20 +00:00
a427e11958
test(growth): add zscore compute test
2024-10-05 12:56:28 +00:00
c9e3bf68ae
test(growth): add bmi test
2024-10-05 12:55:44 +00:00
7670dce630
test(growth): add sample data to be used in tests
2024-10-05 12:53:56 +00:00
f3846cad24
chore(growth): update doc to reflect percentile values
...
continuous-integration/drone/pr Build is passing
This fixes an issue were the returned value represented the measurment
at a given z-score (the centile value).
2024-10-03 22:16:15 +00:00
27a7a05584
fix(growth): improve doc for centile calculation
...
This module converts a given z-score and Box-Cox values into the related
measurement.
2024-10-03 22:14:56 +00:00