gitlab-org--gitlab-foss/lib
Rémy Coutable e484a06472 Retrieve PR comments only when we know there are any
The Pull Request resource doesn't include the `comments` field, while
the Issue resource does. And since we're looping through all issues
anyway, we can freely check if the issue is a PR and has comments and in
this case only fetch comments for it.

That means if you have 1000 PRs but only 200 with comments, you will do
200 API requests instead of 1000. :notbad:

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-26 19:17:00 +02:00
..
api Merge branch 'dm-simple-project-avatar-url' into 'master' 2017-09-26 14:28:38 +00:00
assets
backup Adds EE tag detection to remove_old in gitlab backup. 2017-09-21 13:00:58 +01:00
banzai Re-allow name attribute on user-provided anchor HTML 2017-09-22 12:00:02 -04:00
bitbucket
constraints
container_registry
declarative_policy
generators/rails/post_deployment_migration
github Retrieve PR comments only when we know there are any 2017-09-26 19:17:00 +02:00
gitlab Merge branch 'dm-bitbucket-import-truncated-shas' into 'master' 2017-09-26 14:16:46 +00:00
haml_lint
json_web_token
mattermost
microsoft_teams
omni_auth/strategies
peek/rblineprof
rouge
rspec_flaky
support
system_check Fixed few gitlab:check tasks that were failing with exception 2017-09-25 00:34:12 +02:00
tasks Enable ee_compat_check for forks, but not EE 2017-09-15 02:06:48 +08:00
additional_email_headers_interceptor.rb
after_commit_queue.rb
banzai.rb
declarative_policy.rb
disable_email_interceptor.rb
email_template_interceptor.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb
file_size_validator.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb