Skip to content

chore: prepare for apache v1.0.0 release#2048

Merged
zyxxoo merged 3 commits intomasterfrom
before-release
Dec 14, 2022
Merged

chore: prepare for apache v1.0.0 release#2048
zyxxoo merged 3 commits intomasterfrom
before-release

Conversation

@imbajin
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

svn add "${RELEASE_VERSION}"
# check status again
svn status
# commit & push files
Copy link
Copy Markdown
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

<mailingLists>
<mailingList>
<name>Development List</name>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

##### 4.3 commit to svn
# check status first
svn status
svn add --parents apache-${REPO}-*
Copy link
Copy Markdown
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
rm -rfv dist && mkdir -p dist/apache-${REPO}

# step1: package the source code
cd ../../
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

incubating => Incubating

<exclude>GROUPS</exclude>
<exclude>OWNERS</exclude>
<!-- GitHub -->
<!-- Git & GitHub -->
Copy link
Copy Markdown
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