Skip to content

Redesign configuration #4

@devnote-dev

Description

@devnote-dev

The configuration file has been a bit of a confusing mess for a while, the following changes should make it clearer and easier to use:

  • Repo:
    • Address: the repository address
    • The authorization token for the repository
  • Panel:
    • URL: the panel URL
    • Key: the account API key
    • ID: the target server ID
  • Files:
    • Include: a list of file paths or patterns to include
    • Exclude: a list of file paths or patterns to exclude
    • Backup: whether a backup of the current files should be made
    • Truncate: whether the current files should be removed
  • Signal:
    • Kill: whether the server should be killed or stopped
    • Timeout: the amount of time in milliseconds to wait after sending the signal

The pre_run and post_run hooks will no longer be used. Repository authentication is still experimental.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis is a breaking changeenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions