Making WordPress.org


Ignore:
Timestamp:
01/11/2015 11:00:02 AM (10 years ago)
Author:
nacin
Message:

Update Slack libraries.

Location:
sites/trunk/svn.wordpress.org/includes/slack-trac-hooks/trac
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • sites/trunk/svn.wordpress.org/includes/slack-trac-hooks/trac/config.php

    r1080 r1121  
    11<?php
    22
    3 namespace Dotorg\SlackTracHooks;
     3namespace Dotorg\Slack\Trac\Tracs;
     4use Dotorg\Slack\Trac\Trac;
    45
    5 class Core_Trac extends Trac {
    6     protected $commit_channels = array( '#core', '#core-commits' );
    7     protected $commit_username = 'WordPress commit';
    8     protected $commit_range = array( 3, 5 );
    9     protected $ticket_range = array( 3, 5 );
     6class Core extends Trac {
     7    protected $name = 'WordPress';
     8    protected $primary_channel  = '#core';
     9    protected $commits_channel  = '#core-commits';
     10    protected $tickets_channel  = '#core-newtickets';
     11    protected $firehose_channel = '#core-firehose';
    1012
    11     protected $ticket_channels  = array( '#core', '#core-newtickets' );
    12     protected $ticket_username  = 'WordPress Trac';
    13     protected $firehose_channel = '#core-firehose';
     13    protected $primary_channel_ticket_format = 'title';
    1414
    1515    /**
     
    1818     */
    1919    protected $commit_path_filters = array(
    20         'wp-content/themes'       => '#core-themes',
     20        'wp-content/themes'       => array( '#core-themes' => true, '#core' => false ),
    2121        'customize'               => '#core-customize',
    2222        'editor-expand.js'        => '#feature-focus',
     
    3030     */
    3131    protected $ticket_component_filters = array(
     32        'Bundled Theme' => array( '#core-themes' => true, '#core' => false ),
    3233        'Customize'     => '#core-customize',
    33         'Bundled Theme' => '#core-themes',
    3434        'Press This'    => '#feature-pressthis',
    3535    );
    3636}
    3737
    38 class Meta_Trac extends Trac {
    39     protected $commit_channels = array( '#meta', '#meta-commits' );
    40     protected $commit_username = 'WordPress.org Meta commit';
     38class Meta extends Trac {
     39    protected $name = 'WordPress.org Meta';
     40    protected $primary_channel  = '#meta';
     41    protected $commits_channel  = '#meta-commits';
     42    protected $tickets_channel  = '$meta-newtickets';
     43    protected $firehose_channel = '#meta-firehose';
    4144
    42     protected $ticket_channels = array( '#meta-newtickets' );
     45    protected $bypass_primary_channel_for_commit_filter_matches = true;
     46    protected $bypass_primary_channel_for_ticket_filter_matches = true;
    4347
    4448    protected $commit_path_filters = array(
     
    5862}
    5963
    60 class bbPress_Trac extends Trac {
    61     protected $commit_channels = array( '#bbpress', '#bbpress-commits' );
    62     protected $commit_username = 'bbPress commit';
    63     protected $ticket_channels = array( '#bbpress', '#bbpress-newtickets' );
    64     protected $color    = '#080';
    65     protected $emoji    = ':bbpress:';
     64class bbPress extends Trac {
     65    protected $primary_channel  = '#bbpress';
     66    protected $commits_channel  = '#bbpress-commits';
     67    protected $tickets_channel  = '#bbpress-newtickets';
     68    protected $firehose_channel = '#bbpress-firehose';
     69
     70    protected $color = '#080';
     71    protected $icon  = ':bbpress:';
    6672}
    6773
    68 class BuddyPress_Trac extends Trac {
    69     protected $commit_channels = array( '#buddypress', '#buddypress-commits' );
    70     protected $commit_username = 'BuddyPress commit';
    71     protected $ticket_channels = array( '#buddypress', '#buddypress-newtickets' );
    72     protected $color    = '#d84800';
    73     protected $emoji    = ':buddypress:';
     74class BuddyPress extends Trac {
     75    protected $primary_channel  = '#buddypress';
     76    protected $commits_channel  = '#buddypress-commits';
     77    protected $tickets_channel  = '#buddypress-newtickets';
     78    protected $firehose_channel = '#buddypress-firehose';
     79
     80    protected $color = '#d84800';
     81    protected $icon  = ':buddypress:';
    7482}
    7583
    76 class Dotorg_Trac extends Trac {
    77     protected $commit_channels = 'dotorg';
    78     protected $commit_username = 'Private dotorg commit';
    79     protected $ticket_channels = 'dotorg';
     84class Dotorg extends Trac {
     85    protected $name = 'Private Dotorg';
     86    protected $public = false;
     87    protected $primary_channel = 'dotorg';
    8088}
    8189
    82 class Deploy_Trac extends Trac {
    83     protected $commit_channels = 'dotorg';
    84     protected $commit_username = 'Deploy commit';
    85     protected $ticket_channels = 'dotorg';
     90class Deploy extends Trac {
     91    protected $public = false;
     92    protected $tickets = false;
     93
     94    protected $primary_channel = 'dotorg';
    8695}
    8796
    88 class GlotPress_Trac extends Trac {
    89     protected $commit_channels = '#glotpress';
    90     protected $commit_username = 'GlotPress commit';
    91     protected $ticket_channels = '#glotpress';
     97class GlotPress extends Trac {
     98    protected $primary_channel = '#glotpress';
    9299}
     100
     101class Build extends Trac {
     102    protected $name = 'WordPress Build';
     103    protected $tickets = false;
     104}
     105
     106class BackPress extends Trac {
     107}
     108
     109class SupportPress extends Trac {
     110}
     111
     112class Design extends Trac {
     113    protected $commit_template = 'https://core.trac.wordpress.org/changeset/design/%s';
     114    protected $commit_info_template = 'https://core.trac.wordpress.org/log/%s?rev=%s&format=changelog&limit=1&verbose=on';
     115}
     116
     117class Plugins extends Trac {
     118}
     119
     120class Themes extends Trac {
     121}
     122
     123class i18n extends Trac {
     124    protected $name = 'WordPress i18n';
     125    protected $tickets = false;
     126}
     127
     128class Unit_Tests extends Trac {
     129    protected $dormant = true;
     130    protected $slug = 'unit-tests';
     131    protected $name = 'Unit Tests (Old)';
     132}
     133
     134class MU extends Trac {
     135    protected $dormant = true;
     136    protected $name = 'WordPress MU';
     137}
     138
     139class OpenAtd extends Trac {
     140    protected $dormant = true;
     141    protected $name = 'After the Deadline';
     142}
     143
     144class Code extends Trac {
     145    protected $dormant = true;
     146    protected $name = 'Code Repo';
     147}
     148
     149class GSoC extends Trac {
     150    protected $dormant = true;
     151}
     152
     153class Security extends Trac {
     154    protected $public = false;
     155    protected $commits = false;
     156}
     157
     158class WordCamp extends Trac {
     159    protected $name = 'Private WordCamp.org';
     160    protected $public = false;
     161}
     162
Note: See TracChangeset for help on using the changeset viewer.