Skip to content

Commit f184962

Browse files
committed
Add NOTICE.txt for 3rd party licenses
1 parent 3479df7 commit f184962

2 files changed

Lines changed: 184 additions & 0 deletions

File tree

NOTICE.txt

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
Third-Party Software Notices
2+
=============================
3+
4+
This software includes the following third-party dependencies:
5+
6+
- github.com/VividCortex/ewma
7+
License: MIT
8+
URL: https://github.com/VividCortex/ewma/blob/v1.2.0/LICENSE
9+
10+
- github.com/acarl005/stripansi
11+
License: MIT
12+
URL: https://github.com/acarl005/stripansi/blob/5a71ef0e047d/LICENSE
13+
14+
- github.com/aymanbagabas/go-osc52/v2
15+
License: MIT
16+
URL: https://github.com/aymanbagabas/go-osc52/blob/v2.0.1/LICENSE
17+
18+
- github.com/charmbracelet/colorprofile
19+
License: MIT
20+
URL: https://github.com/charmbracelet/colorprofile/blob/f60798e515dc/LICENSE
21+
22+
- github.com/charmbracelet/lipgloss
23+
License: MIT
24+
URL: https://github.com/charmbracelet/lipgloss/blob/v1.1.0/LICENSE
25+
26+
- github.com/charmbracelet/log
27+
License: MIT
28+
URL: https://github.com/charmbracelet/log/blob/v0.4.2/LICENSE
29+
30+
- github.com/charmbracelet/x/ansi
31+
License: MIT
32+
URL: https://github.com/charmbracelet/x/blob/ansi/v0.8.0/ansi/LICENSE
33+
34+
- github.com/charmbracelet/x/cellbuf
35+
License: MIT
36+
URL: https://github.com/charmbracelet/x/blob/2c3ea96c31dd/cellbuf/LICENSE
37+
38+
- github.com/charmbracelet/x/term
39+
License: MIT
40+
URL: https://github.com/charmbracelet/x/blob/term/v0.2.1/term/LICENSE
41+
42+
- github.com/cpuguy83/go-md2man/v2/md2man
43+
License: MIT
44+
URL: https://github.com/cpuguy83/go-md2man/blob/v2.0.6/LICENSE.md
45+
46+
- github.com/go-co-op/gocron/v2
47+
License: MIT
48+
URL: https://github.com/go-co-op/gocron/blob/v2.17.0/LICENSE
49+
50+
- github.com/go-logfmt/logfmt
51+
License: MIT
52+
URL: https://github.com/go-logfmt/logfmt/blob/v0.6.0/LICENSE
53+
54+
- github.com/golang/mock/gomock
55+
License: Apache-2.0
56+
URL: https://github.com/golang/mock/blob/v1.6.0/LICENSE
57+
58+
- github.com/google/uuid
59+
License: BSD-3-Clause
60+
URL: https://github.com/google/uuid/blob/v1.6.0/LICENSE
61+
62+
- github.com/jackc/pgio
63+
License: MIT
64+
URL: https://github.com/jackc/pgio/blob/v1.0.0/LICENSE
65+
66+
- github.com/jackc/pglogrepl
67+
License: MIT
68+
URL: https://github.com/jackc/pglogrepl/blob/a9884f6bd75a/LICENSE
69+
70+
- github.com/jackc/pgpassfile
71+
License: MIT
72+
URL: https://github.com/jackc/pgpassfile/blob/v1.0.0/LICENSE
73+
74+
- github.com/jackc/pgservicefile
75+
License: MIT
76+
URL: https://github.com/jackc/pgservicefile/blob/5a60cdf6a761/LICENSE
77+
78+
- github.com/jackc/pgtype
79+
License: MIT
80+
URL: https://github.com/jackc/pgtype/blob/v1.14.4/LICENSE
81+
82+
- github.com/jackc/pgx/v5
83+
License: MIT
84+
URL: https://github.com/jackc/pgx/blob/v5.7.5/LICENSE
85+
86+
- github.com/jackc/puddle/v2
87+
License: MIT
88+
URL: https://github.com/jackc/puddle/blob/v2.2.2/LICENSE
89+
90+
- github.com/jonboulle/clockwork
91+
License: Apache-2.0
92+
URL: https://github.com/jonboulle/clockwork/blob/v0.5.0/LICENSE
93+
94+
- github.com/lucasb-eyer/go-colorful
95+
License: MIT
96+
URL: https://github.com/lucasb-eyer/go-colorful/blob/v1.2.0/LICENSE
97+
98+
- github.com/mattn/go-isatty
99+
License: MIT
100+
URL: https://github.com/mattn/go-isatty/blob/v0.0.20/LICENSE
101+
102+
- github.com/mattn/go-runewidth
103+
License: MIT
104+
URL: https://github.com/mattn/go-runewidth/blob/v0.0.16/LICENSE
105+
106+
- github.com/mattn/go-sqlite3
107+
License: MIT
108+
URL: https://github.com/mattn/go-sqlite3/blob/v1.14.22/LICENSE
109+
110+
- github.com/muesli/termenv
111+
License: MIT
112+
URL: https://github.com/muesli/termenv/blob/v0.16.0/LICENSE
113+
114+
- github.com/pgedge/ace
115+
License: PostgreSQL
116+
URL: https://github.com/pgedge/ace/blob/HEAD/LICENSE
117+
118+
- github.com/rivo/uniseg
119+
License: MIT
120+
URL: https://github.com/rivo/uniseg/blob/v0.4.7/LICENSE.txt
121+
122+
- github.com/robfig/cron/v3
123+
License: MIT
124+
URL: https://github.com/robfig/cron/blob/v3.0.1/LICENSE
125+
126+
- github.com/russross/blackfriday/v2
127+
License: BSD-2-Clause
128+
URL: https://github.com/russross/blackfriday/blob/v2.1.0/LICENSE.txt
129+
130+
- github.com/urfave/cli/v2
131+
License: MIT
132+
URL: https://github.com/urfave/cli/blob/v2.27.6/LICENSE
133+
134+
- github.com/vbauerster/mpb/v8
135+
License: Unlicense
136+
URL: https://github.com/vbauerster/mpb/blob/v8.10.0/UNLICENSE
137+
138+
- github.com/xo/terminfo
139+
License: MIT
140+
URL: https://github.com/xo/terminfo/blob/abceb7e1c41e/LICENSE
141+
142+
- github.com/xrash/smetrics
143+
License: MIT
144+
URL: https://github.com/xrash/smetrics/blob/686a1a2994c1/LICENSE
145+
146+
- golang.org/x/crypto/pbkdf2
147+
License: BSD-3-Clause
148+
URL: https://cs.opensource.google/go/x/crypto/+/v0.37.0:LICENSE
149+
150+
- golang.org/x/sync/semaphore
151+
License: BSD-3-Clause
152+
URL: https://cs.opensource.google/go/x/sync/+/v0.13.0:LICENSE
153+
154+
- golang.org/x/sys/unix
155+
License: BSD-3-Clause
156+
URL: https://cs.opensource.google/go/x/sys/+/v0.32.0:LICENSE
157+
158+
- golang.org/x/text
159+
License: BSD-3-Clause
160+
URL: https://cs.opensource.google/go/x/text/+/v0.24.0:LICENSE
161+
162+
- gopkg.in/yaml.v3
163+
License: MIT
164+
URL: https://github.com/go-yaml/yaml/blob/v3.0.1/LICENSE
165+

get-licenses.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
#
3+
# Get license info csv first:
4+
# go-licenses report ./... > licenses.csv
5+
6+
echo "Third-Party Software Notices" > NOTICE.txt
7+
echo "=============================" >> NOTICE.txt
8+
echo "" >> NOTICE.txt
9+
echo "This software includes the following third-party dependencies:" >> NOTICE.txt
10+
echo "" >> NOTICE.txt
11+
12+
tail -n +1 licenses.csv | while IFS=, read -r package url license_type; do
13+
if [ "$package" != "Package" ]; then
14+
echo "- $package" >> NOTICE.txt
15+
echo " License: $license_type" >> NOTICE.txt
16+
echo " URL: $url" >> NOTICE.txt
17+
echo "" >> NOTICE.txt
18+
fi
19+
done

0 commit comments

Comments
 (0)