Debian Codegraph @

debian/control

raw
1 Source: golang-github-pingcap-failpoint
2 Section: golang
3 Priority: optional
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders:
6 Otto Kekäläinen <[email protected]>,
7 Build-Depends:
8 debhelper-compat (= 13),
9 dh-sequence-golang,
10 golang-any,
11 golang-github-pingcap-errors-dev,
12 golang-github-pkg-errors-dev,
13 golang-github-sergi-go-diff-dev,
14 golang-github-stretchr-testify-dev,
15 golang-golang-x-mod-dev,
16 golang-uber-goleak-dev,
17 Testsuite: autopkgtest-pkg-go
18 Standards-Version: 4.7.2
19 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-pingcap-failpoint
20 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-pingcap-failpoint.git
21 Homepage: https://github.com/pingcap/failpoint
22 XS-Go-Import-Path: github.com/pingcap/failpoint
23
24 Package: golang-github-pingcap-failpoint-dev
25 Architecture: all
26 Multi-Arch: foreign
27 Suggests: failpoint-tools
28 Depends:
29 golang-github-pingcap-errors-dev,
30 golang-github-pkg-errors-dev,
31 golang-github-sergi-go-diff-dev,
32 golang-github-stretchr-testify-dev,
33 golang-golang-x-mod-dev,
34 golang-uber-goleak-dev,
35 ${misc:Depends},
36 Description: failpoint injection framework for Go (library)
37 This Go library provides a powerful mechanism for injecting errors and
38 abnormal behaviors into code for testing and debugging purposes. It enables
39 developers to simulate various failure scenarios, such as network outages,
40 I/O errors, or specific function return values, without modifying the
41 core application logic.
42 .
43 The framework uses markers in the source code which are then processed by a
44 tool to inject the failpoints. It supports various actions like returning
45 values, sleeping, panicking, or pausing execution. Failpoints can be enabled
46 conditionally based on probabilities or counts, and can be controlled
47 programmatically at runtime. It also supports context-based evaluation of
48 failpoints.
49
50 Package: failpoint-tools
51 Architecture: any
52 Multi-Arch: foreign
53 Static-Built-Using: ${misc:Static-Built-Using}
54 Depends:
55 ${misc:Depends},
56 ${shlibs:Depends},
57 Description: failpoint injection framework for Go (tools)
58 This package contains command-line tools for the failpoint framework.
59 .
60 * failpoint-ctl: A utility to enable, disable, and configure failpoints
61 in a running application.
62 * failpoint-toolexec: A build tool used by the Go compiler to inject
63 failpoint logic into source code during compilation.
64 .
65 This package is useful for developers who are using the failpoint library
66 to test their applications.