Repo Url Picker
Overview
This picker lets the user decide the target repository where the scaffolded component will be stored. witboost will create the repository according to the coordinates provided by the user, usually a namespace and a repository name.
Configuration
RepoUrl picker fields can be customized to provide meaningful titles and helper texts that matter to your organization and way of working.
According to the Git provider configured for being used in witboost you can have a different set of fields for the RepoUrl picker. These are all configurable fields according to your Git provider:
- GitLab
- GitHub
- BitBucket
- Azure DevOps
Optional fields:
-
allowedOwnersLabel
[string] The allowed owners' field label, that is displayed on top of the input field. -
ownerInputLabel
[string] The owner field label, that is displayed on top of the input field. -
ownerInputHelper
[string] The owner field helper text, that is displayed below the input field as an informative text. -
repositoryNameTitle
[string] The repository name field title, that is displayed on top of the input field. -
repositoryNameDescription
[string] The repository name field's description, that is displayed below the input field as an informative text.
Example:
repoUrl:
title: Repository Location
allowedOwnersLabel: Allowed Owners
ownerInputLabel: Owner
ownerInputHelper: Owner of the repository
repositoryNameTitle: Repository Name
repositoryNameDescription: Choose a repository name
type: string
ui:field: RepoUrlPicker
ui:options:
allowedHosts:
- <your gitlab host address>
Optional fields:
-
allowedOwnersLabel
[string] The allowed owners' field label, that is displayed on top of the input field. -
ownerInputLabel
[string] The owner field label, that is displayed on top of the input field. -
ownerInputHelper
[string] The owner field helper text, that is displayed below the input field as an informative text. -
repositoryNameTitle
[string] The repository name field title, that is displayed on top of the input field. -
repositoryNameDescription
[string] The repository name field's description, that is displayed below the input field as an informative text.
Example:
repoUrl:
title: Repository Location
allowedOwnersLabel: Allowed Owners
ownerInputLabel: Owner
ownerInputHelper: Owner of the repository
repositoryNameTitle: Repository Name
repositoryNameDescription: Choose a repository name
type: string
ui:field: RepoUrlPicker
ui:options:
allowedHosts:
- <your github host address>
Optional fields:
-
allowedOwnersLabel
[string] The allowed owners' field label, that is displayed on top of the input field. -
workspaceInputLabel
[string] The workspace field label, that is displayed on top of the input field. -
workspaceInputHelper
[string] The workspace field helper text, that is displayed below the input field as an informative text. -
projectInputLabel
[string] The project name field label, that is displayed on top of the input field. -
projectInputHelper
[string] The project name field helper text, that is displayed below the input field as an informative text. -
repositoryNameTitle
[string] The repository name field title, that is displayed on top of the input field. -
repositoryNameDescription
[string] The repository name field's description, that is displayed below the input field as an informative text.
Example:
repoUrl:
title: Repository Location
allowedOwnersLabel: Allowed Owners
workspaceInputLabel: Workspace
workspaceInputHelper: Type a workspace
projectInputLabel: Project
projectInputHelper: Type a project
repositoryNameTitle: Repository Name
repositoryNameDescription: Choose a repository name
type: string
ui:field: RepoUrlPicker
ui:options:
allowedHosts:
- <your bitbucket host address>
Example:
repoUrl:
title: Repository Location
type: string
ui:field: RepoUrlPicker
ui:options:
allowedOwners:
- <optional list of allowed owners (projects)>
allowedOrganizations:
- <optional list of allowed organizations>
allowedHosts:
- <your azure host address>
allowedRepos:
- <optional list of allowed repos>