From bdb4f1d51b9f08ceabae06cb08fdb0fd1db8a231 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Thu, 24 May 2018 15:52:07 +0900 Subject: [PATCH 01/15] Fix: README --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 186e424..086af19 100644 --- a/README.md +++ b/README.md @@ -282,22 +282,22 @@ This program is for the users with the Space's **administrator** roles. - Can not migrate bulletin forum and event attachments - The ToDo category can not be migrated. -### About limitations in Backlog -- Importing users will be terminated if the number of users will exceed the limit in Backlog. +### About limitations in the Backlog +- Importing users will be terminated if the number of users exceeds the limit in the Backlog. - Empty comments are not registered. ## Re-importing -When the project key in Backlog and CybozuLive matches, they will be considered as the same project and data will be imported as follows. +When the project key in the Backlog and CybozuLive matches, they will be considered as the same project and data will be imported as follows. **If the person migrating data is not in the project.** The project will not be imported and the following message will be shown. Join the project to migrate data. -Importing to this project failed. You are not a member of this project. Join the project to add issues. +To migrate this project, you have to join. Join the project to add issues. | Item | Specifications | |:-----------|------------| -| Project | The project will not be added when there is a project with same project key. The issues and wikis will be added to the existing project. | +| Project | The project will not be added when there is a project with the same project key. The issues and wikis will be added to the existing project. | | Issues | Issues with matching subject, creator, creation date are not registered. | ## Important points @@ -308,8 +308,8 @@ Please uncheck "Preferences" → "Smart quotes". ## Third party tracking system -In this application, we collect information such as source URL, destination URL, migration source project key, migration destination project key, by third party service (Mixpanel) in order to grasp usage situation. -Please refer to Mixpanel's privacy policy for data to be tracked. Also, if you do not want your data to be used in Mixpanel, you can suspend (opt out) by the following methods. +In this application, we collect information such as destination URL, migration destination project key, by third party service (Mixpanel) in order to grasp the usage situation. +Please refer to Mixpanel's privacy policy for what data is tracked. Also, if you do not want your data to be used in Mixpanel, you can suspend (opt out) by the following methods. If you want to opt out, please use the optOut option. @@ -332,6 +332,6 @@ MIT License ## Inquiry -Please contact us if you encounter any problems during the CybozuLive to Backlog migration. +Please contact us if you encounter any problems during the CybozuLive to the Backlog migration. https://backlog.com/contact/ From b6fdcfb394a308d939fe3f2c0f81e93375d3f0b5 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Thu, 24 May 2018 15:53:31 +0900 Subject: [PATCH 02/15] Update: version to 0.1.0b4-SNAPSHOT --- build.sbt | 2 +- src/main/resources/application.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 8bd6750..1e22966 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "backlog-migration-cybozulive" lazy val commonSettings = Seq( - version := "0.1.0b3", + version := "0.1.0b4-SNAPSHOT", scalaVersion := "2.12.6", libraryDependencies ++= Seq( "org.fusesource.jansi" % "jansi" % "1.17", diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 330aa03..14fab97 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -1,14 +1,14 @@ app { name = "Backlog Migration for CybozuLive" - version = "0.1.0b3" + version = "0.1.0b4-SNAPSHOT" title = ${app.name} ${app.version} (c) nulab.inc fileName = backlog-migration-cybozulive-${app.version}.jar language = default dataDirectory = "./backlog-migration" mixpanel { - token = "5be8b628b7103858164142d02cb38347" - backlogtoolToken = "0512c52e553b9283143bed99e61c27e4" + token = "6aad3862b3514d664ebb4501f86f42c8" + backlogtoolToken = "6aad3862b3514d664ebb4501f86f42c8" product = "cybozulive" } } From 04ac34fe0f498232a668cd2509d2c75c7e5a1a73 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Fri, 25 May 2018 08:53:43 +0900 Subject: [PATCH 03/15] Fix: ignore events with no title. BLGMIGRATION-697 --- .../com/nulabinc/backlog/c2b/services/BacklogExport.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/scala/com/nulabinc/backlog/c2b/services/BacklogExport.scala b/src/main/scala/com/nulabinc/backlog/c2b/services/BacklogExport.scala index 7ada1c0..afef1d4 100644 --- a/src/main/scala/com/nulabinc/backlog/c2b/services/BacklogExport.scala +++ b/src/main/scala/com/nulabinc/backlog/c2b/services/BacklogExport.scala @@ -229,6 +229,9 @@ object BacklogExport extends Logger { event.copy(id = newId, comments = comments) }.map { event => issueConverter.from(event, issueType) match { + case Right(backlogIssue) if backlogIssue.summary.value.isEmpty => + log.warn(s"Event title is empty. Ignored. Id: $eventId Memo: ${event.memo}") + AppDSL.pure(()) case Right(backlogIssue) => for { _ <- exportIssue(paths, backlogIssue, event.startDateTime, index, total) From 3d35929e24061a3c8646f1cd55bb667e4661ef46 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Sun, 27 May 2018 09:40:54 +0900 Subject: [PATCH 04/15] Clean: build.sbt BLGMIGRATION-670 --- build.sbt | 23 +++-------------------- modules/common | 2 +- modules/importer | 2 +- 3 files changed, 5 insertions(+), 22 deletions(-) diff --git a/build.sbt b/build.sbt index 1e22966..7159b13 100644 --- a/build.sbt +++ b/build.sbt @@ -3,29 +3,11 @@ name := "backlog-migration-cybozulive" lazy val commonSettings = Seq( version := "0.1.0b4-SNAPSHOT", - scalaVersion := "2.12.6", - libraryDependencies ++= Seq( - "org.fusesource.jansi" % "jansi" % "1.17", - "com.osinka.i18n" %% "scala-i18n" % "1.0.2", - "ch.qos.logback" % "logback-classic" % "1.2.3", - "com.typesafe" % "config" % "1.3.3", - "org.scalatest" %% "scalatest" % "3.0.5" % Test - ) + scalaVersion := "2.12.6" ) lazy val backlogMigrationCommon = (project in file("modules/common")) .settings(commonSettings) - .settings( - unmanagedBase := baseDirectory.value / "libs", - libraryDependencies ++= Seq( - "com.google.inject" % "guice" % "4.2.0", - "io.spray" %% "spray-json" % "1.3.4", - "com.mixpanel" % "mixpanel-java" % "1.4.4", - "net.codingwell" %% "scala-guice" % "4.2.0", - "com.netaporter" %% "scala-uri" % "0.4.16", - "com.github.pathikrit" %% "better-files" % "3.4.0" - ) - ) lazy val backlogMigrationImporter = (project in file("modules/importer")) .settings(commonSettings) @@ -56,7 +38,8 @@ lazy val root = (project in file(".")) "io.monix" %% "monix-reactive" % monixVersion, "io.monix" %% "monix-execution" % monixVersion, "io.monix" %% "monix-eval" % monixVersion, - "org.apache.commons" % "commons-csv" % "1.5" + "org.apache.commons" % "commons-csv" % "1.5", + "org.scalatest" %% "scalatest" % "3.0.5" % Test ) }, assemblyJarName in assembly := { diff --git a/modules/common b/modules/common index 4f0e10b..630f287 160000 --- a/modules/common +++ b/modules/common @@ -1 +1 @@ -Subproject commit 4f0e10bfa980f58eb37ba5f264c74a86bcc83151 +Subproject commit 630f28730e61defe8221b9c08e51560ee8a37c77 diff --git a/modules/importer b/modules/importer index 548ba61..72c3102 160000 --- a/modules/importer +++ b/modules/importer @@ -1 +1 @@ -Subproject commit 548ba61070b8617915294f2e4b17afa83b9f015f +Subproject commit 72c31022bf3bf47d404a6c90c8b44183868321fe From 6eb7fff3d5be04afcb53afe89c81d3eaf0339726 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Sun, 27 May 2018 11:36:40 +0900 Subject: [PATCH 05/15] Clean: unused import. BLGMIGRATION-700 --- modules/common | 2 +- modules/importer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/common b/modules/common index 630f287..0a2136a 160000 --- a/modules/common +++ b/modules/common @@ -1 +1 @@ -Subproject commit 630f28730e61defe8221b9c08e51560ee8a37c77 +Subproject commit 0a2136ae7790014c934e0eab25516a72a5bb81a9 diff --git a/modules/importer b/modules/importer index 72c3102..1542e95 160000 --- a/modules/importer +++ b/modules/importer @@ -1 +1 @@ -Subproject commit 72c31022bf3bf47d404a6c90c8b44183868321fe +Subproject commit 1542e95ac89e79e178f719a7a416f87ae9460b61 From 32d5cbac759ba6452784bb3613793be599ac63db Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Tue, 29 May 2018 15:21:26 +0900 Subject: [PATCH 06/15] Remove: tracking system --- .../scala/com/nulabinc/backlog/c2b/App.scala | 25 +----------------- .../c2b/interpreters/AppInterpreter.scala | 26 +------------------ 2 files changed, 2 insertions(+), 49 deletions(-) diff --git a/src/main/scala/com/nulabinc/backlog/c2b/App.scala b/src/main/scala/com/nulabinc/backlog/c2b/App.scala index f4cedaa..e8d13a5 100644 --- a/src/main/scala/com/nulabinc/backlog/c2b/App.scala +++ b/src/main/scala/com/nulabinc/backlog/c2b/App.scala @@ -5,7 +5,6 @@ import java.util.Locale import akka.actor.ActorSystem import akka.stream.ActorMaterializer import com.github.chaabaj.backlog4s.apis.AllApi -import com.github.chaabaj.backlog4s.datas.UserT import com.github.chaabaj.backlog4s.interpreters.AkkaHttpInterpret import com.nulabinc.backlog.c2b.Config._ import com.nulabinc.backlog.c2b.core._ @@ -17,7 +16,7 @@ import com.nulabinc.backlog.c2b.persistence.interpreters.file.LocalStorageInterp import com.nulabinc.backlog.c2b.persistence.interpreters.sqlite.SQLiteInterpreter import com.nulabinc.backlog.c2b.services._ import com.nulabinc.backlog.migration.common.conf.BacklogApiConfiguration -import com.nulabinc.backlog.migration.common.utils.{ConsoleOut, DateUtil, TrackingData} +import com.nulabinc.backlog.migration.common.utils.ConsoleOut import com.osinka.i18n.Messages import monix.eval.Task import monix.execution.Scheduler @@ -131,7 +130,6 @@ object App extends Logger { } def `import`(config: Config, language: String): AppProgram[Unit] = { - import com.github.chaabaj.backlog4s.dsl.syntax._ val backlogApi = AllApi.accessKey(s"${config.backlogUrl}/api/v2/", config.backlogKey) val backlogApiConfiguration = BacklogApiConfiguration( @@ -155,27 +153,6 @@ object App extends Logger { mappingContext <- MappingFiles.createMappingContext() _ <- BacklogExport.all(config)(mappingContext) _ <- AppDSL.`import`(backlogApiConfiguration) - // MixPanel - environment <- AppDSL.getBacklogEnvironment(backlogApiConfiguration) - backlogToolEnvNames = Seq("backlogtool", "us-6") - token = if (backlogToolEnvNames.contains(environment._2)) - Config.App.Mixpanel.backlogtoolToken - else - Config.App.Mixpanel.token - user <- AppDSL.fromBacklog(backlogApi.userApi.byId(UserT.myself).orFail) - space <- AppDSL.fromBacklog(backlogApi.spaceApi.current.orFail) - data = TrackingData( - product = Config.App.Mixpanel.product, - spaceId = environment._1, - envname = environment._2, - userId = user.id.value, - srcUrl = "", - dstUrl = config.backlogUrl, - srcProjectKey = "", - dstProjectKey = config.projectKey, - srcSpaceCreated = "", - dstSpaceCreated = DateUtil.isoFormat(space.created.toDate)) - _ <- AppDSL.sendTrackingData(token, data) } yield () } diff --git a/src/main/scala/com/nulabinc/backlog/c2b/interpreters/AppInterpreter.scala b/src/main/scala/com/nulabinc/backlog/c2b/interpreters/AppInterpreter.scala index c579dba..2db9571 100644 --- a/src/main/scala/com/nulabinc/backlog/c2b/interpreters/AppInterpreter.scala +++ b/src/main/scala/com/nulabinc/backlog/c2b/interpreters/AppInterpreter.scala @@ -15,10 +15,8 @@ import com.nulabinc.backlog.c2b.persistence.dsl.StorageDSL.StorageProgram import com.nulabinc.backlog.c2b.persistence.dsl.StoreDSL.StoreProgram import com.nulabinc.backlog.c2b.persistence.interpreters._ import com.nulabinc.backlog.migration.common.conf.BacklogApiConfiguration -import com.nulabinc.backlog.migration.common.utils.{IOUtil, MixpanelUtil, TrackingData} +import com.nulabinc.backlog.migration.common.utils.IOUtil import com.nulabinc.backlog.migration.importer.core.Boot -import com.nulabinc.backlog4j.BacklogClientFactory -import com.nulabinc.backlog4j.conf.BacklogPackageConfigure import monix.eval.Task import monix.execution.Scheduler import monix.reactive.{Consumer, Observable} @@ -41,8 +39,6 @@ private case class FromTask[A](task: Task[A]) extends AppADT[Try[A]] case class Export(file: File, content: String) extends AppADT[File] case class Import(backlogApiConfiguration: BacklogApiConfiguration) extends AppADT[PrintStream] -case class SendTrackingData(token: String, data: TrackingData) extends AppADT[Unit] -case class GetBacklogEnvironment(backlogApiConfiguration: BacklogApiConfiguration) extends AppADT[(Long, String)] object AppDSL { @@ -93,12 +89,6 @@ object AppDSL { def `import`(backlogApiConfiguration: BacklogApiConfiguration): AppProgram[PrintStream] = Free.liftF(Import(backlogApiConfiguration)) - - def sendTrackingData(token: String, trackingData: TrackingData): AppProgram[Unit] = - Free.liftF(SendTrackingData(token, trackingData)) - - def getBacklogEnvironment(backlogApiConfiguration: BacklogApiConfiguration): AppProgram[(Long, String)] = - Free.liftF(GetBacklogEnvironment(backlogApiConfiguration)) } class AppInterpreter(backlogInterpreter: BacklogHttpInterpret[Future], @@ -148,18 +138,6 @@ class AppInterpreter(backlogInterpreter: BacklogHttpInterpret[Future], } ) - def sendTrackingData(token: String, trackingData: TrackingData): Task[Unit] = Task { - MixpanelUtil.track(token = token, data = trackingData) - } - - def getBacklogEnvironment(backlogApiConfiguration: BacklogApiConfiguration): Task[(Long, String)] = Task { - val backlogPackageConfigure = new BacklogPackageConfigure(backlogApiConfiguration.url) - val configure = backlogPackageConfigure.apiKey(backlogApiConfiguration.key) - val backlogClient = new BacklogClientFactory(configure).newClient() - val environment = backlogClient.getEnvironment - (environment.getSpaceId, environment.getName) - } - def terminate(): Task[Unit] = Task.deferFuture { backlogInterpreter match { case akkaInterpreter: AkkaHttpInterpret => @@ -192,7 +170,5 @@ class AppInterpreter(backlogInterpreter: BacklogHttpInterpret[Future], case ConsumeStream(prgs) => consumeStream(prgs) case Export(file, content) => export(file, content) case Import(config) => `import`(config) - case SendTrackingData(token, trackingData) => sendTrackingData(token, trackingData) - case GetBacklogEnvironment(config) => getBacklogEnvironment(config) } } From 836bf0be0cbdf2728fa98e1a7c46cd2643736822 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Tue, 29 May 2018 10:13:28 +0900 Subject: [PATCH 07/15] Fix: remove the download link (en) --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 086af19..89232b1 100644 --- a/README.md +++ b/README.md @@ -203,8 +203,6 @@ Create a working directory. $ cd work Download jar file. - - [link is here] Create a data directory. From 4b33dc4946330d97bdd2aefe8f1d84bf3b274573 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Tue, 29 May 2018 15:25:34 +0900 Subject: [PATCH 08/15] Remove: mixpanel info from README --- README.md | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/README.md b/README.md index 086af19..daf3837 100644 --- a/README.md +++ b/README.md @@ -134,25 +134,7 @@ Backlog側に同一プロジェクトキーがある場合は、以下の仕様 MacOSにおいて、`テキストエディット`アプリでマッピングファイルを編集するとダブルクオーテーションが変換されてしまいます。 「環境設定」→「スマート引用符」のチェックを外してください。 -## 第三者のトラッキングシステム - -当アプリケーションでは、利用状況把握のために、サードパーティのサービス(Mixpanel)によって、移行先のURL、移行先のプロジェクトキーなどの情報を収集します。 -トラッキングするデータについてはMixpanelのプライバシーポリシーを参照してください。また、お客様のデータがMixpanelで使用されることを望まない場合は、以下に掲げる方法で使用停止(オプトアウト)することができます。 - -次のようにoptOutオプションを使用することで使用停止(オプトアウト)することができます。 - - java -jar backlog-migration-cybozulive-[latest version].jar \ - import \ - --backlog.key XXXXXXXXXXXXX \ - --backlog.url https://xxxxxxx.backlog.jp \ - --projectKey BACKLOG_PROJECT - --optOut - -### Mixpanel - -[Mixpanelのプライバシーポリシー](https://mixpanel.com/privacy/ "Mixpanelのプライバシーポリシー") - -## License +## ライセンス MIT License @@ -171,7 +153,6 @@ https://backlog.com/ja/contact/ # Backlog Migration for CybozuLive Migrate your projects from CybozuLive to [Backlog]. -(英語の下に日本文が記載されています) * Backlog * [https://backlog.com](https://backlog.com/) @@ -306,24 +287,6 @@ To migrate this project, you have to join. Join the project to add issues. In MacOS, when you edit the mapping file with `TextEdit` application, double quotes will be converted. Please uncheck "Preferences" → "Smart quotes". -## Third party tracking system - -In this application, we collect information such as destination URL, migration destination project key, by third party service (Mixpanel) in order to grasp the usage situation. -Please refer to Mixpanel's privacy policy for what data is tracked. Also, if you do not want your data to be used in Mixpanel, you can suspend (opt out) by the following methods. - -If you want to opt out, please use the optOut option. - - java -jar backlog-migration-cybozulive-[latest version].jar \ - import \ - --backlog.key XXXXXXXXXXXXX \ - --backlog.url https://xxxxxxx.backlog.jp \ - --projectKey BACKLOG_PROJECT - --optOut - -### Mixpanel - -[Mixpanel's Privacy Policy](https://mixpanel.com/privacy/ "Mixpanel's Privacy Policy") - ## License MIT License From 9bc2ec81ea9539eb6ba388dae49b699c3af71aff Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Tue, 29 May 2018 15:33:37 +0900 Subject: [PATCH 09/15] Remove: from conf --- src/main/resources/application.conf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 14fab97..a20c86e 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -6,9 +6,4 @@ app { fileName = backlog-migration-cybozulive-${app.version}.jar language = default dataDirectory = "./backlog-migration" - mixpanel { - token = "6aad3862b3514d664ebb4501f86f42c8" - backlogtoolToken = "6aad3862b3514d664ebb4501f86f42c8" - product = "cybozulive" - } } From 25bed253c4919d649d09c6eba6eea5f8a756c3e4 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Thu, 31 May 2018 10:39:31 +0900 Subject: [PATCH 10/15] Clean: config name for common module --- src/main/resources/application.conf | 6 +++--- .../scala/com/nulabinc/backlog/c2b/Config.scala | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index a20c86e..9363de3 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -1,9 +1,9 @@ -app { +application { name = "Backlog Migration for CybozuLive" version = "0.1.0b4-SNAPSHOT" - title = ${app.name} ${app.version} (c) nulab.inc - fileName = backlog-migration-cybozulive-${app.version}.jar + title = ${application.name} ${application.version} (c) nulab.inc + fileName = backlog-migration-cybozulive-${application.version}.jar language = default dataDirectory = "./backlog-migration" } diff --git a/src/main/scala/com/nulabinc/backlog/c2b/Config.scala b/src/main/scala/com/nulabinc/backlog/c2b/Config.scala index 2ac9a98..5aca03a 100644 --- a/src/main/scala/com/nulabinc/backlog/c2b/Config.scala +++ b/src/main/scala/com/nulabinc/backlog/c2b/Config.scala @@ -30,17 +30,17 @@ object Config { private val config = ConfigFactory.load() object App { - private val appConfig = config.getConfig("app") + private val applicationConfig = config.getConfig("application") - val name: String = appConfig.getString("name") - val version: String = appConfig.getString("version") - val title: String = appConfig.getString("title") - val fileName: String = appConfig.getString("fileName") - val language: String = appConfig.getString("language") - val dataDirectory: String = appConfig.getString("dataDirectory") + val name: String = applicationConfig.getString("name") + val version: String = applicationConfig.getString("version") + val title: String = applicationConfig.getString("title") + val fileName: String = applicationConfig.getString("fileName") + val language: String = applicationConfig.getString("language") + val dataDirectory: String = applicationConfig.getString("dataDirectory") object Mixpanel { - private val mixpanelConfig = appConfig.getConfig("mixpanel") + private val mixpanelConfig = applicationConfig.getConfig("mixpanel") val token: String = mixpanelConfig.getString("token") val backlogtoolToken: String = mixpanelConfig.getString("backlogtoolToken") From 9ba77a24f0ed2f1c63b49daea4d17c57ea340fa7 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Thu, 31 May 2018 10:41:07 +0900 Subject: [PATCH 11/15] Add: product info for backlog4j --- src/main/resources/application.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 9363de3..9c3c2bd 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -5,5 +5,6 @@ application { title = ${application.name} ${application.version} (c) nulab.inc fileName = backlog-migration-cybozulive-${application.version}.jar language = default + product = "cybozulive" dataDirectory = "./backlog-migration" } From a47764045eabb6602948511a55e22e0fb6323fab Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Thu, 31 May 2018 10:47:21 +0900 Subject: [PATCH 12/15] Fix: missing common config --- src/main/resources/application.conf | 2 ++ src/main/resources/messages.txt | 3 +++ src/main/resources/messages_ja.txt | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 9c3c2bd..689338e 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -7,4 +7,6 @@ application { language = default product = "cybozulive" dataDirectory = "./backlog-migration" + export-limit-at-once = 100 + akka.mailbox-pool = 100 } diff --git a/src/main/resources/messages.txt b/src/main/resources/messages.txt index 5479a27..f198008 100644 --- a/src/main/resources/messages.txt +++ b/src/main/resources/messages.txt @@ -97,6 +97,9 @@ common.filter=Filter common.importOnly=Only Import common.fitIssueKey=Fit Issue Key +# CLI +cli.error.unknown=Unknown error + # Message message.exporting=Exporting message.exported=Exported diff --git a/src/main/resources/messages_ja.txt b/src/main/resources/messages_ja.txt index fd8d353..dac451b 100644 --- a/src/main/resources/messages_ja.txt +++ b/src/main/resources/messages_ja.txt @@ -97,6 +97,8 @@ common.filter=フィルター common.importOnly=インポートのみ実行 common.fitIssueKey=課題キーを一致させる +# CLI +cli.error.unknown=予期しないエラーが発生しました。 # Message message.exporting=エクスポートしています... From c10c7a26f6889b97f01f7664643e16220ad89d59 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Thu, 31 May 2018 16:21:47 +0900 Subject: [PATCH 13/15] Update: official backlog client. BLGMIGRATION-714 --- modules/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common b/modules/common index 0a2136a..db16473 160000 --- a/modules/common +++ b/modules/common @@ -1 +1 @@ -Subproject commit 0a2136ae7790014c934e0eab25516a72a5bb81a9 +Subproject commit db1647398f69a4a74db0bfc9766f90a5b4fcc08d From da731ac326c4b107ccf580febc022b1f5ebac8ea Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Fri, 1 Jun 2018 08:20:56 +0900 Subject: [PATCH 14/15] Fix: BLGMIGRATION-719 --- modules/common | 2 +- src/main/resources/application.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/common b/modules/common index db16473..8390ca6 160000 --- a/modules/common +++ b/modules/common @@ -1 +1 @@ -Subproject commit db1647398f69a4a74db0bfc9766f90a5b4fcc08d +Subproject commit 8390ca6461ccb680bcf817e71bfa75c119c7f3e7 diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 689338e..a086f49 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -6,6 +6,7 @@ application { fileName = backlog-migration-cybozulive-${application.version}.jar language = default product = "cybozulive" + backlog4jVersion = "2.3.0" dataDirectory = "./backlog-migration" export-limit-at-once = 100 akka.mailbox-pool = 100 From cddc44e7145af1e94c85ffb1bee40956f1334e12 Mon Sep 17 00:00:00 2001 From: Shoma Nishitateno Date: Fri, 1 Jun 2018 08:22:10 +0900 Subject: [PATCH 15/15] Release: 0.2.0b1 --- build.sbt | 2 +- src/main/resources/application.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 7159b13..56e869c 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "backlog-migration-cybozulive" lazy val commonSettings = Seq( - version := "0.1.0b4-SNAPSHOT", + version := "0.2.0b1", scalaVersion := "2.12.6" ) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index a086f49..c21f781 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -1,7 +1,7 @@ application { name = "Backlog Migration for CybozuLive" - version = "0.1.0b4-SNAPSHOT" + version = "0.2.0b1" title = ${application.name} ${application.version} (c) nulab.inc fileName = backlog-migration-cybozulive-${application.version}.jar language = default