From owner-svn-ports-head@freebsd.org Fri Nov 23 15:02:00 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2612E1148FFD; Fri, 23 Nov 2018 15:02:00 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB84D8D38F; Fri, 23 Nov 2018 15:01:59 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C9512027C; Fri, 23 Nov 2018 15:01:59 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wANF1xer081907; Fri, 23 Nov 2018 15:01:59 GMT (envelope-from mfechner@FreeBSD.org) Received: (from mfechner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wANF1wwB081903; Fri, 23 Nov 2018 15:01:58 GMT (envelope-from mfechner@FreeBSD.org) Message-Id: <201811231501.wANF1wwB081903@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mfechner set sender to mfechner@FreeBSD.org using -f From: Matthias Fechner Date: Fri, 23 Nov 2018 15:01:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485670 - in head/devel/gitaly: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mfechner X-SVN-Commit-Paths: in head/devel/gitaly: . files X-SVN-Commit-Revision: 485670 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BB84D8D38F X-Spamd-Result: default: False [1.24 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.44)[0.439,0]; NEURAL_SPAM_MEDIUM(0.75)[0.754,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.05)[0.045,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 15:02:00 -0000 Author: mfechner Date: Fri Nov 23 15:01:58 2018 New Revision: 485670 URL: https://svnweb.freebsd.org/changeset/ports/485670 Log: Upgrade to 0.129.0 which is required for gitlab-ce 11.5. Approved by: mentors (implicit) Added: head/devel/gitaly/files/patch-__support_makegen.go (contents, props changed) Deleted: head/devel/gitaly/files/patch-Makefile Modified: head/devel/gitaly/Makefile head/devel/gitaly/distinfo head/devel/gitaly/files/patch-ruby_Gemfile head/devel/gitaly/pkg-plist Modified: head/devel/gitaly/Makefile ============================================================================== --- head/devel/gitaly/Makefile Fri Nov 23 14:59:50 2018 (r485669) +++ head/devel/gitaly/Makefile Fri Nov 23 15:01:58 2018 (r485670) @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= gitaly -DISTVERSION= 0.125.1 -PORTREVISION= 1 +DISTVERSION= 0.129.0 +PORTREVISION= 0 CATEGORIES= devel MAINTAINER= mfechner@FreeBSD.org @@ -14,20 +14,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE # define dependencies that are required for build and run under MY_DEPENDS MY_DEPENDS= git>=2.17:devel/git \ rubygem-i18n>=0:devel/rubygem-i18n \ + rubygem-bundler>=1.16.5:sysutils/rubygem-bundler \ rubygem-rugged>=0.27.4:devel/rubygem-rugged \ - rubygem-github-linguist53>=5.3.3:textproc/rubygem-github-linguist53 \ - rubygem-bundler>0:sysutils/rubygem-bundler \ + rubygem-github-linguist>=6.1:textproc/rubygem-github-linguist \ rubygem-gitlab-markup>=1.6.4:textproc/rubygem-gitlab-markup \ - rubygem-gitaly-proto>=0.107.0:net/rubygem-gitaly-proto \ + rubygem-gitaly-proto>=0.123.0:net/rubygem-gitaly-proto \ rubygem-activesupport50>=5.0.2:devel/rubygem-activesupport50 \ rubygem-rdoc>=6.0:devel/rubygem-rdoc \ rubygem-gitlab-gollum-lib>=4.2:www/rubygem-gitlab-gollum-lib \ rubygem-gitlab-gollum-rugged_adapter>=0.4.4:www/rubygem-gitlab-gollum-rugged_adapter \ - rubygem-grpc>=1.11.0:net/rubygem-grpc \ + rubygem-grpc>=1.15.0:net/rubygem-grpc \ rubygem-sentry-raven>=2.7.2:devel/rubygem-sentry-raven \ rubygem-faraday>=0.12:www/rubygem-faraday \ rubygem-licensee8>=8.9.0:devel/rubygem-licensee8 \ - rubygem-google-protobuf351>=3.5.1:devel/rubygem-google-protobuf351 + rubygem-google-protobuf>=3.6:devel/rubygem-google-protobuf BUILD_DEPENDS= go>=1.9:lang/go \ gem:devel/ruby-gems \ @@ -42,7 +42,7 @@ USE_RUBY= yes USE_GITLAB= yes GL_ACCOUNT= gitlab-org # Find this here: https://gitlab.com/gitlab-org/gitaly/tags -GL_COMMIT= 076f3b0710ac07af5530ff20618e3fc27a5aead7 +GL_COMMIT= 1a4581d04d67d2821e5df6866af8ba6bbef40960 post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example @@ -56,9 +56,5 @@ do-install: (cd ${WRKSRC}/_build/bin/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/bin && \ cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) && \ cd ${WRKSRC}/ruby && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ruby - -post-install: - ${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly - ${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly-ssh .include Modified: head/devel/gitaly/distinfo ============================================================================== --- head/devel/gitaly/distinfo Fri Nov 23 14:59:50 2018 (r485669) +++ head/devel/gitaly/distinfo Fri Nov 23 15:01:58 2018 (r485670) @@ -1,3 +1,3 @@ -TIMESTAMP = 1540328037 -SHA256 (gitlab-org-gitaly-076f3b0710ac07af5530ff20618e3fc27a5aead7_GL0.tar.gz) = 7d4f62b68b5e8b587024a3db5833285068bb25d77b3f40c440bbeb3a9d9418f0 -SIZE (gitlab-org-gitaly-076f3b0710ac07af5530ff20618e3fc27a5aead7_GL0.tar.gz) = 3603356 +TIMESTAMP = 1542968937 +SHA256 (gitlab-org-gitaly-1a4581d04d67d2821e5df6866af8ba6bbef40960_GL0.tar.gz) = e07cd0e36368f2ae8dfdb77a523ce89ba132261429cfdb814fcca1d443eef6ad +SIZE (gitlab-org-gitaly-1a4581d04d67d2821e5df6866af8ba6bbef40960_GL0.tar.gz) = 4183911 Added: head/devel/gitaly/files/patch-__support_makegen.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gitaly/files/patch-__support_makegen.go Fri Nov 23 15:01:58 2018 (r485670) @@ -0,0 +1,20 @@ +--- _support/makegen.go.orig 2018-11-23 11:12:56 UTC ++++ _support/makegen.go +@@ -225,7 +225,7 @@ var templateText = ` + # These variables may be overriden at runtime by top-level make + PREFIX ?= /usr/local + INSTALL_DEST_DIR := $(DESTDIR)$(PREFIX)/bin/ +-BUNDLE_FLAGS ?= --deployment ++BUNDLE_FLAGS ?= --local + ASSEMBLY_ROOT ?= {{ .BuildDir }}/assembly + + unexport GOROOT +@@ -245,7 +245,7 @@ build: ../.ruby-bundle + # _build. Hence the '../' in front. + ../.ruby-bundle: {{ .SourceDir }}/ruby/Gemfile.lock {{ .SourceDir }}/ruby/Gemfile + cd {{ .SourceDir }}/ruby && bundle config # for debugging +- cd {{ .SourceDir }}/ruby && bundle install $(BUNDLE_FLAGS) ++ cd {{ .SourceDir }}/ruby && rm Gemfile.lock && bundle install $(BUNDLE_FLAGS) + cd {{ .SourceDir }}/ruby && bundle show gitaly-proto # sanity check + touch $@ + Modified: head/devel/gitaly/files/patch-ruby_Gemfile ============================================================================== --- head/devel/gitaly/files/patch-ruby_Gemfile Fri Nov 23 14:59:50 2018 (r485669) +++ head/devel/gitaly/files/patch-ruby_Gemfile Fri Nov 23 15:01:58 2018 (r485670) @@ -1,32 +1,28 @@ ---- ruby/Gemfile.orig 2018-09-07 08:03:54 UTC +--- ruby/Gemfile.orig 2018-11-23 10:31:05 UTC +++ ruby/Gemfile -@@ -1,16 +1,17 @@ - source 'https://rubygems.org' - - gem 'rugged', '~> 0.27.4' --gem 'github-linguist', '~> 6.1', require: 'linguist' -+gem 'github-linguist', '~> 5.3', require: 'linguist' +@@ -8,12 +8,13 @@ gem 'github-linguist', '~> 6.1', require gem 'gitlab-markup', '~> 1.6.4' --gem 'gitaly-proto', '~> 0.116.0', require: 'gitaly' -+gem 'gitaly-proto', '~> 0.118.1', require: 'gitaly' + gem 'gitaly-proto', '~> 0.123.0', require: 'gitaly' gem 'activesupport', '~> 5.0.2' -gem 'rdoc', '~> 4.2' +gem 'rdoc', '~> 6.0' gem 'gitlab-gollum-lib', '~> 4.2', require: false gem 'gitlab-gollum-rugged_adapter', '~> 0.4.4', require: false - gem 'grpc', '~> 1.11.0' + gem 'grpc', '~> 1.15.0' gem 'sentry-raven', '~> 2.7.2', require: false gem 'faraday', '~> 0.12' +gem 'i18n' # Detects the open source license the repository includes # This version needs to be in sync with GitLab CE/EE -@@ -18,8 +19,3 @@ gem 'licensee', '~> 8.9.0' +@@ -21,10 +22,3 @@ gem 'licensee', '~> 8.9.0' - # Locked until https://github.com/google/protobuf/issues/4210 is closed - gem 'google-protobuf', '= 3.5.1' -- + gem 'google-protobuf', '~> 3.6' + -group :development, :test do -- gem 'gitlab-styles', '~> 2.0.0', require: false +- gem 'rubocop', '~> 0.50', require: false - gem 'rspec', require: false +- gem 'rspec-parameterized', require: false +- gem 'timecop', require: false +- gem 'factory_bot', require: false -end Modified: head/devel/gitaly/pkg-plist ============================================================================== --- head/devel/gitaly/pkg-plist Fri Nov 23 14:59:50 2018 (r485669) +++ head/devel/gitaly/pkg-plist Fri Nov 23 15:01:58 2018 (r485670) @@ -2,6 +2,8 @@ %%DATADIR%%/ruby/README.md @(,,555) %%DATADIR%%/ruby/bin/gitaly-ruby @(,,555) %%DATADIR%%/ruby/bin/ruby-cd +%%DATADIR%%/ruby/.rubocop.yml +%%DATADIR%%/ruby/.rubocop_todo.yml %%DATADIR%%/ruby/lib/gitaly_server.rb %%DATADIR%%/ruby/lib/gitaly_server/blob_service.rb %%DATADIR%%/ruby/lib/gitaly_server/client.rb @@ -14,6 +16,7 @@ %%DATADIR%%/ruby/lib/gitaly_server/ref_service.rb %%DATADIR%%/ruby/lib/gitaly_server/remote_service.rb %%DATADIR%%/ruby/lib/gitaly_server/repository_service.rb +%%DATADIR%%/ruby/lib/gitaly_server/rugged_interceptor.rb %%DATADIR%%/ruby/lib/gitaly_server/sentry.rb %%DATADIR%%/ruby/lib/gitaly_server/sentry_interceptor.rb %%DATADIR%%/ruby/lib/gitaly_server/utils.rb @@ -24,6 +27,7 @@ %%DATADIR%%/ruby/lib/gitlab/git/blob.rb %%DATADIR%%/ruby/lib/gitlab/git/branch.rb %%DATADIR%%/ruby/lib/gitlab/git/commit.rb +%%DATADIR%%/ruby/lib/gitlab/git/commit_patches.rb %%DATADIR%%/ruby/lib/gitlab/git/commit_stats.rb %%DATADIR%%/ruby/lib/gitlab/git/committer_with_hooks.rb %%DATADIR%%/ruby/lib/gitlab/git/conflict/file.rb @@ -47,6 +51,7 @@ %%DATADIR%%/ruby/lib/gitlab/git/repository.rb %%DATADIR%%/ruby/lib/gitlab/git/repository_mirroring.rb %%DATADIR%%/ruby/lib/gitlab/git/rev_list.rb +%%DATADIR%%/ruby/lib/gitlab/git/submodule.rb %%DATADIR%%/ruby/lib/gitlab/git/tag.rb %%DATADIR%%/ruby/lib/gitlab/git/user.rb %%DATADIR%%/ruby/lib/gitlab/git/wiki.rb @@ -58,22 +63,40 @@ %%DATADIR%%/ruby/lib/gitlab/rails_logger.rb %%DATADIR%%/ruby/lib/gitlab/utils/strong_memoize.rb %%DATADIR%%/ruby/lib/gitlab/version_info.rb +%%DATADIR%%/ruby/spec/factories/gitaly/commit.rb +%%DATADIR%%/ruby/spec/factories/gitaly/commit_author.rb +%%DATADIR%%/ruby/spec/factories/sequences.rb %%DATADIR%%/ruby/spec/gitaly/ref_service_spec.rb %%DATADIR%%/ruby/spec/gitaly/repository_service_spec.rb -%%DATADIR%%/ruby/spec/integration_helper.rb %%DATADIR%%/ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb +%%DATADIR%%/ruby/spec/lib/gitaly_server/rugged_interceptor_spec.rb %%DATADIR%%/ruby/spec/lib/gitaly_server/utils_spec.rb %%DATADIR%%/ruby/spec/lib/gitaly_server/sentry/url_sanitizer_spec.rb %%DATADIR%%/ruby/spec/lib/gitaly_server/sentry_interceptor_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/config_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/blob_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/branch_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/commit_patches_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/commit_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/git/diff_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/git/gitlab_projects_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/hook_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/git/index_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/lfs_changes_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/popen_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/raw_diff_change_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/remote_repository_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/git/repository_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/git/rev_list_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/submodule_spec.rb +%%DATADIR%%/ruby/spec/lib/gitlab/git/user_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/git/wiki_spec.rb %%DATADIR%%/ruby/spec/lib/gitlab/version_info_spec.rb %%DATADIR%%/ruby/spec/spec_helper.rb +%%DATADIR%%/ruby/spec/support/generate-seed-repo-rb +%%DATADIR%%/ruby/spec/support/helpers/gitlab_shell_helper.rb +%%DATADIR%%/ruby/spec/support/helpers/integration_helper.rb +%%DATADIR%%/ruby/spec/support/helpers/seed_repo.rb %%DATADIR%%/ruby/spec/support/sentry.rb %%DATADIR%%/ruby/spec/test_repo_helper.rb @(,,555) %%DATADIR%%/bin/gitaly