Debian packaging for pear-channels
----------------------------------

This packages uses channel.xml files from various sources.
It follows git-buildpackage advices as on:
<https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM.GIT.NOTARBALL>
The tarball created from Git is recorded using pristine-tar.

A quick summary of how one can update the Debian packaging of pear-channels to
a new upstream version, assuming that one already has the appropriate
build-dependencies, `devscripts`, `pristine-tar`, `git-buildpackage` and `wget`
installed. $DATE is assumed to be the current date (in YYYYMMDD format):

    gbp clone https://salsa.debian.org/php-team/pear/pear-channels.git
    cd pear-channels

    [ Add new relevant URLs in debian/urls, and their name into debian/control.
      Commit those changes of the debian directory into the master branch. ]

    DATE=`date +%Y%m%d`
    debian/rules get-orig-source
    git checkout upstream
    git add channels
    git commit -m"Update channels for 0~$DATE"
    git tag -s -m"Upstream version 0~$DATE" upstream/0_$DATE
    git checkout master
    git merge upstream/0_$DATE

    [ Make here eventually some packaging adaptations,
      e.g. update overrides in debian/pkg-php-tools/pear-channels. ]

    gbp dch -R --commit
    gbp buildpackage
