Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/tasks/tidy"

Index

Functions

tidy

  • tidy(api: Api): Promise<void>
  • Tidy

    Parameters

    • api: Api

      GitLab API instance to use for the requests

    Returns Promise<void>

tidyIssuesWithoutAssignee

  • tidyIssuesWithoutAssignee(api: Api): Promise<void>
  • Tidy issues without assignee

    Set assignee to author if no assignee is set.

    Parameters

    Returns Promise<void>

tidyIssuesWithoutMilestone

  • tidyIssuesWithoutMilestone(api: Api): Promise<void>
  • Tidy issues without milestone

    This will set the milestone of issues without milestone to 'Meeting'.

    Parameters

    • api: Api

      GitLab API instance to use for the requests

    Returns Promise<void>

tidyLabels

  • tidyLabels(api: Api, projects: Project[]): Promise<void>
  • Tidy labels in a list of projects

    Parameters

    • api: Api

      GitLab API instance to use for the requests

    • projects: Project[]

      List of projects to tidy labels on

    Returns Promise<void>

tidyMilestones

  • tidyMilestones(api: Api, projects: Project[]): Promise<void>
  • Tidy milestones in a list of projects

    Parameters

    • api: Api

      GitLab API instance to use for the requests

    • projects: Project[]

      List of projects to tidy milestones on

    Returns Promise<void>

tidyOpenIssuesWithoutMeetingLabel

  • tidyOpenIssuesWithoutMeetingLabel(api: Api): Promise<void>
  • Tidy open issues without meeting label

    This adds the label 'meeting' to all open issues that do not have this label.

    Parameters

    • api: Api

      GitLab API instante to use for requests

    Returns Promise<void>

tidyProtectedBranches

  • tidyProtectedBranches(api: Api, projects: Project[]): Promise<void>
  • Tidy protected branches in a list of projects

    Parameters

    • api: Api

      GitLab API instance to use for the requests

    • projects: Project[]

      List of projects to tidy milestones on

    Returns Promise<void>

tidySubGroupMembers

  • tidySubGroupMembers(api: Api): Promise<void>
  • Tidy "sub" group members

    Parameters

    • api: Api

      GitLab API instance to use for the requests

    Returns Promise<void>

Generated using TypeDoc