Hi,

Well well, I know why I can not find the files from repository.apache.org,
because I did not login on the website..

The document of PLC4x has pointed out that:

> After the build it is important to log in to Nexus at
https://repository.apache.org/, select Staging Repositories and find the
repository with the name: orgapacheplc4x-{somenumber}.

Sorry to make trouble to the mail list...

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Xiangdong Huang <[email protected]> 于2019年9月27日周五 下午4:23写道:

> Hi,
>
> Something to correct:
>
> If I check the rel/0.8 branch in gitbox repo [1], I can find the
> commitlogs that maven release plugin generated.
>
> [1]
> https://gitbox.apache.org/repos/asf?p=incubator-iotdb.git;a=shortlog;h=refs/heads/rel/0.8
>
>
> But still do not know why repository.apache.org and
> dist.apache.org/repos/dist/dev/incubator/iotdb/ have no new files..
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Xiangdong Huang <[email protected]> 于2019年9月27日周五 下午4:12写道:
>
>> Hi Chris,
>>
>> Actually now I still meet some issues..
>>
>> > "git remote set-url
>> https://gitbox.apache.org/repos/asf/incubator-iotdb.git";
>>
>> do you mean: git remote set-url --push origin
>> https://gitbox.apache.org/repos/asf/incubator-iotdb.git ?
>> (But I think `mvn release:prepare` command choose the git url according
>> SCM in pom.xml rather than .git files..)
>>
>> I have not try it, but just now I tried to change the scm in the pom as:
>>
>>     <scm>
>>         <connection>scm:git:ssh://
>> [email protected]/apache/incubator-iotdb.git</connection>
>>         <developerConnection>scm:git:ssh://
>> [email protected]/apache/incubator-iotdb.git</developerConnection>
>>         <url>ssh://[email protected]:apache/incubator-iotdb.git</url>
>>         <tag>rel/0.8</tag>
>>     </scm>
>>
>> It works for pushing commits (two commitlogs: [maven-release-plugin]
>> prepare release release/0.8.1  and  [maven-release-plugin] prepare for next
>> development iteration)
>> and create a tag (release-0.8.1) on the remote successfully.
>>
>> However, when I check gitbox repo  (
>> https://gitbox.apache.org/repos/asf?p=incubator-iotdb.git;a=shortlog),
>> there is no commits....
>>
>>
>> Then I choose to omit it to try the next step: $mvn release:perform
>> -DreleaseProfiles=apache-release
>>
>> Well, it tooks me about 46 mins to upload jars, asc, zip, pom files to
>> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/iotdb/iotdb-distribution/0.8.1/
>>
>>
>> However, after that, when I check https://repository.apache.org and
>> https://dist.apache.org/repos/dist/dev/incubator/iotdb/, I can not find
>> any new files... :(
>>
>> Hm... so, now I do not know which step is incorrect.
>>
>> The result of running `mvn release:perform` is:
>>
>> [INFO]
>> [INFO] Apache IoTDB (incubating) Project Parent POM 0.8.2-SNAPSHOT
>> SUCCESS [46:44 min]
>> [INFO] TsFile ............................................. SKIPPED
>> [INFO] Service-rpc ........................................ SKIPPED
>> [INFO] IoTDB Jdbc ......................................... SKIPPED
>> [INFO] IoTDB Client ....................................... SKIPPED
>> [INFO] IoTDB Server ....................................... SKIPPED
>> [INFO] IoTDB Examples ..................................... SKIPPED
>> [INFO] IoTDB-Kafka Examples ............................... SKIPPED
>> [INFO] IoTDB-RocketMQ Examples ............................ SKIPPED
>> [INFO] IoTDB Grafana ...................................... SKIPPED
>> [INFO] IoTDB Spark-TsFile ................................. SKIPPED
>> [INFO] IoTDB Distribution 0.8.2-SNAPSHOT .................. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 46:45 min
>> [INFO] Finished at: 2019-09-27T15:34:53+08:00
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> Best,
>> -----------------------------------
>> Xiangdong Huang
>> School of Software, Tsinghua University
>>
>>  黄向东
>> 清华大学 软件学院
>>
>>
>> Christofer Dutz <[email protected]> 于2019年9月27日周五 下午3:33写道:
>>
>>> Hi Xiangdong,
>>>
>>> this happens when the release plugin tries to commit and push the
>>> changes it does during the release.
>>> It changes the versions to the release versions and commits that and
>>> then changes them to the next development version and then commits a second
>>> time.
>>> There seem to be issues with the credentials for pushing the changes. I
>>> usually use the gitbox repo which works fine with username+password or when
>>> using github I use the ssh key authentication.
>>> I guess you're using github with 2FA and that could be a problem.
>>>
>>> Try the following command:
>>>
>>> "git remote set-url
>>> https://gitbox.apache.org/repos/asf/incubator-iotdb.git";
>>>
>>> And then re-try. But first you should probably undo the changes from
>>> your first attempt (Hopefully with you having no uncommitted changes)
>>>
>>>
>>> Chris
>>>
>>> Am 27.09.19, 08:04 schrieb "Xiangdong Huang" <[email protected]>:
>>>
>>>     Hi,
>>>
>>>     @Justin, many thanks! I have already upload the updated KEYS there.
>>>
>>>     Now I want to try maven plugin `mvn release:prepare` to automatically
>>>     finish some work, like create a tag on github..
>>>     However,  it fails because:
>>>
>>>     [ERROR] Failed to execute goal
>>>     org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare
>>> (default-cli)
>>>     on project iotdb-parent: Unable to tag SCM
>>>     [ERROR] Provider message:
>>>     [ERROR] The git-push command failed.
>>>     [ERROR] Command output:
>>>     [ERROR] remote: Permission to apache/incubator-iotdb.git denied to
>>>     jixuan1989. (Ah, this is my github account.)
>>>     [ERROR] fatal: unable to access '
>>>     https://github.com/apache/incubator-iotdb.git/': The requested URL
>>> returned
>>>     error: 403
>>>
>>>     I have set the SSH and GPG key on my Github's account settings.
>>>
>>>     Best,
>>>     -----------------------------------
>>>     Xiangdong Huang
>>>     School of Software, Tsinghua University
>>>
>>>      黄向东
>>>     清华大学 软件学院
>>>
>>>
>>>     Justin Mclean <[email protected]> 于2019年9月27日周五 下午12:09写道:
>>>
>>>     > HI,
>>>     >
>>>     > > 1. Do I need to change the version from 0.8.1-SNAPSHOT to
>>> 0.8.1-RC1
>>>     > > (RC2,..., RCn) first, and then 0.8.1 second?
>>>     >
>>>     > I would just change it to 0.8.1 and name the files / vote emails
>>> RC1, RC2
>>>     > etc as needed.
>>>     >
>>>     > > 2. @Julian, Would you share the commands that you used when
>>> releasing
>>>     > 0.8.0
>>>     > > with me? It is very helpful for me. :D.
>>>     >
>>>     > Mavin is not an official release area and can be done after the
>>> official
>>>     > source release is voted on.
>>>     >
>>>     > You just need to put the official source release here [1]. You
>>> would also
>>>     > need to update the KEYS file there.
>>>     >
>>>     > Thanks,
>>>     > Justin
>>>     >
>>>     > 1. https://dist.apache.org/repos/dist/dev/incubator/iotdb/
>>>
>>>
>>>

Reply via email to