Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G girara
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwmtpwmt
  • girara
  • Merge requests
  • !8

add configuration option check

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open valoq requested to merge valoq/girara:develop into develop Dec 23, 2022
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

This adds a new function girara_config_check() to girara which can be used to check the presents of a specified option and corresponding value inside the configuration files.

Unlike girara_config_parse(), which directly saves the parsed configuration values into a girara session, this new function can be used before girara session or any UI elements have been initialized.

This allows the verification of a configuration setting before girara_config_parse() can be used.

Related bug: zathura#276

Edited Dec 23, 2022 by valoq
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: develop