Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #67172

Re: debplate - A template system for Debian packages

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Re: debplate - A template system for Debian packages
Date 2020-05-25 20:30 +0200
Message-ID <Aaq1j-iF-3@gated-at.bofh.it> (permalink)
References <A9MGB-1XV-3@gated-at.bofh.it> <A9MZY-24o-1@gated-at.bofh.it> <A9RZE-5iL-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, 2020-05-24 at 07:52 +0200, Vincent Bernat wrote:
>  ❦ 24 mai 2020 01:46 +01, Ben Hutchings:
> 
> > > I'm going to talk about this at MiniDebConf Online next week, but since
> > > I'm developing it with some of the kernel team's packages in mind I
> > > thought I would give some advance notice here.
> > 
> > Something I forgot to mention is that this depends on jinja-vanish,
> > which is currently in the NEW queue.  My packaging repo for that is at:
> > https://salsa.debian.org/benh/jinja-vanish
> 
> About Jinja templating, I usually find easier to have these options:
> 
>             trim_blocks=True,
>             lstrip_blocks=True,
>             keep_trailing_newline=True,
> 
> You can still cancel them with "{%+" when needed.

I started out using trim_blocks=True but found it too awkward to use in
practice.  I'll try out that combination later and see if it works
better.

Ben.

-- 
Ben Hutchings
Nothing is ever a complete failure;
it can always serve as a bad example.


Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

debplate - A template system for Debian packages Ben Hutchings <ben@decadent.org.uk> - 2020-05-24 02:30 +0200
  Re: debplate - A template system for Debian packages Ben Hutchings <ben@decadent.org.uk> - 2020-05-24 02:50 +0200
    Re: debplate - A template system for Debian packages Vincent Bernat <bernat@debian.org> - 2020-05-24 08:10 +0200
      Re: debplate - A template system for Debian packages Ben Hutchings <ben@decadent.org.uk> - 2020-05-25 20:30 +0200

csiph-web