refresh patches

This commit is contained in:
Praveen Arimbrathodiyil 2016-11-24 13:52:58 +05:30
parent 3814882c6d
commit ac68f3fdbc
3 changed files with 16 additions and 26 deletions

View file

@ -1,8 +1,10 @@
We should be able to update minor versions of stable libs without breaking We should be able to update minor versions of stable libs without breaking
gitlab Gemfile gitlab Gemfile
--- a/Gemfile Index: gitlab/Gemfile
+++ b/Gemfile ===================================================================
--- gitlab.orig/Gemfile
+++ gitlab/Gemfile
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
source 'https://rubygems.org' source 'https://rubygems.org'
@ -24,7 +26,7 @@ gitlab Gemfile
# Supported DBs # Supported DBs
gem 'mysql2', '~> 0.3.16', group: :mysql gem 'mysql2', '~> 0.3.16', group: :mysql
@@ -18,22 +18,22 @@ @@ -18,22 +18,22 @@ gem 'pg', '~> 0.18.2', group: :postgres
# Authentication libraries # Authentication libraries
gem 'devise', '~> 4.2' gem 'devise', '~> 4.2'
@ -59,7 +61,7 @@ gitlab Gemfile
gem 'jwt' gem 'jwt'
# Spam and anti-bot protection # Spam and anti-bot protection
@@ -41,9 +41,9 @@ @@ -41,9 +41,9 @@ gem 'recaptcha', '~> 3.0', require: 'rec
gem 'akismet', '~> 2.0' gem 'akismet', '~> 2.0'
# Two-factor authentication # Two-factor authentication
@ -71,12 +73,12 @@ gitlab Gemfile
gem 'u2f', '~> 0.2.1' gem 'u2f', '~> 0.2.1'
# Browser detection # Browser detection
@@ -51,12 +51,12 @@ @@ -51,12 +51,12 @@ gem 'browser', '~> 2.2'
# Extracting information from a git repository # Extracting information from a git repository
# Provide access to Gitlab::Git library # Provide access to Gitlab::Git library
-gem 'gitlab_git', '~> 10.6.8' -gem 'gitlab_git', '~> 10.7.0'
+gem 'gitlab_git', '~> 10.6','>= 10.6.8' +gem 'gitlab_git', '~> 10.7'
# LDAP Auth # LDAP Auth
# GitLab fork with several improvements to original library. For full list of changes # GitLab fork with several improvements to original library. For full list of changes
@ -86,7 +88,7 @@ gitlab Gemfile
# Git Wiki # Git Wiki
# Required manually in config/initializers/gollum.rb to control load order # Required manually in config/initializers/gollum.rb to control load order
@@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@ gem 'gollum-lib', '~> 4.2', require: fal
gem 'gollum-rugged_adapter', '~> 0.4.2', require: false gem 'gollum-rugged_adapter', '~> 0.4.2', require: false
# Language detection # Language detection
@ -95,7 +97,7 @@ gitlab Gemfile
# API # API
gem 'grape', '~> 0.15.0' gem 'grape', '~> 0.15.0'
@@ -75,7 +75,7 @@ @@ -75,7 +75,7 @@ gem 'rack-cors', '~> 0.4.0', require:
gem 'kaminari', '~> 0.17.0' gem 'kaminari', '~> 0.17.0'
# HAML # HAML
@ -104,7 +106,7 @@ gitlab Gemfile
# Files attachments # Files attachments
gem 'carrierwave', '~> 0.10.0' gem 'carrierwave', '~> 0.10.0'
@@ -96,39 +96,39 @@ @@ -96,39 +96,39 @@ gem 'fog-rackspace', '~> 0.1.1'
gem 'unf', '~> 0.1.4' gem 'unf', '~> 0.1.4'
# Seed data # Seed data
@ -156,7 +158,7 @@ gitlab Gemfile
# Issue tags # Issue tags
gem 'acts-as-taggable-on', '~> 4.0' gem 'acts-as-taggable-on', '~> 4.0'
@@ -136,39 +136,39 @@ @@ -136,39 +136,39 @@ gem 'acts-as-taggable-on', '~> 4.0'
# Background jobs # Background jobs
gem 'sidekiq', '~> 4.2' gem 'sidekiq', '~> 4.2'
gem 'sidekiq-cron', '~> 0.4.0' gem 'sidekiq-cron', '~> 0.4.0'
@ -204,7 +206,7 @@ gitlab Gemfile
# Asana integration # Asana integration
gem 'asana', '~> 0.4.0' gem 'asana', '~> 0.4.0'
@@ -177,64 +177,64 @@ @@ -177,64 +177,64 @@ gem 'asana', '~> 0.4.0'
gem 'ruby-fogbugz', '~> 0.2.1' gem 'ruby-fogbugz', '~> 0.2.1'
# d3 # d3
@ -296,7 +298,7 @@ gitlab Gemfile
# Metrics # Metrics
group :metrics do group :metrics do
@@ -324,7 +324,7 @@ @@ -324,7 +324,7 @@ end
gem 'newrelic_rpm', '~> 3.16' gem 'newrelic_rpm', '~> 3.16'
@ -305,7 +307,7 @@ gitlab Gemfile
gem 'mail_room', '~> 0.8.1' gem 'mail_room', '~> 0.8.1'
@@ -333,18 +333,18 @@ @@ -333,18 +333,18 @@ gem 'email_reply_parser', '~> 0.5.8'
gem 'ruby-prof', '~> 0.16.2' gem 'ruby-prof', '~> 0.16.2'
## CI ## CI

View file

@ -1,11 +0,0 @@
--- a/Gemfile
+++ b/Gemfile
@@ -25,7 +25,7 @@
gem 'omniauth-azure-oauth2', '~> 0.0.6'
gem 'omniauth-bitbucket', '~> 0.0.2'
gem 'omniauth-cas3', '~> 1.1', '>= 1.1.2'
-gem 'omniauth-facebook', '~> 4.0'
+gem 'omniauth-facebook', '>= 3.0', '< 5.0'
gem 'omniauth-github', '~> 1.1', '>= 1.1.1'
gem 'omniauth-gitlab', '~> 1.0'
gem 'omniauth-google-oauth2', '~> 0.4.1'

View file

@ -7,4 +7,3 @@
source-init-functions.patch source-init-functions.patch
pid-log-paths.patch pid-log-paths.patch
052-relax-grape.patch 052-relax-grape.patch
053-relax-omniauth-facebook.patch