./devel/hs-shelly, Shell-like (systems) programming in Haskell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.12.1nb2, Package name: hs-shelly-1.12.1nb2, Maintainer: pho

Shelly provides a single module for convenient systems programming in
Haskell.

* Shelly is aimed at convenience and getting things done rather than being
a demonstration of elegance.
* It has detailed and useful error messages.
* It maintains its own environment, making it thread-safe.
* It has low memory usage: It has
* run_ and other underscore variants that do not return stdout,
* runFoldLines to run a fold operation over each line rather than loading
all of stdout into memory,
* runHandle and runHandles for complete control over handles.

The focus of this library on convenience combined with good error messages
should make shelly approachable for newer users of Haskell.


Master sites:

Filesize: 73.772 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-30 12:00:27 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-shelly: Update to 1.12.1

1.12.1 - Andreas Abel, 2023-04-03
* Add print_commands_with and echoWith which can be used to override the
  default printing functions (e.g. to add color). (Chris Wendt, PR #228.)
* Tested with GHC 8.2 - 9.6 (cabal) and GHC 8.10 - 9.6 (stack).

1.12.0.1 - Andreas Abel, 2023-04-02
* Make show_command more robust to special characters and only quote when
  necessary. (Chris Wendt, PR #229.)
* Tested with GHC 8.2 - 9.6 (cabal) and GHC 8.10 - 9.6 (stack).

1.12.0 - Andreas Abel, 2023-02-27
* Rework ShellCmd and ShellCommand instances to support String arguments:
  Issue #143 fixed by Cunning Defenstrator in PR #221.

  This involves a breaking change in classes CmdArg and ShellArg: Method
  toTextArg has been replaced by toTextArgs.

  Sample migration:

    #if MIN_VERSION_shelly(1,12,0)
    -- new
    import Shelly (toTextArgs)
    snoc opts arg = opts ++ toTextArgs arg
    #else
    -- old
    import Shelly (toTextArg)
    snoc opts arg = opts ++ [ toTextArg arg ]
    #endif

* Dropped GHC 8.0 to get rid of deprecated LANGUAGE IncoherentInstances.
* Builds with GHC 8.2 - 9.6.

1.11.0 - Andreas Abel, 2023-01-24
* Restore running of local scripts, e.g. cmd "./foo.sh": Issue #107 fixed
  by Alfredo di Napoli in PR #216.
* Builds with GHC 8.0 - 9.4.

1.10.0.1 - Andreas Abel, 2023-01-24
* Allow unix-compat-0.6.
* Builds -Wall warning-free with GHC 8.0 - 9.4.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-26 15:48:41 by Masatake Daimon | Files touched by this commit (2)
Log message:
devel/hs-shelly: Fix build with unix-compat-0.6
   2022-02-26 13:30:00 by Masatake Daimon | Files touched by this commit (5)
Log message:
devel/hs-shelly: import hs-shelly-1.10.0

Shelly provides a single module for convenient systems programming in
Haskell.

* Shelly is aimed at convenience and getting things done rather than being
  a demonstration of elegance.
* It has detailed and useful error messages.
* It maintains its own environment, making it thread-safe.
* It has low memory usage: It has
  * run_ and other underscore variants that do not return stdout,
  * runFoldLines to run a fold operation over each line rather than loading
    all of stdout into memory,
  * runHandle and runHandles for complete control over handles.

The focus of this library on convenience combined with good error messages
should make shelly approachable for newer users of Haskell.