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

rename package name com.baidu to org.apache #104

Merged
merged 3 commits into from
Sep 8, 2022
Merged

Conversation

corgiboygsj
Copy link
Member

@corgiboygsj corgiboygsj commented Aug 30, 2022

rename package name com.baidu to org.apache
upgrade version to 3.0.0

@corgiboygsj corgiboygsj changed the title update package name rename package name com.baidu to org.apache Aug 30, 2022
@corgiboygsj corgiboygsj changed the title rename package name com.baidu to org.apache rename package name com.baidu to org.apache Aug 30, 2022
@corgiboygsj corgiboygsj force-pushed the update-package branch 2 times, most recently from 7d79465 to eb0d80c Compare August 30, 2022 11:48
@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #104 (97d3ade) into master (42ef9c4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #104   +/-   ##
=========================================
  Coverage     93.15%   93.15%           
  Complexity       65       65           
=========================================
  Files             9        9           
  Lines           263      263           
  Branches         22       22           
=========================================
  Hits            245      245           
  Misses            8        8           
  Partials         10       10           
Impacted Files Coverage Δ
...n/java/org/apache/hugegraph/config/RpcOptions.java 97.22% <ø> (ø)
...va/org/apache/hugegraph/rpc/RpcClientProvider.java 90.90% <ø> (ø)
...java/org/apache/hugegraph/rpc/RpcCommonConfig.java 91.66% <ø> (ø)
...va/org/apache/hugegraph/rpc/RpcConsumerConfig.java 91.48% <ø> (ø)
...in/java/org/apache/hugegraph/rpc/RpcException.java 100.00% <ø> (ø)
...va/org/apache/hugegraph/rpc/RpcProviderConfig.java 100.00% <ø> (ø)
.../main/java/org/apache/hugegraph/rpc/RpcServer.java 92.06% <ø> (ø)
.../apache/hugegraph/rpc/RpcServiceConfig4Client.java 100.00% <ø> (ø)
.../java/org/apache/hugegraph/version/RpcVersion.java 50.00% <100.00%> (ø)

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

@corgiboygsj corgiboygsj force-pushed the update-package branch 6 times, most recently from 7b5aeb1 to 39db7de Compare August 30, 2022 12:31
@corgiboygsj corgiboygsj requested review from imbajin and javeme and removed request for imbajin August 30, 2022 12:34
@@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/license-Apache%202-0E78BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![codecov](https://codecov.io/gh/hugegraph/hugegraph-common/branch/master/graph/badge.svg)](https://codecov.io/gh/hugegraph/hugegraph-common)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.baidu.hugegraph/hugegraph-common/badge.svg)](https://mvnrepository.com/artifact/com.baidu.hugegraph/hugegraph-common)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.hugegraph/hugegraph-common/badge.svg)](https://mvnrepository.com/artifact/org.apache.hugegraph/hugegraph-common)
Copy link
Member

@imbajin imbajin Aug 30, 2022

Choose a reason for hiding this comment

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

@coderzc could u help to upload/update maven repository? (comment in pom already)

<connection>https://github.com/hugegraph/hugegraph-commons</connection>

Comment on lines +1 to +20
/*
* Copyright 2017 HugeGraph Authors
*
* 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.
*/

package org.apache.hugegraph.unit;
Copy link
Member

Choose a reason for hiding this comment

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

seems this file should be treat as move a -> a' (not remove & add?)

maybe try git mv for this file

Copy link
Contributor

Choose a reason for hiding this comment

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

it doesn't seem to recognize that it's a file rename

Copy link
Member

Choose a reason for hiding this comment

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

it doesn't seem to recognize that it's a file rename

fix it

Comment on lines 27 to 36
<!-- <module name="ImportOrder">-->
<!-- <property name="staticGroups"-->
<!-- value="org.apache,java,javax,org,com,com.baidu.hugegraph"/>-->
<!-- <property name="separatedStaticGroups" value="true"/>-->
<!-- <property name="groups" value="org.apache,java,javax,org,com,com.baidu.hugegraph"/>-->
<!-- <property name="ordered" value="true"/>-->
<!-- <property name="separated" value="true"/>-->
<!-- <property name="option" value="top"/>-->
<!-- <property name="sortStaticImportsAlphabetically" value="true"/>-->
<!-- </module>-->
Copy link
Member

Choose a reason for hiding this comment

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

need it?

Copy link
Member

@imbajin imbajin Sep 5, 2022

Choose a reason for hiding this comment

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

@simon824 shall we keep it & run them in ci automatically?

and could we auto format the code? (or use some mvn xxx command to check it?)

Comment on lines +1 to +20
/*
* Copyright 2017 HugeGraph Authors
*
* 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.
*/

package org.apache.hugegraph.unit;
Copy link
Contributor

Choose a reason for hiding this comment

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

it doesn't seem to recognize that it's a file rename

@@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/license-Apache%202-0E78BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![codecov](https://codecov.io/gh/hugegraph/hugegraph-common/branch/master/graph/badge.svg)](https://codecov.io/gh/hugegraph/hugegraph-common)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.baidu.hugegraph/hugegraph-common/badge.svg)](https://mvnrepository.com/artifact/com.baidu.hugegraph/hugegraph-common)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.hugegraph/hugegraph-common/badge.svg)](https://mvnrepository.com/artifact/org.apache.hugegraph/hugegraph-common)
Copy link
Contributor

Choose a reason for hiding this comment

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

@imbajin do we also need to rename hugegraph-common to hugegraph-commons?

Copy link
Member

Choose a reason for hiding this comment

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

seems reasonable

javeme
javeme previously approved these changes Sep 5, 2022
update version to V1.0.0

resolve conversation

rollback test

Update UnitTestSuite.java
@corgiboygsj corgiboygsj requested a review from imbajin September 6, 2022 08:42
@corgiboygsj corgiboygsj requested a review from imbajin September 7, 2022 07:46
@imbajin imbajin requested a review from coderzc September 7, 2022 09:15
@coderzc coderzc merged commit 3b1bcb1 into master Sep 8, 2022
@coderzc coderzc deleted the update-package branch September 8, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants