@@ -4001,52 +4001,229 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
4001
4001
_obj_cls = ProjectService
4002
4002
4003
4003
_service_attrs = {
4004
- "asana" : (("api_key" ,), ("restrict_to_branch" ,)),
4005
- "assembla" : (("token" ,), ("subdomain" ,)),
4006
- "bamboo" : (("bamboo_url" , "build_key" , "username" , "password" ), tuple ()),
4007
- "buildkite" : (("token" , "project_url" ), ("enable_ssl_verification" ,)),
4008
- "campfire" : (("token" ,), ("subdomain" , "room" )),
4004
+ "asana" : (("api_key" ,), ("restrict_to_branch" , "push_events" )),
4005
+ "assembla" : (("token" ,), ("subdomain" , "push_events" )),
4006
+ "bamboo" : (
4007
+ ("bamboo_url" , "build_key" , "username" , "password" ),
4008
+ ("push_events" ,),
4009
+ ),
4010
+ "bugzilla" : (
4011
+ ("new_issue_url" , "issues_url" , "project_url" ),
4012
+ ("description" , "title" , "push_events" ),
4013
+ ),
4014
+ "buildkite" : (
4015
+ ("token" , "project_url" ),
4016
+ ("enable_ssl_verification" , "push_events" ),
4017
+ ),
4018
+ "campfire" : (("token" ,), ("subdomain" , "room" , "push_events" )),
4019
+ "circuit" : (
4020
+ ("webhook" ,),
4021
+ (
4022
+ "notify_only_broken_pipelines" ,
4023
+ "branches_to_be_notified" ,
4024
+ "push_events" ,
4025
+ "issues_events" ,
4026
+ "confidential_issues_events" ,
4027
+ "merge_requests_events" ,
4028
+ "tag_push_events" ,
4029
+ "note_events" ,
4030
+ "confidential_note_events" ,
4031
+ "pipeline_events" ,
4032
+ "wiki_page_events" ,
4033
+ ),
4034
+ ),
4009
4035
"custom-issue-tracker" : (
4010
4036
("new_issue_url" , "issues_url" , "project_url" ),
4011
- ("description" , "title" ),
4037
+ ("description" , "title" , "push_events" ),
4038
+ ),
4039
+ "drone-ci" : (
4040
+ ("token" , "drone_url" ),
4041
+ (
4042
+ "enable_ssl_verification" ,
4043
+ "push_events" ,
4044
+ "merge_requests_events" ,
4045
+ "tag_push_events" ,
4046
+ ),
4012
4047
),
4013
- "drone-ci" : (("token" , "drone_url" ), ("enable_ssl_verification" ,)),
4014
4048
"emails-on-push" : (
4015
4049
("recipients" ,),
4016
- ("disable_diffs" , "send_from_committer_email" ),
4050
+ (
4051
+ "disable_diffs" ,
4052
+ "send_from_committer_email" ,
4053
+ "push_events" ,
4054
+ "tag_push_events" ,
4055
+ "branches_to_be_notified" ,
4056
+ ),
4017
4057
),
4018
4058
"builds-email" : (("recipients" ,), ("add_pusher" , "notify_only_broken_builds" )),
4019
4059
"pipelines-email" : (
4020
4060
("recipients" ,),
4021
- ("add_pusher" , "notify_only_broken_builds" ),
4061
+ (
4062
+ "add_pusher" ,
4063
+ "notify_only_broken_builds" ,
4064
+ "branches_to_be_notified" ,
4065
+ "notify_only_default_branch" ,
4066
+ "pipeline_events" ,
4067
+ ),
4022
4068
),
4023
4069
"external-wiki" : (("external_wiki_url" ,), tuple ()),
4024
- "flowdock" : (("token" ,), tuple ()),
4025
- "gemnasium" : (("api_key" , "token" ), tuple ()),
4026
- "hipchat" : (("token" ,), ("color" , "notify" , "room" , "api_version" , "server" )),
4070
+ "flowdock" : (("token" ,), ("push_events" ,)),
4071
+ "github" : (("token" , "repository_url" ), ("static_context" ,)),
4072
+ "hangouts-chat" : (
4073
+ ("webhook" ,),
4074
+ (
4075
+ "notify_only_broken_pipelines" ,
4076
+ "notify_only_default_branch" ,
4077
+ "branches_to_be_notified" ,
4078
+ "push_events" ,
4079
+ "issues_events" ,
4080
+ "confidential_issues_events" ,
4081
+ "merge_requests_events" ,
4082
+ "tag_push_events" ,
4083
+ "note_events" ,
4084
+ "confidential_note_events" ,
4085
+ "pipeline_events" ,
4086
+ "wiki_page_events" ,
4087
+ ),
4088
+ ),
4089
+ "hipchat" : (
4090
+ ("token" ,),
4091
+ (
4092
+ "color" ,
4093
+ "notify" ,
4094
+ "room" ,
4095
+ "api_version" ,
4096
+ "server" ,
4097
+ "push_events" ,
4098
+ "issues_events" ,
4099
+ "confidential_issues_events" ,
4100
+ "merge_requests_events" ,
4101
+ "tag_push_events" ,
4102
+ "note_events" ,
4103
+ "confidential_note_events" ,
4104
+ "pipeline_events" ,
4105
+ ),
4106
+ ),
4027
4107
"irker" : (
4028
4108
("recipients" ,),
4029
- ("default_irc_uri" , "server_port" , "server_host" , "colorize_messages" ),
4109
+ (
4110
+ "default_irc_uri" ,
4111
+ "server_port" ,
4112
+ "server_host" ,
4113
+ "colorize_messages" ,
4114
+ "push_events" ,
4115
+ ),
4030
4116
),
4031
4117
"jira" : (
4032
- ("url" , "project_key" ),
4118
+ ("url" , "username" , "password" , ),
4033
4119
(
4034
- "new_issue_url" ,
4035
- "project_url" ,
4036
- "issues_url" ,
4037
4120
"api_url" ,
4038
- "description" ,
4039
- "username" ,
4040
- "password" ,
4121
+ "active" ,
4041
4122
"jira_issue_transition_id" ,
4123
+ "commit_events" ,
4124
+ "merge_requests_events" ,
4125
+ "comment_on_event_enabled" ,
4126
+ ),
4127
+ ),
4128
+ "slack-slash-commands" : (("token" ,), tuple ()),
4129
+ "mattermost-slash-commands" : (("token" ,), ("username" ,)),
4130
+ "packagist" : (
4131
+ ("username" , "token" ),
4132
+ ("server" , "push_events" , "merge_requests_events" , "tag_push_events" ),
4133
+ ),
4134
+ "mattermost" : (
4135
+ ("webhook" ,),
4136
+ (
4137
+ "username" ,
4138
+ "channel" ,
4139
+ "notify_only_broken_pipelines" ,
4140
+ "notify_only_default_branch" ,
4141
+ "branches_to_be_notified" ,
4142
+ "push_events" ,
4143
+ "issues_events" ,
4144
+ "confidential_issues_events" ,
4145
+ "merge_requests_events" ,
4146
+ "tag_push_events" ,
4147
+ "note_events" ,
4148
+ "confidential_note_events" ,
4149
+ "pipeline_events" ,
4150
+ "wiki_page_events" ,
4151
+ "push_channel" ,
4152
+ "issue_channel" ,
4153
+ "confidential_issue_channel" "merge_request_channel" ,
4154
+ "note_channel" ,
4155
+ "confidential_note_channel" ,
4156
+ "tag_push_channel" ,
4157
+ "pipeline_channel" ,
4158
+ "wiki_page_channel" ,
4042
4159
),
4043
4160
),
4044
- "mattermost" : (("webhook" ,), ("username" , "channel" )),
4045
- "pivotaltracker" : (("token" ,), tuple ()),
4046
- "pushover" : (("api_key" , "user_key" , "priority" ), ("device" , "sound" )),
4047
- "redmine" : (("new_issue_url" , "project_url" , "issues_url" ), ("description" ,)),
4048
- "slack" : (("webhook" ,), ("username" , "channel" )),
4049
- "teamcity" : (("teamcity_url" , "build_type" , "username" , "password" ), tuple ()),
4161
+ "pivotaltracker" : (("token" ,), ("restrict_to_branch" , "push_events" )),
4162
+ "prometheus" : (("api_url" ,), tuple ()),
4163
+ "pushover" : (
4164
+ ("api_key" , "user_key" , "priority" ),
4165
+ ("device" , "sound" , "push_events" ),
4166
+ ),
4167
+ "redmine" : (
4168
+ ("new_issue_url" , "project_url" , "issues_url" ),
4169
+ ("description" , "push_events" ),
4170
+ ),
4171
+ "slack" : (
4172
+ ("webhook" ,),
4173
+ (
4174
+ "username" ,
4175
+ "channel" ,
4176
+ "notify_only_broken_pipelines" ,
4177
+ "notify_only_default_branch" ,
4178
+ "branches_to_be_notified" ,
4179
+ "commit_events" ,
4180
+ "confidential_issue_channel" ,
4181
+ "confidential_issues_events" ,
4182
+ "confidential_note_channel" ,
4183
+ "confidential_note_events" ,
4184
+ "deployment_channel" ,
4185
+ "deployment_events" ,
4186
+ "issue_channel" ,
4187
+ "issues_events" ,
4188
+ "job_events" ,
4189
+ "merge_request_channel" ,
4190
+ "merge_requests_events" ,
4191
+ "note_channel" ,
4192
+ "note_events" ,
4193
+ "pipeline_channel" ,
4194
+ "pipeline_events" ,
4195
+ "push_channel" ,
4196
+ "push_events" ,
4197
+ "tag_push_channel" ,
4198
+ "tag_push_events" ,
4199
+ "wiki_page_channel" ,
4200
+ "wiki_page_events" ,
4201
+ ),
4202
+ ),
4203
+ "microsoft-teams" : (
4204
+ ("webhook" ,),
4205
+ (
4206
+ "notify_only_broken_pipelines" ,
4207
+ "notify_only_default_branch" ,
4208
+ "branches_to_be_notified" ,
4209
+ "push_events" ,
4210
+ "issues_events" ,
4211
+ "confidential_issues_events" ,
4212
+ "merge_requests_events" ,
4213
+ "tag_push_events" ,
4214
+ "note_events" ,
4215
+ "confidential_note_events" ,
4216
+ "pipeline_events" ,
4217
+ "wiki_page_events" ,
4218
+ ),
4219
+ ),
4220
+ "teamcity" : (
4221
+ ("teamcity_url" , "build_type" , "username" , "password" ),
4222
+ ("push_events" ,),
4223
+ ),
4224
+ "jenkins" : (("jenkins_url" , "project_name" ), ("username" , "password" )),
4225
+ "mock-ci" : (("mock_service_url" ,), tuple ()),
4226
+ "youtrack" : (("issues_url" , "project_url" ), ("description" , "push_events" )),
4050
4227
}
4051
4228
4052
4229
def get (self , id , ** kwargs ):
0 commit comments