-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Remove depend.* targets #5148
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
Remove depend.* targets #5148
Conversation
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.
/approve
/lgtm
Thanks !
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: costinm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Makefile
Outdated
|
||
depend.update: depend.ensure | ||
@echo "Running dep ensure with --update" | ||
time dep ensure --update |
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.
it's not great to change the behavior of the target that several people got used to use
(e.g make depend.update DEPARGS="--update istio.io/api"
)
it also doesn't let you update 1 package anymore does it ?
btw can you update https://github.com/istio/istio/wiki/Dev-Guide#other-dependencies |
either way just document which is which /hold |
In summary I think this target should stay like it was during submodule - at least until it's documented on what it does (it was documented in the vendor faq before) ie that it now does something no one should call/try more than once a release cycle (also anyway that's not the right way to update all; you need what "make depend.update.full" was doing) But up to you to deal with
and similar errors |
@costinm @ldemailly It seems that the Makefile targets have become a source of ambiguity in part because they are adding a layer of abstraction over the standard tooling. I propose that we get rid of the WDYT? |
instructions/new FAQ is the biggest missing piece - and also avoiding breaking humans muscle memory |
@ldemailly could you comment specifically on: #5148 (comment)? |
that was my specific comment, that whatever you do, document it (first) |
New changes are detected. LGTM label has been removed. |
8622859
to
874acc4
Compare
Codecov Report
@@ Coverage Diff @@
## master #5148 +/- ##
=======================================
+ Coverage 74% 74% +1%
=======================================
Files 323 323
Lines 27049 27268 +219
=======================================
+ Hits 19788 20008 +220
+ Misses 6483 6472 -11
- Partials 778 788 +10
Continue to review full report at Codecov.
|
@costinm @ldemailly @rshriram PTAL I've changed this PR to do a couple of things:
|
We have several depend.* targets that to various things, wrapping dep ensure. This has caused confusion and has also led to the breakage of the depend.update target. PR istio#3678 changed the behavior of `depend.update` to remove the `--update` option when running `dep ensure`. This PR removes all of the depend.* targets and replaces them with the raw commands in the CircleCI yaml.
/test e2e-bookInfo-envoyv2-v1alpha3 |
@nmittler: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Test failure seems unrelated, force merging this to restore testing of update. |
We have several depend.* targets that to various things, wrapping dep ensure. This has caused confusion and has also led to the breakage of the depend.update target. PR istio#3678 changed the behavior of `depend.update` to remove the `--update` option when running `dep ensure`. This PR removes all of the depend.* targets and replaces them with the raw commands in the CircleCI yaml.
We have several depend.* targets that to various things, wrapping dep ensure. This has caused confusion and has also led to the breakage of the depend.update target. PR istio#3678 changed the behavior of `depend.update` to remove the `--update` option when running `dep ensure`. This PR removes all of the depend.* targets and replaces them with the raw commands in the CircleCI yaml.
We have several depend.* targets that to various things, wrapping
dep ensure. This has caused confusion and has also led to the
breakage of the depend.update target. PR #3678 changed the behavior
of
depend.update
to remove the--update
option when runningdep ensure
.This PR removes all of the depend.* targets and replaces them
with the raw commands in the CircleCI yaml.