A simple QGIS repository generator written in Rust.
A single binary that allows to generate a QGIS repository index XML file for a plugins directory by extracting metadata from plugins archives.
qgsrepo [OPTIONS] ROOT URL
root a directory containing plugin archives
url a repository url for the "download_url" entry
-h,--help show this help message and exit
-o,--output OUTPUT an output file name, default is "plugins.xml" in a
repository root
--no-icons do not extract icons
--icons-dir ICONS_DIR a root subdirectory for icons, default is "icons"
-s,--strict strict metadata check
-f,--force rewrite an output file if exists
-v,--version show version and exit
- Install the Rust compiler and Cargo
- Clone sources:
git clone git@github.com:mentaljam/qgsrepo.git
- Enter the source directory:
cd qgsrepo
- Run cargo build command:
cargo build --release
After build run target\release\build_msi.bat
(WiX toolset is required).
The latest windows installer package is available in the releases section.
On Linux systems QgsRepo can be installed with a snap package from The Ubuntu Store: sudo snap install qgsrepo
.