Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2010 01:46:42 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        jhell <jhell@DataIX.net>
Cc:        ports@freebsd.org, Gabor PALI <pgj@freebsd.org>, freebsd-haskell@haskell.org
Subject:   Re: Renamed Haskell Applications
Message-ID:  <20100526214642.GA43302@hades.panopticon>
In-Reply-To: <alpine.BSF.2.00.1005261609500.14705@pragry.qngnvk.ybpny>
References:  <4BFBDBC0.6040902@FreeBSD.org> <4BFC1D3D.7070904@dataix.net> <20100526154941.GC25216@hades.panopticon> <alpine.BSF.2.00.1005261609500.14705@pragry.qngnvk.ybpny>

next in thread | previous in thread | raw e-mail | index | archive | help
* jhell (jhell@DataIX.net) wrote:

> Normally I would object to something like this but in this case being that 
> it is about Haskell applications, the change helps users locate all of the 
> Haskell related ports quicker. Its almost as if the hs-* ports were in 
> their own category like the ports-mgmt tools are.

They are.

make -C /usr/ports search cat=haskell

> For another part upgrading these will also be a slight bit smoother
> and locating what Haskell packages you have on your system will
> be easier just specifying hs-* to a upgrade tool or to
> pkg_de[lete|install].

There's no guarantee that all haskell-using ports will be prefixed with
hs- (and I hope they will not). For upgrading haskell ports, one should
use

portupgrade -R ghc-\*

I strictly object to adding hs- prefix to end-user applications like
darcs and xmonad, because it's a huge POLA violation. Users do not care
what the application is written in, they just search for
devel/{svn,mercurial,darcs} and x11-wm/{xmonad,icewm}, and should find
these ports in the expected places. We don't prefix mercurial with
py- and icewm with c-, similarily we shouldn't prefix darcs et al with
hs-. Modules that are used only for development and as dependencies is a
whole different thing, and definitely are what prefixes are for.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100526214642.GA43302>