git: ace1d95ae944 - main - www/gitlab-ce: fix database migration error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 12:22:21 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ace1d95ae944db6dacc492e4fe12afdb2a771e0c
commit ace1d95ae944db6dacc492e4fe12afdb2a771e0c
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-12-14 12:19:37 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-12-14 12:22:11 +0000
www/gitlab-ce: fix database migration error
Database migration step requires vite_ruby 3.3 even if a higher version is allowed.
Following error is fixed:
E, [2023-12-14T14:15:11.286071 #1116] ERROR -- : Failed to check mode for Vite: vite-plugin-ruby@^3.2.2 might not be compatible with vite_ruby-3.5.0
You may disable this check if needed: https://vite-ruby.netlify.app/config/#skipcompatibilitycheck
You may upgrade both by running:
bundle exec vite upgrade
rake aborted!
ArgumentError: vite-plugin-ruby@^3.2.2 might not be compatible with vite_ruby-3.5.0
You may disable this check if needed: https://vite-ruby.netlify.app/config/#skipcompatibilitycheck
You may upgrade both by running:
bundle exec vite upgrade
/usr/local/www/gitlab-ce/config/environment.rb:7:in `<top (required)>'
<internal:/usr/local/lib/ruby/site_ruby/3.1/rubygems/core_ext/kernel_require.rb>:38:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.1/rubygems/core_ext/kernel_require.rb>:38:in `require'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
---
devel/Makefile | 1 +
devel/rubygem-vite_rails-rails70/Makefile | 3 ++-
devel/rubygem-vite_ruby33/Makefile | 24 ++++++++++++++++++++++++
devel/rubygem-vite_ruby33/distinfo | 3 +++
devel/rubygem-vite_ruby33/pkg-descr | 1 +
www/gitlab-ce/Makefile | 2 +-
6 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/devel/Makefile b/devel/Makefile
index b4ba7d8ed336..49c526d70c4a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7557,6 +7557,7 @@
SUBDIR += rubygem-virtus
SUBDIR += rubygem-vite_rails-rails70
SUBDIR += rubygem-vite_ruby
+ SUBDIR += rubygem-vite_ruby33
SUBDIR += rubygem-warbler
SUBDIR += rubygem-warden
SUBDIR += rubygem-warning
diff --git a/devel/rubygem-vite_rails-rails70/Makefile b/devel/rubygem-vite_rails-rails70/Makefile
index 4ac6ec3e1345..6aee9fca7b33 100644
--- a/devel/rubygem-vite_rails-rails70/Makefile
+++ b/devel/rubygem-vite_rails-rails70/Makefile
@@ -1,5 +1,6 @@
PORTNAME= vite_rails
PORTVERSION= 3.0.17
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails70
@@ -13,7 +14,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-railties70>=5.1<8:www/rubygem-railties70 \
- rubygem-vite_ruby>=3.2.2<4:devel/rubygem-vite_ruby
+ rubygem-vite_ruby33>=3.2.2<4:devel/rubygem-vite_ruby33
USES= gem
diff --git a/devel/rubygem-vite_ruby33/Makefile b/devel/rubygem-vite_ruby33/Makefile
new file mode 100644
index 000000000000..f0b3a1d78d5b
--- /dev/null
+++ b/devel/rubygem-vite_ruby33/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= vite_ruby
+PORTVERSION= 3.3.4
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 33
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Use Vite in Ruby and bring joy to your JavaScript experience
+WWW= https://github.com/ElMassimo/vite_ruby
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-dry-cli>=0.7<2:devel/rubygem-dry-cli \
+ rubygem-rack-proxy>=0.6.1<1.0:www/rubygem-rack-proxy \
+ rubygem-zeitwerk>=2.2<3:devel/rubygem-zeitwerk
+
+USES= gem
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/vite
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-vite_ruby33/distinfo b/devel/rubygem-vite_ruby33/distinfo
new file mode 100644
index 000000000000..fde6134da597
--- /dev/null
+++ b/devel/rubygem-vite_ruby33/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702555790
+SHA256 (rubygem/vite_ruby-3.3.4.gem) = 025e438385a6dc2320c8c148dff453f5bb1d4f056ce69c3386f47d4c388ad80c
+SIZE (rubygem/vite_ruby-3.3.4.gem) = 31232
diff --git a/devel/rubygem-vite_ruby33/pkg-descr b/devel/rubygem-vite_ruby33/pkg-descr
new file mode 100644
index 000000000000..61b2b926351a
--- /dev/null
+++ b/devel/rubygem-vite_ruby33/pkg-descr
@@ -0,0 +1 @@
+Use Vite in Ruby and bring joy to your JavaScript experience
diff --git a/www/gitlab-ce/Makefile b/www/gitlab-ce/Makefile
index 617739697476..ad9e40f0e100 100644
--- a/www/gitlab-ce/Makefile
+++ b/www/gitlab-ce/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gitlab-ce
PORTVERSION= 16.6.2
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= www devel