Difference between revisions of "Bering-uClibc 5.x - Developer Guide - The Release Process"

From bering-uClibc
Jump to: navigation, search
(Created page with '{| summary="Navigation header" width="100%" ! colspan="3" align="center" | The Release Process |- | width="20%" alig…')
 
m (fix typo)
 
(8 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
The target audience for this page are LEAF maintainers and admins.
 
The target audience for this page are LEAF maintainers and admins.
  
The page describes the release process, mostly as reminder. Note: Various steps require (different) admininstrator privileges.
+
The page describes the release process, mostly as reminder. Note: Various steps require (different) administrator privileges.
  
 
== Rebuild new release from source==
 
== Rebuild new release from source==
 
It is recommended to do a completly fresh build from the sources.
 
It is recommended to do a completly fresh build from the sources.
Create a new directory and copy buildtool the directory into it.
+
Use the command:
 +
./buildtool distclean
 +
 
 
Compile the build environment and all packages.
 
Compile the build environment and all packages.
  ./buildtool.pl build buildenv
+
  ./tools/buildall.sh
tools/buildall.sh
+
Finally build the lwp files for webconf.
+
./buildlwp.sh
+
  
 
==Commit Packages to SF SCM==
 
==Commit Packages to SF SCM==
Copy all generated lrp packages to [path to git]/leaf/bering-uclibc4/bin/packages.
+
Copy all generated lrp packages to [path to git]/leaf/bering-uclibc5/bin/packages.
 
Commit and push into the git repository:
 
Commit and push into the git repository:
  
  [path to git]/leaf/bering-uclibc4/bin/packages git commit *
+
  [path to git]/leaf/bering-uclibc5/bin/packages git commit *
  [path to git]/leaf/bering-uclibc4/bin/packages git push
+
  [path to git]/leaf/bering-uclibc5/bin/packages git push
  
 
==Create images and source tarball==
 
==Create images and source tarball==
 
Create the images:
 
Create the images:
  fakeroot ./buildimage.pl --image=Bering-uClibc_geode_syslinux_ser --relver 4.0-nn
+
  fakeroot ./buildimage.pl --kernel-arch geode --image-type syslinux --variant serial
  fakeroot ./buildimage.pl --image=Bering-uClibc_i486_isolinux_vga --relver 4.0-nn
+
  fakeroot ./buildimage.pl --kernel-arch i486  --image-type isolinux --variant vga
  fakeroot ./buildimage.pl --image=Bering-uClibc_i486_syslinux_ser --relver 4.0-nn
+
  fakeroot ./buildimage.pl --kernel-arch i486  --image-type syslinux --variant serial
  fakeroot ./buildimage.pl --image=Bering-uClibc_i486_syslinux_vga --relver 4.0-nn
+
  fakeroot ./buildimage.pl --kernel-arch i486  --image-type syslinux --variant vga
  fakeroot ./buildimage.pl --image=Bering-uClibc_i686_syslinux_vga --relver 4.0-nn
+
  fakeroot ./buildimage.pl --kernel-arch i686  --image-type syslinux --variant vga
  fakeroot ./buildimage.pl --image=Bering-uClibc_i686_isolinux_vga --relver 4.0-nn
+
  fakeroot ./buildimage.pl --kernel-arch i686  --image-type isolinux --variant vga
  
 
It is a good idea to finally test the newly build version with qemu:
 
It is a good idea to finally test the newly build version with qemu:
  qemu-system-i386 -cdrom image/Bering-uClibc_i486_isolinux_vga/Bering-uClibc_4.0-nn_i486_isolinux_vga.iso  
+
  qemu-system-i386 -enable-kvm -m 512 -cdrom image/Bering-uClibc_5.0-xx_i486_isolinux_vga.iso  
  
 
Create the sources tarball as required by SF policy:
 
Create the sources tarball as required by SF policy:
  cd [path to git]/leaf/bering-uclib4/buildtool$  
+
  cd [path to git]bering-uclibc$  
  tar cvf - * | gzip -9 -c - > [your/upload-dir]/Bering-uClibc_4.0-nn_src.tgz
+
  git archive --format=tgz -9 HEAD -o [your/upload-dir]/Bering-uClibc_5.0-nn_src.tgz
  
 
==Tag release in SCM==
 
==Tag release in SCM==
  
  [path to git]/leaf/bering-uclibc4# git tag -a v4.0-nn
+
  [path to git]/leaf/bering-uclibc# git tag -a -m "Release of LEAF Bering-uClibc 5.0-nn" v5.0-nn
  [path to git]/leaf/bering-uclibc4# git push origin v4.0-nn
+
  [path to git]/leaf/bering-uclibc# git push origin v5.0-nn
  
 
==Clean up Trac==
 
==Clean up Trac==

Latest revision as of 11:23, 4 September 2016

The Release Process
Prev Bering-uClibc 5.x - Developer Guide

Introduction

The target audience for this page are LEAF maintainers and admins.

The page describes the release process, mostly as reminder. Note: Various steps require (different) administrator privileges.

Rebuild new release from source

It is recommended to do a completly fresh build from the sources. Use the command:

./buildtool distclean

Compile the build environment and all packages.

./tools/buildall.sh

Commit Packages to SF SCM

Copy all generated lrp packages to [path to git]/leaf/bering-uclibc5/bin/packages. Commit and push into the git repository:

[path to git]/leaf/bering-uclibc5/bin/packages git commit *
[path to git]/leaf/bering-uclibc5/bin/packages git push

Create images and source tarball

Create the images:

fakeroot ./buildimage.pl --kernel-arch geode --image-type syslinux --variant serial
fakeroot ./buildimage.pl --kernel-arch i486  --image-type isolinux --variant vga
fakeroot ./buildimage.pl --kernel-arch i486  --image-type syslinux --variant serial
fakeroot ./buildimage.pl --kernel-arch i486  --image-type syslinux --variant vga
fakeroot ./buildimage.pl --kernel-arch i686  --image-type syslinux --variant vga
fakeroot ./buildimage.pl --kernel-arch i686  --image-type isolinux --variant vga

It is a good idea to finally test the newly build version with qemu:

qemu-system-i386 -enable-kvm -m 512 -cdrom image/Bering-uClibc_5.0-xx_i486_isolinux_vga.iso 

Create the sources tarball as required by SF policy:

cd [path to git]bering-uclibc$ 
git archive --format=tgz -9 HEAD -o [your/upload-dir]/Bering-uClibc_5.0-nn_src.tgz

Tag release in SCM

[path to git]/leaf/bering-uclibc# git tag -a -m "Release of LEAF Bering-uClibc 5.0-nn" v5.0-nn
[path to git]/leaf/bering-uclibc# git push origin v5.0-nn

Clean up Trac

Edit the milestone in LEAF Trac and either close the active tickets or move them to later version.

Add the new release on the LEAF Trac - Versions page and select it as new "Default", so the new version will be the default version when creating a new ticket.

Create README and Announcement

Upload files to SF FRS

Login to SF FRS Create New Folder, named with the release version. Change to the created folder and upload Readme and all the images.

Create Packages page

Wiki Changes

Known Issues

Changelog


Prev Up