usr/src/grub/grub-0.97/MAINTENANCE
author Christopher Siden <chris.siden@delphix.com>
Mon, 21 May 2012 12:11:39 -0700
changeset 13700 2889e2596bd6
parent 8044 b3af80bbf173
permissions -rw-r--r--
2619 asynchronous destruction of ZFS file systems 2747 SPA versioning with zfs feature flags Reviewed by: Matt Ahrens <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Richard Lowe <[email protected]> Reviewed by: Dan Kruchinin <[email protected]> Approved by: Eric Schrock <[email protected]>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     1
-*- text -*-
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     2
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     3
This is a list of random notes for GRUB maintainers. If you are not a
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     4
maintainer, you need to ask maintainers to do these instead of doing
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     5
these yourself.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     6
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     7
How to update the online manual: (FIXME: this is obsoelete)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     8
1. Copy docs/*.texi (excluding "multiboot.texi") to fencepost.gnu.org.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     9
2. Make a symbolic link from ~mohit/gnudoc/gnudoc_template to the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    10
   directory under which *.texi were copied, if the link isn't present.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    11
3. Run ``~mohit/gnudoc/gendocs.sh grub "GNU GRUB Manual"''.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    12
4. Copy the contents of the directory ``manual'' to
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    13
   gnudist.gnu.org:~ftp/gnu/Manuals/grub-VERSION (VERSION is, for
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    14
   example, 1.0).
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    15
5. Run ``ln -sf grub-VERSION grub'' in gnudist.gnu.org:~ftp/gnu/Manuals.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    16
6. Run ``cd grub; ln -s grub.html index.html''.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    17
7. Verify the new online manual with a WWW browser.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    18
8. Update manual.html by hand.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    19
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    20
How to release a version:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    21
1. Check out the source tree from the CVS from scratch.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    22
2. Check if ``make distcheck'' succeeds.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    23
3. Run ``util/grub-image''.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    24
4. Check the resulted images, for example, using bochs.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    25
5. Copy grub-VERSION.tar.gz, grub-VERSION-i386-pc.tar.gz and
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    26
   grub-VERSION-i386-pc.ext2fs to fencepost.gnu.org:~ftp/gnu/grub.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    27
6. Move older files in that directory above to the directory ``old'',
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    28
   if you think they are eyesores.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    29
7. Post an announcement to [email protected]. It would be a good idea to
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    30
   send a carbon copy to [email protected] and
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    31
   [email protected]. If the announcement is for a stable
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    32
   version, you can inform [email protected] as well.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    33
8. Optionally, post an announcement to Freshmeat.net.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    34
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    35
Legal issues:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    36
1. If a patch is not significant (in size), you don't have to care about
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    37
   the copyright.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    38
2. If a patch is significant, you shouldn't apply the patch to the CVS.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    39
   Before doing that, you must ask the contributor to assign or disclaim
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    40
   the copyright. Send ``/gd/gnuorg/request-assign.changes'' or
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    41
   ``/gd/gnuorg/request-assign.future'' to the contributor, and wait
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    42
   until the FSF finishes the legal work.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    43
3. You can check if a contributor has already assigned his/her copyright
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    44
   to the FSF by looking at ``/gd/gnuorg/copyright.list''.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    45
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    46
What you should have in your mind:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    47
1. Don't add features unnecessarily! You may think it is a Good Thing to
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    48
   have more features, but you must be prepared for more burdens.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    49
   DO THAT ONLY IF YOU BELIEVE THAT THE FEATURE IS ESSENTIAL.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    50
2. Don't break backward-compatibility! Don't apply any patch which could
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    51
   break existing features. Otherwise you would receive a lot of
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
   complaints. DO THAT ONLY IF YOU BELIEVE THAT THE INCOMPATIBILITY IS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
   INEVITABLE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
3. Write good code. Be not satisfied with ad hoc workarounds or quick
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
   hacks. NEVER WRITE BAD CODE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
Resources:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
* http://www.gnu.org/prep/maintain_toc.html
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    59
* http://www.gnu.org/prep/standards_toc.html
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
* http://www.gnu.org/server/fsf-html-style-sheet.html