summaryrefslogtreecommitdiffstats
path: root/lib/changelog.sh
Commit message (Collapse)AuthorAgeFilesLines
* _ob_get_changelog_expect_str(): Abort on missing argumentPatrick McDermott2019-03-181-1/+4
|
* ob_parse_changelog(): Wrap long linesPatrick McDermott2019-03-181-21/+38
| | | | Wow this is ugly.
* _OB_LF: Make publicPatrick McDermott2019-03-171-3/+3
|
* _ob_parse_changelog_error(), _ob_parse_control_error(): Drop field widthPatrick McDermott2019-03-171-1/+1
|
* Add braces to param exps in arith substsPatrick McDermott2019-03-161-1/+1
|
* Fix missing "()" after function names in @detailsPatrick McDermott2019-03-141-2/+2
| | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details.
* Protect against cmd operands beginning with "-"Patrick McDermott2019-03-131-1/+1
|
* ob_parse_changelog(): Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-4/+4
|
* Eliminate -a and -o options of [ commandsPatrick McDermott2019-03-131-9/+14
| | | | POSIX marks these as obsolescent.
* Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-9/+9
|
* ob_parse_changelog(), ob_parse_control(): Explicitly assign null stringsPatrick McDermott2019-03-131-1/+1
| | | | | POSIX say, "If value is not specified, the variable shall be given a null value." Make this explicit, for consistency.
* Don't let libopkbuild errors cause exit with -ePatrick McDermott2019-03-131-3/+1
|
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-131-18/+8
| | | | | | | | | | 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.
* _ob_parse_changelog_error(): Use _ob_warn_msg()Patrick McDermott2019-03-121-11/+2
|
* _ob_get_changelog_expect_str(): Drop unnecessary echoPatrick McDermott2019-03-111-1/+1
|
* _ob_get_changelog_expect_str(): Use _ob_get_msg()Patrick McDermott2019-03-111-10/+1
|
* Use (or plan to use) _ob_warn_msg()Patrick McDermott2019-03-111-0/+5
|
* ob_parse_changelog(): Pass args, not global vars, to cbPatrick McDermott2019-03-111-42/+29
| | | | And update test file.
* ob_parse_changelog(): Replace if construct with casePatrick McDermott2019-03-111-88/+95
|
* _OB_LF: Define and use newline constantPatrick McDermott2019-01-051-6/+3
|
* lib/changelog.sh, lib/control.sh, lib/locale.sh: Update copyright yearsPatrick McDermott2018-12-291-1/+1
|
* ob_parse_changelog(): Finish documentationPatrick McDermott2018-12-281-1/+20
|
* ob_parse_changelog(): Remove a POD experimentPatrick McDermott2018-12-271-6/+0
|
* ob_parse_changelog(), ob_parse_dep(): Write some documentationPatrick McDermott2018-12-271-0/+10
|
* libopkbuild: Move function definitions before points of usePatrick McDermott2018-12-251-39/+39
|
* libopkbuild: Update header comments, copyright years, & licensePatrick McDermott2018-12-241-9/+9
|
* libopkbuild: Drop include guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-4/+0
|
* 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/changelog.sh: Remove _ob_local.P. J. McDermott2013-08-181-100/+104
|
* Use cat in ob_parse_{control,changelog}().P. J. McDermott2012-11-221-1/+3
| | | | This allows lines to be read from standard input.
* Fix arguments to _ob_parse_changelog_error().P. J. McDermott2012-11-221-11/+13
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* Return 0 on success in ob_parse_changelog().P. J. McDermott2012-10-101-5/+3
| | | | | In packages with more than 124 changes, ob_parse_changelog() would return an error value.
* Fix name of ob_parse_changelog().P. J. McDermott2012-10-021-1/+1
|
* Fix uses of an old function name.P. J. McDermott2012-10-021-1/+1
|
* Factor out name of internal text domain.P. J. McDermott2012-09-301-2/+2
|
* Use metadata functions in ob_parse_changelog().P. J. McDermott2012-09-301-16/+3
|
* Standardize use of quotes in code style.P. J. McDermott2012-09-261-17/+17
|
* Don't use the old "util" module.P. J. McDermott2012-09-261-1/+0
|
* Fix ob_use() arguments.P. J. McDermott2012-09-261-3/+3
|
* Return rather than print value in _ob_return.P. J. McDermott2012-09-091-5/+10
| | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment.
* Use new stack MM in changelog module.P. J. McDermott2012-09-081-39/+14
|
* Use ob_use instead of . in all rewritten modules.P. J. McDermott2012-09-081-3/+3
|
* Set text domain before getting message strings.P. J. McDermott2012-09-051-1/+18
|
* Largely rewrite changelog library module.P. J. McDermott2012-09-051-123/+174
|
* Remove remaining (old) magic numbers from library.P. J. McDermott2012-08-031-2/+0
|
* Don't separate expect string into fields.P. J. McDermott2012-08-021-5/+5
|
* Load locale in library files that need it.P. J. McDermott2012-08-011-0/+1
|