mirror of
https://github.com/VitexSoftware/DEBs-to-SQL.git
synced 2026-04-04 06:00:05 +00:00
No description
Unsatisfied dependencies: debs2sql : Depends: php-league-commonmark (>= 2.8.2) but 2.7.0-1 is to be installed |
||
|---|---|---|
| .github | ||
| .vscode | ||
| bin | ||
| db/migrations | ||
| debian | ||
| example | ||
| nbproject | ||
| src | ||
| tests | ||
| web | ||
| .env.example | ||
| .gitignore | ||
| .php-cs-fixer.dist.php | ||
| composer.json | ||
| debs2sql.svg | ||
| io.github.vitexsoftware.debs2sql.metainfo.xml | ||
| LICENSE | ||
| Makefile | ||
| phinx-adapter.php | ||
| phpstan-default-baseline.neon | ||
| phpstan-default.neon.dist | ||
| phpunit.xml | ||
| README.md | ||
| repository-open-graph.png | ||
| repository-open-graph.xcf | ||
| result.png | ||
| WARP.md | ||
DEBs-to-SQL
SQL Database of debian packages and its contents indexer
Installation
You can use our repo:
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 options
and run debs2sql-phinx to prepare database structure
Usage
simply run
debs2sql
to index all new packages into database
