Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !3023

Merged
Created Feb 18, 2013 by Administrator@rootOwner

State machine integrated to Issues, Merge Requests, Milestones

  • Overview 8
  • Commits 19
  • Changes 55

Created by: Andrew8xx8

I think, that the most part of community agree with me that we need a state machine for better observing support.

The state machine does state changes more clearly and produces additional callbacks to obser. Also it describes transitions, that allows to do some state changes or reject them. For more information, please, checkout this.

Now we have:

  • Issue, that can be closed, opened and reopened
  • Merge Request, that can be closed, opened, reopened and merged
  • Milestone, that can be closed and activated

For all transitions we can create callback in observer.

Also, I improved tests and the world looks more better now.

My Next step is to integrate State Machine for merge statuses.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/Undev/state-machine