Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Merge requests
  • !593

Eliminate need for abstractions by exposing a better `getJobs` and `getJobCounts`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/marshall007/simplify_counts into master Jun 28, 2017
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: marshall007

The goal of this PR is to consolidate all the logic for counting and listing various job sets. If this PR is merged, all the individual getType() and getTypeCount() can be considered deprecated as the user can now just use getJobs([types]) and getJobCounts(types...) respectively.

The one breaking change is that the asc parameter of getJobs() is now the last optional parameter. This made more sense if getJobs() is to be considered a public API since most users won't care about the asc parameter.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/marshall007/simplify_counts