Skip to content

Commit

Permalink
Add apt-key to forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Jan 3, 2025
1 parent c09c881 commit bc2df32
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@
# Should be `long-standing`
\blong standing\b

# `apt-key` is deprecated
# ... instead you should be writing a pair of files:
# ... * the gpg key added to a distinct key ring file based on your project/distro/key...
# ... * the sources.list in a district file -- not simply appended to `/etc/apt/sources.list` -- (there is a newer format [DEB822](https://manpages.debian.org/bookworm/dpkg-dev/deb822.5.en.html)) that references the gpg key.
#
# curl http://download.something.example.com/$DISTRO/Release.key | \
# gpg --dearmor --yes --output /usr/share/keyrings/something-distro.gpg
# echo "deb [signed-by=/usr/share/keyrings/something-distro.gpg] http://download.something.example.com/repositories/home:/$DISTRO ./" \
# >> /etc/apt/sources.list.d/something-distro.list
\bapt-key add\b

# Should probably be a person named `Nick` or the abbreviation `NIC`
\bNic\b

Expand Down

0 comments on commit bc2df32

Please sign in to comment.