Skip to content

Automatic script update checks and install #125

@empus

Description

@empus

Features:

  • Add the ability for the bot to periodically check for new script updates
  • New update command to check, install, restore the last script backup, or list github branches

update <check|install|restore|branches> [branch]

  • allow -f to force downloads
  • allow -t to test download & install without moving existing files
  • create first-time use backup of the entire armour directory (safety net)
  • compare new sample config with existing values, retaining existing where they differ

Handling where multiple Armour bots run from a common eggdrop install directory:

  • automatically detect an installed update from another bot and apply it locally
  • prevent one bot from downloading updates if another bot already has a download in progress

New configuration options:

  • whether to periodically check for updates (hourly)
  • whether to send notes to global 500 users when new updates are found
  • whether to automatically install new updates (or require manual install via update command)
  • what Github branch to check and apply updates from (default: master)
  • age (in days) of old script backups to periodically delete (hourly)
  • debug mode to download and stage updates but not apply them

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestimprovementGeneral improvement to code base

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions