[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055977: RFS: golang-github-kr-logfmt/0.0~git20210122.19f9bcb-1 [ITP] -- Parse logfmt messages (library)



Hi Nilesh,

On Fri, 2023-11-17 at 14:11 +0530, Nilesh Patra wrote:
> This looks like _really_ old code, and there's
> golang-github-go-logfmt-logfmt in debian already.
> 
> Can the code in the target package be patched to use go-logfmt or is it
> using specific features from kr-logfmt?

The target package (golang-github-humanlogio-humanlog[1][2]) uses the Handler
type from kr-logfmt for its own Handler type (handler.go), and this is the only
occurrence of kr-logfmt in the code.

golang-github-go-logfmt-logfmt doesn't have this Handler type that's being used,
and humanlog already uses go-logfmt as much as it can

I've made an issue upstream at [3] regarding this and I've patched out the
Handler type completely from humanlog for now.

Would you like me to close this RFS bug and the ITP?

[1]: https://bugs.debian.org/1055740
[2]:
https://salsa.debian.org/go-team/packages/golang-github-humanlogio-humanlog/
[3]: https://github.com/humanlogio/humanlog/issues/71

Kind regards,
Maytham

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: