Skip to content

Change command line flag allow-tools default to false #1986

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

Merged
merged 2 commits into from
Jun 26, 2019
Merged

Change command line flag allow-tools default to false #1986

merged 2 commits into from
Jun 26, 2019

Conversation

keertip
Copy link
Collaborator

@keertip keertip commented Jun 25, 2019

No description provided.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Jun 25, 2019
Copy link
Member

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to update the flutter doc script (in flutter/flutter/dev/tools/dartdoc.dart)?

CHANGELOG.md Outdated
@@ -1,3 +1,6 @@
## 0.28.4-dev
* **Breaking change** The `allow-tools` command line flag defaults to false.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the default for the '--allow-tools' command-line flag to false.?

@keertip
Copy link
Collaborator Author

keertip commented Jun 25, 2019

Yes, will update the flutter script before publishing a new version. Flutter does pull in only published versions, right?

@keertip
Copy link
Collaborator Author

keertip commented Jun 25, 2019

#1940

@coveralls
Copy link

coveralls commented Jun 25, 2019

Coverage Status

Coverage decreased (-0.2%) to 93.977% when pulling 897dd7e on tools into 3980fca on master.

@devoncarew
Copy link
Member

Yes, will update the flutter script before publishing a new version. Flutter does pull in only published versions, right?

Yes, and I believe they use only explicit versions (the version number is referenced in the script).

@keertip keertip merged commit 2ac3c1d into master Jun 26, 2019
@keertip keertip deleted the tools branch June 26, 2019 05:56
@sigurdm
Copy link
Contributor

sigurdm commented Jun 26, 2019

Does this also disallow enabling --allow-tools from the analysis_options.yaml file as discussed in #1940?

@devoncarew
Copy link
Member

It doesn't, but it should like that is something we'd like to do. I'll open an issue to track; PRs welcome for it as well.

@keertip
Copy link
Collaborator Author

keertip commented Jun 26, 2019

The only way to set --allow-tools is through command line. It cannot be set thru the dartdoc_options file.

@sigurdm
Copy link
Contributor

sigurdm commented Jun 27, 2019

Ah - that was unclear to me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants