From ttrinks at redhat.com Mon Dec 4 01:01:36 2017 From: ttrinks at redhat.com (ttrinks at redhat.com) Date: Mon, 4 Dec 2017 01:01:36 +0000 (UTC) Subject: [zanata-users] Zanata (translate.engineering.redhat.com) Scheduled Maintenance | 04-Dec-2017 16:00:00 UTC Message-ID: 0de866bf-ca4a-4cdb-bc07-06565734ef55@support.engineering.redhat.com --------------------------------------------------------- ***// SCHEDULED MAINTENANCE REPORT //*** HostName: translate.engineering.redhat.com Priority: Medium Scheduled Date: 04-Dec-2017 16:00:00 UTC Estimated Time Required: 60 minutes Performed By: ttrinks People/Groups Impacted: Zanata users Services/Sites Impacted: Zanata (translate.engineering.redhat.com) Description: Upgrade Zanata to 4.3.2 (ZANATA-1460). Impact: The Zanata translation platform won't be available for the duration of the outage. Sign Off: Marc Raaz ***// SENT FROM CHARNET //*** https://support.engineering.redhat.com/status.jsf Want to escalate an issue find out more here: https://mojo.redhat.com/docs/DOC-1044941 -------------- next part -------------- A non-text attachment was scrubbed... Name: maintenance.ics Type: text/calendar Size: 1677 bytes Desc: not available URL: From ttrinks at redhat.com Mon Dec 4 01:04:45 2017 From: ttrinks at redhat.com (ttrinks at redhat.com) Date: Mon, 4 Dec 2017 01:04:45 +0000 (UTC) Subject: [zanata-users] Zanata (translate.engineering.redhat.com) Scheduled Maintenance | 04-Dec-2017 08:00:00 UTC In-Reply-To: 0de866bf-ca4a-4cdb-bc07-06565734ef55@support.engineering.redhat.com References: 0de866bf-ca4a-4cdb-bc07-06565734ef55@support.engineering.redhat.com Message-ID: <1577477657.3488.1512349485054.JavaMail.jboss@charnet.host.prod.eng.rdu2.redhat.com> UPDATED COMMENT ADDED BY ttrinks at 04-Dec-2017 01:04:45 UTC Incorrect Timezone in Charnet Input Mask. Correcting to 2017/12/04 08:00 UTC (4 pm AEST). --------------------------------------------------------- ***// SCHEDULED MAINTENANCE REPORT //*** HostName: translate.engineering.redhat.com Priority: Medium Scheduled Date: 04-Dec-2017 08:00:00 UTC Estimated Time Required: 60 minutes Performed By: ttrinks People/Groups Impacted: Zanata users Services/Sites Impacted: Zanata (translate.engineering.redhat.com) Description: Upgrade Zanata to 4.3.2 (ZANATA-1460). Impact: The Zanata translation platform won't be available for the duration of the outage. Sign Off: Marc Raaz ***// SENT FROM CHARNET //*** https://support.engineering.redhat.com/status.jsf Want to escalate an issue find out more here: https://mojo.redhat.com/docs/DOC-1044941 -------------- next part -------------- A non-text attachment was scrubbed... Name: maintenance.ics Type: text/calendar Size: 1841 bytes Desc: not available URL: From ttrinks at redhat.com Mon Dec 4 07:22:07 2017 From: ttrinks at redhat.com (ttrinks at redhat.com) Date: Mon, 4 Dec 2017 07:22:07 +0000 (UTC) Subject: [zanata-users] Zanata (translate.engineering.redhat.com) Scheduled Maintenance | 04-Dec-2017 08:00:00 UTC In-Reply-To: 0de866bf-ca4a-4cdb-bc07-06565734ef55@support.engineering.redhat.com References: 0de866bf-ca4a-4cdb-bc07-06565734ef55@support.engineering.redhat.com Message-ID: <1711392596.3756.1512372127025.JavaMail.jboss@charnet.host.prod.eng.rdu2.redhat.com> COMPLETED COMMENT ADDED BY ttrinks at 04-Dec-2017 07:22:07 UTC Outage complete. Zanata has successfully been upgraded to 4.3.2. Please report any issues via http://one.engineering.redhat.com, thanks! --------------------------------------------------------- COMMENT ADDED BY ttrinks at 04-Dec-2017 01:04:45 UTC Incorrect Timezone in Charnet Input Mask. Correcting to 2017/12/04 08:00 UTC (4 pm AEST). --------------------------------------------------------- ***// SCHEDULED MAINTENANCE REPORT //*** HostName: translate.engineering.redhat.com Priority: Medium Scheduled Date: 04-Dec-2017 08:00:00 UTC Estimated Time Required: 60 minutes Performed By: ttrinks People/Groups Impacted: Zanata users Services/Sites Impacted: Zanata (translate.engineering.redhat.com) Description: Upgrade Zanata to 4.3.2 (ZANATA-1460). Impact: The Zanata translation platform won't be available for the duration of the outage. Sign Off: Marc Raaz ***// SENT FROM CHARNET //*** https://support.engineering.redhat.com/status.jsf Want to escalate an issue find out more here: https://mojo.redhat.com/docs/DOC-1044941 From yls at chainnova.com Tue Dec 12 07:13:19 2017 From: yls at chainnova.com (=?gb2312?B?09rB1sn6?=) Date: Tue, 12 Dec 2017 07:13:19 +0000 Subject: [zanata-users] Zanata & Github Message-ID: Hi? Currently I want to translate some documents using Zanata, and use GitHub Pages to show translations. But I do not know how to display the translation on Zanata as GitHub Pages automatically rather than manually. If you can not do it automatically, what is the easiest and fastest way? That is to say, how to sync github repository documents to Zanata original, how to sync Zanata translation to github repository. Please help me. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sflaniga at redhat.com Tue Dec 12 07:55:00 2017 From: sflaniga at redhat.com (Sean Flanigan) Date: Tue, 12 Dec 2017 17:55:00 +1000 Subject: [zanata-users] Zanata & Github In-Reply-To: References: Message-ID: Zanata doesn't integrate directly with GitHub, but we have a plugin for Jenkins which can synchronise between Zanata and a git repository, including GitHub. https://wiki.jenkins.io/display/JENKINS/Zanata+Plugin Alternatively you can look at Zanata's CLI (push and pull commands): http://docs.zanata.org/en/release/client/ On 12 December 2017 at 17:13, ??? wrote: > Hi? > > Currently I want to translate some documents using Zanata, and use GitHub > Pages to show translations. > > But I do not know how to display the translation on Zanata as GitHub Pages > automatically rather than manually. > > If you can not do it automatically, what is the easiest and fastest way? > > That is to say, how to sync github repository documents to Zanata > original, how to sync Zanata translation to github repository. > > Please help me. > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users > -- Sean Flanigan Principal Software Engineer Globalisation Tools Engineering Red Hat -------------- next part -------------- An HTML attachment was scrubbed... URL: From yls at chainnova.com Tue Dec 12 10:17:39 2017 From: yls at chainnova.com (=?gb2312?B?09rB1sn6?=) Date: Tue, 12 Dec 2017 10:17:39 +0000 Subject: [zanata-users] Zanata & Github In-Reply-To: References: Message-ID: <6797A6FA-4B28-483D-9E24-A66C55D565B5@chainnova.com> Thanks, i will try it. ? 2017?12?12????3:55?Sean Flanigan > ??? Alternatively you can look at Zanata's CLI (push and pull commands): -------------- next part -------------- An HTML attachment was scrubbed... URL: From yls at chainnova.com Thu Dec 14 10:02:25 2017 From: yls at chainnova.com (=?gb2312?B?09rB1sn6?=) Date: Thu, 14 Dec 2017 10:02:25 +0000 Subject: [zanata-users] Zanata & Github In-Reply-To: References: Message-ID: <6FF445AB-5E34-4F24-8938-89B1C36E6376@chainnova.com> Hi, I tried jenkins and zanata_plugin, but found exception.(I uploaded HTML file as source document, and i want download HTML file.) The message is : Job config: ZanataSyncStep{zanataURL=, credentialsId=163dfc8c-d81f-4e37-9758-3389e62d6aa5, zanataUsername=linsheng, zanataSecret=29*9, syncOption=source, zanataLocaleIds=, zanataProjectConfigs=} Dec 14, 2017 8:37:21 AM org.zanata.client.commands.OptionsUtil readProjectConfigFile INFO: Loading project config from /var/jenkins_home/workspace/zanata_test/zanata.xml Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Server: https://translate.zanata.org/ Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Project: xxxx Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Version: v1 Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Username: xxxxx Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Project type: file Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Enable modules: false Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Using ETag cache: false Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Purging ETag cache beforehand: false Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Locales to pull: [zh-Hans-CN] Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Encode tab as \t: true Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Current directory: / Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Pulling target documents (translations) only Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Target-language base directory (translations): /var/jenkins_home/workspace/zanata_test/. Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Minimum accepted translation percentage (message based): 0% Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Create skeletons for untranslated messages/files: false ERROR: Build step failed with exception java.lang.RuntimeException: unknown project type: file at org.zanata.client.commands.pull.PullCommand.createStrategy(PullCommand.java:76) at org.zanata.client.commands.pull.PullCommand.run(PullCommand.java:151) at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:38) Caused: org.jenkinsci.plugins.zanata.exception.ZanataSyncException: failed pulling from zanata at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:40) at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullIfProjectIdMatchesConfig(ZanataSyncServiceImpl.java:234) at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullFromZanata(ZanataSyncServiceImpl.java:212) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:263) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:255) at hudson.FilePath.act(FilePath.java:998) at hudson.FilePath.act(FilePath.java:976) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.pullFromZanata(ZanataSyncStep.java:255) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.perform(ZanataSyncStep.java:218) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.build(Build.java:206) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496) at hudson.model.Run.execute(Run.java:1737) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:419) Build step 'Zanata Sync' marked build as failure Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur. Finished: FAILURE My Zanata config is: [cid:3B7A733B-DFAA-4758-9573-C254806A1D4B] When i set the "Project Type? as ?Gettext?, there was no exception. ? 2017?12?12????3:55?Sean Flanigan > ??? Zanata doesn't integrate directly with GitHub, but we have a plugin for Jenkins which can synchronise between Zanata and a git repository, including GitHub. https://wiki.jenkins.io/display/JENKINS/Zanata+Plugin Alternatively you can look at Zanata's CLI (push and pull commands): http://docs.zanata.org/en/release/client/ On 12 December 2017 at 17:13, ??? > wrote: Hi? Currently I want to translate some documents using Zanata, and use GitHub Pages to show translations. But I do not know how to display the translation on Zanata as GitHub Pages automatically rather than manually. If you can not do it automatically, what is the easiest and fastest way? That is to say, how to sync github repository documents to Zanata original, how to sync Zanata translation to github repository. Please help me. _______________________________________________ zanata-users mailing list zanata-users at redhat.com https://www.redhat.com/mailman/listinfo/zanata-users -- Sean Flanigan Principal Software Engineer Globalisation Tools Engineering Red Hat -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-2.png Type: image/png Size: 111364 bytes Desc: PastedGraphic-2.png URL: From yls at chainnova.com Thu Dec 14 11:00:27 2017 From: yls at chainnova.com (=?gb2312?B?09rB1sn6?=) Date: Thu, 14 Dec 2017 11:00:27 +0000 Subject: [zanata-users] How to use Zanata Webhooks Message-ID: <551204B1-0B9B-4AAE-9063-56909335778D@chainnova.com> Hi all, I set Zanata Webhooks to a project, but could not receive HTTP request when i translated. Why? And i found my seting UI is different from the zanata docs http://docs.zanata.org/en/release/user-guide/projects/project-settings/#webhooks. [cid:38D56D68-915C-4D4D-BC7E-3B5E7FFC91F6] [cid:B0324F27-F3E0-4070-B88D-062B1549216D] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-3.png Type: image/png Size: 30930 bytes Desc: PastedGraphic-3.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-4.png Type: image/png Size: 53219 bytes Desc: PastedGraphic-4.png URL: From sflaniga at redhat.com Thu Dec 14 11:27:00 2017 From: sflaniga at redhat.com (Sean Flanigan) Date: Thu, 14 Dec 2017 21:27:00 +1000 Subject: [zanata-users] Zanata & Github In-Reply-To: <6FF445AB-5E34-4F24-8938-89B1C36E6376@chainnova.com> References: <6FF445AB-5E34-4F24-8938-89B1C36E6376@chainnova.com> Message-ID: Hi Patrick, Do you know what's going on here? On 14 December 2017 at 20:02, ??? wrote: > Hi, > > > I tried jenkins and zanata_plugin, but found exception.(I uploaded HTML > file as source document, and i want download HTML file.) > > The message is : > > Job config: ZanataSyncStep{zanataURL=, credentialsId=163dfc8c-d81f-4e37-9758-3389e62d6aa5, zanataUsername=linsheng, zanataSecret=29*9, syncOption=source, zanataLocaleIds=, zanataProjectConfigs=} > Dec 14, 2017 8:37:21 AM org.zanata.client.commands.OptionsUtil readProjectConfigFile > INFO: Loading project config from /var/jenkins_home/workspace/zanata_test/zanata.xml > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Server: https://translate.zanata.org/ > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Project: xxxx > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Version: v1 > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Username: xxxxx > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Project type: file > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Enable modules: false > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Using ETag cache: false > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Purging ETag cache beforehand: false > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Locales to pull: [zh-Hans-CN] > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Encode tab as \t: true > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Current directory: / > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Pulling target documents (translations) only > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Target-language base directory (translations): /var/jenkins_home/workspace/zanata_test/. > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Minimum accepted translation percentage (message based): 0% > Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions > INFO: Create skeletons for untranslated messages/files: false > ERROR: Build step failed with exception > java.lang.RuntimeException: unknown project type: file > at org.zanata.client.commands.pull.PullCommand.createStrategy(PullCommand.java:76) > at org.zanata.client.commands.pull.PullCommand.run(PullCommand.java:151) > at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:38) > Caused: org.jenkinsci.plugins.zanata.exception.ZanataSyncException: failed pulling from zanata > at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:40) > at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullIfProjectIdMatchesConfig(ZanataSyncServiceImpl.java:234) > at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullFromZanata(ZanataSyncServiceImpl.java:212) > at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:263) > at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:255) > at hudson.FilePath.act(FilePath.java:998) > at hudson.FilePath.act(FilePath.java:976) > at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.pullFromZanata(ZanataSyncStep.java:255) > at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.perform(ZanataSyncStep.java:218) > at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) > at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736) > at hudson.model.Build$BuildExecution.build(Build.java:206) > at hudson.model.Build$BuildExecution.doRun(Build.java:163) > at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496) > at hudson.model.Run.execute(Run.java:1737) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) > at hudson.model.ResourceController.execute(ResourceController.java:97) > at hudson.model.Executor.run(Executor.java:419) > Build step 'Zanata Sync' marked build as failure > Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur. > Finished: FAILURE > > > > My Zanata config is: > > > When i set the "Project Type? as ?Gettext?, there was no exception. > > > > ? 2017?12?12????3:55?Sean Flanigan ??? > > Zanata doesn't integrate directly with GitHub, but we have a plugin for > Jenkins which can synchronise between Zanata and a git repository, > including GitHub. > https://wiki.jenkins.io/display/JENKINS/Zanata+Plugin > > Alternatively you can look at Zanata's CLI (push and pull commands): > http://docs.zanata.org/en/release/client/ > > > On 12 December 2017 at 17:13, ??? wrote: > >> Hi? >> >> Currently I want to translate some documents using Zanata, and use GitHub >> Pages to show translations. >> >> But I do not know how to display the translation on Zanata as GitHub >> Pages automatically rather than manually. >> >> If you can not do it automatically, what is the easiest and fastest way? >> >> That is to say, how to sync github repository documents to Zanata >> original, how to sync Zanata translation to github repository. >> >> Please help me. >> >> _______________________________________________ >> zanata-users mailing list >> zanata-users at redhat.com >> https://www.redhat.com/mailman/listinfo/zanata-users >> > > > > -- > Sean Flanigan > > Principal Software Engineer > Globalisation Tools Engineering > Red Hat > > > -- Sean Flanigan Principal Software Engineer Globalisation Tools Engineering Red Hat -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-2.png Type: image/png Size: 111364 bytes Desc: not available URL: From yls at chainnova.com Mon Dec 18 02:12:54 2017 From: yls at chainnova.com (=?gb2312?B?09rB1sn6?=) Date: Mon, 18 Dec 2017 02:12:54 +0000 Subject: [zanata-users] Zanata & Github In-Reply-To: References: <6FF445AB-5E34-4F24-8938-89B1C36E6376@chainnova.com> Message-ID: <3953FDD4-FB23-45BF-A91C-B2AEDDD10583@chainnova.com> Can anyone help me? ? 2017?12?14????7:27?Sean Flanigan > ??? Hi Patrick, Do you know what's going on here? On 14 December 2017 at 20:02, ??? > wrote: Hi, I tried jenkins and zanata_plugin, but found exception.(I uploaded HTML file as source document, and i want download HTML file.) The message is : Job config: ZanataSyncStep{zanataURL=, credentialsId=163dfc8c-d81f-4e37-9758-3389e62d6aa5, zanataUsername=linsheng, zanataSecret=29*9, syncOption=source, zanataLocaleIds=, zanataProjectConfigs=} Dec 14, 2017 8:37:21 AM org.zanata.client.commands.OptionsUtil readProjectConfigFile INFO: Loading project config from /var/jenkins_home/workspace/zanata_test/zanata.xml Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Server: https://translate.zanata.org/ Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Project: xxxx Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Version: v1 Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Username: xxxxx Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Project type: file Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Enable modules: false Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Using ETag cache: false Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Purging ETag cache beforehand: false Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Locales to pull: [zh-Hans-CN] Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Encode tab as \t: true Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Current directory: / Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Pulling target documents (translations) only Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Target-language base directory (translations): /var/jenkins_home/workspace/zanata_test/. Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Minimum accepted translation percentage (message based): 0% Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions INFO: Create skeletons for untranslated messages/files: false ERROR: Build step failed with exception java.lang.RuntimeException: unknown project type: file at org.zanata.client.commands.pull.PullCommand.createStrategy(PullCommand.java:76) at org.zanata.client.commands.pull.PullCommand.run(PullCommand.java:151) at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:38) Caused: org.jenkinsci.plugins.zanata.exception.ZanataSyncException: failed pulling from zanata at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:40) at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullIfProjectIdMatchesConfig(ZanataSyncServiceImpl.java:234) at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullFromZanata(ZanataSyncServiceImpl.java:212) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:263) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:255) at hudson.FilePath.act(FilePath.java:998) at hudson.FilePath.act(FilePath.java:976) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.pullFromZanata(ZanataSyncStep.java:255) at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.perform(ZanataSyncStep.java:218) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.build(Build.java:206) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496) at hudson.model.Run.execute(Run.java:1737) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:419) Build step 'Zanata Sync' marked build as failure Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur. Finished: FAILURE My Zanata config is: When i set the "Project Type? as ?Gettext?, there was no exception. ? 2017?12?12????3:55?Sean Flanigan > ??? Zanata doesn't integrate directly with GitHub, but we have a plugin for Jenkins which can synchronise between Zanata and a git repository, including GitHub. https://wiki.jenkins.io/display/JENKINS/Zanata+Plugin Alternatively you can look at Zanata's CLI (push and pull commands): http://docs.zanata.org/en/release/client/ On 12 December 2017 at 17:13, ??? > wrote: Hi? Currently I want to translate some documents using Zanata, and use GitHub Pages to show translations. But I do not know how to display the translation on Zanata as GitHub Pages automatically rather than manually. If you can not do it automatically, what is the easiest and fastest way? That is to say, how to sync github repository documents to Zanata original, how to sync Zanata translation to github repository. Please help me. _______________________________________________ zanata-users mailing list zanata-users at redhat.com https://www.redhat.com/mailman/listinfo/zanata-users -- Sean Flanigan Principal Software Engineer Globalisation Tools Engineering Red Hat -- Sean Flanigan Principal Software Engineer Globalisation Tools Engineering Red Hat -------------- next part -------------- An HTML attachment was scrubbed... URL: From pahuang at redhat.com Mon Dec 18 05:22:06 2017 From: pahuang at redhat.com (Patrick Huang) Date: Mon, 18 Dec 2017 15:22:06 +1000 Subject: [zanata-users] Zanata & Github In-Reply-To: <3953FDD4-FB23-45BF-A91C-B2AEDDD10583@chainnova.com> References: <6FF445AB-5E34-4F24-8938-89B1C36E6376@chainnova.com> <3953FDD4-FB23-45BF-A91C-B2AEDDD10583@chainnova.com> Message-ID: Hello Mr Yu, For file type project, you will have to use scripting do the job in Jenkins. Please follow https://zanata-jenkins-plugin.readthedocs.io/en/ latest/configuration/build-step/install-cli/ to configure your Jenkins server. After you have done with "Individual Job Configuration", you can reference the zanata-cli tool in shell script (jenkins build step). Below is some snippet that you can reference: # alias to zanata-cli (installed by Jenkins) z=$ZANATA_CLI_4_0_0_HOME/bin/zanata-cli # invoke zanata cli (Z_USERNAME and Z_API_KEY are from credential binding plugin) # push translatable source to Zanata $z --batch-mode -e push --username $Z_USERNAME --key $Z_API_KEY --file-types "HTML" # pull translation $z --batch-mode -e pull --username $Z_USERNAME --key $Z_API_KEY # after pull, you can optionally commit the translation files and push to github in post build step # git add . # git commit -m "translation" On Mon, Dec 18, 2017 at 12:12 PM, ??? wrote: > Can anyone help me? > > ? 2017?12?14????7:27?Sean Flanigan ??? > > Hi Patrick, > > Do you know what's going on here? > > On 14 December 2017 at 20:02, ??? wrote: > >> Hi, >> >> >> I tried jenkins and zanata_plugin, but found exception.(I uploaded HTML >> file as source document, and i want download HTML file.) >> >> The message is : >> >> Job config: ZanataSyncStep{zanataURL=, credentialsId=163dfc8c-d81f-4e37-9758-3389e62d6aa5, zanataUsername=linsheng, zanataSecret=29*9, syncOption=source, zanataLocaleIds=, zanataProjectConfigs=} >> Dec 14, 2017 8:37:21 AM org.zanata.client.commands.OptionsUtil readProjectConfigFile >> INFO: Loading project config from /var/jenkins_home/workspace/zanata_test/zanata.xml >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Server: https://translate.zanata.org/ >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Project: xxxx >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Version: v1 >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Username: xxxxx >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Project type: file >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Enable modules: false >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Using ETag cache: false >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Purging ETag cache beforehand: false >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Locales to pull: [zh-Hans-CN] >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Encode tab as \t: true >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Current directory: / >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Pulling target documents (translations) only >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Target-language base directory (translations): /var/jenkins_home/workspace/zanata_test/. >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Minimum accepted translation percentage (message based): 0% >> Dec 14, 2017 8:37:23 AM org.zanata.client.commands.pull.PullCommand logOptions >> INFO: Create skeletons for untranslated messages/files: false >> ERROR: Build step failed with exception >> java.lang.RuntimeException: unknown project type: file >> at org.zanata.client.commands.pull.PullCommand.createStrategy(PullCommand.java:76) >> at org.zanata.client.commands.pull.PullCommand.run(PullCommand.java:151) >> at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:38) >> Caused: org.jenkinsci.plugins.zanata.exception.ZanataSyncException: failed pulling from zanata >> at org.jenkinsci.plugins.zanata.cli.service.impl.PullServiceImpl.pullFromZanata(PullServiceImpl.java:40) >> at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullIfProjectIdMatchesConfig(ZanataSyncServiceImpl.java:234) >> at org.jenkinsci.plugins.zanata.cli.service.impl.ZanataSyncServiceImpl.pullFromZanata(ZanataSyncServiceImpl.java:212) >> at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:263) >> at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep$1.invoke(ZanataSyncStep.java:255) >> at hudson.FilePath.act(FilePath.java:998) >> at hudson.FilePath.act(FilePath.java:976) >> at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.pullFromZanata(ZanataSyncStep.java:255) >> at org.jenkinsci.plugins.zanata.zanatareposync.ZanataSyncStep.perform(ZanataSyncStep.java:218) >> at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) >> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) >> at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736) >> at hudson.model.Build$BuildExecution.build(Build.java:206) >> at hudson.model.Build$BuildExecution.doRun(Build.java:163) >> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496) >> at hudson.model.Run.execute(Run.java:1737) >> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) >> at hudson.model.ResourceController.execute(ResourceController.java:97) >> at hudson.model.Executor.run(Executor.java:419) >> Build step 'Zanata Sync' marked build as failure >> Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur. >> Finished: FAILURE >> >> >> >> My Zanata config is: >> >> >> >> When i set the "Project Type? as ?Gettext?, there was no exception. >> >> >> >> ? 2017?12?12????3:55?Sean Flanigan ??? >> >> Zanata doesn't integrate directly with GitHub, but we have a plugin for >> Jenkins which can synchronise between Zanata and a git repository, >> including GitHub. >> https://wiki.jenkins.io/display/JENKINS/Zanata+Plugin >> >> Alternatively you can look at Zanata's CLI (push and pull commands): >> http://docs.zanata.org/en/release/client/ >> >> >> On 12 December 2017 at 17:13, ??? wrote: >> >>> Hi? >>> >>> Currently I want to translate some documents using Zanata, and use >>> GitHub Pages to show translations. >>> >>> But I do not know how to display the translation on Zanata as GitHub >>> Pages automatically rather than manually. >>> >>> If you can not do it automatically, what is the easiest and fastest way? >>> >>> That is to say, how to sync github repository documents to Zanata >>> original, how to sync Zanata translation to github repository. >>> >>> Please help me. >>> >>> _______________________________________________ >>> zanata-users mailing list >>> zanata-users at redhat.com >>> https://www.redhat.com/mailman/listinfo/zanata-users >>> >> >> >> >> -- >> Sean Flanigan >> >> Principal Software Engineer >> Globalisation Tools Engineering >> Red Hat >> >> >> > > > -- > Sean Flanigan > > Principal Software Engineer > Globalisation Tools Engineering > Red Hat > > > -- Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8278 Fax: +61 7 3514 8199 IRC: pahuang github: github.com/huangp Website: www.redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pahuang at redhat.com Mon Dec 18 05:26:41 2017 From: pahuang at redhat.com (Patrick Huang) Date: Mon, 18 Dec 2017 15:26:41 +1000 Subject: [zanata-users] How to use Zanata Webhooks In-Reply-To: <551204B1-0B9B-4AAE-9063-56909335778D@chainnova.com> References: <551204B1-0B9B-4AAE-9063-56909335778D@chainnova.com> Message-ID: Hi Mr Yu, The image in zanata doc is referring to latest released version of zanata. Depending on the version you are using, it might look a bit different. You can use https://requestb.in/ to set up a webhook tester. Just to check if Zanata can send webhook to it. If it failed to send to it, then there is an issue in Zanata. Otherwise there might be an issue on your webhook receiver. Let us know how it goes. On Thu, Dec 14, 2017 at 9:00 PM, ??? wrote: > Hi all, > > I set Zanata Webhooks to a project, but could not receive HTTP request > when i translated. > > Why? > > And i found my seting UI is different from the zanata docs > http://docs.zanata.org/en/release/user-guide/projects/project-settings/# > webhooks. > > > > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users > -- Patrick Huang Senior Software Engineer Engineering - Internationalisation Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 Office: +61 7 3514 8278 Fax: +61 7 3514 8199 IRC: pahuang github: github.com/huangp Website: www.redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-3.png Type: image/png Size: 30930 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-4.png Type: image/png Size: 53219 bytes Desc: not available URL: From kaisparkle1 at gmail.com Mon Dec 25 13:44:27 2017 From: kaisparkle1 at gmail.com (Kai Ward) Date: Tue, 26 Dec 2017 02:44:27 +1300 Subject: [zanata-users] Can't sign up on the Zanata JIRA, need to report an issue. Message-ID: Hi, I'm trying to join the Zanata JIRA, but I receive the mesage "Atlassian Cloud: No Access - Did you use the wrong account?". I'm trying to report an issue where whenever I go to download translated files from Zanata, it changes "\n" into an actual newline, which is messing with my document. Any help would be great. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From aeng at redhat.com Thu Dec 28 01:07:02 2017 From: aeng at redhat.com (Alex Eng) Date: Thu, 28 Dec 2017 11:07:02 +1000 Subject: [zanata-users] Can't sign up on the Zanata JIRA, need to report an issue. In-Reply-To: References: Message-ID: Hi Kai, We are working on the Jira permission issue. In the meantime, can you explain your issue and possible the url to your project? On Mon, Dec 25, 2017 at 11:44 PM, Kai Ward wrote: > Hi, > > I'm trying to join the Zanata JIRA, but I receive the mesage "Atlassian > Cloud: No Access - Did you use the wrong account?". I'm trying to report an > issue where whenever I go to download translated files from Zanata, it > changes "\n" into an actual newline, which is messing with my document. Any > help would be great. > > Thanks! > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users > -- ALEX ENG ASSOCIATE MANAGER globalization TOOLING, CUSTOMER PLATFORM Red Hat Inc 193 North Quay, Brisbane City QLD 4000 alex.eng at redhat.com M: 0423353457 IM: aeng -------------- next part -------------- An HTML attachment was scrubbed... URL: