- Timestamp:
- 01/11/2015 11:00:02 AM (10 years ago)
- 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 1 1 <?php 2 2 3 namespace Dotorg\SlackTracHooks; 3 namespace Dotorg\Slack\Trac\Tracs; 4 use Dotorg\Slack\Trac\Trac; 4 5 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 ); 6 class 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'; 10 12 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'; 14 14 15 15 /** … … 18 18 */ 19 19 protected $commit_path_filters = array( 20 'wp-content/themes' => '#core-themes',20 'wp-content/themes' => array( '#core-themes' => true, '#core' => false ), 21 21 'customize' => '#core-customize', 22 22 'editor-expand.js' => '#feature-focus', … … 30 30 */ 31 31 protected $ticket_component_filters = array( 32 'Bundled Theme' => array( '#core-themes' => true, '#core' => false ), 32 33 'Customize' => '#core-customize', 33 'Bundled Theme' => '#core-themes',34 34 'Press This' => '#feature-pressthis', 35 35 ); 36 36 } 37 37 38 class Meta_Trac extends Trac { 39 protected $commit_channels = array( '#meta', '#meta-commits' ); 40 protected $commit_username = 'WordPress.org Meta commit'; 38 class 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'; 41 44 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; 43 47 44 48 protected $commit_path_filters = array( … … 58 62 } 59 63 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:'; 64 class 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:'; 66 72 } 67 73 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:'; 74 class 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:'; 74 82 } 75 83 76 class Dotorg _Tracextends Trac {77 protected $ commit_channels = 'dotorg';78 protected $ commit_username = 'Private dotorg commit';79 protected $ ticket_channels= 'dotorg';84 class Dotorg extends Trac { 85 protected $name = 'Private Dotorg'; 86 protected $public = false; 87 protected $primary_channel = 'dotorg'; 80 88 } 81 89 82 class Deploy_Trac extends Trac { 83 protected $commit_channels = 'dotorg'; 84 protected $commit_username = 'Deploy commit'; 85 protected $ticket_channels = 'dotorg'; 90 class Deploy extends Trac { 91 protected $public = false; 92 protected $tickets = false; 93 94 protected $primary_channel = 'dotorg'; 86 95 } 87 96 88 class GlotPress_Trac extends Trac { 89 protected $commit_channels = '#glotpress'; 90 protected $commit_username = 'GlotPress commit'; 91 protected $ticket_channels = '#glotpress'; 97 class GlotPress extends Trac { 98 protected $primary_channel = '#glotpress'; 92 99 } 100 101 class Build extends Trac { 102 protected $name = 'WordPress Build'; 103 protected $tickets = false; 104 } 105 106 class BackPress extends Trac { 107 } 108 109 class SupportPress extends Trac { 110 } 111 112 class 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 117 class Plugins extends Trac { 118 } 119 120 class Themes extends Trac { 121 } 122 123 class i18n extends Trac { 124 protected $name = 'WordPress i18n'; 125 protected $tickets = false; 126 } 127 128 class Unit_Tests extends Trac { 129 protected $dormant = true; 130 protected $slug = 'unit-tests'; 131 protected $name = 'Unit Tests (Old)'; 132 } 133 134 class MU extends Trac { 135 protected $dormant = true; 136 protected $name = 'WordPress MU'; 137 } 138 139 class OpenAtd extends Trac { 140 protected $dormant = true; 141 protected $name = 'After the Deadline'; 142 } 143 144 class Code extends Trac { 145 protected $dormant = true; 146 protected $name = 'Code Repo'; 147 } 148 149 class GSoC extends Trac { 150 protected $dormant = true; 151 } 152 153 class Security extends Trac { 154 protected $public = false; 155 protected $commits = false; 156 } 157 158 class 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.