【发布时间】:2014-10-22 07:50:23
【问题描述】:
我想编辑gitolite3的配置文件,它是用perl写的,长这样:
# comments
# comments
%RC = (
# ------------------------------------------------------------------
# comments
UMASK => 0077,
# comments
GIT_CONFIG_KEYS => '',
# comments
ROLES => {
READERS => 1,
WRITERS => 1,
},
# comments
ENABLE => [
# comments
'help',
'desc',
'info',
'perms',
'writable',
# comments
],
);
# ------------------------------------------------------------------------------
# comments
1;
# comments
如果没有可用的 augeas,我需要一些东西来保存 cmets - 它们对我和未来的管理员来说非常方便。
【问题讨论】:
-
@ialarmedalien 我需要在脚本中使用它,它将用于自动 gitolite 部署