slackbuilder/config/config.toml.example
Eugen Wissner f8ef93fde7
All checks were successful
Build / audit (push) Successful in 13m47s
Build / test (push) Successful in 14m16s
Support a custom upload command
2024-05-11 19:01:41 +02:00

36 lines
1.4 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