[
https://issues.apache.org/jira/browse/BEAM-9876?focusedWorklogId=431407&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-431407
]
ASF GitHub Bot logged work on BEAM-9876:
----------------------------------------
Author: ASF GitHub Bot
Created on: 06/May/20 20:36
Start Date: 06/May/20 20:36
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on a change in pull request
#11554:
URL: https://github.com/apache/beam/pull/11554#discussion_r421075832
##########
File path: website/build.gradle
##########
@@ -91,30 +92,38 @@ task startDockerContainer(type: Exec) {
"${->createDockerContainer.containerId()}" // Lazily evaluate containerId.
}
+task initGitSubmodules(type: Exec) {
+ commandLine 'docker', 'exec', '-u', 'root',
+ "${->startDockerContainer.containerId()}", 'git',
'submodule', 'update', '--init', '--recursive'
+}
+
+task installDependencies(type: Exec) {
+ commandLine 'docker', 'exec', '-u', 'root', '--workdir',
"$dockerSourceDir",
+ "${->startDockerContainer.containerId()}", 'yarn', 'install'
+}
+
+task buildGithubSamples(type: Exec) {
+ commandLine 'docker', 'exec', '-u', 'root', '--workdir', "$dockerSourceDir",
+ "${->startDockerContainer.containerId()}", 'yarn',
'build_github_samples'
+}
Review comment:
I wonder if we should remove the `-u root` from the other docker exec
command below as well? I don't know why it's there, and I had to remove all 4
in order to be able to run `:websitePrecommit` locally.
Also once I did get it running I ran into the following error:
```
Error: Error building site: TOCSS: failed to transform "scss/main.scss"
(text/x-scss): SCSS processing failed: file
"/opt/website/www/site/assets/scss/_table-wrapper.sass", line 12, col 35:
Invalid CSS after "...the License. */": expected 1 selector or at-rule, was "*/
{}"
```
Which seems to be another issue. Need to change the comment syntax in
main.scss
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 431407)
Time Spent: 2h 40m (was: 2.5h)
> Migrate the Beam website from Jekyll to Hugo to enable localization of the
> site content
> ---------------------------------------------------------------------------------------
>
> Key: BEAM-9876
> URL: https://issues.apache.org/jira/browse/BEAM-9876
> Project: Beam
> Issue Type: Task
> Components: website
> Reporter: Aizhamal Nurmamat kyzy
> Assignee: Aizhamal Nurmamat kyzy
> Priority: Major
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Enable internationalization of the Apache Beam website to increase the reach
> of the project, and facilitate adoption and growth of its community.
> The proposal was to do this by migrating the current Apache Beam website from
> Jekyll do Hugo [1]. Hugo supports internationalization out-of-the-box, making
> it easier both for contributors and maintainers support the
> internationalization effort.
> The further discussion on implementation can be viewed here [2]
> [1]
> [https://lists.apache.org/thread.html/rfab4cc1411318c3f4667bee051df68f37be11846ada877f3576c41a9%40%3Cdev.beam.apache.org%3E]
> [2]
> [https://lists.apache.org/thread.html/r6b999b6d7d1f6cbb94e16bb2deed2b65098a6b14c4ac98707fe0c36a%40%3Cdev.beam.apache.org%3E]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)