Remove mendersoftware/scopestack and mendersoftware/log dependencies

Description

Client code uses two internal dependencies to nicely print logs and errors: mendersoftware/log and mendersoftware/scopestack. These are not working as intended originally and are creating maintainability problems, specifically with the official Debian packages.

One recent problem was for stopestack failing to build from source with golang 1.13 [1] and mender-client package therefore being marked for autoremoval from Debian repositories.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952188

Hence, we would like to remove these dependencies for the Mender client.

Acceptance criteria:

  • All these dependencies removed from client:

    • github.com/mendersoftware/log

    • github.com/mendersoftware/scopestack

  • mender -log-modules argument deprecated with a warning (but not removed, needs to be backwards compatible)

Affects versions

None

Environment

None

Checklist

Activity

Show:

Ole Petter OrhagenMarch 16, 2020 at 11:28 AM

Kristian AmlieMarch 2, 2020 at 8:59 AM

I think this is pretty easy. Our log implementation should be 100% compatible with logrus. 3SP

Lluis CamposMarch 2, 2020 at 8:50 AM

can you help me with completing the issue and estimating it? Thanks.

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Backlog

yes

Zendesk Support

Checklist

Created March 2, 2020 at 8:49 AM
Updated June 25, 2024 at 12:02 PM
Resolved March 16, 2020 at 11:28 AM