Ampera d9cf77b970 | ||
---|---|---|
LICENSE | ||
README.md | ||
extensions.json | ||
fetch.ps1 | ||
objects.ps1 | ||
settings.json |
README.md
openwiki-extensionfetcher
USE AT YOUR OWN RISK
ExtensionFetcher is a simple as it needs to be package manager for MediaWiki extensions, written in PowerShell. At present, it's capable of fetching extensions from github repos (including tags) and the System Theta gitea. Additional functionality, like arbitrary archive URLs, support for skins, versioning, more safety, and automatic running/config of composer is likely to come.
CONFIGURATION
extensions.json
This file is effectively the sources list for extensions. An example is present in the root of this repository, which matches the extension fetch list used on the live OpenWiki stack.
settings.json
Basic settings for the package manager itself. ExtOwnership is what installed extensions will be chown'd to, DefaultDir is where extensions are installed, and DefaultBranch is the branch extensions will be fetched from if no branch is specified.
USAGE:
./fetch.ps1 -config [$PSScriptRoot/settings.json] -list [$PSScriptRoot/extensions.json] -fetchonly [Names]