Workflow

A typical workflow consists of the following steps:

  1. Import a Debian package via git-import-dsc. This imports the Debian Package on the master branch and the upstream sources on the upstream branch.

  2. Develop, test, commit changes. During this time you can always build the package with git-buildpackage. In case you have uncommitted changes in your source tree you can use the --git-ignore-new option.

  3. Once satisfied you can build the final package with git-buildpackage --git-tag. This additionally creates a tag within Git so you can switch back to that version later at any time.

  4. When a new upstream version is released you can import this via git-import-orig onto the upstream branch. git-import-orig will also try to merge the new upstream version onto the master branch. After resolving any potential conflicts go back to 2.

These steps will be explaind in more details in the following sections.