A python script to parse all rpm information from openEuler community
Dependencies:
- openEuler distro
- A MySQL DB backend to connect to
- Python runtime:
Python 3.9+ - rpm packages:
dnfdnf-plugins-coregccpython3-devel - pypi packages: check
requirements.txt - pypi packages for API server:
uwsgi
Install:
- From source:
git clone https://github.com/omnibuildplatform/omni-insight.git
cd omni-insight && pip install -r requirements.txt
python3 setup.py install- Using pip(currently you should download the release manually):
wget https://github.com/omnibuildplatform/omni-insight/releases/download/v0.1.1/omniinsight-0.1.1.tar.gz
pip3 install --prefix / ./omniinsight-0.1.1.tar.gz-
Modify the config file in
/etc/omni-insight/conf.yamlto match your environment. -
To start the API server:
uwsgi --ini /etc/omni-insight/insight.ini- To run the cli:
omni-insight --helpWelcome to file issues or bugs at: https://github.com/omnibuildplatform/omni-insight/issues