Metadata-Version: 2.4
Name: rfpkgdb-cli
Version: 2.15.3
Summary: A command line tool to access the Rpmfusion Package Database.
Author-email: Pierre-Yves Chibon <pingou@pingoured.fr>
Maintainer-email: "FeRD (Frank Dana)" <ferdnyc@gmail.com>, Sérgio Basto <sergiomb@rpmfusion.org>
License-Expression: GPL-2.0-or-later
Project-URL: homepage, https://github.com/rpmfusion-infra/rfpkgdb-cli/
Project-URL: download, https://github.com/rpmfusion-infra/rfpkgdb-cli/archive/refs/tags/v2.15.2.tar.gz
Keywords: rpmfusion,cli,packages,database
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: python-bugzilla
Requires-Dist: python-rpmfusion
Requires-Dist: setuptools
Requires-Dist: six
Requires-Dist: beautifulsoup4
Dynamic: license-file

#######################
RPMFusion PackageDB-cli
#######################

:Maintainer: FeRD (Frank Dana)
:Contact: ferdnyc@gmail.com
:Date: Wed Dec 12 2018
:Version: 2.15.0rc2
:Author: Pierre-Yves Chibon <pingou@fedoraproject.org>


The `rfpkgdb-cli`_ is a command line interface to the PackageDB of RPMFusion.

.. contents::

*******
Project
*******

`PackageDB-cli <https://pagure.io/pkgdb-cli>`_
-----------------------------------------------

The `PackageDB-cli`_ was started in May of 2011 to allow user to consult the
package collection and to manage their Access Control List (ACL) using a simple
interface web free interface.

As of 2014, this project has been ported to
`pkgdb2 <https://github.com/fedora-infra/pkgdb2>`_. At this occasion, it is
has been re-written to propose a python module to query pkgdb2 API as well
as the ``pkgdb2client.cli`` module containing the command line interface and the
``pkgdb2client.admin`` module containing a command line interface for admins to
interact with `pkgdb2`_.

`rfpkgdb-cli <https://github.com/ferdnyc/rfpkgdb-cli>`_
-------------------------------------------------------

In December 2018 the package was forked and adopted at rpmfusion as
`rfpkgdb-cli`_ after being orphaned at Fedora, as it is still used
with various RPMFusion infra tools and needed to be converted for
Python 3 compatibility.

************
Installation
************

Install Prerequisites
---------------------

::

  dnf install python-fedora


Get and Run the Source
----------------------

* Install python-virtualenvwrapper

::

  dnf install python-virtualenvwrapper rpmfusion-cert

* Create the virtual environment

::

  mkvirtualenv rfpkgdb-cli --system-site-packages

* Activate the virtual environment

::

  workon rfpkgdb-cli

* Get the project

::

  git clone http://github.com/ferdnyc/rfpkgdb-cli.git
  cd rfpkgdb-cli

* Set up the project

::

  python setup.py develop

* Run pkgdb-cli or pkgdb-admin

::

  python rfpkgdb2client/cli.py
  python rfpkgdb2client/admin.py

