Change database dump format + add import & export scripts
The new format allows for downloading and importing only a part of the database - useful when only the metadata is required - and doesn't include the wasteful preformatted HTML cache. This also ensures that the new import.sql script is actually usable and in sync with the actual database. The old schema.sql was neither. (And this simplifies my backup scripts)
This commit is contained in:
parent
23b2686672
commit
902048e282
8 changed files with 273 additions and 141 deletions
|
|
@ -24,7 +24,6 @@ Ironically, documentation about how things work is completely lacking.
|
|||
|
||||
- **indexer/** -> The Rust program that scans package repositories for updates, fetches new packages and extracts the man pages.
|
||||
- **ManUtils/** -> Perl/XS helper module to format man pages into HTML (uses **web/**).
|
||||
- **sql/** -> Database schema & updates.
|
||||
- **util/** -> Cron job and scripts to run **indexer/** on the right repositories.
|
||||
- **web/** -> Badly named Rust library to convert man pages into HTML.
|
||||
- **www/** -> The web front-end.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue