public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Updating the fedora frysk rpm
@ 2008-03-04 17:09 Sami Wagiaalla
  0 siblings, 0 replies; only message in thread
From: Sami Wagiaalla @ 2008-03-04 17:09 UTC (permalink / raw)
  To: frysk

These steps should be on the webpage but I am sending them here to 
archive them for now:


before doing this make sure you have a fedora account and that your
environment has been set up by following the instructions described here:

http://fedoraproject.org/wiki/PackageMaintainers/Join

1. Check out frysk cvs modules
(You probably already did this if you have followed the instructions above)
But anyhow:
Follow how to set up fedora cvs:
http://fedoraproject.org/wiki/PackageMaintainers/Join#head-29b1437eeedc9e87ea0e5c92a9e52684876c30a3)
then
http://fedoraproject.org/wiki/PackageMaintainers/Join#head-3de96e1e7f6c4c9197e8beb02a0b3d7a5eb9dada

2. Follow release snapshot instructions from frysk  build page

How do I create a release snapshot?
     This creates a snapshot from midnight last night (GMT):

     date=`date -u +"%Y.%m.%d"`
     echo date=$date 1>&2
     shar1=`git-rev-list --before=$date -n1 HEAD`
     echo shar1=$shar1 1>&2
     version=`cat common/version.in | sed \
       -e 
's/\.[Y0-9][Y0-9][Y0-9][Y0-9]\.[M0-9][M0-9]\.[D0-9][D0-9]$/.'$date'/'`
     echo version=$version 1>&2
     rm -rf frysk-$version
     git archive --prefix=frysk-$version/ $shar1 | tar xpf -
     echo $version > frysk-$version/common/version.in
     tar cfj frysk-$version.tar.bz2 frysk-$version

3. move the created tarball into the frysk cvs directory
for f8 for example move the tarball to F-8

4. run  make new-sources FILES=frysk-0.0.1.2008.02.29.rh1.tar.bz2

5. Edit spec file:
    - Update version
    - release
    - Changelog
    - Dependencies' versions
     etc

6. Clean up patches which have been pushed upstream
    - remove the patch from cvs
    - delete the patch from the spec file

7. run make local (fix build problems)
    cvs remove/add files
    run make clog
    cvs commit using clog file as commit message

8. make tag

9. make build
   this should kick off the koji build

always make sure that devel is newer or as new as the other releases.

you can now go to the koji webpage to watch the build
http://koji.fedoraproject.org/koji/
also koji will output the specific url to command line
you can view the output through the web page or using koji watch-logs <ID>

10. When the build is done you will be notified
     If the build fails fix it, create a patch and try again
     other wise you are done and must now create an update
     using the rpm you have built.

11. Go to https://admin.fedoraproject.org/updates/frysk
     Click on 'New Update' and push the rpm to the appropriate
     distros(f7,f8)/repos(stable/testing).

Comments welcome

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-04 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04 17:09 Updating the fedora frysk rpm Sami Wagiaalla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).