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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
General maintenance
===================
This package is maintained in Git at https://salsa.debian.org/roundcube-team/roundcube.git
and uses the "3.0 (quilt)" source format.
Import a new upstream release
=============================
Since 1.4.10+dfsg.2-1 we use cryptographically signed Git release tags
as basis for the Debian package.
To import a new upstream release into our packaging repository, do the
following:
0. Ensure that you have the Roundcube upstream Git repository
available as a remote in the Git repository where you're doing
the packaging work:
$ git remote add upstream https://github.com/roundcube/roundcubemail.git
1. Merge the newest upstream release tag into the 'debian/latest'
branch of your packaging repository:
$ gbp import-orig --uscan
That commands does all the magic, namely
- updating the `upstream` remote,
- downloading the tinymce dependencies as secondary tarballs,
- verifying the cryptographic signature on the upstream release tag,
- creating a new tag 'upstream/$VERSION' with '$UPSTREAM_VERSION'
as additional parent, and
- merging 'upstream/$VERSION' into 'debian/latest'
2. Optionally, move upstream tarballs and detached signatures to the
build area:
$ UPSTREAM_VERSION=1.6.2
$ mv -vt "$XDG_CACHE_HOME/build-area" ../roundcube[-_]"$UPSTREAM_VERSION"*.tar.*
This step is needed when gbp.conf(5) sets a non-default export-dir, see
https://bugs.debian.org/638993 .
3. Bump upstream version in debian/changelog:
$ gbp dch --commit
4. Update debian/sql with the upstream schema migrations (the
command is a no-op if there are none):
$ ./debian/sqlupdate
5. Refresh patches:
$ gbp pq rebase
$ gbp pq export
$ git add -p -- debian/patches
$ git commit -m "Refresh patches." -- debian/patches
6. Build the package:
$ gbp buildpackage
7. Make sure all upstream files are included in one of the newly
built .deb:
$ ./debian/origtargz-diff.sh
Upload a new version to the Debian archive
==========================================
0. Set distribution in debian/changelog:
$ gbp dch --release --commit
1. Push to salsa and wait for CI to pass:
$ git push
2. Build binary packages and tag:
$ gbp buildpackage --git-tag
3. Push the tag to salsa:
$ git push
4. Upload the source-only package to the archive:
$ dput /path/to/export-dir/roundcube_${VERSION}_source.changes
-- Guilhem Moulin <guilhem@debian.org> Sun, 26 Jun 2022 15:06:39 +0200
|