-
Notifications
You must be signed in to change notification settings - Fork 24
gh action: add go tidy check #291
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
base: main
Are you sure you want to change the base?
Conversation
cf55501
to
73662ac
Compare
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please — one nit.
Looks like #292 worked as well and added the storage label so that is good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though it already did, at least when I looked at it with @jankaluza why the workspace vendoring was broken. It definably has workspace aware code so maybe some extra config option. |
Mhh if I look at the logs https://developer.mend.io/github/containers/container-libs/-/job/d0c5143f-0e63-4056-b583-398cdd67ac40 it definitely claims it runs go work sync, I guess it might be the same issue with the vendor dir where the resulting diff is not added to the commit |
Yes, previously #283 did sync things — But that one had a reason to update |
Looking at the renovate config I am not sure we can make it work, first our config is wrong as we still ask for vendoring container-libs/.github/renovate.json5 Line 54 in d08c7ee
but when we remove it will no longer run go work sync as this is put inside the useVendor condition. So to me I guess renovate is just not working no matter what config we use, I guess best case we just make a PR to renovate to fix the behavior. I am not sure if the discussion will gain much traction otherwise, the repo seems quite busy. |
For a while, it wouldn’t be so bad for us to manually amend every Renovate-filed PR with a I agree contributing a PR to Renovate upstream would be the cleanest approach. We could, also, give up on keeping the repo consistent with I guess the decision ~depends on a guess how much effort+time it would take to improve Renovate. |
Make sure all go module related changes are committed properly. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Dropped the commit which added
So I guess that means renovate PRs would still break on that check thus we cannot merge until renovate gets fixed unless we like to amend all the PRs which I don't |
We could explicitly ignore the top-level OTOH if we think Renovate is going to be fixed shortly, it might be easier to wait than to do things twice. |
Well that is the problem, we cannot know that side. Even if Jan submits a fix, it doesn't mean it gets merged anytime soon. And then we use the hosted mend instance so we get to wait until the fix gets deployed there and who knows how long that will take. |
Make sure all go module related changes are committed properly.