Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare for apache v1.0.0 release #2048

Merged
merged 3 commits into from
Dec 14, 2022
Merged

chore: prepare for apache v1.0.0 release #2048

merged 3 commits into from
Dec 14, 2022

Conversation

imbajin
Copy link
Member

@imbajin imbajin commented Dec 7, 2022

@zyxxoo continue & test the release with this PR (amend 4th commit to complete it)

Remember rename current branch to release-1.0.0 for script running: git branch -m before-release release-1.0.0

and use rebase and merge for it

@imbajin imbajin added improvement General improvement apache labels Dec 7, 2022
@imbajin imbajin requested a review from zyxxoo December 7, 2022 12:44
@imbajin imbajin changed the title chore: add .gitattributes file to exclude source file chore: prepare for apache v1.0.0 release Dec 7, 2022
@codecov
Copy link

codecov bot commented Dec 7, 2022

Codecov Report

Merging #2048 (02e8850) into master (73bf516) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master    #2048    +/-   ##
==========================================
  Coverage     68.40%   68.40%            
+ Complexity      978      677   -301     
==========================================
  Files           481      481            
  Lines         39749    39749            
  Branches       5582     5582            
==========================================
+ Hits          27189    27191     +2     
  Misses         9934     9934            
+ Partials       2626     2624     -2     
Impacted Files Coverage Δ
...java/org/apache/hugegraph/api/graph/VertexAPI.java 35.67% <ø> (ø)
...va/org/apache/hugegraph/structure/HugeElement.java 71.68% <0.00%> (-2.29%) ⬇️
...ava/org/apache/hugegraph/structure/HugeVertex.java 79.15% <0.00%> (-0.36%) ⬇️
...he/hugegraph/backend/tx/GraphIndexTransaction.java 83.77% <0.00%> (+0.10%) ⬆️
...a/org/apache/hugegraph/backend/cache/RamCache.java 73.48% <0.00%> (+0.55%) ⬆️
...ugegraph/backend/store/raft/StoreStateMachine.java 65.76% <0.00%> (+0.90%) ⬆️
...n/java/org/apache/hugegraph/schema/IndexLabel.java 77.27% <0.00%> (+1.13%) ⬆️
...hugegraph/backend/store/raft/rpc/RpcForwarder.java 71.18% <0.00%> (+1.69%) ⬆️
.../hugegraph/backend/store/rocksdb/RocksDBTable.java 69.12% <0.00%> (+2.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

zyxxoo
zyxxoo previously approved these changes Dec 7, 2022
# commit & push files
svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}"

echo "Finished all, please check all steps in script manually again! "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the space after "!"?

Copy link
Member Author

@imbajin imbajin Dec 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coderzc avoid “!” parsed in the end of string,it may lead some unexpected behavior (like this case)

image

echo "${a} !" or echo "${a} is good!" are also wrong :)

but here,it's fine to ignore it, just a reminder for others using '!' in the string-end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!是内置的命令,把 ! 换成 ’!' 估计就可以

hugegraph-dist/scripts/apache-release.sh Show resolved Hide resolved
hugegraph-dist/scripts/apache-release.sh Show resolved Hide resolved
svn add "${RELEASE_VERSION}"
# check status again
svn status
# commit & push files
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add # step4.3:

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated

<mailingLists>
<mailingList>
<name>Development List</name>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Development Mailing List

Copy link
Member Author

@imbajin imbajin Dec 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep the origin is also fine, the xml tag is mailingList already, and other apache repo has the similar name:

image

image

however, seems better to use developer instead of development? 😺

@imbajin imbajin marked this pull request as ready for review December 8, 2022 10:01
Comment on lines +130 to +131
* 1. Get all newVertices' ID &amp; combine first
* 2. Get all oldVertices &amp; update
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on javadoc & is html's keyword,so there are error when complile,&amp represent & in html

hugegraph-dist/scripts/apache-release.sh Outdated Show resolved Hide resolved
##### 4.3 commit to svn
# check status first
svn status
svn add --parents apache-${REPO}-*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
svn add --parents apache-${REPO}-*
svn add --parents ${RELEASE_VERSION}/apache-${REPO}-*

javeme
javeme previously approved these changes Dec 10, 2022
@zyxxoo zyxxoo force-pushed the before-release branch 2 times, most recently from bf2cbbd to 4ca939a Compare December 10, 2022 09:23
hugegraph-dist/scripts/apache-release.sh Show resolved Hide resolved
@@ -34,9 +34,11 @@ echo "In the work dir: $(pwd)"
rm -rfv dist && mkdir -p dist/apache-${REPO}

# step1: package the source code
cd ../../
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also add || exit to avoid error

coderzc
coderzc previously approved these changes Dec 14, 2022
</prerequisites>
<developers>
<developer>
<id>Apache Hugegraph(incubating)</id>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incubating => Incubating

@@ -388,8 +424,10 @@
<exclude>CONFIG.ini</exclude>
<exclude>GROUPS</exclude>
<exclude>OWNERS</exclude>
<!-- GitHub -->
<!-- Git & GitHub -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a space in the end of GitHub[ ]

@zyxxoo zyxxoo merged commit 9cbb618 into master Dec 14, 2022
@zyxxoo zyxxoo deleted the before-release branch December 14, 2022 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apache improvement General improvement
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants