Update logrus to v1.0.1 (Sirupsen -> sirupsen)#34272
Conversation
|
I modified the title of this PR from |
|
I'm confused about how this passes CI. I'd expect the "dirty" vendor directory to fail the vendor validation check, and I don't see changes to the validation scripts to make an exception. |
|
hmm, good question. It looks like the vendor job didn't run on this. |
|
Updated to make the vendor done more cleanly. It is using forks where the upstreams have not been merged. The forks are based on the version which was previously there with only a commit to rename the imports. When the upstreams are merged and go to update the corresponding vendor, then updated imports should work fine. If any of these dependencies try to update before merging the logrus change upstream (they are all docker-related projects), then they will have to fix logrus themselves or merge the change (they will not have my sympathy). |
|
Any chance your branch can be opened as a PR against those repos ? If it doesn't merge cleanly maybe just an issue to track the change? |
|
Restart |
vdemeester
left a comment
There was a problem hiding this comment.
@dmcgowan let's update the vendor.conf to not point on forks for opengcs, runc and containerd (with containerd/containerd#1252 merged) and use forks for libnetwork and swarmkit to deal with the chicken-and-egg problem
| github.com/gorilla/context v1.1 | ||
| github.com/gorilla/mux v1.1 | ||
| github.com/jhowardmsft/opengcs v0.0.9 | ||
| github.com/jhowardmsft/opengcs b9d0120d36f26e981a50bf18bac1bb3f0c2b8fef https://github.com/dmcgowan/opengcs.git |
There was a problem hiding this comment.
@dmcgowan PR has been merge, we should update to not using the fork anymore 👼
There was a problem hiding this comment.
Merged but cannot use master yet, see conversation with @jhowardmsft about a follow up to bring it to master. I am using a fork here to avoid pulling in unrelated changes of which I know little about. My expectation is those that better understand these projects will be able to get off my forks by opening a follow up updating to the most recent.
There was a problem hiding this comment.
@vdemeester Agreed with @dmcgowan's comment ^^. I have exactly that follow-up PR I'm about to submit which will be backed up behind this one being merged, and move back to jhowardmsft/opengcs, but at v0.0.12, which incorporates lower-case sirupsen
|
|
||
| # When updating, also update RUNC_COMMIT in hack/dockerfile/binaries-commits accordingly | ||
| github.com/opencontainers/runc 2d41c047c83e09a6d61d464906feb2a2f3c52aa4 https://github.com/docker/runc | ||
| github.com/opencontainers/runc e9325d442f5979c4f79bfa9e09bdf7abb74ba03b https://github.com/dmcgowan/runc.git |
There was a problem hiding this comment.
Same here about follow ups, I have already discussed with @crosbymichael about getting us back onto github.com/opencontainers/runc after this change.
|
|
||
| # containerd | ||
| github.com/containerd/containerd 3addd840653146c90a254301d6c3a663c7fd6429 | ||
| github.com/containerd/containerd fc10004571bb9b26695ccbf2dd4a83213f60b93e https://github.com/dmcgowan/containerd.git |
There was a problem hiding this comment.
We should wait for containerd/containerd#1252 to get merged before merging this one 👼
There was a problem hiding this comment.
It's merged and can be updated here 👍
There was a problem hiding this comment.
Same, this should be done in follow up so the containerd related changes can be reviewed separately. My fork only applies the logrus changes on top of the previous hash
|
Restarted |
|
@vdemeester I probably should have outlined the plan here better. The points of these forks is intended to be temporary since updating the dependencies will require removing my fork to pick up any functionality changes. I have tried to link to all the other work not as blockers to get this in, but to show the follow up work is in progress to get us back to the ideal fork-less state. Unfortunately this is a much messier change anyone would have liked and merging it will help us move past it quicker 😄 |
|
@dmcgowan sounds good 👍 Let's merge this 👼 |
|
Thanks for explaining @dmcgowan - @vdemeester and I were discussing this morning, and thought it was best to first have the upstreams merged, so that we would be sure it would be accepted upstream; LGTM with that explanation 👍 |
|
And restarted (Latest iteration is running on node 1 which seems to be one of the most reliable of the current set of nodes) |
|
ping @tophj-ibm ^^ |
|
@dmcgowan Is there an issue tracking the |
|
@tonistiigi @simonferquel created a PR for it 👼 |
Alternative to #33998
This handle the case sensitivity issue with logrus changing names. This is currently using manual edits on some of the changes in the vendor directory until the vendored projects merge their associated changes. This change aims to have minimal impact in terms of new vendored code. Each of the individual libraries should have changes after the updates get merged.
See https://github.com/sirupsen/logrus#logrus- for the reasoning behind this change
Related PRs