dgit-maint-native - Man Page

tutorial for package maintainers of Debian-native packages

Introduction

This document describes elements of a workflow for using dgit and git-debpush to maintain a Debian package that uses one of the native source formats ("1.0" & "3.0 (native)").

Benefits

  • Benefit from dgit's safety catches.  In particular, ensure that your upload always matches exactly your git HEAD.
  • Provide a better, more detailed history to downstream dgit users.
  • Incorporate an NMU with one command.

Pushes with Git-Debpush

You do not need to do anything special to your tree to push with git-debpush.

Simply prepare your git tree in the usual way, and then:

    % git debpush

(Do not make any tags yourself: git-debpush will do that.)

You may use dgit pbuilder or dgit cowbuilder instead of dgit sbuild; see dgit(1) for the syntax of those subcommands.

dgit will make a merge commit on your branch but without making any code changes (ie, a pseudo-merge) so that your history, which will be pushed to the dgit git server, is fast forward from the dgit archive view.

Incorporating an Nmu

    % dgit pull

That's it.

Or, if you would prefer to review the changes, you can do this:

    % dgit fetch
    % dgit diff HEAD..dgit/dgit/sid

See Also

dgit(1), dgit(7)

Referenced By

dgit(1).

dgit+tag2upload team Debian Project