News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Release howto

From FrugalWiki

Jump to: navigation, search

Contents

Warning

This howto now has been moved to the official documentation. If you modify this page, please send a patch to keep the official text in sync. Thanks.

Introduction

The aim of this howto is to show what's the procedure of a stable Frugalware release. The to-be-created release in this howto is 0.4, the previous release is 0.3.

Preparing

  1. send a mail to -devel about "please stop version and release bumps"
  2. generate a new documentation with
cd $fst/docs/texi/en_US
make install clean
  1. sync the archs, checkpkgs shouldn't have any red pkg in it's output
  2. run gensync to rebuild the fdbs
  3. generate isos and test if everything is ok (ie. install from cd1-cd2 on i686, and start kde, or something)
  4. tag the release using darcs tag

Creating the stable tree

Copy the full tree on genesis:

cd /home/ftp/pub/frugalware
cp -av frugalware-current frugalware-0.4

Updating the -current tree

Now one have two tree. All what one should do in -current:

  1. bump --from-tag version to 0.4 in tools/genpkgs

Updating the -stable tree

  1. rename the frugalware-current and extra-current fdbs to frugalware and extra
  2. rebuild the initrd with
STABLE = true

in the Makefile

  1. update $fst/boot/grub/menu.lst
  2. s/-current// in tools/{genpkgdbs,mkpkglst}
  3. remove the archs marked "development-only" from archs() in tools/genpkgdbs
  4. run the just modified genpkgs to regenerate the ChangeLog.txt to start from the 0.3 tag to the 0.4 tag
  5. update $tree and $isotree (see the comments) in tools/mkiso
  6. update pacman so that -stable will be the default on -Syu, not -current
  7. upload the fdbs to the mysql db using fdb2db, for example you can use the following script:
for i in i686 x86_64
do
cd /home/ftp/pub/frugalware/frugalware-0.4/frugalware-$i/
../tools/fdb2db -v -b ../source/ -r frugalware -e 0.4 -f frugalware.fdb -a $i <params>
cd ../extra/frugalware-$i/
../../tools/fdb2db -v -b ../source/ -r extra -e 0.4 -f extra.fdb -a $i <params>
done

where <params> are the db host, user, pass, etc (of course not listed here)

Testing

  1. generate isos, test _all_ of them (net,cd,dvd for each arch)
  2. check if the upgrade from 0.3->0.4 works or not, probably a simple -Syu is not enough, then write a howto

Announcement

  1. Put the isos online and wait at least 24h so that the mirrors will be in sync at release time.
  2. ask Mark (mcangeli at gmail.com) via mail to upload the torrents for the isos to linuxtracker.org
  3. Add the new version to the bts
  4. Write an announcement, put it out to somewhere and ask Alex or LGee to spellcheck it
  5. Add the new version to the releases table of the frugalware mysql db on genesis
  6. Push it to the news page
  7. Send it to -announce
  8. Mark the release as "done" on the news page
  9. Update the topic of #frugalware
  10. Update the freshmeat entry.

For the next release

  1. find a codename
  2. update roadmap.php

Done!

Personal tools
Namespaces
Variants
Actions