Files
slackbuilder/config/config.toml.example
Eugen Wissner 08a9d7f183
All checks were successful
Build / audit (push) Successful in 10s
Build / test (push) Successful in 12m44s
Build / release (push) Successful in 12m15s
Add package configuration examples
2025-09-26 16:37:26 +02:00

62 lines
2.2 KiB
Plaintext

## Global options
# Accessing GitHub APIs is only possible using a personal access token. The
# token doesn't need any scopes set since it is used to query public
# repositories.
gh_token = ""
# Relative path to a cloned SBo repository.
repository = "./slackbuilds"
# After one package is updated a commit is created on this branch. The branch is
# not pushed or reset automatically.
branch = "user/nick/updates"
# If some packages use custom sources and these sources a generated during the
# update, this option specifies the base URL where the sources can be downloaded
# afterwads. The full URL written into the .info file contains download_url,
# followed by the package name and source file name. This option should probably
# be configured consistently with the remote_path.
download_url = "https://example.com/some/path"
# If a package updater generates a source tarball, the tarball is uploaded with
# a command given in this parameter. The parameter is a array where the first
# element is the command with the following elements being the command
# arguments. The command supports 2 placeholders:
# %s - Path to the source archive.
# %c - Package category.
upload_command = ["scp", "%s", "example.com:/srv/httpd/some/path/%c"]
## Maintainer specific options
[maintainer]
# Whether the git commits should be signed with a GPG signature using the
# default key.
signature = false
## Package configurations.
# [[package]] # Packagist package registry.
# name = "composer"
# template = "https://getcomposer.org/download/{version}/composer.phar"
# is64 = false
# version = "\\."
# packagist = { owner = "composer", name = "composer" }
#
# [[package]] # GitHub release.
# name = "jq"
# template = "https://github.com/jqlang/jq/releases/download/jq-{version}/jq-{version}.tar.gz"
# is64 = false
# version = "(jq-)\\."
# github = { owner = "jqlang", name = "jq" }
#
# [[package]] # Find the latest version by analyzing a release page.
# name = "webex"
# template = "https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb"
# is64 = true
# version = "(Linux—)*"
# text = {
# url = "https://help.webex.com/en-us/article/mqkve8/Webex-App-%7C-Release-notes",
# picker = ["grep", "-oh", "Linux—[[:digit:].]\\+"]
# }