diff --git a/pagure/hooks/__init__.py b/pagure/hooks/__init__.py index f004f25..c8a2c42 100644 --- a/pagure/hooks/__init__.py +++ b/pagure/hooks/__init__.py @@ -41,6 +41,7 @@ class BaseHook(object): name = None form = None + description = None @classmethod def set_up(cls, project): diff --git a/pagure/hooks/fedmsg.py b/pagure/hooks/fedmsg.py index 75fa30e..f99f6a7 100644 --- a/pagure/hooks/fedmsg.py +++ b/pagure/hooks/fedmsg.py @@ -59,6 +59,7 @@ class Fedmsg(BaseHook): ''' Fedmsg hooks. ''' name = 'Fedmsg' + description = 'This hook push the commit messages to the Fedora bus to be consumed by other applications' form = FedmsgForm db_object = FedmsgTable backref = 'fedmsg_hook' diff --git a/pagure/hooks/irc.py b/pagure/hooks/irc.py index a1f88ff..e82e563 100644 --- a/pagure/hooks/irc.py +++ b/pagure/hooks/irc.py @@ -96,6 +96,7 @@ class Hook(BaseHook): ''' IRC hooks. ''' name = 'IRC' + description='This hook sends message to the mention channel regarding the changes made by the pushes to the git repository.' form = IrcForm db_object = IrcTable backref = 'irc_hook' diff --git a/pagure/hooks/mail.py b/pagure/hooks/mail.py index ff0053c..8c2932b 100644 --- a/pagure/hooks/mail.py +++ b/pagure/hooks/mail.py @@ -65,6 +65,7 @@ class Mail(BaseHook): ''' Mail hooks. ''' name = 'Mail' + description = 'Generate notification emails for pushes to a git repository. This hook sends emails describing changes introduced by pushes to a git repository' form = MailForm db_object = MailTable backref = 'mail_hook' diff --git a/pagure/hooks/pagure_hook.py b/pagure/hooks/pagure_hook.py index 2f8898c..adfdbfb 100644 --- a/pagure/hooks/pagure_hook.py +++ b/pagure/hooks/pagure_hook.py @@ -60,6 +60,7 @@ class PagureHook(BaseHook): ''' Pagure hook. ''' name = 'pagure' + description='Pagure specific hook to add comment on issues if the commits fixes or relates to an issue.' form = PagureForm db_object = PagureTable backref = 'pagure_hook' diff --git a/pagure/hooks/pagure_request_hook.py b/pagure/hooks/pagure_request_hook.py index 66f6346..3d9a1d6 100644 --- a/pagure/hooks/pagure_request_hook.py +++ b/pagure/hooks/pagure_request_hook.py @@ -62,6 +62,7 @@ class PagureRequestHook(BaseHook): ''' Pagure request hook. ''' name = 'pagure requests' + description='Pagure specific hook to update pull-requests stored in the database based on the information pushed in the requests git repository.' form = PagureRequestsForm db_object = PagureRequestsTable backref = 'pagure_hook_requests' diff --git a/pagure/hooks/pagure_ticket_hook.py b/pagure/hooks/pagure_ticket_hook.py index 2fdda30..14897d8 100644 --- a/pagure/hooks/pagure_ticket_hook.py +++ b/pagure/hooks/pagure_ticket_hook.py @@ -61,6 +61,7 @@ class PagureTicketHook(BaseHook): ''' Pagure ticket hook. ''' name = 'pagure tickets' + description = 'Pagure specific hook to update tickets stored in the database based on the information pushed in the tickets git repository.' form = PagureTicketsForm db_object = PagureTicketsTable backref = 'pagure_hook_tickets' diff --git a/pagure/templates/plugin.html b/pagure/templates/plugin.html index 4dab88a..85d499b 100644 --- a/pagure/templates/plugin.html +++ b/pagure/templates/plugin.html @@ -16,6 +16,7 @@