aboutsummaryrefslogtreecommitdiff
path: root/lib/manifest.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace atoi usageJoseph Hunkeler2020-06-241-3/+2
|
* Move SPM_GLOBAL.repo_target string usage out of mirror_cloneJoseph Hunkeler2020-06-221-11/+3
| | | | * Assign targets from inside spm.c instead of external manifest/mirror functions
* Do not auto-complete manifest endpointJoseph Hunkeler2020-06-081-6/+0
|
* Refactor fstree (#39)Joseph Hunkeler2020-06-031-10/+14
| | | | | | | | | | | | | | | * Refactor fstree, fstree_free, FSTree type * Add FSRec structure * Refactor fstree usage * Decrease starting size of FSTree structure * Check if ManifestPackage is NULL, not if the requirements array if NULL * Use num_requirements instead of '!= NULL' * Add fstree test
* Empty manifests are OK hereJoseph Hunkeler2020-04-201-5/+0
|
* hmmJoseph Hunkeler2020-04-191-2/+2
|
* Better reporting when a package does not existJoseph Hunkeler2020-04-191-2/+19
| | | | | | | | * Add additional errors * Fix user_input function missing an error return value * spmbuild sources a temporary file instead of output from a sub-shell * Fix indentation problem * A reason can be attached to spmerrno using spmerrno_cause()
* spm_mkdtemp requires a base directory:Joseph Hunkeler2020-04-181-2/+2
| | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS)
* Fix segfault caused by freeing records for no reason:Joseph Hunkeler2020-03-261-6/+6
| | | | * split() returns the input string when no delimiters are found
* Bugfix: Replace char &reference with const char[] string.Joseph Hunkeler2020-03-251-2/+2
|
* Fix a few memory leaks:Joseph Hunkeler2020-03-251-3/+13
| | | | * Cannot free array of manifests successfully though... TODO
* Add .circleci/config.ymlJoseph Hunkeler2020-03-251-6/+6
|
* Refactor project: build/install libspm[_static.a].so to make unit testing ↵Joseph Hunkeler2020-03-181-0/+668
possible