[darcs-users] darcs patch: fixed accidental merge of two lines in default boring

Ben Franksen benjamin.franksen at bessy.de
Wed Oct 8 19:49:28 UTC 2008


Trent W. Buck wrote:
> Ben Franksen <benjamin.franksen at bessy.de> writes:
>> David Roundy wrote:
>>> On Tue, Oct 07, 2008 at 05:51:34PM +0200, ben.franksen at online.de wrote:
>>>> Resending this patch. It's uncontroversial, I think.
>>>> 
>>>> Wed Oct  1 22:18:38 CEST 2008  ben.franksen at online.de
>>>>   * fixed accidental merge of two lines in default boring
>>>> 
>>> 
>>> Content-Description: A darcs patch for your repository!
>>>> 
>>>> New patches:
>>>> 
>>>> [fixed accidental merge of two lines in default boring
>>>> ben.franksen at online.de**20081001201838] hunk
>>>> ./src/Darcs/Repository/Prefs.lhs 135
>>>>                    "\\.tix$", -- Haskell Program Coverage
>>>>                    "\\.mod$", -- FORTRAN module files
>>>>                    "\\.installed-pkg-config", "\\.setup-config",
>>>> -                  "\\.setup-config^dist(/|$)", -- Cabal intermediates
>>>> +                  "\\.setup-config","^dist(/|$)", -- Cabal
>>>> intermediates
>>>>                    "# *.ko files aren't boring by default because they
>>>>                    might", "# be Korean translations rather than kernel
>>>>                    modules.", "# \\.ko$",
>>> 
>>> Actually, I think it's inappropriate to ignore dist directories.  It
>>> seems like a perfectly reasonable directory name to me.
>>
>> It is the name of the directory that cabal uses for building. So, at
>> least for Haskell programmers, it is a natural candidate for boring.
> 
> I think there's too much potential for "dist" to be a legitimate
> directory.  Therefore I'd change the default boring to contain
> 
>     # A top-level dist/ is boring for Haskell users, but might not be
>     # for everybody.
>     # ^dist(/|$)
> 
> To me, it's the same case as you might make for ignoring "build/".
> 
> BTW, why aren't comments about what the regexps are for being propagated
> to the end users?  That is, instead of
> 
>>>>                    "\\.tix$", -- Haskell Program Coverage
> 
> something like
> 
>>>>                    "# Haskell Program Coverage",
>>>>                    "\\.tix$",
> 
> This makes it easier for users who need to edit .boring (because it's
> guessing wrong) to make informed decisions about how to
> add/remove/modify the entries.

+1 to all your proposals. What say the experts?

Assuming this is uncontroversial: Do you want to send a patch? Or should I?

Cheers
Ben



More information about the darcs-users mailing list