Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Check for error when opening path_manifest | Joseph Hunkeler | 2020-03-03 | 1 | -1/+5 | |
| | ||||||
* | Add missing LF in usage | Joseph Hunkeler | 2020-03-03 | 1 | -1/+1 | |
| | ||||||
* | Bug fixes: | Joseph Hunkeler | 2020-03-03 | 1 | -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 Hunkeler | 2020-03-02 | 4 | -40/+39 | |
| | ||||||
* | Refactor startswith() and endswidth() usage | Joseph Hunkeler | 2020-03-02 | 6 | -10/+17 | |
| | ||||||
* | Simplify startswith() and endswidth() calls to avoid looking at API | Joseph Hunkeler | 2020-03-02 | 1 | -7/+7 | |
| | ||||||
* | Trying to iron out a few manifest pathing issues | Joseph Hunkeler | 2020-02-28 | 4 | -60/+132 | |
| | ||||||
* | Improvements: | Joseph Hunkeler | 2020-02-28 | 8 | -84/+261 | |
| | | | | | | | | * 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 | |||||
* | Fix off-by-one error in config parser | Joseph Hunkeler | 2020-02-28 | 1 | -14/+29 | |
| | ||||||
* | Add join_ex() [simplified join() function] | Joseph Hunkeler | 2020-02-28 | 1 | -0/+59 | |
| | ||||||
* | Multiple things: | Joseph Hunkeler | 2020-02-26 | 9 | -69/+325 | |
| | | | | | | | | * 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: | Joseph Hunkeler | 2020-02-25 | 1 | -60/+42 | |
| | | | | | | | * Move installation code out * Refactor spm_* variable names * Add missing arguments to usage * Add --yes (-y) argument to disable interactive prompts | |||||
* | Fix invalid array access on short strings | Joseph Hunkeler | 2020-02-25 | 1 | -3/+9 | |
| | ||||||
* | Break out of scanning loop when a match is discovered | Joseph Hunkeler | 2020-02-25 | 1 | -1/+2 | |
| | ||||||
* | Free ManifestPackage variables | Joseph Hunkeler | 2020-02-25 | 1 | -1/+4 | |
| | ||||||
* | Refactor spm_* directory names: | Joseph Hunkeler | 2020-02-25 | 1 | -20/+23 | |
| | | | | * Add spm_pkgconfigdir | |||||
* | Refactor installation: | Joseph Hunkeler | 2020-02-25 | 1 | -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 spm_mkdtemp() function | Joseph Hunkeler | 2020-02-25 | 1 | -1/+17 | |
| | ||||||
* | Implement prompt_user flag | Joseph Hunkeler | 2020-02-25 | 1 | -0/+1 | |
| | ||||||
* | Add user_input.c to cmake | Joseph Hunkeler | 2020-02-25 | 1 | -2/+2 | |
| | ||||||
* | Initial commit of user_input.[c,h] | Joseph Hunkeler | 2020-02-25 | 1 | -0/+46 | |
| | ||||||
* | Add pkg-config environment variable | Joseph Hunkeler | 2020-02-24 | 1 | -0/+4 | |
| | ||||||
* | Rename ambiguous variables | Joseph Hunkeler | 2020-02-24 | 1 | -96/+32 | |
| | | | | * Hook up resolve.c functions | |||||
* | Replace deps.c with resolve.c | Joseph Hunkeler | 2020-02-24 | 1 | -1/+1 | |
| | ||||||
* | Add install_show_package() | Joseph Hunkeler | 2020-02-24 | 1 | -0/+9 | |
| | ||||||
* | Add comparison function, refactor defines | Joseph Hunkeler | 2020-02-24 | 1 | -18/+35 | |
| | ||||||
* | Initial commit of resolve.c (deps.c replacement) | Joseph Hunkeler | 2020-02-24 | 1 | -0/+47 | |
| | ||||||
* | Remove deps.c | Joseph Hunkeler | 2020-02-24 | 1 | -223/+0 | |
| | ||||||
* | Metadata: | Joseph Hunkeler | 2020-02-20 | 4 | -8/+8 | |
| | | | | | | | * Add .SPM_FILELIST * Add .SPM_DESCRIPTOR * Add generators for both to spmbuild Add new metadata to runtime and arrays | |||||
* | Fix increment warning | Joseph Hunkeler | 2020-02-19 | 1 | -2/+1 | |
| | ||||||
* | Finish removing find_package calls: | Joseph Hunkeler | 2020-02-19 | 2 | -15/+13 | |
| | | | | * Add a root search path to dependency functions | |||||
* | Update cmake configs | Joseph Hunkeler | 2020-02-18 | 1 | -6/+0 | |
| | ||||||
* | Decrease verbosity during installation (unless requested) | Joseph Hunkeler | 2020-02-18 | 1 | -10/+18 | |
| | ||||||
* | Allow compilation on OSX. Not much else I assume | Joseph Hunkeler | 2020-02-18 | 3 | -3/+14 | |
| | ||||||
* | Add missing formatter strings | Joseph Hunkeler | 2020-02-18 | 2 | -2/+2 | |
| | ||||||
* | Rework dependency scanning: | Joseph Hunkeler | 2020-02-18 | 6 | -54/+102 | |
| | | | | | | | | | * Stop resolving dependencies during manifest creation * Resolve dependencies by path * Die on failure to resolve * Fixed an off-by-one error in manifest_read * Add CLI argument -M|--override-manifest to disable default manifest(s) * Clean up expandpath() a bit | |||||
* | Refactor continues: | Joseph Hunkeler | 2020-02-17 | 12 | -115/+160 | |
| | | | | | | | | | * 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 | |||||
* | Implement ManifestList: | Joseph Hunkeler | 2020-02-13 | 2 | -26/+119 | |
| | | | | * Initial support for multiple manifests at once | |||||
* | Begin refactoring to support multiple manifests: | Joseph Hunkeler | 2020-02-13 | 4 | -17/+58 | |
| | | | | | * Add more commands useful for building packages * Fix mkmanifest_interface not looking for the correct number of arguments | |||||
* | Add get_package_ext and check_rt_env command interfaces | Joseph Hunkeler | 2020-02-11 | 1 | -2/+31 | |
| | ||||||
* | Refactor project structure: | Joseph Hunkeler | 2020-02-11 | 2 | -1/+2 | |
| | | | | | * Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header | |||||
* | Do not modify PATH anymore | Joseph Hunkeler | 2020-02-10 | 1 | -13/+2 | |
| | ||||||
* | Clean up record allocation | Joseph Hunkeler | 2020-02-10 | 1 | -3/+1 | |
| | ||||||
* | Fix RPATH generation: | Joseph Hunkeler | 2020-02-10 | 1 | -28/+34 | |
| | | | | | * Continue processing if a lib directory does not contain NEEDED libraries * Clean up a few allocations | |||||
* | Add relocate_auto() | Joseph Hunkeler | 2020-02-10 | 2 | -40/+52 | |
| | | | | * Move relocation code out of install() | |||||
* | Match more possible mime types | Joseph Hunkeler | 2020-02-10 | 1 | -1/+1 | |
| | ||||||
* | Add a few comments | Joseph Hunkeler | 2020-02-10 | 1 | -0/+5 | |
| | ||||||
* | Add shlib.c to build | Joseph Hunkeler | 2020-02-07 | 1 | -1/+1 | |
| | ||||||
* | Fix missing equals in -rpath argument | Joseph Hunkeler | 2020-02-07 | 1 | -1/+1 | |
| | ||||||
* | Use libraries associated with a program to determine lib directory | Joseph Hunkeler | 2020-02-07 | 1 | -5/+21 | |
| |