[git-buildpackage] A gbp workflow question re pq & patches
Seamus de Mora
seamusdemora at gmail.com
Tue May 10 07:54:45 CEST 2022
Hello,
I am working to convert the debian source package for 'dhcpcd5-8.1.2' to a
'git' repository. The basis for this source package was obtained here (
https://archive.raspberrypi.org/debian/pool/main/d/dhcpcd5/dhcpcd5_8.1.2-1+rpt5.dsc
). For purposes of this question, I'll refer to this as the
'dhcpcd5_8.1.2-1+rpt5'
source package.
My import was done as follows:
'gbp import-dsc --pristine-tar dhcpcd5_8.1.2-1+rpt5.dsc'
Which has yielded a new folder: '~/dhcpcd5';
$ git -C /home/pi/dhcpcd5 branch -a
> * master
> pristine-tar
> upstream
>
It seems time to consider the patches that were included in
'dhcpcd5_8.1.2-1+rpt5'.
There are currently 4 patches in 'dhcpcd5_8.1.2-1+rpt5', and in `dhcpcd5`.
Before starting this effort, I had assumed that the patch system used in
Debian packages would become useless when the package was cast as a 'git'
repo. However, having now read 'man gbp-pq', I understand patches may be
carried into git packages.
That said, I don't know if patches are required - or if they are included
in gbp for convenience or legacy considerations. Can you explain this
situation for me, please? I'd like for this git package to be generally
useful for all, so if I can achieve this without patches, I think I'd
prefer that approach.
Thnx,
~S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sigxcpu.org/pipermail/git-buildpackage/attachments/20220510/0b7d5a61/attachment.html>
More information about the git-buildpackage
mailing list