aboutsummaryrefslogtreecommitdiff
path: root/src/install.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor project: build/install libspm[_static.a].so to make unit testing ↵Joseph Hunkeler2020-03-181-328/+0
| | | | possible
* spm_install_show_package() increased whitespace from 10 to 20Joseph Hunkeler2020-03-171-14/+1
| | | | * Do not inject requirements after resolving dependencies. The original package and its requirements are already in there.
* Relocate files as we go, for now.Joseph Hunkeler2020-03-111-3/+4
|
* Oh the multilib is killing meJoseph Hunkeler2020-03-041-1/+12
|
* Bug fixes:Joseph Hunkeler2020-03-031-7/+20
| | | | | | | | | | * Use strdup() instead of join() for records_topdir * Check for and die if packages do not exist in manifests, or on local disk * realloc() the length of the payload string (instead of strlen() on an integer... whoops) * Fix num_requirements not producing the correct value * ManifestPackage `origin` does not need repo_target anymore * Copy packages from non-default package storage directories to the main local package store *
* Begin consolidating paths (manifests and temp directories)Joseph Hunkeler2020-03-021-3/+5
|
* Trying to iron out a few manifest pathing issuesJoseph Hunkeler2020-02-281-31/+80
|
* Improvements:Joseph Hunkeler2020-02-281-58/+47
| | | | | | | | * 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-24/+44
| | | | | | | | * 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-37/+167
| | | | | | | | * 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/+9
|
* Refactor continues:Joseph Hunkeler2020-02-171-11/+9
| | | | | | | | | * Implement multiple manifests * Random bug fixes * More bugs added * Start removing references to SPM_GLOBAL.package_dir * Start using manifests for everything * Simplify mkmanifest_interface
* Add relocate_auto()Joseph Hunkeler2020-02-101-40/+3
| | | | * Move relocation code out of install()
* Stop using find_packageJoseph Hunkeler2020-02-041-1/+1
|
* FixesJoseph Hunkeler2019-12-301-1/+35
| | | | | | | * Verbosity++ * If no requirements are present do not to report we are installing some * Redirect all shell output to stderr (need a better way) * implemented file_is_binexec() to avoid running patchelf on generic data files
* Fix inane compiler warningsJoseph Hunkeler2019-12-301-2/+10
| | | | | | * fix rpath_set * add rpath_autoset * add internal command "rpath_set"
* Minor fixes:Joseph Hunkeler2019-12-291-2/+2
| | | | | | * size_t in place of int * Moved some variables closer to their execution scope * Add some error checks
* Fixes:Joseph Hunkeler2019-12-281-2/+14
| | | | | | | * doxygen config * doxygen @file directives * corrected stupid strip() implemention * corrected strip usage by config parser. wrong pointer.
* Started work on build helper functionsJoseph Hunkeler2019-12-281-3/+42
|
* Refactor project structureJoseph Hunkeler2019-12-181-0/+63