What and why to refactor
1.19 was released a few days ago, and 1.18 now has been around for several revisions, so it should be stable. It brings many new
features, in particular generics which is something we can definitely use in our codebase. We should evaluate both, and at the very least uplift to the latest 1.18 revision.
Describe the solution you'd like
How to refactor?
The Dockerfiles need to be modified + the go.mod version. The gitextractor libgit2 needs to be manually built in the Dockerfile because it has to be pinned to v1.3.0. The newer alpine base images will be packaged with higher versions if we try to use the defaults, so we can't rely them as we have been.
Related issues
n/a
Additional context
Current Go version of Devlake is 1.17.
What and why to refactor
1.19 was released a few days ago, and 1.18 now has been around for several revisions, so it should be stable. It brings many new
features, in particular generics which is something we can definitely use in our codebase. We should evaluate both, and at the very least uplift to the latest 1.18 revision.
Describe the solution you'd like
How to refactor?
The Dockerfiles need to be modified + the go.mod version. The gitextractor libgit2 needs to be manually built in the Dockerfile because it has to be pinned to v1.3.0. The newer alpine base images will be packaged with higher versions if we try to use the defaults, so we can't rely them as we have been.
Related issues
n/a
Additional context
Current Go version of Devlake is 1.17.