[Commits] [wesnoth/wesnoth] 098b44: addon_manager: allow overriding keys (#2491)

GitHub noreply at github.com
Wed Feb 14 19:49:45 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 098b4495bc0d58eb7a1c37c234f7d902e3eeb78c
      https://github.com/wesnoth/wesnoth/commit/098b4495bc0d58eb7a1c37c234f7d902e3eeb78c
  Author: vgaming <33452702+vgaming at users.noreply.github.com>
  Date:   2018-02-14 (Wed, 14 Feb 2018)

  Changed paths:
    M data/tools/wesnoth_addon_manager

  Log Message:
  -----------
  addon_manager: allow overriding keys (#2491)

[wesnoth_addon_manager] Allow overriding keys in _server.pbl

Example usage:
wesnoth_addon_manager \
	--port 1.13.x \
	--upload ~/.local/share/wesnoth/1.13/data/add-ons/example \
	--pbl-override version "$(git describe --tags)" \
	--pbl-override description "$(cat avoid_copy_paste_with_WML)" \
	--pbl-override passphrase "in countrary to server.pbl, this is secret"

Downsides: user has to be aware that specifying
passwords as CLI arguments is not safe in a multi-user environment.
If we're really-really serious about it, we should parse
values from environment variables then..
I wouldn't bother though.

fixes GH-2485





More information about the Commits mailing list