-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Change jibSerialize to jib.serialize #1968
Conversation
8dea71d
to
60e6309
Compare
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.
IMHO we shouldn't bother with the deprecation notice: it's a debugging property, not a production property. We allow seeing the executor which is what someone should do if they want control.
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 also think it is OK to just deprecate the old one. I can't think of any reason anyone actually uses the flag in practice.
docs/faq.md
Outdated
@@ -533,16 +533,15 @@ com.google.api.client.http.level=CONFIG | |||
|
|||
And then launch your build tool as follows: | |||
```sh | |||
mvn -Djava.util.logging.config.file=path/to/log.properties -DjibSerialize=true -Djib.console=plain ... | |||
mvn -Djava.util.logging.config.file=path/to/log.properties -Djib.serialize=true ... |
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'd like to retain -Djib.console=plain
. Almost a requirement when redirecting long output to a file.
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.
oh oops, must've been lost in a rebase
@@ -49,13 +52,16 @@ | |||
@RunWith(MockitoJUnitRunner.class) | |||
public class JibContainerBuilderTest { | |||
|
|||
@Rule public RestoreSystemProperties restoreSystemProperties = new RestoreSystemProperties(); |
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.
final
1519708
to
601442c
Compare
Should we add a jib-core changelog entry too? |
I think we should hold off merging this until right before we make the next release, since it updates the FAQ to use the new (not yet live) flag. |
601442c
to
6d98a11
Compare
I think this is harder when we have to change the property |
6d98a11
to
adce1d9
Compare
Things in |
part of #1967, take a look at where the warning is happening, open to suggestions on other ways to do this.