-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support
:owner/:repo
template in repoPaths
configuration
Previously, we supported a "wildcard" mapping like ``` user1/*: /path/to/user1_repos/* ``` to map any repository owned by `user1` to the directory of the same name within `/path/to/user1_repos`. But for folks who store all GitHub repositories under a path that includes the owner's name and the repo's name, this would still require them to enter a wildcard entry for every owner. To avoid that, we're introducing support for an `:owner/:repo` template in the `repoPaths` configuration. Now we can specify a `repoPaths` entry like: ``` :owner/:repo: /path/to/github.com/:owner/:repo ``` which will cover everything. It can still be overridden with individual entries that specify either an exact repository or a specific owner wildcard. In case the configured path includes the :`owner` or `:`repo substitution multiple times, we will replace all occurrences.
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 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