forked from puppetlabs/bolt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(puppetlabsGH-1871) Don't infer project name from directory name
Previously, we would infer the project name from the directory name if no name was specified in the bolt-project.yaml. This behavior proved to be confusing for users, so we now require `name` to be specified in bolt-project.yaml and otherwise will warn and not load project content. We previously recognized `<author>-<name>` directory names as valid project names (using only the `<name>` portion) as that is a common repo naming scheme for modules. As the project name must now be specified explicitly, we instead require it be simply the name portion. !deprecation * **Project names must be explicitly specified** ([puppetlabs#1871](puppetlabs#1871)) Proejct names must now be specified in `bolt-project.yaml` in order for project-level content to be loaded, rather than the name being inferred by the name of the project directory.
- Loading branch information
Showing
6 changed files
with
29 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters