You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/12/07 12:25:04 UTC

[GitHub] [incubator-hugegraph-computer] imbajin opened a new pull request, #218: chore: add .gitattributes file to exclude source

imbajin opened a new pull request, #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218

   use rebase merge to keep the commit
   
   and @coderzc keep test & update the script (ammend to the latest commit) to keep them clean


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1045032175


##########
computer-dist/scripts/apache-release.sh:
##########
@@ -0,0 +1,99 @@
+#!/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.
+#
+
+GROUP="hugegraph"
+# current repository name
+REPO="${GROUP}-computer"
+# release version (input by committer)
+RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
+# git release branch (check it carefully)
+GIT_BRANCH="$(git branch --show-current)"
+
+RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}
+
+WORK_DIR=$(cd "$(dirname "$0")" || exit; pwd)
+cd "${WORK_DIR}" || exit
+echo "In the work dir: $(pwd)"
+
+# clean old dir then build a new one
+rm -rfv dist && mkdir -p dist/apache-${REPO}
+
+# step1: package the source code
+cd ../../

Review Comment:
   `cd ../.../  || exit`



##########
computer-dist/scripts/apache-release.sh:
##########
@@ -0,0 +1,99 @@
+#!/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.
+#
+
+GROUP="hugegraph"
+# current repository name
+REPO="${GROUP}-computer"
+# release version (input by committer)
+RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
+# git release branch (check it carefully)
+GIT_BRANCH="$(git branch --show-current)"
+
+RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}
+
+WORK_DIR=$(cd "$(dirname "$0")" || exit; pwd)
+cd "${WORK_DIR}" || exit
+echo "In the work dir: $(pwd)"
+
+# clean old dir then build a new one
+rm -rfv dist && mkdir -p dist/apache-${REPO}
+
+# step1: package the source code
+cd ../../
+git archive --format=tar.gz \
+  --output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
+  --prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" || exit
+
+cd -
+# step2: copy the binary file (Optional)
+# Note: it's optional for project to generate binary package (skip this step if not need)
+cp -v ../../target/apache-${REPO}-incubating-"${RELEASE_VERSION}".tar.gz \
+  dist/apache-${REPO} || exit
+
+# step3: sign + hash
+##### 3.1 sign in source & binary package
+gpg --version 1>/dev/null || exit
+cd ./dist/apache-${REPO} || exit
+for i in *.tar.gz; do
+  echo "$i" && gpg --armor --output "$i".asc --detach-sig "$i"
+done
+
+##### 3.2 Generate SHA512 file
+shasum --version 1>/dev/null || exit
+for i in *.tar.gz; do
+  echo "$i" && shasum -a 512 "$i" >"$i".sha512
+done
+
+#### 3.3 check signature & sha512
+for i in *.tar.gz; do
+  echo "$i"
+  gpg --verify "$i".asc "$i" || exit
+done
+
+for i in *.tar.gz; do
+  echo "$i"
+  shasum -a 512 --check "$i".sha512 || exit
+done
+
+# step4: upload to Apache-SVN
+SVN_DIR="${GROUP}-svn-dev"
+cd ../
+rm -rfv ${SVN_DIR}
+
+##### 4.1 pull from remote & copy files
+svn co "https://dist.apache.org/repos/dist/dev/incubator/${GROUP}" ${SVN_DIR}
+mkdir -p ${SVN_DIR}/"${RELEASE_VERSION}"
+cp -v apache-${REPO}/*tar.gz* "${SVN_DIR}/${RELEASE_VERSION}"
+cd ${SVN_DIR} || exit
+
+##### 4.2 check status first
+svn status
+svn add --parents ${RELEASE_VERSION}/apache-${REPO}-*
+# check status again
+svn status
+
+##### 4.3 commit & push files
+if [ "$USERNAME" = "" ]; then
+    svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}"
+else
+    svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" --username ${USERNAME} --password ${PASSWORD}

Review Comment:
   - double quota for $username & $password
   -  use 2 spaces instead of 4 before `svn`
   
   
   ```bash
   if [ "$USERNAME" = "" ]; then
     svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}"
   else
     svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" --username "${USERNAME}" --password "${PASSWORD}"
   fi
   ```



##########
computer-dist/scripts/apache-release.sh:
##########
@@ -0,0 +1,99 @@
+#!/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.
+#
+
+GROUP="hugegraph"
+# current repository name
+REPO="${GROUP}-computer"
+# release version (input by committer)
+RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
+# git release branch (check it carefully)
+GIT_BRANCH="$(git branch --show-current)"
+
+RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}
+
+WORK_DIR=$(cd "$(dirname "$0")" || exit; pwd)
+cd "${WORK_DIR}" || exit
+echo "In the work dir: $(pwd)"
+
+# clean old dir then build a new one
+rm -rfv dist && mkdir -p dist/apache-${REPO}
+
+# step1: package the source code
+cd ../../
+git archive --format=tar.gz \
+  --output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
+  --prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" || exit
+
+cd -
+# step2: copy the binary file (Optional)
+# Note: it's optional for project to generate binary package (skip this step if not need)
+cp -v ../../target/apache-${REPO}-incubating-"${RELEASE_VERSION}".tar.gz \
+  dist/apache-${REPO} || exit
+
+# step3: sign + hash
+##### 3.1 sign in source & binary package
+gpg --version 1>/dev/null || exit
+cd ./dist/apache-${REPO} || exit
+for i in *.tar.gz; do
+  echo "$i" && gpg --armor --output "$i".asc --detach-sig "$i"
+done
+
+##### 3.2 Generate SHA512 file
+shasum --version 1>/dev/null || exit
+for i in *.tar.gz; do
+  echo "$i" && shasum -a 512 "$i" >"$i".sha512
+done
+
+#### 3.3 check signature & sha512
+for i in *.tar.gz; do
+  echo "$i"
+  gpg --verify "$i".asc "$i" || exit
+done
+
+for i in *.tar.gz; do
+  echo "$i"
+  shasum -a 512 --check "$i".sha512 || exit
+done
+
+# step4: upload to Apache-SVN
+SVN_DIR="${GROUP}-svn-dev"
+cd ../
+rm -rfv ${SVN_DIR}
+
+##### 4.1 pull from remote & copy files
+svn co "https://dist.apache.org/repos/dist/dev/incubator/${GROUP}" ${SVN_DIR}
+mkdir -p ${SVN_DIR}/"${RELEASE_VERSION}"
+cp -v apache-${REPO}/*tar.gz* "${SVN_DIR}/${RELEASE_VERSION}"
+cd ${SVN_DIR} || exit
+
+##### 4.2 check status first
+svn status
+svn add --parents ${RELEASE_VERSION}/apache-${REPO}-*

Review Comment:
   double quota for "${RELEASE_VERSION}"



##########
computer-dist/scripts/apache-release.sh:
##########
@@ -0,0 +1,99 @@
+#!/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.
+#
+
+GROUP="hugegraph"
+# current repository name
+REPO="${GROUP}-computer"
+# release version (input by committer)
+RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
+# git release branch (check it carefully)
+GIT_BRANCH="$(git branch --show-current)"
+
+RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}
+
+WORK_DIR=$(cd "$(dirname "$0")" || exit; pwd)
+cd "${WORK_DIR}" || exit
+echo "In the work dir: $(pwd)"
+
+# clean old dir then build a new one
+rm -rfv dist && mkdir -p dist/apache-${REPO}
+
+# step1: package the source code
+cd ../../
+git archive --format=tar.gz \
+  --output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \
+  --prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" || exit
+
+cd -

Review Comment:
   `cd - || exit`



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#issuecomment-1346210821

   <img width="1098" alt="image" src="https://user-images.githubusercontent.com/17706099/207018817-6e5ea69f-156c-494b-88f8-905205998a02.png">
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1044286482


##########
computer-dist/scripts/apache-release.sh:
##########
@@ -21,8 +21,10 @@ GROUP="hugegraph"
 REPO="${GROUP}-computer"
 # release version (input by committer)
 RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
 # git release branch (check it carefully)
-GIT_BRANCH="release-${RELEASE_VERSION}"
+GIT_BRANCH="$(git branch --show-current)"

Review Comment:
   seems a little dangerous when upload with a wrong branch? or check the `branch-name` below?



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] codecov[bot] commented on pull request #218: chore: add .gitattributes file to exclude source

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#issuecomment-1342017458

   # [Codecov](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#218](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (f9bff17) into [master](https://codecov.io/gh/apache/incubator-hugegraph-computer/commit/57b0b3c727999a24adbd5f68934e3c310d684956?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (57b0b3c) will **decrease** coverage by `0.04%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@             Coverage Diff              @@
   ##             master     #218      +/-   ##
   ============================================
   - Coverage     85.81%   85.76%   -0.05%     
   + Complexity     3232     3231       -1     
   ============================================
     Files           344      344              
     Lines         12079    12079              
     Branches       1087     1087              
   ============================================
   - Hits          10365    10360       -5     
   - Misses         1188     1192       +4     
   - Partials        526      527       +1     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...rg/apache/hugegraph/computer/core/bsp/BspBase.java](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y29tcHV0ZXItY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL2NvbXB1dGVyL2NvcmUvYnNwL0JzcEJhc2UuamF2YQ==) | `92.30% <0.00%> (-7.70%)` | :arrow_down: |
   | [...raph/computer/k8s/operator/OperatorEntrypoint.java](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y29tcHV0ZXItazhzLW9wZXJhdG9yL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWdlZ3JhcGgvY29tcHV0ZXIvazhzL29wZXJhdG9yL09wZXJhdG9yRW50cnlwb2ludC5qYXZh) | `85.71% <0.00%> (-2.53%)` | :arrow_down: |
   | [...mputer/k8s/operator/common/AbstractController.java](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y29tcHV0ZXItazhzLW9wZXJhdG9yL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWdlZ3JhcGgvY29tcHV0ZXIvazhzL29wZXJhdG9yL2NvbW1vbi9BYnN0cmFjdENvbnRyb2xsZXIuamF2YQ==) | `84.54% <0.00%> (-0.97%)` | :arrow_down: |
   | [...k8s/operator/controller/ComputerJobController.java](https://codecov.io/gh/apache/incubator-hugegraph-computer/pull/218/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-Y29tcHV0ZXItazhzLW9wZXJhdG9yL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWdlZ3JhcGgvY29tcHV0ZXIvazhzL29wZXJhdG9yL2NvbnRyb2xsZXIvQ29tcHV0ZXJKb2JDb250cm9sbGVyLmphdmE=) | `89.72% <0.00%> (+1.02%)` | :arrow_up: |
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1045031653


##########
pom.xml:
##########
@@ -46,12 +43,50 @@
         </license>
     </licenses>
 
+    <developers>
+      <developer>
+        <id>Apache Hugegraph(incubating)</id>
+        <email>dev-subscribe@hugegraph.apache.org</email>
+        <url>https://hugegraph.apache.org/</url>
+      </developer>
+    </developers>
+
+    <mailingLists>
+      <mailingList>
+        <name>Development List</name>
+        <subscribe>dev-subscribe@hugegraph.apache.org</subscribe>
+        <unsubscribe>dev-unsubscribe@hugegraph.apache.org</unsubscribe>
+        <post>dev@hugegraph.incubator.apache.org</post>
+      </mailingList>
+      <mailingList>
+        <name>Commits List</name>
+        <subscribe>commits-subscribe@hugegraph.apache.org</subscribe>
+        <unsubscribe>commits-unsubscribe@hugegraph.apache.org</unsubscribe>
+        <post>commits@hugegraph.apache.org</post>
+      </mailingList>
+      <mailingList>
+        <name>Issues List</name>
+        <subscribe>issues-subscribe@hugegraph.apache.org</subscribe>
+        <unsubscribe>issues-unsubscribe@hugegraph.apache.org</unsubscribe>
+        <post>issues@hugegraph.apache.org</post>
+      </mailingList>
+    </mailingLists>
+
+    <issueManagement>
+      <system>Github Issues</system>
+      <url>https://github.com/apache/hugegraph-computer/issues</url>
+    </issueManagement>
+
     <scm>
         <url>https://github.com/apache/hugegraph-computer</url>
-        <connection>https://github.com/apache/hugegraph-computer</connection>
-        <developerConnection>https://github.com/apache/hugegraph-computer</developerConnection>
+        <connection>scm:git:https://github.com/apache/hugegraph-computer.git</connection>
+        <developerConnection>scm:git:https://github.com/apache/hugegraph-computer.git</developerConnection>
     </scm>
 
+    <prerequisites>
+        <maven>3.3.9</maven>

Review Comment:
   also update it to `3.5.0`



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #218: chore: add .gitattributes file to exclude source

Posted by GitBox <gi...@apache.org>.
imbajin commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1043479500


##########
computer-dist/scripts/apache-release.sh:
##########
@@ -22,10 +22,14 @@ GROUP="hugegraph"
 REPO="${GROUP}-computer"
 # release version (input by committer)
 RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
 # git release branch (check it carefully)
 GIT_BRANCH="$(git branch --show-current)"
 
 RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}
+USERNAME=${USERNAME:?"Please input the username behind script"}
+PASSWORD=${PASSWORD:?"Please input the password behind script"}

Review Comment:
   should't be required? if null use the local env default



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1044287490


##########
.gitattributes:
##########
@@ -8,4 +8,6 @@ apache-release.sh export-ignore
 
 # ignored directory
 .github/ export-ignore
-assembly/ export-ignore
+computer-dist/src/assembly/ export-ignore
+computer-k8s-operator/crd-generate/bin/ export-ignore
+logs/ export-ignore

Review Comment:
   if `logs` ignored in `.gitignore` already, it won't be packaged by default



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#issuecomment-1352675750

   update the commit log & use `rebase merge` option


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] coderzc commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
coderzc commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1044290043


##########
computer-dist/scripts/apache-release.sh:
##########
@@ -21,8 +21,10 @@ GROUP="hugegraph"
 REPO="${GROUP}-computer"
 # release version (input by committer)
 RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
 # git release branch (check it carefully)
-GIT_BRANCH="release-${RELEASE_VERSION}"
+GIT_BRANCH="$(git branch --show-current)"

Review Comment:
   ok



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
imbajin commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1045031255


##########
computer-dist/src/assembly/travis/load-data-into-hugegraph.sh:
##########
@@ -35,6 +35,8 @@ cd ../../
 wget http://files.grouplens.org/datasets/movielens/ml-latest-small.zip
 unzip -d ${DATASET_DIR} ml-latest-small.zip
 
+chmod -R 755 hugegraph-toolchain/hugegraph-loader/apache-hugegraph-loader-*/bin/

Review Comment:
   could remove it now



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] zyxxoo merged pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
zyxxoo merged PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] coderzc commented on a diff in pull request #218: chore: add .gitattributes file to exclude source

Posted by GitBox <gi...@apache.org>.
coderzc commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1043537558


##########
computer-dist/scripts/apache-release.sh:
##########
@@ -22,10 +22,14 @@ GROUP="hugegraph"
 REPO="${GROUP}-computer"
 # release version (input by committer)
 RELEASE_VERSION=$1
+USERNAME=$2
+PASSWORD=$3
 # git release branch (check it carefully)
 GIT_BRANCH="$(git branch --show-current)"
 
 RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}
+USERNAME=${USERNAME:?"Please input the username behind script"}
+PASSWORD=${PASSWORD:?"Please input the password behind script"}

Review Comment:
   You are right



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-computer] coderzc commented on a diff in pull request #218: chore: add apache-release.sh & prepare release

Posted by GitBox <gi...@apache.org>.
coderzc commented on code in PR #218:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/218#discussion_r1044289133


##########
.gitattributes:
##########
@@ -8,4 +8,6 @@ apache-release.sh export-ignore
 
 # ignored directory
 .github/ export-ignore
-assembly/ export-ignore
+computer-dist/src/assembly/ export-ignore
+computer-k8s-operator/crd-generate/bin/ export-ignore
+logs/ export-ignore

Review Comment:
   I see



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org