tags 821906 -patch
thanks

Having it as example is fine but not enabled by default (so with a hash
mark infront of it it's fine).

We also don't want to use any scripts from the examples by default
since that's what they are: examples. Defaults are not set via gbp.conf
btw but via the built in config.py . gbp.conf is _only_ for user
adustments (i.e. can be left out without any ill effects).

 -- Gyido

On Thu, Apr 21, 2016 at 09:06:03AM +0200, Arturo Borrero Gonzalez wrote:
> Control: tags -1 + patch
> 
> On 21 April 2016 at 08:50, Guido Günther <[email protected]> wrote:
> > On Thu, Apr 21, 2016 at 08:47:11AM +0200, Arturo Borrero Gonzalez wrote:
> >> On 21 April 2016 at 08:42, Guido Günther <[email protected]> wrote:
> >> >>
> >> >> Please, break lines at 80 chars to avoid lintian warnings.
> >> >
> >> > Check /usr/share/doc/git-buildpackage/examples/wrap_cl.py which can be
> >> > used to autowrap using --customizations.
> >> >
> >>
> >> Yeah, thanks for the pointer.
> >>
> >> Isn't there a way to avoid calling:
> >>  'gbp dch 
> >> --customizations=/usr/share/doc/git-buildpackage/examples/wrap_cl.py
> >> --id-length=7'
> >
> > Use gbp.conf
> 
> Ok, so we don't modify internal gbp code, right?
> 
> Then please consider the attached patch for your git tree.
> 
> Thanks, best regards.
> 
> -- 
> Arturo Borrero González

> From 304f7a7288adbd30d1f310d77a3df4dfe1780aa2 Mon Sep 17 00:00:00 2001
> From: Arturo Borrero Gonzalez <[email protected]>
> Date: Thu, 21 Apr 2016 09:03:20 +0200
> Subject: [PATCH] gbp.conf: dch: enable line wrap customization by default
> 
> Enable line wrapping customization by default in the shipped gbp.conf file.
> 
> Signed-off-by: Arturo Borrero Gonzalez <[email protected]>
> ---
>  gbp.conf | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/gbp.conf b/gbp.conf
> index 64cd3a1..e405e51 100644
> --- a/gbp.conf
> +++ b/gbp.conf
> @@ -104,6 +104,8 @@
>  #ignore-regex=(Signed-off|Acked)-by:
>  # use author name and email from git-config:
>  #git-author = True
> +# line wrap
> +customizations = /usr/share/doc/git-buildpackage/examples/wrap_cl.py
>  
>  # Options only affecting gbp pq
>  [pq]
> -- 
> 2.8.1
> 

Reply via email to