Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitexsoftware/debs-to-sql
Index Debian package repository into SQL
https://github.com/vitexsoftware/debs-to-sql
debian debian-packaging pdo
Last synced: about 11 hours ago
JSON representation
Index Debian package repository into SQL
- Host: GitHub
- URL: https://github.com/vitexsoftware/debs-to-sql
- Owner: VitexSoftware
- License: mit
- Created: 2021-03-18T08:10:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T09:10:11.000Z (3 months ago)
- Last Synced: 2024-11-28T10:21:52.953Z (3 months ago)
- Topics: debian, debian-packaging, pdo
- Language: PHP
- Homepage:
- Size: 5.26 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEBs-to-SQL
SQL Database of debian packages and its contents indexer![Project Logo](debs2sql.svg?raw=true)
Installation
------------You can use our repo:
```shell
sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install debs2sql
```Configuration
-------------edit /etc/debs2sql/.env :
```
APP_DEBUG=true
EASE_LOGGER=syslog|console see
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=debs2sql
DB_USERNAME=debs2sql
DB_PASSWORD=debs2sql
EMAIL_FROM=debs2sql@localhost
SEND_INFO_TO=admin@localhost
REPO_DIR=/home/vitex/WWW/repo.vitexsoftware.cz/
```See https://github.com/VitexSoftware/php-ease-core for EASE_LOGGER options
See https://github.com/VitexSoftware/php-ease-fluentpdo for DB_CONNECTION optionsand run debs2sql-phinx to prepare database structure
Usage
-----simply run
```shell
debs2sql
```to index all new packages into database
![Results](result.png?raw=true)