Skip to content

Commit 38ac0f5

Browse files
authored
Merge pull request #28572 from mbarbin/opam-publish-pplumbing.0.0.16
6 packages from mbarbin/pplumbing at 0.0.16
2 parents 966ff32 + 5885b17 commit 38ac0f5

File tree

6 files changed

+390
-0
lines changed
  • packages
    • cmdlang-cmdliner-err-runner/cmdlang-cmdliner-err-runner.0.0.16
    • pplumbing-err/pplumbing-err.0.0.16
    • pplumbing-log-cli/pplumbing-log-cli.0.0.16
    • pplumbing-log/pplumbing-log.0.0.16
    • pplumbing-pp-tty/pplumbing-pp-tty.0.0.16
    • pplumbing/pplumbing.0.0.16

6 files changed

+390
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
opam-version: "2.0"
2+
synopsis: "Cmdlang runner for programs using [Err] with a cmdliner backend"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/pplumbing"
7+
doc: "https://mbarbin.github.io/pplumbing/"
8+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"cmdlang" {>= "0.0.9"}
13+
"cmdlang-to-cmdliner" {>= "0.0.9"}
14+
"cmdliner" {>= "1.3.0"}
15+
"pplumbing-err" {= version}
16+
"odoc" {with-doc}
17+
]
18+
build: [
19+
["dune" "subst"] {dev}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"@install"
28+
"@runtest" {with-test}
29+
"@doc" {with-doc}
30+
]
31+
]
32+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
33+
description: """\
34+
35+
[pplumbing] defines a set of utility libraries to use with [pp].
36+
It is compatible with [logs] and inspired by design choices used
37+
by [dune] for user messages.
38+
39+
These libraries are meant to combine nicely into a small ecosystem
40+
of useful helpers to build CLIs in OCaml.
41+
42+
[Cmdlang_cmdliner_err_runner] is a library for running command line
43+
programs specified with [cmdlang] with [cmdliner] as a backend and
44+
making opinionated choices, assuming your dependencies are using
45+
[Err].
46+
47+
[cmdlang]: https://github.com/mbarbin/cmdlang
48+
[cmdliner]: https://github.com/dbuenzli/cmdliner
49+
[dune]: https://github.com/ocaml/dune
50+
[logs]: https://github.com/dbuenzli/logs
51+
[pp]: https://github.com/ocaml-dune/pp
52+
53+
"""
54+
tags: [ "cli" "cmdlang" "logs" "pp" ]
55+
x-maintenance-intent: [ "(latest)" ]
56+
url {
57+
src:
58+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.16/pplumbing-0.0.16.tbz"
59+
checksum: [
60+
"sha256=8ae0c09fec9088bc7af60582717a9e9d8bb7703e2fbf0a1b90b82e5962ed7039"
61+
"sha512=ddd1d5a3d47e7c5ebfb2898f0810156dfca4e10df500ce8f39238cfe02b51fd12ea6d7796914bd02e9ad8e615da1ed7067c9f712bdbbfb884cab08d57bba3564"
62+
]
63+
}
64+
x-commit-hash: "e12fafd3db63ab91e6b0a710f0adb0ede271e6fc"
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
synopsis: "Report located errors and warnings to the user with [pp]"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/pplumbing"
7+
doc: "https://mbarbin.github.io/pplumbing/"
8+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"loc" {>= "0.2.2"}
13+
"parsexp" {>= "v0.16"}
14+
"pp" {>= "2.0.0"}
15+
"pplumbing-pp-tty" {= version}
16+
"sexplib0" {>= "v0.16"}
17+
"stdune" {>= "3.17"}
18+
"odoc" {with-doc}
19+
]
20+
build: [
21+
["dune" "subst"] {dev}
22+
[
23+
"dune"
24+
"build"
25+
"-p"
26+
name
27+
"-j"
28+
jobs
29+
"@install"
30+
"@runtest" {with-test}
31+
"@doc" {with-doc}
32+
]
33+
]
34+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
35+
description: """\
36+
37+
[pplumbing] defines a set of utility libraries to use with [pp].
38+
It is compatible with [logs] and inspired by design choices used
39+
by [dune] for user messages.
40+
41+
These libraries are meant to combine nicely into a small ecosystem
42+
of useful helpers to build CLIs in OCaml.
43+
44+
[Err] is an abstraction to report located errors and warnings to
45+
the user.
46+
47+
[dune]: https://github.com/ocaml/dune
48+
[pp]: https://github.com/ocaml-dune/pp
49+
50+
"""
51+
tags: [ "cli" "pp" ]
52+
x-maintenance-intent: [ "(latest)" ]
53+
url {
54+
src:
55+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.16/pplumbing-0.0.16.tbz"
56+
checksum: [
57+
"sha256=8ae0c09fec9088bc7af60582717a9e9d8bb7703e2fbf0a1b90b82e5962ed7039"
58+
"sha512=ddd1d5a3d47e7c5ebfb2898f0810156dfca4e10df500ce8f39238cfe02b51fd12ea6d7796914bd02e9ad8e615da1ed7067c9f712bdbbfb884cab08d57bba3564"
59+
]
60+
}
61+
x-commit-hash: "e12fafd3db63ab91e6b0a710f0adb0ede271e6fc"
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
opam-version: "2.0"
2+
synopsis:
3+
"Command line helpers to configure the [err], [logs] and [fmt] libraries"
4+
maintainer: ["Mathieu Barbin <[email protected]>"]
5+
authors: ["Mathieu Barbin"]
6+
license: "MIT"
7+
homepage: "https://github.com/mbarbin/pplumbing"
8+
doc: "https://mbarbin.github.io/pplumbing/"
9+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
10+
depends: [
11+
"dune" {>= "3.17"}
12+
"ocaml" {>= "4.14"}
13+
"cmdlang" {>= "0.0.9"}
14+
"fmt" {>= "0.9.0"}
15+
"logs" {>= "0.7.0"}
16+
"pp" {>= "2.0.0"}
17+
"pplumbing-err" {= version}
18+
"pplumbing-log" {= version}
19+
"pplumbing-pp-tty" {= version}
20+
"odoc" {with-doc}
21+
]
22+
build: [
23+
["dune" "subst"] {dev}
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"@install"
32+
"@runtest" {with-test}
33+
"@doc" {with-doc}
34+
]
35+
]
36+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
37+
description: """\
38+
39+
[pplumbing] defines a set of utility libraries to use with [pp].
40+
It is compatible with [logs] and inspired by design choices used
41+
by [dune] for user messages.
42+
43+
These libraries are meant to combine nicely into a small ecosystem
44+
of useful helpers to build CLIs in OCaml.
45+
46+
[Pplumbing_log_cli] contains functions to work with [Err] on the
47+
side of end programs (such as a command line tool). It defines
48+
[cmdlang] command line helpers to configure the [Err] library,
49+
while taking care of setting the [logs] and [fmt] style rendering.
50+
51+
[cmdlang]: https://github.com/mbarbin/cmdlang
52+
[dune]: https://github.com/ocaml/dune
53+
[fmt]: https://github.com/dbuenzli/fmt
54+
[logs]: https://github.com/dbuenzli/logs
55+
[pp]: https://github.com/ocaml-dune/pp
56+
57+
"""
58+
tags: [ "cli" "cmdlang" "logs" "pp" ]
59+
x-maintenance-intent: [ "(latest)" ]
60+
url {
61+
src:
62+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.16/pplumbing-0.0.16.tbz"
63+
checksum: [
64+
"sha256=8ae0c09fec9088bc7af60582717a9e9d8bb7703e2fbf0a1b90b82e5962ed7039"
65+
"sha512=ddd1d5a3d47e7c5ebfb2898f0810156dfca4e10df500ce8f39238cfe02b51fd12ea6d7796914bd02e9ad8e615da1ed7067c9f712bdbbfb884cab08d57bba3564"
66+
]
67+
}
68+
x-commit-hash: "e12fafd3db63ab91e6b0a710f0adb0ede271e6fc"
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
opam-version: "2.0"
2+
synopsis: "An interface to [logs] using [Pp_tty] rather than [Format]"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/pplumbing"
7+
doc: "https://mbarbin.github.io/pplumbing/"
8+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"logs" {>= "0.7.0"}
13+
"pp" {>= "2.0.0"}
14+
"pplumbing-pp-tty" {= version}
15+
"odoc" {with-doc}
16+
]
17+
build: [
18+
["dune" "subst"] {dev}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
]
31+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
32+
description: """\
33+
34+
[pplumbing] defines a set of utility libraries to use with [pp].
35+
It is compatible with [logs] and inspired by design choices used
36+
by [dune] for user messages.
37+
38+
These libraries are meant to combine nicely into a small ecosystem
39+
of useful helpers to build CLIs in OCaml.
40+
41+
[Pplumbing_log] is an interface to [logs] using [Pp_tty] rather
42+
than [Format].
43+
44+
[dune]: https://github.com/ocaml/dune
45+
[logs]: https://github.com/dbuenzli/logs
46+
[pp]: https://github.com/ocaml-dune/pp
47+
48+
"""
49+
tags: [ "cli" "logs" "pp" ]
50+
x-maintenance-intent: [ "(latest)" ]
51+
url {
52+
src:
53+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.16/pplumbing-0.0.16.tbz"
54+
checksum: [
55+
"sha256=8ae0c09fec9088bc7af60582717a9e9d8bb7703e2fbf0a1b90b82e5962ed7039"
56+
"sha512=ddd1d5a3d47e7c5ebfb2898f0810156dfca4e10df500ce8f39238cfe02b51fd12ea6d7796914bd02e9ad8e615da1ed7067c9f712bdbbfb884cab08d57bba3564"
57+
]
58+
}
59+
x-commit-hash: "e12fafd3db63ab91e6b0a710f0adb0ede271e6fc"
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
opam-version: "2.0"
2+
synopsis: "Build pretty printed documents for the user with [pp]"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/pplumbing"
7+
doc: "https://mbarbin.github.io/pplumbing/"
8+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"loc" {>= "0.2.2"}
13+
"pp" {>= "2.0.0"}
14+
"stdune" {>= "3.17"}
15+
"odoc" {with-doc}
16+
]
17+
build: [
18+
["dune" "subst"] {dev}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
]
31+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
32+
description: """\
33+
34+
[pplumbing] defines a set of utility libraries to use with [pp].
35+
It is compatible with [logs] and inspired by design choices used
36+
by [dune] for user messages.
37+
38+
These libraries are meant to combine nicely into a small ecosystem
39+
of useful helpers to build CLIs in OCaml.
40+
41+
[pplumbing_pp_tty] extends [pp] to build colored documents in
42+
the user's terminal using ansi escape codes.
43+
44+
[dune]: https://github.com/ocaml/dune
45+
[pp]: https://github.com/ocaml-dune/pp
46+
47+
"""
48+
tags: [ "cli" "pp" ]
49+
x-maintenance-intent: [ "(latest)" ]
50+
url {
51+
src:
52+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.16/pplumbing-0.0.16.tbz"
53+
checksum: [
54+
"sha256=8ae0c09fec9088bc7af60582717a9e9d8bb7703e2fbf0a1b90b82e5962ed7039"
55+
"sha512=ddd1d5a3d47e7c5ebfb2898f0810156dfca4e10df500ce8f39238cfe02b51fd12ea6d7796914bd02e9ad8e615da1ed7067c9f712bdbbfb884cab08d57bba3564"
56+
]
57+
}
58+
x-commit-hash: "e12fafd3db63ab91e6b0a710f0adb0ede271e6fc"
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
opam-version: "2.0"
2+
synopsis: "Utility libraries to use with [pp]"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/pplumbing"
7+
doc: "https://mbarbin.github.io/pplumbing/"
8+
bug-reports: "https://github.com/mbarbin/pplumbing/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"cmdlang-cmdliner-err-runner" {= version}
13+
"cmdlang-to-cmdliner" {>= "0.0.9"}
14+
"pplumbing-err" {= version}
15+
"pplumbing-log" {= version}
16+
"pplumbing-log-cli" {= version}
17+
"pplumbing-pp-tty" {= version}
18+
"odoc" {with-doc}
19+
]
20+
build: [
21+
["dune" "subst"] {dev}
22+
[
23+
"dune"
24+
"build"
25+
"-p"
26+
name
27+
"-j"
28+
jobs
29+
"@install"
30+
"@runtest" {with-test}
31+
"@doc" {with-doc}
32+
]
33+
]
34+
dev-repo: "git+https://github.com/mbarbin/pplumbing.git"
35+
description: """\
36+
37+
[pplumbing] defines a set of utility libraries to use with [pp].
38+
It is compatible with [logs] and inspired by design choices used
39+
by [dune] for user messages.
40+
41+
These libraries are meant to combine nicely into a small ecosystem
42+
of useful helpers to build CLIs in OCaml.
43+
44+
- [Pp_tty] extends [pp] to build colored documents in the user's
45+
terminal using ansi escape codes.
46+
47+
- [Err] is an abstraction to report located errors and warnings to
48+
the user.
49+
50+
- [Log] is an interface to [logs] using [Pp_tty] rather than [Format].
51+
52+
- [Log_cli] contains functions to work with [Err] on the side of end
53+
programs (such as a command line tool). It defines command line
54+
helpers to configure the [Err] library, while taking care of setting
55+
the [logs] and [fmt] style rendering.
56+
57+
- [Cmdlang_cmdliner_runner] is a library for running command line
58+
programs specified with [cmdlang] with [cmdliner] as a backend and
59+
making opinionated choices, assuming your dependencies are using
60+
[Err].
61+
62+
[cmdlang]: https://github.com/mbarbin/cmdlang
63+
[cmdliner]: https://github.com/dbuenzli/cmdliner
64+
[dune]: https://github.com/ocaml/dune
65+
[fmt]: https://github.com/dbuenzli/fmt
66+
[logs]: https://github.com/dbuenzli/logs
67+
[pp]: https://github.com/ocaml-dune/pp
68+
69+
"""
70+
tags: [ "cli" "cmdlang" "logs" "pp" ]
71+
x-maintenance-intent: [ "(latest)" ]
72+
url {
73+
src:
74+
"https://github.com/mbarbin/pplumbing/releases/download/0.0.16/pplumbing-0.0.16.tbz"
75+
checksum: [
76+
"sha256=8ae0c09fec9088bc7af60582717a9e9d8bb7703e2fbf0a1b90b82e5962ed7039"
77+
"sha512=ddd1d5a3d47e7c5ebfb2898f0810156dfca4e10df500ce8f39238cfe02b51fd12ea6d7796914bd02e9ad8e615da1ed7067c9f712bdbbfb884cab08d57bba3564"
78+
]
79+
}
80+
x-commit-hash: "e12fafd3db63ab91e6b0a710f0adb0ede271e6fc"

0 commit comments

Comments
 (0)