File: README.source

package info (click to toggle)
php-parser 1.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,028 kB
  • ctags: 3,027
  • sloc: php: 10,458; makefile: 23
file content (27 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
php-parser for Debian
---------------------

This packages tracks the upstream Git repository as part of its sources.

It follows git-buildpackage advices as on:
<http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM.GIT.TARBALL>
The tarball created from Git is recorded using pristine-tar.

A quick summary of how one can update the Debian packaging, assuming
that one already has the appropriate build-dependencies, `devscripts`,
`pristine-tar`, and `git-buildpackage` installed. $VERSION is assumed
to be the new upstream version:

    gbp clone git+ssh://git.debian.org/git/pkg-php/php-parser.git
    cd php-parser
    git remote add upstream https://github.com/nikic/PHP-Parser

    uscan --verbose --rename
    git fetch upstream
    gbp import-orig --upstream-vcs-tag=v$VERSION ../php-parser_$VERSION.orig.tar.gz

    [ Make here some adaptations, like updating debian/upstream/changelog
      using e.g., https://github.com/nikic/PHP-Parser/releases. ]

    gbp dch -R --commit --multimaint-merge
    gbp buildpackage