summaryrefslogtreecommitdiffstats
path: root/lib/package.sh
Commit message (Collapse)AuthorAgeFilesLines
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-131-86/+31
| | | | | | | | | | Shift arguments and abort instead of returning 125. Incorrect numbers of function arguments suggest application/library incompatibilities or serious errors by the application developer. Either way, the application developer should be made immediately aware of this (and not allowed to simply not check return values), and continuing to run and handle any further API calls may be unsafe.
* lib/package.sh: Update copyright yearsPatrick McDermott2019-03-121-1/+1
|
* ob_get_binary_packages(): Drop echo along with unnecessary assignmentPatrick McDermott2019-03-121-4/+2
|
* ob_get_binary_packages(), _ob_set_binary_parameter(): Replace echo and grep ↵Patrick McDermott2019-03-121-9/+10
| | | | with case
* ob_get_binary_packages(): Fix indentationPatrick McDermott2019-03-121-2/+2
|
* lib/control.sh, lib/package.sh: Replace echo with here-document in tr commandsPatrick McDermott2019-03-121-13/+33
|
* *ob_[gs]et_*_parameter(): Make validation more immediately clearPatrick McDermott2019-03-121-20/+12
|
* _ob_set_*_parameter(): Don't expand escaped value early in evalPatrick McDermott2019-03-121-8/+2
|
* ob_get_*_parameter(): Drop echo and improve quotes in eval cmdsPatrick McDermott2019-03-121-2/+2
|
* Use (or plan to use) _ob_warn_msg()Patrick McDermott2019-03-111-13/+3
|
* libopkbuild: Move function definitions before points of usePatrick McDermott2018-12-251-12/+12
|
* libopkbuild: Update header comments, copyright years, & licensePatrick McDermott2018-12-241-9/+9
|
* libopkbuild: Initialize OPTIND before getoptsPatrick McDermott2018-12-241-0/+2
| | | | | See commit 0f5caf14a3124c24f38f340fd6504532f07d9617 for more information.
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-4/+0
|
* ob_get_binary_packages(): Use printf not echoP. J. McDermott2014-09-211-1/+1
|
* lib/*.sh, lib/*/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* lib/*.sh, lib/*/*.sh: Rewrite include guards.P. J. McDermott2013-08-181-2/+2
| | | | This is one step toward adding `set -u` to opkbuild.
* lib/package.sh: Remove _ob_local.P. J. McDermott2013-08-181-176/+151
|
* Reduce platforms in ob_get_binary_packages().P. J. McDermott2012-11-051-2/+11
|
* Refactor ob_get_binary_packages() arch reduction.P. J. McDermott2012-11-051-11/+8
|
* ob_get_binary_packages: use ob_arch_is_concerned.P. J. McDermott2012-11-051-1/+2
|
* Make ob_get_doc_files() accept arch and plat args.P. J. McDermott2012-10-251-3/+6
| | | | | | | The contents of the changelog file might be made architecture-dependent by binary rebuilds. So prepare to make the file's pathname architecture-specific to support co-installation of multiple architectures.
* Implement ob_set_package_substvars().P. J. McDermott2012-10-231-0/+17
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* Reset _obgbpk_pkgs before reusing it.P. J. McDermott2012-10-101-0/+2
|
* Pass args to binary package name warnings.P. J. McDermott2012-10-091-2/+3
|
* Fix missing ob_get_msg() calls.P. J. McDermott2012-10-091-2/+2
|
* Implement ob_get_doc_{package,files}().P. J. McDermott2012-10-041-0/+30
|
* Don't clobber valid binary names in cache writing.P. J. McDermott2012-10-031-3/+3
|
* Prevent duplicates in ${_OB_BINARY_PARAMETERS}.P. J. McDermott2012-10-031-1/+4
|
* Move string translation commands out of loop.P. J. McDermott2012-10-031-2/+2
|
* Fix quoting in ob_get_{source,binary}_parameter().P. J. McDermott2012-10-021-2/+2
|
* Fix format of package metadata cache file.P. J. McDermott2012-10-021-4/+7
|
* Fix called function name in "package" module.P. J. McDermott2012-10-021-2/+2
|
* Resolve package directory to an absolute path.P. J. McDermott2012-10-021-1/+1
|
* Fix package metadata cache file loading.P. J. McDermott2012-10-021-1/+5
|
* Factor out name of internal text domain.P. J. McDermott2012-09-301-2/+2
|
* Validate names in ob_get_binary_packages().P. J. McDermott2012-09-301-1/+38
|
* Make ob_parse_package_metadata() read cache files.P. J. McDermott2012-09-301-0/+7
|
* Pass through return value in _ob_package_do().P. J. McDermott2012-09-281-1/+1
|
* Add missing return commands to internal functions.P. J. McDermott2012-09-281-0/+6
|
* Quote values in eval commands.P. J. McDermott2012-09-281-2/+2
|
* Write cache file in ob_parse_package_metadata().P. J. McDermott2012-09-281-7/+17
|
* Transform and validate in _ob_set_*_parameter().P. J. McDermott2012-09-281-2/+25
|
* Implement much of the "package" library modules.P. J. McDermott2012-09-281-0/+301