-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Update common files. #16989
Update common files. #16989
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.
Why is this adding a bunch of binary proto_descriptor stuff? and changing random mixer stuff like statsd.yaml
is this because you reran go:generate
?
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 don't think we can merge without a fix for .PHONY. There are tons of targets that fail now
Getting makefile completion to work would be ideal as well, if possible. This repo has a lot of targets so it helps new developers (and experienced ones) navigate them all
@howardjohn Yes, I ran "go generate ./...". This resulted in slightly different proto descriptors due to different import paths. This in turn results in different yaml, since the yamls encoded the deacriptors as base 64. |
The non-generic solution for .PHONY is to add the relevant definitions to Makefile.overrides.mk. That makefile is evaluated along with the top-level Makefile before launching the container. I think this can be done as a follow-on. Which are the significant targets which wouldn't work with this change? It's limited by the set of top-level files/dirs at the root of istio/istio, right? |
I think so.. maybe we can just dynamically set phony based on all too level files. Or just do it statically with the current set of files |
@howardjohn OK, I added a bunch of phony targets to Makefile.overrides.mk. |
PTAL |
Seems like the phony in override doesn't work? |
Even if I add a PHONY: istioctl in the top-level Makefile, I still get that
message...
…On Wed, Sep 11, 2019 at 9:03 AM John Howard ***@***.***> wrote:
$ make istioctl
make: Nothing to be done for 'istioctl'.
Seems like the phony in override doesn't work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16989?email_source=notifications&email_token=AFNZYHJKYLEPXXRJVUOS7WDQJEJENA5CNFSM4IVNWOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6PABGQ#issuecomment-530448538>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFNZYHO6LYDE4LSQ3NXS4GTQJEJENANCNFSM4IVNWOJQ>
.
|
OK, I found something that works, by adding explicit targets in
Makefile.override.mk. Please check it out again.
…On Wed, Sep 11, 2019 at 9:41 AM Martin Taillefer ***@***.***> wrote:
Even if I add a PHONY: istioctl in the top-level Makefile, I still get
that message...
On Wed, Sep 11, 2019 at 9:03 AM John Howard ***@***.***>
wrote:
> $ make istioctl
> make: Nothing to be done for 'istioctl'.
>
> Seems like the phony in override doesn't work?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#16989?email_source=notifications&email_token=AFNZYHJKYLEPXXRJVUOS7WDQJEJENA5CNFSM4IVNWOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6PABGQ#issuecomment-530448538>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFNZYHO6LYDE4LSQ3NXS4GTQJEJENANCNFSM4IVNWOJQ>
> .
>
|
Wow I don't get what makefile is doing... I tried to replace what you did with
and i get the
stuff again If I do
I get
So it seems somehow make is doing some weird magic, maybe because it matches multiple wildcards? |
Interesting, I think the problem is that we get a target for
It works? Not sure if we need even more crazy makefile stuff though |
this is actually a pretty cool solution - with appropriate comments. |
@howardjohn Is this hack for Makefile or Makefile.overrides.mk? |
Makefile.overrides.mk is how I tested it. It could work for Makefile
possibly? I did not try that though
…On Wed, Sep 11, 2019 at 11:11 AM Martin Taillefer ***@***.***> wrote:
@howardjohn <https://github.com/howardjohn> Is this hack for Makefile or
Makefile.overrides.mk?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16989?email_source=notifications&email_token=AAEYGXMVGUYYUI6M77YHUK3QJEYFLA5CNFSM4IVNWOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6PMPFQ#issuecomment-530499478>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEYGXNYC53ATLNJOCJ4EXDQJEYFLANCNFSM4IVNWOJQ>
.
|
OK, I've merge John's code in Makefile.overrides.mk. If we find we need this kind of cleverness in other repos, we can move it to Makefile in the common repo instead. But for now, let's keep it local to Makefile.overrides.mk in case it starts to show some problems... |
@geeknoid: 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. |
No description provided.