Debian Bug report logs - #920389
ITP: golang-github-intel-tfortools -- template scripting support to go programs

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Antoine Beaupré <anarcat@debian.org>

Date: Thu, 24 Jan 2019 23:15:04 UTC

Owned by: Antoine Beaupré <anarcat@debian.org>

Severity: wishlist

Done: Bart Martens <bartm@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-devel@lists.debian.org, debian-go@lists.debian.org, wnpp@debian.org:
Bug#920389; Package wnpp. (Thu, 24 Jan 2019 23:15:06 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
New Bug report received and forwarded. Copy sent to debian-devel@lists.debian.org, debian-go@lists.debian.org, wnpp@debian.org. (Thu, 24 Jan 2019 23:15:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: submit@bugs.debian.org
Subject: ITP: golang-github-intel-tfortools -- template scripting support to go programs
Date: Thu, 24 Jan 2019 18:11:54 -0500
[Message part 1 (text/plain, inline)]
Package: wnpp
Severity: wishlist
Owner: Antoine Beaupré <anarcat@debian.org>

* Package name    : golang-github-intel-tfortools
  Version         : 0.2.0+git20180102.ec3334c-1
  Upstream Author : Intel Corporation
* URL             : https://github.com/intel/tfortools
* License         : Apache-2.0
  Programming Lang: Go
  Description     : template scripting support to go programs

 Package tfortools provides a set of functions that are designed to make
 it easier for developers to add template based scripting to their command
 line tools.
 .
 Command line tools written in Go often allow users to specify a template
 script to tailor the output of the tool to their specific needs. This can
 be useful both when visually inspecting the data and also when invoking
 command line tools in scripts. The best example of this is go list which
 allows users to pass a template script to extract interesting information
 about Go packages. For example,
 .
 .
 go list -f '{{range .Imports}}{{println .}}{{end}}'
 .
 .
 prints all the imports of the current package.
 .
 The aim of this package is to make it easier for developers to add
 template scripting support to their tools and easier for users of
 these tools to extract the information they need.   It does this by
 augmenting the templating language provided by the standard library
 package text/template in two ways: • It auto generates descriptions of
 the data structures passed as input to a template script for use in help
 messages.  This ensures that help usage information is always up to date
 with the source code.• It provides a suite of convenience functions to
 make it easy for script writers to extract the data they need.  There are
 functions for sorting, selecting rows and columns and generating nicely
 formatted tables.  For example, if a program passed a slice of structs
 containing stock data to a template script, we could use the following
 script to extract the names of the 3 stocks with the highest trade volume.
 .
 .
 {{table (cols (head (sort . "Volume" "dsc") 3) "Name" "Volume")}}
 .
 .
 The output might look something like this:
 .
 .
 Name              Volume Happy Enterprises 6395624278 Big Company
 7500000 Medium Company    300122
 .
 .
 The functions head, sort, tables and col are provided by this package.

-- 

Dependency for #920385.

[signature.asc (application/pgp-signature, inline)]

Added indication that bug 920389 blocks 920385 Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Thu, 24 Jan 2019 23:21:07 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Mon, 28 Jan 2019 00:45:09 GMT) (full text, mbox, link).


Reply sent to Bart Martens <bartm@debian.org>:
You have taken responsibility. (Sat, 02 Feb 2019 13:51:13 GMT) (full text, mbox, link).


Notification sent to Antoine Beaupré <anarcat@debian.org>:
Bug acknowledged by developer. (Sat, 02 Feb 2019 13:51:13 GMT) (full text, mbox, link).


Message #14 received at 920389-done@bugs.debian.org (full text, mbox, reply):

From: Bart Martens <bartm@debian.org>
To: 920389-done@bugs.debian.org
Subject: in debian
Date: Sat, 2 Feb 2019 13:47:06 +0000
https://packages.qa.debian.org/g/golang-github-intel-tfortools.html



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 03 Mar 2019 07:44:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Nov 22 00:04:07 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.