From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: [PATCH] gnu: Add perltidy. Date: Sun, 10 Jul 2016 12:48:30 +0200 Message-ID: <87eg71n4zl.fsf@gnu.org> References: <87oa6c5uty.fsf@gnu.org> <20160709190125.GA31432@solar> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMCHc-0004fH-KS for guix-devel@gnu.org; Sun, 10 Jul 2016 06:48:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMCHW-0000vn-LP for guix-devel@gnu.org; Sun, 10 Jul 2016 06:48:19 -0400 In-reply-to: <20160709190125.GA31432@solar> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andreas Enge Cc: guix-devel Andreas Enge writes: > Hello, > > sorry for being late, but the number of messages on the list is simply > overwhelming... Thanks for your reply :) > On Tue, Jul 05, 2016 at 01:01:07PM +0200, Ricardo Wurmus wrote: >> “perltidy” (as in the domain name) or “perl-tidy” (as in the tarball)? >> I don’t remember what our naming guidelines say about this. (I think >> “perltidy” is correct.) > > Is it a perl "module"? Then it should be named "perl-tidy": > https://www.gnu.org/software/guix/manual/html_node/Perl-Modules.html#Perl-Modules > If it is a perl "binary", then keeping the upstream name is the good solution. > > In this case, maybe the latter holds? There is a ready-to-use perl script, but > also a file Tidy.pm. >From the man-page of "perltidy": Perltidy reads a perl script and writes an indented, reformatted script. So even though it does provide a Perl::Tidy module, it's also a stand-alone program that reformats existing Perl code. What we could to is split the package in two: one with the Perl::Tidy module (called perl-tidy) and one with the stand-alone script (called perltidy). I think that would be a little confusing though. Kind regards, Roel Janssen