From 29680bd7ad47dca57d69847539efca960104d4e0 Mon Sep 17 00:00:00 2001
From: jingquan huang
Date: Fri, 19 Jul 2019 18:07:43 +0800
Subject: [PATCH 01/11] sync new git
---
lib/tasks/gitlab_new.rake | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 lib/tasks/gitlab_new.rake
diff --git a/lib/tasks/gitlab_new.rake b/lib/tasks/gitlab_new.rake
new file mode 100644
index 00000000..fd6e0c56
--- /dev/null
+++ b/lib/tasks/gitlab_new.rake
@@ -0,0 +1,31 @@
+namespace :gitlab do
+ task :myshixun_newgit => :environment do
+ g = Gitlab.client
+ myshixuns = Myshixun.where("repo_name is null")
+ myshixuns.find_each do |myshixun|
+ begin
+ puts myshixun.id
+ repo_name = g.project(myshixun.gpid).path_with_namespace
+ puts repo_name
+ myshixun.update_column(:repo_name, repo_name)
+ rescue Exception => e
+ Rails.logger.error("e.message")
+ end
+ end
+ end
+
+ task :shixun_newgit => :environment do
+ g = Gitlab.client
+ shixuns = Shixun.where("repo_name is null")
+ shixuns.find_each do |shixun|
+ begin
+ puts shixun.id
+ repo_name = g.project(shixun.gpid).path_with_namespace
+ puts shixun.id
+ shixun.update_column(:repo_name, repo_name)
+ rescue Exception => e
+ Rails.logger.error("e.message")
+ end
+ end
+ end
+end
From 457546c804df3408f8429c7620c11ab60b67b4a8 Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Fri, 19 Jul 2019 19:06:56 +0800
Subject: [PATCH 02/11] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=9C=8D=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/update.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/update.html b/public/update.html
index e609e7aa..18c1c436 100644
--- a/public/update.html
+++ b/public/update.html
@@ -56,7 +56,7 @@ If you continue to experience problems please contact your Trustie administrator
温馨提示:为了给大家提供更优质的服务
- 平台拟于2019年4月27日17:00--18:30进行全面升级,带来不便,敬请谅解!
+ 平台拟于2019年7月19日21:30--2019年7月20号12:00进行全面升级,带来不便,敬请谅解!