From c7d6e0820c898da9036d80396b2fdc1f4f260575 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 5 Nov 2009 02:45:08 +0100 Subject: [PATCH] Allow setup of notify metadata fields --- Girocco/Config.pm | 2 +- Girocco/Project.pm | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Girocco/Config.pm b/Girocco/Config.pm index f06b94a..81d142d 100644 --- a/Girocco/Config.pm +++ b/Girocco/Config.pm @@ -46,7 +46,7 @@ our $project_owners = 'email'; # Which project fields to make editable, out of 'shortdesc', 'homepage', # 'README': -our @project_fields = qw(homepage shortdesc README); +our @project_fields = qw(homepage shortdesc README notifymail notifyjson notifycia); # Minimal number of seconds to pass between two updates of a project. our $min_mirror_interval = 3600; # 1 hour diff --git a/Girocco/Project.pm b/Girocco/Project.pm index 64476c6..4358371 100644 --- a/Girocco/Project.pm +++ b/Girocco/Project.pm @@ -16,6 +16,9 @@ our $metadata_fields = { homepage => ['Homepage URL', 'hp', 'text'], shortdesc => ['Short description', 'desc', 'text'], README => ['README (HTML, lt 8kb)', 'README', 'textarea'], + notifymail => ['Commit notifications - mail to', 'notifymail', 'text'], + notifyjson => ['Commit notifications - POST JSON at', 'notifyjson', 'text'], + notifycia => ['Commit notifications - CIA project name', 'notifycia', 'text'], }; sub _mkdir_forkees { -- 2.11.4.GIT