Configuration¶
# Default config. Change these in your personal ~/.config/workspace.cfg
###########################################################################################################
# Define product groups to take action upon (such as wst checkout, develop, or bump)
###########################################################################################################
[product_groups]
mzheng-repos =
git@github.com:maxzheng/workspace-tools.git
git@github.com:maxzheng/clicast.git
git@github.com:maxzheng/localconfig.git
git@github.com:maxzheng/remoteconfig.git
mzheng = workspace-tools clicast localconfig remoteconfig
###########################################################################################################
# Settings for bump command
###########################################################################################################
[bump]
# List of requirement files to check / bump dependencies in
requirement_files = requirements.txt pinned.txt
###########################################################################################################
# Settings for checkout command
###########################################################################################################
[checkout]
# API used to find git repo for single word checkout (i.e. wst checkout workspace-tools)
# It should accept a ?q=singleWord param
search_api_url = https://api.github.com/search/repositories
# URL to use when checking out a user repo reference (i.e. wst checkout maxzheng/workspace-tools)
user_repo_url = git@github.com:%s.git
# User that is mapped to the origin remote. When set, checking out a repo that does not belong to the user
# will use upstream remote. e.g. maxzheng
origin_user =
###########################################################################################################
# Settings for clean command
###########################################################################################################
[clean]
# Remove products that have not been modified since given days ago
remove_products_older_than_days =
# Remove all products except for these ones (product or group)
remove_all_products_except =
###########################################################################################################
# Settings for commit command
###########################################################################################################
[commit]
# Automatically create branch based on the first number of commit words. Set to 0 to turn off.
auto_branch_from_commit_words = 2
# When auto branching from commit words, this is the indicator that will be used to
# separate the commit branch from the parent branch, like commit_branch@parent_branch.
commit_branch_indicator = @
###########################################################################################################
# Settings for merge command
###########################################################################################################
[merge]
# Branches to merge separated by space (i.e. 3.2.x 3.3.x master)
branches =
-
workspace.config.
product_groups
()¶ Returns a dict with product group name mapped to products