[Pkg-sugar-devel] Patch for Browse package
James Cameron
quozl at laptop.org
Thu Apr 27 04:12:56 UTC 2017
On Wed, Apr 26, 2017 at 10:10:13AM -0500, Sebastian Silva wrote:
> Hi Jonas,
>
> I've been trying to follow your advice. Although I moved forward, I
> still have some questions.
>
> I've managed to produce a patch with quilt for the 2001 patch. The
> issue seems to be that quilt ignores empty files.
>
> The attached patch just adds __init__.py with a comment.
I see your patch adds to an existing patch. I hadn't thought of that;
my tendency is to add a new patch, but that's not necessarily the
right way.
> But I left the changelog or bumping versions, not sure if they
> should be included.
>
> My difficulty comes when trying to build the package. I have tried
> both `gbp buildpackage` (promising, no result, complains about not
> pushed commits, and after pushing to a clone, about untracked files,
> and finally about not having Jonas's secret key) and also tried
> `sudo debian/rules binary` which produces a package without patches.
>
> Thanks for your guidance.
Method I've reproduced just now is a slightly different approach, and
I share it here in case you ever need it;
cd /tmp
git clone git://anonscm.debian.org/pkg-sugar/sugar-browse-activity
cd sugar-browse-activity
gbp pq import
touch collabwrapper/__init__.py
git commit -m 'Add missing __init__.py' collabwrapper/__init__.py
gbp pq export
dch --newversion 200+20161203-2~0quozl0 Add missing __init__.py
git add debian --all
git commit -m '200+20161203-2~0quozl0'
gbp buildpackage
Can be improved; for instance I had not read about gbp-dch, and I did
not collapse the patches.
See also "man gbp-pq" ... it is easy not to notice quilt this way.
--
James Cameron
http://quozl.netrek.org/
More information about the pkg-sugar-devel
mailing list