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

[WIP] Mises à jour techniques (Elixir 1.17.3, OTP 27.1) #4216

Draft
wants to merge 36 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d2d19d0
Bump .tool-versions
thbar Sep 23, 2024
87c3d3f
Bump docker image
thbar Sep 23, 2024
085de38
Merge branch 'master' into elixir-1.17-otp-27
thbar Oct 31, 2024
30fbcba
Fix test for OTP 27
thbar Oct 31, 2024
abe635e
Fix test for OTP 27
thbar Oct 31, 2024
e382c58
Fix test for OTP 27 (too brittle now)
thbar Oct 31, 2024
c3a0577
Fix test for OTP 27
thbar Oct 31, 2024
cba7632
Fix code for OTP 27 (order is not guaranteed anymore)
thbar Oct 31, 2024
cb95d8b
Fix test for OTP 27
thbar Oct 31, 2024
9d79ee5
Merge branch 'master' into elixir-1.17-otp-27
thbar Nov 12, 2024
71d9bda
Merge branch 'master' into elixir-1.17-otp-27
thbar Nov 12, 2024
2a7bfde
Merge branch 'elixir-1.17-otp-27' of github.com:etalab/transport-site…
thbar Nov 21, 2024
90e6f8b
Fix regexp (not matching new version 27.1)
thbar Nov 21, 2024
b36497c
Fix Elixir 1.17+ warning
thbar Nov 21, 2024
ff72f9e
Make the diff human-readable
thbar Nov 22, 2024
ad45bec
Fix broken test on OTP 26+ (& make CSV output order deterministic)
thbar Nov 22, 2024
b0fe20e
Fix brittle test
thbar Nov 22, 2024
2ffdd34
Merge branch 'master' into elixir-1.17-otp-27
thbar Nov 27, 2024
2a7eb40
Fix warnings (parenthesis must be removed here)
thbar Nov 27, 2024
6075516
Make @latest_scores order determinist
thbar Nov 28, 2024
cfcdacc
mix deps.update ecto_interval
thbar Nov 28, 2024
4ea7f4e
mix deps.update ecto ecto_sql ecto_psql_extras
thbar Nov 28, 2024
0a06ac2
Mix format
thbar Nov 29, 2024
bb5497f
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 10, 2024
b245c84
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 10, 2024
b46f757
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 10, 2024
7b4d0de
Fix mix error
thbar Dec 10, 2024
06eeeff
Bump saxy (removes lots of warnings)
thbar Dec 10, 2024
8e6bd48
Bump ecto_erd to remove numerous warnings
thbar Dec 10, 2024
397017f
Bump ex_aws / ex_aws_s3
thbar Dec 11, 2024
ac3b5f0
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 11, 2024
61056e2
Bump more dependencies
thbar Dec 11, 2024
823f331
Bump more dependencies
thbar Dec 11, 2024
82df923
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 12, 2024
7ad7c54
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 16, 2024
167a83a
Merge branch 'master' into elixir-1.17-otp-27
thbar Dec 17, 2024
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ default_docker: &default_docker
defaults: &defaults
parameters:
base_image:
default: ghcr.io/etalab/transport-ops:elixir-1.16.2-erlang-25.3.2.10-ubuntu-focal-20240216-transport-tools-1.0.7
default: ghcr.io/etalab/transport-ops:elixir-1.17.3-erlang-27.1-ubuntu-focal-20240530-transport-tools-1.0.7
type: string
# useful to invalidate the build cache manually by bumping the version
build_cache_key:
Expand Down
6 changes: 3 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
# - https://hexdocs.pm/elixir/compatibility-and-deprecations.html
# - https://github.com/elixir-lang/elixir/releases
# - `asdf list all elixir`
elixir 1.16.2-otp-25
elixir 1.17.3-otp-27

# See:
# - https://github.com/erlang/otp/releases
# - Blog, e.g. https://www.erlang.org/blog/my-otp-25-highlights/
# - https://github.com/erlang/otp/blob/master/otp_versions.table
# - `asdf list all erlang`
erlang 25.3.2.10
erlang 27.1

# Take an LTS version on https://nodejs.org/
nodejs 20.11.1
nodejs 20.17.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/etalab/transport-ops:elixir-1.16.2-erlang-25.3.2.10-ubuntu-focal-20240216-transport-tools-1.0.7
FROM ghcr.io/etalab/transport-ops:elixir-1.17.3-erlang-27.1-ubuntu-focal-20240530-transport-tools-1.0.7

RUN mkdir phoenixapp
WORKDIR /phoenixapp
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/etalab/transport-ops:elixir-1.16.2-erlang-25.3.2.10-ubuntu-focal-20240216-transport-tools-1.0.7
FROM ghcr.io/etalab/transport-ops:elixir-1.17.3-erlang-27.1-ubuntu-focal-20240530-transport-tools-1.0.7

RUN apt-get install -y git inotify-tools postgresql-client>=11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ defmodule TransportWeb.Backoffice.ContactController do
"last_login_at",
"creation_source",
"organization_names",
columns_for_role(:producer),
columns_for_role(:reuser)
columns_for_role(:producer) |> Enum.sort(),
columns_for_role(:reuser) |> Enum.sort()
]
|> List.flatten()

Expand Down
2 changes: 1 addition & 1 deletion apps/transport/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ defmodule Transport.Mixfile do
# db
{:ecto, "~> 3.12"},
{:ecto_sql, "~> 3.12"},
{:postgrex, ">= 0.0.0"},
{:postgrex, "~> 0.19.0"},
{:geo_postgis, "~> 3.4"},
{:ecto_interval, "~> 0.2.5"},
{:scrivener_ecto, "~> 2.7.0"},
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule Transport.MixProject do
{:saxy, "~> 1.5"},
{:appsignal, "~> 2.0"},
{:appsignal_phoenix, "~> 2.0"},
{:ecto_erd, "~> 0.5.0", only: [:dev]}
{:ecto_erd, "~> 0.6.0", only: [:dev]}
]
end

Expand Down
42 changes: 21 additions & 21 deletions mix.lock

Large diffs are not rendered by default.

Loading