[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [patch 5/8]
From: |
Gary V. Vaughan |
Subject: |
Re: [Quilt-dev] [patch 5/8] |
Date: |
Thu, 15 Sep 2005 20:40:48 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Macintosh/20050716) |
Jean Delvare wrote:
> Hi Gary,
Salut!
> [Gary V. Vaughan]
>
>>(...) Long term, I'd like to try and
>>remove the dependency on coreutils altogether... depending on bash is
>>fine, perl not so bad, coreutils bearable, but GNU sed, GNU awk, GNU
>>getopt (and any others that may creep in) is unnecessary. The larger
>>the dependency stack, the harder it is to install on non-Linux.
>
> I don't quite agree. OK, sometimes removing dependencies on
> Linux-specific features or tools is easy and wanted, just like Andreas
> did with tac. However, some platforms come with core utils that have
> very, very poor command line interfaces, so hoping to get quilt to work
> with these out of the box promises large code rewrites and bad
> consequences on the code size, readability and maintenability.
Oh there are certainly pathological cases that should be avoided. But
oftentimes adding a line or two of extra code to remove a dependency is
a win overall. AIX will likely prove really hard to port to for
example, without first having to port GNU getopt, gawk, GNU sed,
coreutils and finding a perl package.
If it turns out to be easy to fall back to something else (or just do
something differently to save that pain), it increases the potential
audience of a project.
> Writing a shell-based tool is hard enough with quality core utils, it
> sounds like a very bad trip with poor ones, so we are probably not going
> anywhere trying to strip every util's use down to the common set of
> options - which I repeat will be very thin if the set of platforms is
> large.
ACK. My viewpoint is probably quite skewed after so many years of
working around various vendor Bourne shell bugs with libtool...
> So it sounds reasonable to me to have quilt depend on reasonably
> advanced utils. People who want to use quilt have to install these
> utils, it's not that hard. If you don't want quilt to depend on
> anything, the way to go is a rewrite in perl or python, as was suggested
> in another thread.
ACK.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
- Re: [Quilt-dev] [patch 7/8] nftw portability, (continued)
- Re: [Quilt-dev] [patch 7/8] nftw portability, Gary V. Vaughan, 2005/09/14
- Re: [Quilt-dev] [patch 7/8] nftw portability, Jean Delvare, 2005/09/14
- Re: [Quilt-dev] [patch 7/8] nftw portability, Dean Roehrich, 2005/09/14
- Re: [Quilt-dev] [patch 7/8] nftw portability, John Vandenberg, 2005/09/14
- Re: [Quilt-dev] [patch 7/8] nftw portability, Gary V. Vaughan, 2005/09/15
[Quilt-dev] [patch 5/8], gary, 2005/09/13
Re: [Quilt-dev] [patch 5/8], Gary V. Vaughan, 2005/09/14
Re: [Quilt-dev] [patch 5/8], Andreas Gruenbacher, 2005/09/18
Re: [Quilt-dev] prefer-gnu-coreutils.diff [re-done against HEAD], John Vandenberg, 2005/09/18
Re: [Quilt-dev] prefer-gnu-coreutils.diff [re-done against HEAD], Andreas Gruenbacher, 2005/09/18
[Quilt-dev] [patch 6/8], gary, 2005/09/13
[Quilt-dev] [patch 8/8], gary, 2005/09/13
[Quilt-dev] [patch 1/8], gary, 2005/09/13