[
https://issues.apache.org/jira/browse/BEAM-11608?focusedWorklogId=584530&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-584530
]
ASF GitHub Bot logged work on BEAM-11608:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Apr/21 22:12
Start Date: 16/Apr/21 22:12
Worklog Time Spent: 10m
Work Description: ebarreraWL commented on a change in pull request #14475:
URL: https://github.com/apache/beam/pull/14475#discussion_r615146427
##########
File path: local-env-setup.sh
##########
@@ -0,0 +1,124 @@
+#!/usr/bin/env bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+darwin_install_pip3_packages() {
+ echo "Installing setuptools grpcio-tools virtualenv"
+ pip3 install setuptools grpcio-tools virtualenv
+ echo "Installing mypy-protobuf"
+ pip3 install --user mypy-protobuf
+}
+
+install_go_packages(){
+ echo "Installing goavro"
+ go get github.com/linkedin/goavro
+ # As we are using bash, we are assuming .bashrc exists.
+ grep -qxF "export
GOPATH='${pwd}/sdks/go/examples/.gogradle/project_gopath'" ~/.bashrc || echo
"export GOPATH='${pwd}/sdks/go/examples/.gogradle/project_gopath'" >> ~/.bashrc
+ # The following source command will not work if executed in a subshell
like $ ./this_script.sh. Instead, we need to run it in the current shell as $ .
./this_script.sh.
+ # However, this is just to load the GOPATH env variable from the
previosu command into the current shell. If that's not required, then we can
suggest a terminal reload after the execution?
+ #source ~/.bashrc
Review comment:
it's not relevant anymore, removed.
--
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: 584530)
Time Spent: 1h 40m (was: 1.5h)
> Development environment set up automation
> -----------------------------------------
>
> Key: BEAM-11608
> URL: https://issues.apache.org/jira/browse/BEAM-11608
> Project: Beam
> Issue Type: Wish
> Components: build-system, website
> Reporter: Tyson Hamilton
> Assignee: Eduardo Barrera
> Priority: P3
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> The manual steps in the contribution guide should be combined into a single
> command for users. For example, this could be done by putting all manual
> steps into a shell script.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)