Skip to content

Commit d6f04de

Browse files
Merge pull request #174 from Pix4D/migrate-to-go-kit
Migrate to go-kit - release v0.15.0
2 parents dd8f4fe + da4d138 commit d6f04de

32 files changed

+58
-2387
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push]
55
name: ci
66

77
env:
8-
go-version: 1.23.x
8+
go-version: 1.25.x
99
task-version: v3.40.0
1010

1111
jobs:

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased] - YYYY-MM-DD
9+
10+
## [v0.15.0] - 2026-01-27
11+
12+
### Changed
13+
14+
- Update to Go 1.25.
15+
16+
### Breaking changes
17+
18+
- The packages `sets`, `retry`, `github` have been removed, following the deprecation notice in v0.14.0.
19+
This does not impact the users of the cogito Concourse resource.
20+
It impacts only code using these packages directly. Such code should switch to https://github.com/Pix4D/go-kit, which contains the same packages (drop-in replacement).
21+
822
## [v0.14.0] - 2026-01-26
923

1024
### Deprecated
@@ -328,3 +342,5 @@ This release allows to use cogito for the vast majority of chat notifications wh
328342
[v0.12.0]: https://github.com/Pix4D/cogito/releases/tag/v0.12.0
329343
[v0.12.1]: https://github.com/Pix4D/cogito/releases/tag/v0.12.1
330344
[v0.13.0]: https://github.com/Pix4D/cogito/releases/tag/v0.13.0
345+
[v0.14.0]: https://github.com/Pix4D/cogito/releases/tag/v0.14.0
346+
[v0.15.0]: https://github.com/Pix4D/cogito/releases/tag/v0.15.0

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ In case of doubts about how to tackle testing something, feel free to ask.
1414

1515
## Required
1616

17-
* Go, version >= 1.23
18-
* Docker, version >= 20
19-
* [Task], version >= 3.40
17+
* Go, version >= 1.25
18+
* Docker, version >= 28
19+
* [Task], version >= 3.46
2020

2121
## Optional
2222

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-alpine AS builder
1+
FROM golang:1.25-alpine AS builder
22

33
ARG BUILD_INFO
44

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ vars:
2828
}
2929
#
3030
GOLANGCI_VERSION: v1.62.2
31-
GOTESTSUM_VERSION: v1.12.0
31+
GOTESTSUM_VERSION: v1.13.0
3232

3333
tasks:
3434

cmd/cogito/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"path"
1212

1313
"github.com/Pix4D/cogito/cogito"
14-
"github.com/Pix4D/cogito/sets"
14+
"github.com/Pix4D/go-kit/sets"
1515
)
1616

1717
func main() {

cmd/cogito/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616
"gotest.tools/v3/assert/cmp"
1717

1818
"github.com/Pix4D/cogito/cogito"
19-
"github.com/Pix4D/cogito/github"
2019
"github.com/Pix4D/cogito/googlechat"
2120
"github.com/Pix4D/cogito/testhelp"
21+
"github.com/Pix4D/go-kit/github"
2222
)
2323

2424
func TestRunCheckSuccess(t *testing.T) {

cogito/check_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"gotest.tools/v3/assert"
99

1010
"github.com/Pix4D/cogito/cogito"
11-
"github.com/Pix4D/cogito/github"
1211
"github.com/Pix4D/cogito/testhelp"
12+
"github.com/Pix4D/go-kit/github"
1313
)
1414

1515
func TestCheckSuccess(t *testing.T) {

cogito/get_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"gotest.tools/v3/assert"
99

1010
"github.com/Pix4D/cogito/cogito"
11-
"github.com/Pix4D/cogito/github"
1211
"github.com/Pix4D/cogito/testhelp"
12+
"github.com/Pix4D/go-kit/github"
1313
)
1414

1515
func TestGetSuccess(t *testing.T) {

cogito/ghcommitsink.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/http"
77
"time"
88

9-
"github.com/Pix4D/cogito/github"
10-
"github.com/Pix4D/cogito/retry"
9+
"github.com/Pix4D/go-kit/github"
10+
"github.com/Pix4D/go-kit/retry"
1111
)
1212

1313
const (

0 commit comments

Comments
 (0)