README.rst
pagure-utility
==============

This repository contains a few scripts useful when running/managing a pagure
instance.


Run the scripts
---------------

To run the script, either you have a configuration file at
``/etc/pagure/pagure.cfg`` and it will use it, or you can specify one using the
environment variable ``PAGURE_CONFIG`` when calling the script.

In other words:

* if you have ``/etc/pagure/pagure.cfg``, call the script directly::

  python <script>.py

* if you want to specify the configuration file, use ``PAGURE_CONFIG``::

  PAGURE_CONFIG=/path/to/pagure.cfg python <script>.py



clean_up_user_project
~~~~~~~~~~~~~~~~~~~~~

This script can be used to delete all the projects of a specific user.