Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
4f90e3e0
提交
4f90e3e0
authored
2月 09, 2018
作者:
thomasmueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Release docs
上级
714b445d
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
55 行增加
和
9 行删除
+55
-9
release.txt
h2/src/installer/release.txt
+55
-9
没有找到文件。
h2/src/installer/release.txt
浏览文件 @
4f90e3e0
...
@@ -17,7 +17,28 @@ Ensure lines are not overly long:
...
@@ -17,7 +17,28 @@ Ensure lines are not overly long:
./build.sh docs
./build.sh docs
## Jar File Size Verification
## JDBC Client Jar File Size Verification
The JDBC client is supposed to not have dependencies to the database engine.
To verify, run
./build.sh clean jarClient
If this fails with eg. "Expected file size 400 - 500 KB, got: 1687", then
find out where the dependency is, and resolve. As follows:
start by renaming Database to Database2:
mv src/main/org/h2/engine/Database.java src/main/org/h2/engine/Database2.java
./build.sh clean jarClient
This will fail, the first error is for example can not compile Session because Database was not found.
So rename Session to Session2 and try again.
This will fail again, the first error is different, now for example can not compile ResultInterface
because Session was not found. Now, ResultInterface should not depend on the Session.
So this needs to be fixed (the JDBC API shouldn't indirectly depend on it).
After everything is resolved, rename the classes back.
## MVStore Jar File Size Verification
To ensure the MVStore jar file is not too large
To ensure the MVStore jar file is not too large
(does not reference the database code by accident).
(does not reference the database code by accident).
...
@@ -27,14 +48,39 @@ The file size should be about 200 KB:
...
@@ -27,14 +48,39 @@ The file size should be about 200 KB:
## Changing Version Numbers
## Changing Version Numbers
Update Constants.java - change version and build number
Update org.h2.engine.Constants.java:
Update changelog.html - add new version, remove oldest
if the last build was stable (the normal case):
Update newsfeed.sql - add new version, remove oldest
set BUILD_DATE_STABLE to current BUILD_DATE
Minor version change: change sourceError.html and source.html
set BUILD_ID_STABLE to current BUILD_ID
If a beta, change download.html: Version ${version} (${versionDate}), Beta
change the version and build number:
If a beta, change mainWeb.html: Version ${version} (${versionDate}), Beta
set BUILD_DATE to today
Benchmark: use latest versions of other dbs, change version(s) in performance.html
increment BUILD_ID
Run ./buildRelease.sh / buildRelease.bat
Update changelog.html:
* create a new "Next Version (unreleased)" with an empty list
* add a new version
* remove change log entries of the oldest version (keeping about 500 lines)
Update newsfeed.sql:
* add new version, for example:
* (146, '1.4.197', '2017-06-10'),
* remove oldest entry in that list
## Skipped
The following can be skipped currently, as sourceError.html and source.html
are no longer working (they can be removed, or fixed):
* Minor version change: change sourceError.html and source.html
* If a beta, change download.html: Version ${version} (${versionDate}), Beta
* If a beta, change mainWeb.html: Version ${version} (${versionDate}), Beta
The following can be skipped currently; benchmarks should probably be removed:
* To update benchmark data: use latest versions of other dbs, change version(s) in performance.html
## Build the release
Change directory to src/installer
Run ./buildRelease.sh (non-Windows) or buildRelease.bat (Windows)
Scan for viruses
Scan for viruses
Test installer, H2 Console (test new languages)
Test installer, H2 Console (test new languages)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论