0.01
Low commit activity in last 3 years
A long-lived project that still receives updates
Package indexer for git-based ReaPack repositories
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 5.8
~> 12.0
~> 0.11

Runtime

~> 0.7
~> 0.3
~> 1.7
~> 1.0
 Project Readme

Package indexer for git-based ReaPack repositories

Parent project: https://github.com/cfillion/reapack
Subproject: https://github.com/cfillion/metaheader

Gem Version Test status Donate

Installation

Ruby v2.4 or newer must be installed on your computer in order to install and use this software.
Run the following command from a command prompt (eg. cmd.exe, Terminal.app, XTerm) to install reapack-index:

gem install reapack-index

Usage

reapack-index [options] [path-to-your-repository]
Modes:
    -c, --check                      Test every package including uncommited changes and exit
    -s, --scan [PATH|COMMIT]         Scan new commits (default), a path or a specific commit
        --no-scan                    Do not scan for new commits
        --rebuild                    Clear the index and rescan the whole git history
Indexer options:
    -a, --[no-]amend                 Update existing versions
    -i, --ignore PATH                Don't check or index any file starting with PATH
    -o, --output FILE=./index.xml    Set the output filename and path for the index
        --[no-]strict                Enable strict validation mode
    -U, --url-template TEMPLATE=auto Set the template for implicit download links
Repository metadata:
    -n, --name NAME                  Set the name shown in ReaPack for this repository
    -l, --link LINK                  Add or remove a website link
        --screenshot-link LINK       Add or remove a screenshot link
        --donation-link LINK         Add or remove a donation link
        --ls-links                   Display the link list then exit
    -A, --about=FILE                 Set the about content from a file
        --remove-about               Remove the about content from the index
        --dump-about                 Dump the raw about content in RTF and exit
Misc options:
        --[no-]progress              Enable or disable progress information
    -V, --[no-]verbose               Activate diagnosis messages
    -C, --[no-]commit                Select whether to commit the modified index
        --prompt-commit              Ask at runtime whether to commit the index
    -m, --commit-template MESSAGE    Customize the commit message. Supported placeholder: $changelog
    -W, --warnings                   Enable warnings
    -w, --no-warnings                Turn off warnings
    -q, --[no-]quiet                 Disable almost all output
        --no-config                  Bypass the configuration files
    -v, --version                    Display version information
    -h, --help                       Prints this help

A getting started guide and packaging documentation are available in the wiki.

Configuration

Options can be specified from the command line or stored in configuration files. The syntax is the same as the command line, but with a single option per line.

The settings are applied in the following order:

  • ~/.reapack-index.conf (~ = home directory)
  • ./.reapack-index.conf (. = repository root)
  • command line