-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[release/1.7 backport] alias log package to github.com/containerd/log v0.1.0 #9106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release/1.7 backport] alias log package to github.com/containerd/log v0.1.0 #9106
Conversation
Skipping CI for Draft Pull Request. |
|
full diff: sirupsen/logrus@v1.9.0...v1.9.3 v1.9.3 - Fix a potential denial of service vulnerability in logrus.Writer() that could be triggered by logging text longer than 64kb without newlines - Fix panic in Writer v1.9.2 Reverts "Fix a potential denial of service vulnerability in logrus.Writer()", which introduced a regression. v1.9.1 - Fix data race in hooks.test package - Add instructions to use different log levels for local and syslog - Fix a potential denial of service vulnerability in logrus.Writer() that could be triggered by logging text longer than 64kb without newlines - Use text when shows the logrus output Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: stretchr/testify@v1.8.2...v1.8.4 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This "soft" deprecates the package, but keeps the local uses of the package, which can make backporting this to release-branches easier (we can still move all uses in those branches as well though). Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit d69ae81) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit f1591cc) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
559453c
to
cb20151
Compare
@thaJeztah let's avoid the deprecation commit for now |
Deprecate the pacakge, but suppress linting errors for now. This is to allow backporting these changes to release branches, which may still need to transition. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 03b9ce5) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
^^ after discussing, I included the deprecation for this (1.7) so that it can act as stepping-stone towards v2.0, but we're not backporting it to the 1.6 branch |
@AkihiroSuda @cpuguy83 PTAL |
I also had to update some other dependencies, which I did in separate commits.
vendor: github.com/sirupsen/logrus v1.9.3
full diff: sirupsen/logrus@v1.9.0...v1.9.3
v1.9.3
that could be triggered by logging text longer than 64kb without newlines
v1.9.2
Reverts "Fix a potential denial of service vulnerability in logrus.Writer()",
which introduced a regression.
v1.9.1
that could be triggered by logging text longer than 64kb without newlines
vendor: github.com/stretchr/testify v1.8.4
full diff: stretchr/testify@v1.8.2...v1.8.4
alias log package to github.com/containerd/log v0.1.0
This "soft" deprecates the package, but keeps the local uses of the package,
which can make backporting this to release-branches easier (we can
still move all uses in those branches as well though).