[Pkg-netatalk-devel] netatalk

Jonas Smedegaard dr at jones.dk
Tue Feb 11 16:13:05 UTC 2014


Quoting Brian Campbell (2014-02-11 14:20:08)
> On Mon, Feb 10, 2014 at 8:11 PM, Jonas Smedegaard <dr at jones.dk> wrote:
> > I have prepared a new release here:
> >
> >   git://anonscm.debian.org/git/pkg-netatalk/netatalk
> 
> Looks like you've been busy! That is looking pretty good.

Thanks :-)


> I needed to make the following change to get it to work; there's no 
> need to patch our own changelog during the build.

Oh - I was wondering where that typo correction went :-)


> Before I push, however, I have a few questions about Debian packaging 
> workflow; as I said, I'm new to it. For one, when updating the 
> changelog, do you generally update the version number while it's in 
> development? I noticed that it was still 2.2.2-2, instead of 2.2.5-1. 
> Also, when doing a collaborative release like this, do I change the 
> changelog trailer to include my name and email? That's the most 
> convenient since I use Debian Changelog mode in Emacs, which doesn't 
> allow you to add more items until you "unfinalize" the changelog 
> entry, and finalizing it again puts my own information in the trailer.

The style that I use is to commit actual changes separately from 
changelog edits and automated changes caused by those.

That style makes it easier to later revert a change or cherry-pick it 
for another branch (e.g. a stable security-update).

Backside is that we then all need to be cautious when updating changelog 
to make sure we include all changes since changelog was last edited.

I don't use Emacs so cannot help specifically (I use Midnight Commander) 
but if any help for you, this is the command I use (and always polish 
and proof-read manually before committing the result):

  git dch -a

What I can imagine is that you extend your workflow to first run that 
command to catch previous commits by others not yet reflected in 
changelog, then commit that, and then use your finalize-each-change 
style for your own work.  I then just hope that your tool can manage to 
commit the changelog separately from the actual changes.


> And second, any time I tried to build this with simply "gbp 
> buildpackage -us -uc" I got the following error; however, if I use 
> "--export-dir=../netatalk-build" it works fine. Is this supposed to 
> work with just a plain "gbp buildpackage"? Do you have a particular 
> configuration of "git-buildpackage" that avoids this issue, or do you 
> simply always use an export dir?

Seems it is simply the problem you mentioned initially: Patches don't 
apply cleanly.

Please go ahead and correct that (to take credit for spotting it), and 
tell me if you still cannot build directly directly from the git.

I do use a custom wrapper but one modelled after gbp-buildpackage so 
should behave the same: Should work with and without --export-dir when 
a) upstream code is clean (patches must apply cleanly) and either b1) 
debian code is clean or b2) --git-ignore-new is applied.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-netatalk-devel/attachments/20140211/6a45bca1/attachment.sig>


More information about the Pkg-netatalk-devel mailing list