安定したリリースは常にマイナー番号が偶数になります。メジャー・マイナー両番号が同じである場合は、APIが変更されている恐れはないのでアップグレードすべきです。安定版でもたらされる変化はバグフィックスと一部の環境での追加機能(新しいデバイスのサポートなど)などです。
メジャーバージョンが変更された場合、これは要求されるgccやbinutilsのバージョンに変更があったことを表します。AVR
LibcのトップレベルディレクトリにあるREADMEファイルを見て、要求されるバージョンを確認してください。
開発途上版のメジャーバージョン番号は安定版のものと同じです。
開発途上版のマイナーバージョン番号は常に奇数で、最終の安定版より1つ大きくなります。
開発途上版のパッチバージョン番号は、新しいブランチが切られない限りは常に0です。新しいブランチが切られた時点で、パッチ番号は90に変更され、ブランチがリリースに近づいていることを示します。また、未だ開発中であることを示す日付情報も入ります。
cvsにあるすべての開発版は第4のバージョン番号を持ちます。これはYYYYMMDD形式の日付です。
よって、開発版のバージョン番号は、下記のようになります。(マイナーバージョン番号が奇数)
branch上のプレリリース版(1.2または2,0になる予定のもの)は、以下のようになります。
このセクションの情報は、AVR Libc開発者にのみ意味があります。エンドユーザーは読まなくても構いません。
※というわけで必要な人は翻訳宜しく
- Note:
- In what follows, I assume you know how to use cvs and how to checkout multiple source trees in a single directory without having them clobber each other. If you don't know how to do this, you probably shouldn't be making releases or cutting branches.
The following steps should be taken to cut
a branch in cvs:
- Check out a fresh source tree from cvs HEAD.
- Update the NEWS file with pending release number and commit to cvs HEAD:
Change "Changes since avr-libc-<last_release>:" to "Changes in avr-libc-<this_relelase>:". - Set the branch-point tag (setting <major> and <minor> accordingly):
'cvs tag avr-libc-<major>_<minor>-branchpoint' - Create the branch:
'cvs tag -b avr-libc-<major>_<minor>-branch' - Update the package version in configure.ac and commit configure.ac to cvs HEAD:
Change minor number to next odd value. - Update the NEWS file and commit to cvs HEAD:
Add "Changes since avr-libc-<this_release>:" - Check out a new tree for the branch:
'cvs co -r avr-libc-<major>_<minor>-branch' - Update the package version in configure.ac and commit configure.ac to cvs branch:
Change the patch number to 90 to denote that this now a branch leading up to a release. Be sure to leave the <date> part of the version. - Bring the build system up to date by running bootstrap and configure.
- Perform a 'make distcheck' and make sure it succeeds. This will create the snapshot source tarball. This should be considered the first release candidate.
- Upload the snapshot tarball to savannah.
- Announce the branch and the branch tag to the avr-libc-dev list so other developers can checkout the branch.
- Note:
- CVS tags do not allow the use of periods ('.').
A stable release will only be done on a branch, not from the cvs HEAD.
The following steps should be taken when making a release:
- Make sure the source tree you are working from is on the correct branch:
'cvs update -r avr-libc-<major>_<minor>-branch' - Update the package version in configure.in and commit it to cvs.
- Update the gnu tool chain version requirements in the README and commit to cvs.
- Update the ChangeLog file to note the release and commit to cvs on the branch:
Add "Released avr-libc-<this_release>." - Update the NEWS file with pending release number and commit to cvs:
Change "Changes since avr-libc-<last_release>:" to "Changes in avr-libc-<this_relelase>:". - Bring the build system up to date by running bootstrap and configure.
- Perform a 'make distcheck' and make sure it succeeds. This will create the source tarball.
- Tag the release:
'cvs tag avr-libc-<major>_<minor>_<patch>-release' - Upload the tarball to savannah.
- Update the NEWS file, and commit to cvs:
Add "Changes since avr-libc-<major>_<minor>_<patch>:" - Generate the latest documentation and upload to savannah.
- Announce the release.
The following hypothetical diagram should help clarify version and branch relationships.
Release tree
Automatically generated by Doxygen 1.4.1 on 23 Jan 2006.