aboutsummaryrefslogtreecommitdiff
path: root/include/install.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement package data emitterJoseph Hunkeler2020-06-081-1/+4
|
* Implement error handlingJoseph Hunkeler2020-04-191-0/+2
| | | | * Die on bad root directory
* doxygen: add missing @file to each headerJoseph Hunkeler2020-03-181-0/+3
|
* Improvements:Joseph Hunkeler2020-02-281-7/+5
| | | | | | | | * Refactored a few function names * Can read package metadata * Can delete packages * Can download! and install packages at the same time * Can prompt the user before proceeding
* Multiple things:Joseph Hunkeler2020-02-261-4/+5
| | | | | | | | * Add strdup_array() * Begin consolidating spm root information into SPM_Hierarchy * Begin consolidating metadata * Begin trimming repeated code (mostly file reading) * Store information about installed packages under [root]/var/db/records
* Refactor installation:Joseph Hunkeler2020-02-251-1/+4
| | | | | | | | * install() accepts a temporary directory as an argument * Add install_package_record() * Add is_installed() * Add do_install() wrapper * Use spm_user_yesno() before installation
* Add install_show_package()Joseph Hunkeler2020-02-241-0/+1
|
* Refactor project structure:Joseph Hunkeler2020-02-111-0/+7
* Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header