pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files Add text to help explain when bumping ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/377dfa613b6b
branches: trunk
changeset: 514601:377dfa613b6b
user: darcy <darcy%pkgsrc.org@localhost>
date: Wed Jun 14 21:20:16 2006 +0000
description:
Add text to help explain when bumping PKGREVISION is appropriate or not.
As discussed with Greg Troxel.
diffstat:
doc/guide/files/fixes.xml | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 1fe7577cbca0 -r 377dfa613b6b doc/guide/files/fixes.xml
--- a/doc/guide/files/fixes.xml Wed Jun 14 21:15:08 2006 +0000
+++ b/doc/guide/files/fixes.xml Wed Jun 14 21:20:16 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.54 2006/06/01 09:31:18 rillig Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.55 2006/06/14 21:20:16 darcy Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -432,6 +432,33 @@
<programlisting>
DISTNAME= foo-17.43
</programlisting>
+
+ <para>PKGREVISION should be incremented for any non-trivial change in the
+ resulting binary package. Without a PKGREVISION bump, someone with
+ the previous version installed has no way of knowing that their
+ package is out of date. Thus, changes without increasing PKGREVISION
+ are essentially labeled "this is so trivial that no reasonable person
+ would want to upgrade", and this is the rough test for when increasing
+ PKGREVISION is appropriate. Examples of changes that do not merit
+ increasing PKGREVISION are:</para>
+
+<programlisting>
+Changing HOMEPAGE, MAINTAINER, or comments in Makefile.
+Changing build variables if the resulting binary package is the same.
+Changing DESCR.
+Adding PKG_OPTIONS if the default options don't change.
+</programlisting>
+
+ <para>Examples of changes that do merit an increase to PKGREVISION
+ include:</para>
+<programlisting>
+Security fixes
+Changes or additions to a patch file
+Changes to the PLIST
+</programlisting>
+
+ <para>PKGREVISION must also be incremented when dependencies have ABI
+ changes.</para>
</sect2>
Home |
Main Index |
Thread Index |
Old Index