Debian Patches

Status for golang-github-google-go-github/60.0.0-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Ensure-compatibility-with-Go-1.27-and-encoding-json-.patch Ensure compatibility with Go 1.27 and encoding/json/v2
Fix test failures occurring with Go 1.27:
- In TestNewRequest_invalidJSON, use an unencodable function field instead
of map[interface{}]interface{} and avoid asserting UnsupportedTypeError.
- In TestHookDelivery_ParsePayload_invalidPayload and
TestSecurityAdvisoriesService_ListRepositorySecurityAdvisories*,
relax unmarshal error string checks to account for Go 1.27's updated
struct field path format in unmarshal errors.

[Backport divergence note: adapted error assertion checks to keep
context.Background() rather than t.Context() which was introduced in
later Go releases.]
Nurzhan Muratkhan <nurzhanmuratkhan@gmail.com> not-needed debian backport, https://github.com/google/go-github/commit/92a3830f9be93a0a314c4d6c2726ee820cc79c2e 2026-02-23

All known versions for source package 'golang-github-google-go-github'

Links