diff options
author | Jason Lenny <jlenny@gitlab.com> | 2019-02-27 11:03:57 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-02-27 11:03:57 +0000 |
commit | 55826a7a77a23842bb5c73fbc8946695cc046af1 (patch) | |
tree | 1c2842d833b6c11eb1d8e3c60437284e08135d8c | |
parent | 7ebe264779b5ef6db61afca836774ecb5a3fcbfc (diff) | |
download | gitlab-ce-55826a7a77a23842bb5c73fbc8946695cc046af1.tar.gz |
Add Project template for go-micro
-rw-r--r-- | app/assets/javascripts/projects/project_new.js | 4 | ||||
-rw-r--r-- | changelogs/unreleased/58082-project-template-for-go-micro.yml | 5 | ||||
-rw-r--r-- | lib/gitlab/project_template.rb | 1 | ||||
-rw-r--r-- | locale/gitlab.pot | 3 | ||||
-rw-r--r-- | spec/lib/gitlab/project_template_spec.rb | 3 | ||||
-rw-r--r-- | vendor/project_templates/gomicro.tar.gz | bin | 0 -> 52756 bytes |
6 files changed, 15 insertions, 1 deletions
diff --git a/app/assets/javascripts/projects/project_new.js b/app/assets/javascripts/projects/project_new.js index 6fb25622a05..1ade1811033 100644 --- a/app/assets/javascripts/projects/project_new.js +++ b/app/assets/javascripts/projects/project_new.js @@ -129,6 +129,10 @@ const bindEvents = () => { text: '.NET Core', icon: '.template-option .icon-dotnet', }, + gomicro: { + text: 'Go Micro', + icon: '.template-option .icon-gomicro', + }, hugo: { text: 'Pages/Hugo', icon: '.template-option .icon-hugo', diff --git a/changelogs/unreleased/58082-project-template-for-go-micro.yml b/changelogs/unreleased/58082-project-template-for-go-micro.yml new file mode 100644 index 00000000000..63a70cda0b8 --- /dev/null +++ b/changelogs/unreleased/58082-project-template-for-go-micro.yml @@ -0,0 +1,5 @@ +--- +title: Add Project template for go-micro +merge_request: 25553 +author: +type: changed diff --git a/lib/gitlab/project_template.rb b/lib/gitlab/project_template.rb index 29c511524a2..9b6ff602fcd 100644 --- a/lib/gitlab/project_template.rb +++ b/lib/gitlab/project_template.rb @@ -29,6 +29,7 @@ module Gitlab ProjectTemplate.new('spring', 'Spring', _('Includes an MVC structure, mvnw and pom.xml to help you get started.'), 'https://gitlab.com/gitlab-org/project-templates/spring', 'illustrations/logos/spring.svg'), ProjectTemplate.new('express', 'NodeJS Express', _('Includes an MVC structure to help you get started.'), 'https://gitlab.com/gitlab-org/project-templates/express', 'illustrations/logos/express.svg'), ProjectTemplate.new('dotnetcore', '.NET Core', _('A .NET Core console application template, customizable for any .NET Core project'), 'https://gitlab.com/gitlab-org/project-templates/dotnetcore', 'illustrations/logos/dotnet.svg'), + ProjectTemplate.new('gomicro', 'Go Micro', _('Go Micro is a framework for micro service development.'), 'https://gitlab.com/gitlab-org/project-templates/go-micro'), ProjectTemplate.new('hugo', 'Pages/Hugo', _('Everything you need to create a GitLab Pages site using Hugo.'), 'https://gitlab.com/pages/hugo'), ProjectTemplate.new('jekyll', 'Pages/Jekyll', _('Everything you need to create a GitLab Pages site using Jekyll.'), 'https://gitlab.com/pages/jekyll'), ProjectTemplate.new('plainhtml', 'Pages/Plain HTML', _('Everything you need to create a GitLab Pages site using plain HTML.'), 'https://gitlab.com/pages/plain-html'), diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 0d47deab951..188065864c7 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -3612,6 +3612,9 @@ msgstr "" msgid "Go Back" msgstr "" +msgid "Go Micro is a framework for micro service development." +msgstr "" + msgid "Go back" msgstr "" diff --git a/spec/lib/gitlab/project_template_spec.rb b/spec/lib/gitlab/project_template_spec.rb index 0cee100b64e..115097e0d26 100644 --- a/spec/lib/gitlab/project_template_spec.rb +++ b/spec/lib/gitlab/project_template_spec.rb @@ -7,7 +7,8 @@ describe Gitlab::ProjectTemplate do described_class.new('rails', 'Ruby on Rails', 'Includes an MVC structure, .gitignore, Gemfile, and more great stuff', 'https://gitlab.com/gitlab-org/project-templates/rails'), described_class.new('spring', 'Spring', 'Includes an MVC structure, .gitignore, Gemfile, and more great stuff', 'https://gitlab.com/gitlab-org/project-templates/spring'), described_class.new('express', 'NodeJS Express', 'Includes an MVC structure, .gitignore, Gemfile, and more great stuff', 'https://gitlab.com/gitlab-org/project-templates/express'), - described_class.new('dotnetcore', '.NET Core', _('A .NET Core console application template, customizable for any .NET Core project'), 'https://gitlab.com/gitlab-org/project-templates/dotnetcore'), + described_class.new('dotnetcore', '.NET Core', 'A .NET Core console application template, customizable for any .NET Core project', 'https://gitlab.com/gitlab-org/project-templates/dotnetcore'), + described_class.new('gomicro', 'Go Micro', 'Go Micro is a framework for micro service development.', 'https://gitlab.com/gitlab-org/project-templates/go-micro'), described_class.new('hugo', 'Pages/Hugo', 'Everything you need to get started using a Hugo Pages site.', 'https://gitlab.com/pages/hugo'), described_class.new('jekyll', 'Pages/Jekyll', 'Everything you need to get started using a Jekyll Pages site.', 'https://gitlab.com/pages/jekyll'), described_class.new('plainhtml', 'Pages/Plain HTML', 'Everything you need to get started using a plain HTML Pages site.', 'https://gitlab.com/pages/plain-html'), diff --git a/vendor/project_templates/gomicro.tar.gz b/vendor/project_templates/gomicro.tar.gz Binary files differnew file mode 100644 index 00000000000..54a5afcfb69 --- /dev/null +++ b/vendor/project_templates/gomicro.tar.gz |