REVBUMP.PY(1)

NAME
revbump.py - tool to bump PKGREVISIONs automatically

SYNOPSIS
revbump.py [-hnwx] [-o output] [-p pkgsrcdir] category/package

DESCRIPTION
revbump.py is a script for pkgsrc developers that bumps PKGREVISIONs automatically.

revbump.py will bump the PKGREVISION of all packages that include category/package's buildlink3.mk recursively. revbump.py will also increase the BUILDLINK_ABI_DEPENDS in category/package/buildlink3.mk and all the buildlink3.mk files that include this file. The list of changed directories is provided (see -o) for the commit.

revbump.py supports the following options:

-h  Show the usage.

-n  Print the list of packages that would be bumped, but do not actually bump them.

-o output
    Write the list of changed package directories (relative to the pkgsrc directory) to output. Defaults to “commitlist”.

-p pkgsrcdir
    Use pkgsrcdir as root of the pkgsrc tree. Defaults to /usr/pkgsrc.

-w  Also bump packages in the wip/ subtree.

-x  Only bump the package given on the command line (do not recurse, do not write a commitlist). Use this if you generated your list of packages to bump manually.

For bumping all go packages, use lang/go as argument.

EXAMPLES
    revbump.py devel/glib2

will bump the PKGREVISIONs of the dependants of glib2.

The complete procedure for a recursive dependency bump for category/package looks like this:

    revbump.py category/package
    # check for problems
    cvs diff $(cat commitlist) | less
    # if the diff is ok
    cvs commit $(cat commitlist)
    rm commitlist