[Koha-bugs] [Bug 16083] Accept CLI params for the Makefile.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 2 12:30:51 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16083

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49235|0                           |1
        is obsolete|                            |
  Attachment #56396|0                           |1
        is obsolete|                            |

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 58555
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58555&action=edit
Bug 16083 Allow cli overrides for makefile settings.

Currently the Makefile.pl script only accepts the '--prev-install-log'
commandline flag for reading Koha configuration values from the previous
installation.

The Makefile does not have help output.

The aim of this bug report is to add 2 things:
- --help output
- commandline parameters that should allow automating many of the common
settings if desired
- when commandline parameters are not passed we simply fall back to the
interactive method of old

Test Plan:

- Run the Makefile without parameters — the script should work as before.
- Run the script with the '-h' flag — it should output help.
- Run the script with any number of additional legal flags — the script should
skip those questions in its interactive mode.

Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
Reworked the log message with Bugzilla comments.

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Amended patch: perltidy GetOptions block

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list