Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D digitec-wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Digitec
  • digitec-wiki
  • Wiki
  • gitlab issues tags

Last edited by Rene Cabral Jan 16, 2015
Page history

gitlab issues tags

Home / Gitlab / GitLab Issues Tags

GitLab Issues Tags @ Digitec

Original Issues Labels File Location:

/home/git/gitlab/lib/gitlab/issues_labels.rb

Modified Issues Labels File Location:

/home/git/digitec/gitlab/issues_labels.rb

The file replacement will occur in post update hook on the gitlab repository.

Modified File

issues_labels.rb

module Gitlab
  class IssuesLabels
    class << self
      def generate(project)
        red = '#d9534f'
        yellow = '#f0ad4e'
        blue = '#428bca'
        green = '#5cb85c'
        black = '#34495E'
        grey = '#8E44AD'
        purple = '#8E44AD'
        pink = '#FFECDB'

        labels = [
		  { title: "bug", color: red },
		  { title: "can-not-reproduce", color: black },
		  { title: "confirmed", color: red },
		  { title: "critical", color: red },
		  { title: "discussion", color: blue },
		  { title: "documentation", color: yellow },
		  { title: "enhancement", color: green },
		  { title: "feature", color: green },
		  { title: "graphics", color: blue },
		  { title: "suggestion", color: blue },
		  { title: "support", color: yellow },
		  { title: "task", color: green },
		  { title: "text-change", color: purple },
		  { title: "works-as-intended", color: black },
		  { title: "works-for-me", color: black },
		  { title: "nice-to-have", color: blue }
        ]

        labels.each do |label|
          project.labels.create(label)
        end
      end
    end
  end
end
Clone repository
  • alpha beta testing
  • browser testing
  • camtasia licenses
  • code delivery processes
  • coding practices
  • css and sass coding standards
  • database schema standards
  • dependency management
  • development environments
  • digitec agile process
  • digitec gitlab styles
  • digitec software promises
  • digitec spec process
  • gitlab administration
  • gitlab issues tags
View All Pages