3 This document is a work-in-progress to describe the workflow through the various
4 parts of genkernel so that we can split the code into modular chunks. If you
5 are interested in helping with genkernel development, please get in touch at
6 <genkernel@gentoo.org>.
11 - source global scripts
16 $ sudo GK_SHARE="$PWD" ./genkernel initramfs --no-install --no-postclear --loglevel=2
19 - Bump the version in the main genkernel file.
20 - echangelog "Bump version to ${PV}"
21 - git commit -a -m "Bump version to ${PV}"
23 - git tag -a -m "Tag release v${PV}" v${PV}
24 - git push ${REMOTE} master --tags
25 - upload genkernel-${PV}.tar.bz2 to the hosting:
26 scp genkernel-${PV}.tar.bz2 ${USER}@dev.gentoo.org:/space/distfiles-local/
27 - copy to portage's DISTDIR so you can bump the ebuild
28 before the tarball hits distfile mirrors
29 - cp genkernel-${PV}.tar.bz2 /usr/portage/distfiles/
31 - Propagate ebuild changes to the live ebuild
32 diff genkernel-${OLD_PV}.ebuild genkernel-${NEW_PV}.ebuild | patch genkernel-9999.ebuild
33 - check open bugs with keyword "InSVN" or "InVCS" for closability
34 and close these bugs with a comment like "Fixed in ${PV}, just released. Closing."
35 - Send a mail with subject "genkernel ${PV} released" to both
36 <gentoo-genkernel@lists.gentoo.org> and <genkernel@gentoo.org>.
39 PREV_TAG=$(git tag -l | tail -n 2 | head -n 1)
40 git diff ${PREV_TAG}..v${PV} ChangeLog | /bin/grep '^+\($\| \)' | sed 's|^+ *||' | xsel
42 to generate the mail body.