Skip to content

Commit

Permalink
Switch back the default for --incompatible_package_name_is_a_function
Browse files Browse the repository at this point in the history
The value was changed in 4a8bacd, but it is breaking downstream projects

#5827

RELNOTES: Revert the default of --incompatible_package_name_is_a_function to false.
PiperOrigin-RevId: 212297376
  • Loading branch information
laurentlb authored and Copybara-Service committed Sep 10, 2018
1 parent 53ad67f commit 0211ef8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/docs/skylark/backward-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Likewise, the magic `REPOSITORY_NAME` variable is replaced by
same flag.

* Flag: `--incompatible_package_name_is_a_function`
* Default: `true`
* Default: `false`


### FileType is deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public class SkylarkSemanticsOptions extends OptionsBase implements Serializable

@Option(
name = "incompatible_package_name_is_a_function",
defaultValue = "true",
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.SKYLARK_SEMANTICS,
effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS},
metadataTags = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static Builder builderWithDefaults() {
.incompatibleGenerateJavaCommonSourceJar(false)
.incompatibleNewActionsApi(false)
.incompatibleNoSupportToolsInActionInputs(false)
.incompatiblePackageNameIsAFunction(true)
.incompatiblePackageNameIsAFunction(false)
.incompatibleRangeType(false)
.incompatibleRemoveNativeGitRepository(false)
.incompatibleRemoveNativeHttpArchive(false)
Expand Down

0 comments on commit 0211ef8

Please sign in to comment.