stable

Clone or download

Read-only

Introduce `tuleap config-reset` command

This command is the counterpart of `tuleap config-set` to reset a configuration setting to its default value. Part of request #31580: Filter outbound HTTP requests Change-Id: If6f824c041ccfc1e99c529afc5428aa91b99be8a

Modified Files

Name
A src/common/CLI/Command/ConfigResetCommand.php +77 −0 Go to diff View file
M src/common/Config/ConfigDao.php +5 −0 Go to diff View file
M src/common/Config/ConfigKeyMetadata.php +1 −0 Go to diff View file
M src/common/Config/GetConfigKeys.php +12 −7 Go to diff View file
M src/utils/tuleap.php +6 −0 Go to diff View file
A tests/unit/common/CLI/Command/ConfigResetCommandTest.php +118 −0 Go to diff View file
M tests/unit/common/Config/GetConfigKeysTest.php +15 −0 Go to diff View file