Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

这个步骤需要使用SVN。MacOS已经默认安装了SVN。

本文以IoTDB从已有0.8.0的情况下发布0.8.1为例。


d.1 在dev分支中添加公钥到KEYS,用于发布RC版本

DEV分支的svn库是 https://dist.apache.org/repos/dist/dev/incubator/iotdb

Release分支的SVN库是 https://dist.apache.org/repos/dist/release/incubator/iotdb


命令如下:

$ svn co https://dist.apache.org/repos/dist/dev/incubator/iotdb iotdb-dist-dev

...

Code Block
languagexml
title~/.m2/settings.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <servers>
    <!-- Apache Repo Settings -->
    <server>
        <id>apache.snapshots.https</id>
        <username>{user-id}</username>
        <password>{user-pass}</password>
    </server>
    <server>
        <id>apache.releases.https</id>
        <username>{user-id}</username>
        <password>{user-pass}</password>
    </server>
  </servers>
</settings>
<profiles>
    <profile>
      <id>apache-release</id>
      <properties>
        <gpg.keyname>你的KEYID</gpg.keyname><!-- Your GPG Keyname here -->
        <!-- Use an agent: Prevents being asked for the password during the build -->
        <gpg.useagent>true</gpg.useagent>
        <gpg.passphrase>你的私钥的密码</gpg.passphrase>
      </properties>
    </profile>
</profiles>


f. 上传GPG公钥到Github账户s v

!!重要!! 许多教程中都没提及这一步,而如果不坐着一步的话,你在做一些步骤的时候,maven会告诉你没有权限。。!!重要!! 许多教程中都没提及这一步,而如果不做这一步的话,你在做一些步骤的时候,maven会告诉你没有权限。。

方法:

进入 https://github.com/settings/keys ,添加GPG KEYS。

...

本地的tag删除方法:

$git tag -d release/0.8.1然后把github上rel/0.8上的最新代码中的pom中的版本号降低回0.8.1-SNAPSHOT (之前mvn release:perform的时候,被自动改成了0.8.2-SNAPSHOT了)


然后使用maven插件来管理版本就好:

$ mvn release:prepare -DautoVersionSubmodules=true

当然这一步你也可以用git revert 来实现。

...

在孵化器阶段,需要发邮件给general邮件列表,交给IPMC们投票,通过后才可以。

参考例子:


Panel

Hello all,

This is a call for vote to release Apache IoTDB (Incubating) version 0.8.0, which is the first Apache Release for the IoTDB Project.

The Apache IoTDB community has voted on and approved a proposal to release
Apache IoTDB (Incubating) version 0.8.0.

We now kindly request the Incubator PMC members review and vote on this
incubator release.

Apache IoTDB (incubating) (Database for Internet of Things) is an integrated data management engine designed for timeseries data. It provides users with services for data collection, storage and analysis.

IoTDB community vote and result thread:
Result:https://lists.apache.org/thread.html/19c913987145a2dc0afced626131e084fc3b1ab7e1ca1dde07a5b977@%3Cdev.iotdb.apache.org%3E
Vote:https://lists.apache.org/thread.html/d1272646baf81a0d2d62308cfb7a6e4fc754e377a043068409b0b9ed@%3Cdev.iotdb.apache.org%3E

The release candidates (RC3):
https://dist.apache.org/repos/dist/dev/incubator/iotdb/0.8.0/rc3

Git tag for the release (RC3):
https://github.com/apache/incubator-iotdb/releases/tag/release%2F0.8.0

Hash for the release tag:
2f4da03b05d1c063eaaca622c68de86abe35de22

Release Notes:
https://github.com/apache/incubator-iotdb/blob/2f4da03b05d1c063eaaca622c68de86abe35de22/RELEASE_NOTES.md

The artifacts have been signed with Key : C336E0143A553B89, which can be
found in the keys file:
https://dist.apache.org/repos/dist/dev/incubator/iotdb/KEYS

Look at here for how to verify this release candidate:
https://cwiki.apache.org/confluence/display/IOTDB/Validating+a+staged+Release

The vote will be open for at least 72 hours.

From the PPMC Vote we cary over 4 binding IPMC Votes:

+1 from Justin McLean,
+1 from Christofer Dutz,
+1 from Kevin A. McGrail,
+1 from Julian Feinauer

Thus, I took the freedom to declare the Vote as Lazy as no futher positive votes are necessary and only a -1 Vote could cancel the vote.


Please vote accordingly:
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove with the reason

Julian
Apache IoTDB


投票72小时之后要做一个总结邮件:

Panel

Hi, 


The vote for release Apache IoTDB (Incubating) 0.8.1 has passed with
4 +1 binding votes and no -1 vote.

+1 Vote from:

+1 from Justin McLean,
+1 from Kevin A. McGrail,

+1 from Willem Jiang,

+1 from Gosling Von

The vote thread: https://lists.apache.org/thread.html/c6aeb4d8d36f6d188c7b9d0261138263dc8f63ad0421a8a1e16c621e@%3Cgeneral.incubator.apache.org%3E

Many thanks to all who voted or provided comments!

Best,

...

The current release is a bug-fix version of 0.8.0, which will makes IoTDB more stable:


  • [IOTDB-172] bug in updating startTime and endTime in TsFileResource
  • Abnormal publishing of sequence and unsequence data folders in DirectoryManager
  • fix a bug in TimeRange's intersects function
  • [IOTDB-202] fix tsfile example data type
  • [IOTDB-195] Bug about 'serializedSize' in ChunkGroupMetaData.java (for Chinese string)
  • [IOTDB-242] fix mvn integration-test failed because the files in the target folder changes

Visit the Apache IoTDB website [1] for general information or
the downloads page [2] for release notes and download information.

...