mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-27 22:31:43 +00:00
* refine package logging * add interface * revert version selection * replace tuple with model * rename column in logs table, add coverters * generate process identifier for child proocesses
293 lines
8.6 KiB
INI
293 lines
8.6 KiB
INI
[settings]
|
|
; Relative path to directory with configuration files overrides. Overrides will be applied in alphabetic order.
|
|
include = ahriman.ini.d
|
|
; Relative path to configuration used by logging package.
|
|
logging = ahriman.ini.d/logging.ini
|
|
; Perform database migrations on the application start. Do not touch this option unless you know what you are doing.
|
|
;apply_migrations = yes
|
|
; Path to the application SQLite database.
|
|
database = ${repository:root}/ahriman.db
|
|
; Keep last build logs for each package
|
|
keep_last_logs = 5
|
|
|
|
[alpm]
|
|
; Path to pacman system database cache.
|
|
database = /var/lib/pacman
|
|
; Arch linux mirror used by local pacman for synchronization.
|
|
mirror = https://geo.mirror.pkgbuild.com/$repo/os/$arch
|
|
; Space separated list of pacman repositories to search for packages.
|
|
repositories = core extra multilib
|
|
; Pacman's root directory. In the most cases it must point to the system root.
|
|
root = /
|
|
; Sync files databases too, which is required by deep dependencies check.
|
|
sync_files_database = yes
|
|
; Use local packages cache. If this option is enabled, the service will be able to synchronize databases (available
|
|
; as additional option for some subcommands). If set to no, databases must be synchronized manually.
|
|
use_ahriman_cache = yes
|
|
|
|
[build]
|
|
; List of additional flags passed to archbuild command.
|
|
;archbuild_flags =
|
|
; Path to build command.
|
|
;build_command =
|
|
; List of packages to be ignored during automatic updates.
|
|
;ignore_packages =
|
|
; Include debug packages.
|
|
;include_debug_packages = yes
|
|
; List of additional flags passed to makechrootpkg command.
|
|
;makechrootpkg_flags =
|
|
; List of additional flags passed to makepkg command.
|
|
makepkg_flags = --nocolor --ignorearch
|
|
; List of paths to be used for implicit dependency scan. Regular expressions are supported.
|
|
scan_paths = ^usr/lib(?!/cmake).*$
|
|
; List of enabled triggers in the order of calls.
|
|
triggers[] = ahriman.core.gitremote.RemotePullTrigger
|
|
triggers[] = ahriman.core.report.ReportTrigger
|
|
triggers[] = ahriman.core.upload.UploadTrigger
|
|
triggers[] = ahriman.core.gitremote.RemotePushTrigger
|
|
; List of well-known triggers. Used only for configuration purposes.
|
|
triggers_known[] = ahriman.core.gitremote.RemotePullTrigger
|
|
triggers_known[] = ahriman.core.gitremote.RemotePushTrigger
|
|
triggers_known[] = ahriman.core.report.ReportTrigger
|
|
triggers_known[] = ahriman.core.upload.UploadTrigger
|
|
; Maximal age in seconds of the VCS packages before their version will be updated with its remote source.
|
|
;vcs_allowed_age = 604800
|
|
|
|
[repository]
|
|
; Application root.
|
|
root = /var/lib/ahriman
|
|
|
|
[sign]
|
|
; Enable repository or package signing. Must be one of repository, package.
|
|
target =
|
|
; PGP key used for signing as default.
|
|
;key =
|
|
|
|
[status]
|
|
; Global switch to enable or disable status reporting.
|
|
enabled = yes
|
|
; Address of the remote service, e.g.:
|
|
; address = http://127.0.0.1:8080
|
|
; In case if unix sockets are used, it might point to the valid socket with encoded path, e.g.:
|
|
; address = http+unix://%2Fvar%2Flib%2Fahriman%2Fsocket
|
|
;address = http://${web:host}:${web:port}
|
|
; Optional password for authentication (if enabled).
|
|
;password =
|
|
; Do not log HTTP errors if occurs.
|
|
suppress_http_log_errors = yes
|
|
; HTTP request timeout in seconds.
|
|
;timeout = 30
|
|
; Optional username for authentication (if enabled).
|
|
;username =
|
|
|
|
[remote-pull]
|
|
; List of configuration section names for git remote pull plugin, e.g.:
|
|
; target = remote-pull-trigger
|
|
target =
|
|
|
|
; git remote pull trigger sample.
|
|
;[remote-pull-trigger]
|
|
; Valid URL to pull repository, e.g.:
|
|
; pull_url = https://github.com/arcan1s/arcanisrepo.git
|
|
;pull_url =
|
|
; Remote branch to pull.
|
|
;pull_branch = master
|
|
|
|
[remote-push]
|
|
; List of configuration section names for git remote push plugin, e.g.:
|
|
; target = remote-push-trigger
|
|
target =
|
|
|
|
; git remote push trigger sample.
|
|
;[remote-push-trigger]
|
|
; Author commit email.
|
|
;commit_email = ahriman@localhost
|
|
; Author commit user.
|
|
;commit_user = ahriman
|
|
; Valid URL to push repository, e.g.:
|
|
; push_url = https://key:token@github.com/arcan1s/arcanisrepo.git
|
|
; Note, that more likely authentication must be enabled.
|
|
;push_url =
|
|
; Remote branch to push.
|
|
;push_branch = master
|
|
|
|
[report]
|
|
; List of configuration section names for reporting plugin.
|
|
target = console
|
|
|
|
; Console reporting trigger configuration sample.
|
|
[console]
|
|
; Trigger type name.
|
|
;type = console
|
|
; Use utf8 symbols in output.
|
|
use_utf = yes
|
|
|
|
; Email reporting trigger configuration sample.
|
|
[email]
|
|
; Trigger type name.
|
|
;type = email
|
|
; Optional URL to the repository homepage.
|
|
;homepage=
|
|
; SMTP server address.
|
|
;host =
|
|
; Prefix for packages links. Link to a package will be formed as link_path / filename.
|
|
;link_path =
|
|
; Skip report generation if no packages were updated.
|
|
;no_empty_report = yes
|
|
; SMTP password.
|
|
;password =
|
|
; SMTP server port.
|
|
;port =
|
|
; List of emails to receive the reports.
|
|
;receivers =
|
|
; Optional link to the RSS feed.
|
|
;rss_url =
|
|
; Sender email.
|
|
;sender =
|
|
; SMTP server SSL mode, one of ssl, starttls, disabled.
|
|
;ssl = disabled
|
|
; Template name to be used.
|
|
template = email-index.jinja2
|
|
; Template name to be used for full packages list generation (same as HTML report).
|
|
;template_full =
|
|
; List of directories with templates.
|
|
templates[] = ${prefix}/share/ahriman/templates
|
|
; SMTP user.
|
|
;user =
|
|
|
|
; HTML reporting trigger configuration sample.
|
|
[html]
|
|
; Trigger type name.
|
|
;type = html
|
|
; Optional URL to the repository homepage.
|
|
;homepage=
|
|
; Prefix for packages links. Link to a package will be formed as link_path / filename.
|
|
;link_path =
|
|
; Output path for the HTML report.
|
|
;path =
|
|
; Optional link to the RSS feed.
|
|
;rss_url =
|
|
; Template name to be used.
|
|
template = repo-index.jinja2
|
|
; List of directories with templates.
|
|
templates[] = ${prefix}/share/ahriman/templates
|
|
|
|
; Remote service callback trigger configuration sample.
|
|
[remote-call]
|
|
; Trigger type name.
|
|
;type = remote-call
|
|
; Call for AUR packages update.
|
|
;aur = no
|
|
; Call for local packages update.
|
|
;local = no
|
|
; Call for manual packages update.
|
|
;manual = no
|
|
; Wait until remote process will be terminated in seconds.
|
|
;wait_timeout = -1
|
|
|
|
; RSS reporting trigger configuration sample.
|
|
[rss]
|
|
; Trigger type name.
|
|
;type = rss
|
|
; Optional URL to the repository homepage.
|
|
;homepage=
|
|
; Prefix for packages links. Link to a package will be formed as link_path / filename.
|
|
;link_path =
|
|
; Output path for the RSS report.
|
|
;path =
|
|
; Optional link to the RSS feed.
|
|
;rss_url =
|
|
; Template name to be used.
|
|
template = rss.jinja2
|
|
; List of directories with templates.
|
|
templates[] = ${prefix}/share/ahriman/templates
|
|
|
|
; Telegram reporting trigger configuration sample.
|
|
[telegram]
|
|
; Trigger type name.
|
|
;type = telegram
|
|
; Telegram bot API key.
|
|
;api_key =
|
|
; Telegram chat ID.
|
|
;chat_id =
|
|
; Optional URL to the repository homepage.
|
|
;homepage=
|
|
; Prefix for packages links. Link to a package will be formed as link_path / filename.
|
|
;link_path =
|
|
; Optional link to the RSS feed.
|
|
;rss_url =
|
|
; Template name to be used.
|
|
template = telegram-index.jinja2
|
|
; Telegram specific template mode, one of MarkdownV2, HTML or Markdown.
|
|
;template_type = HTML
|
|
; List of directories with templates.
|
|
templates[] = ${prefix}/share/ahriman/templates
|
|
; HTTP request timeout in seconds.
|
|
;timeout = 30
|
|
|
|
[upload]
|
|
; List of configuration section names for remote upload plugin, e.g.:
|
|
; target = rsync s3
|
|
target =
|
|
|
|
; GitHub upload trigger configuration sample.
|
|
[github]
|
|
; Trigger type name.
|
|
;type = github
|
|
; GitHub repository owner username.
|
|
;owner =
|
|
; GitHub API key. public_repo (repo) scope is required.
|
|
;password =
|
|
; GitHub repository name.
|
|
;repository =
|
|
; HTTP request timeout in seconds.
|
|
;timeout = 30
|
|
; Include repository name to release name (recommended).
|
|
;use_full_release_name = no
|
|
; GitHub authentication username.
|
|
;username =
|
|
|
|
; Remote instance upload trigger configuration sample.
|
|
[remote-service]
|
|
; Trigger type name.
|
|
;type = remote-service
|
|
; HTTP request timeout in seconds.
|
|
;timeout = 30
|
|
|
|
; rsync upload trigger configuration sample.
|
|
[rsync]
|
|
; Trigger type name.
|
|
;type = rsync
|
|
; rsync command to run.
|
|
command = rsync --archive --compress --partial --delete
|
|
; Remote address and directory to sync, e.g.:
|
|
; remote = ahriman@10.0.0.1:/srv/repo
|
|
;remote =
|
|
|
|
; S3 upload trigger configuration sample.
|
|
[s3]
|
|
; Trigger type name.
|
|
;type = s3
|
|
; AWS services access key.
|
|
;access_key =
|
|
; AWS S3 bucket name.
|
|
;bucket =
|
|
; Chunk size tp calculate ETags. Do not edit this value.
|
|
;chunk_size = 8388608
|
|
; Optional path prefix for stored objects.
|
|
;object_path =
|
|
; AWS S3 bucket region.
|
|
;region =
|
|
; AWS services secret key.
|
|
;secret_key =
|
|
|
|
; Remote worker configuration sample.
|
|
;[worker]
|
|
; Remotely reachable address of this instance, e.g.:
|
|
; address = http://10.0.0.1:8080
|
|
;address =
|
|
; Unique identifier of this instance if any.
|
|
;identifier =
|
|
; Maximum amount of time in seconds after which worker will be considered offline in case of no reports.
|
|
;time_to_live = 60
|