mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
fba94a9e4c | |||
5cf0f7bbf5 |
1
.github/actions/spelling/README.md
vendored
1
.github/actions/spelling/README.md
vendored
@ -8,7 +8,6 @@ File | Purpose | Format | Info
|
|||||||
[excludes.txt](excludes.txt) | Files to ignore entirely | perl regular expression | [excludes](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-excludes)
|
[excludes.txt](excludes.txt) | Files to ignore entirely | perl regular expression | [excludes](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-excludes)
|
||||||
[only.txt](only.txt) | Only check matching files (applied after excludes) | perl regular expression | [only](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-only)
|
[only.txt](only.txt) | Only check matching files (applied after excludes) | perl regular expression | [only](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-only)
|
||||||
[patterns.txt](patterns.txt) | Patterns to ignore from checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns)
|
[patterns.txt](patterns.txt) | Patterns to ignore from checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns)
|
||||||
[line_forbidden.patterns](line_forbidden.patterns) | Patterns to flag in checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns)
|
|
||||||
[expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect)
|
[expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect)
|
||||||
[advice.md](advice.md) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice)
|
[advice.md](advice.md) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice)
|
||||||
|
|
||||||
|
34
.github/actions/spelling/advice.md
vendored
34
.github/actions/spelling/advice.md
vendored
@ -1,25 +1,27 @@
|
|||||||
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
|
||||||
<details><summary>If the flagged items are false positives</summary>
|
<details><summary>If you see a bunch of garbage</summary>
|
||||||
|
|
||||||
If items relate to a ...
|
If it relates to a ...
|
||||||
* binary file (or some other file you wouldn't want to check at all).
|
<details><summary>well-formed pattern</summary>
|
||||||
|
|
||||||
Please add a file path to the `excludes.txt` file matching the containing file.
|
See if there's a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it.
|
||||||
|
|
||||||
File paths are Perl 5 Regular Expressions - you can [test](
|
If not, try writing one and adding it to the `patterns.txt` file.
|
||||||
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files.
|
|
||||||
|
|
||||||
`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md](
|
Patterns are Perl 5 Regular Expressions - you can [test](
|
||||||
../tree/HEAD/README.md) (on whichever branch you're using).
|
|
||||||
|
|
||||||
* well-formed pattern.
|
|
||||||
|
|
||||||
If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it,
|
|
||||||
try adding it to the `patterns.txt` file.
|
|
||||||
|
|
||||||
Patterns are Perl 5 Regular Expressions - you can [test](
|
|
||||||
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
|
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
|
||||||
|
|
||||||
Note that patterns can't match multiline strings.
|
Note that patterns can't match multiline strings.
|
||||||
|
</details>
|
||||||
|
<details><summary>binary-ish string</summary>
|
||||||
|
|
||||||
|
Please add a file path to the `excludes.txt` file instead of just accepting the garbage.
|
||||||
|
|
||||||
|
File paths are Perl 5 Regular Expressions - you can [test](
|
||||||
|
https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files.
|
||||||
|
|
||||||
|
`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md](
|
||||||
|
../tree/HEAD/README.md) (on whichever branch you're using).
|
||||||
|
</details>
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
4
.github/actions/spelling/allow.txt
vendored
4
.github/actions/spelling/allow.txt
vendored
@ -1,4 +0,0 @@
|
|||||||
github
|
|
||||||
https
|
|
||||||
ssh
|
|
||||||
ubuntu
|
|
||||||
|
458
.github/actions/spelling/candidate.patterns
vendored
458
.github/actions/spelling/candidate.patterns
vendored
@ -1,458 +0,0 @@
|
|||||||
# marker to ignore all code on line
|
|
||||||
^.*/\* #no-spell-check-line \*/.*$
|
|
||||||
# marker for ignoring a comment to the end of the line
|
|
||||||
// #no-spell-check.*$
|
|
||||||
|
|
||||||
# patch hunk comments
|
|
||||||
^\@\@ -\d+(?:,\d+|) \+\d+(?:,\d+|) \@\@ .*
|
|
||||||
# git index header
|
|
||||||
index [0-9a-z]{7,40}\.\.[0-9a-z]{7,40}
|
|
||||||
|
|
||||||
# cid urls
|
|
||||||
(['"])cid:.*?\g{-1}
|
|
||||||
|
|
||||||
# data url in parens
|
|
||||||
\(data:[^)]*?(?:[A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})[^)]*\)
|
|
||||||
# data url in quotes
|
|
||||||
([`'"])data:.*?(?:[A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,}).*\g{-1}
|
|
||||||
# data url
|
|
||||||
data:[-a-zA-Z=;:/0-9+]*,\S*
|
|
||||||
|
|
||||||
# mailto urls
|
|
||||||
mailto:[-a-zA-Z=;:/?%&0-9+@.]{3,}
|
|
||||||
|
|
||||||
# magnet urls
|
|
||||||
magnet:[?=:\w]+
|
|
||||||
|
|
||||||
# obs:
|
|
||||||
"obs:[^"]*"
|
|
||||||
|
|
||||||
# The `\b` here means a break, it's the fancy way to handle urls, but it makes things harder to read
|
|
||||||
# In this examples content, I'm using a number of different ways to match things to show various approaches
|
|
||||||
# asciinema
|
|
||||||
\basciinema\.org/a/[0-9a-zA-Z]+
|
|
||||||
|
|
||||||
# apple
|
|
||||||
\bdeveloper\.apple\.com/[-\w?=/]+
|
|
||||||
# Apple music
|
|
||||||
\bembed\.music\.apple\.com/fr/playlist/usr-share/[-\w.]+
|
|
||||||
|
|
||||||
# appveyor api
|
|
||||||
\bci\.appveyor\.com/api/projects/status/[0-9a-z]+
|
|
||||||
# appveyor project
|
|
||||||
\bci\.appveyor\.com/project/(?:[^/\s"]*/){2}builds?/\d+/job/[0-9a-z]+
|
|
||||||
|
|
||||||
# Amazon
|
|
||||||
|
|
||||||
# Amazon
|
|
||||||
\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|)
|
|
||||||
# AWS S3
|
|
||||||
\b\w*\.s3[^.]*\.amazonaws\.com/[-\w/&#%_?:=]*
|
|
||||||
# AWS execute-api
|
|
||||||
\b[0-9a-z]{10}\.execute-api\.[-0-9a-z]+\.amazonaws\.com\b
|
|
||||||
# AWS ELB
|
|
||||||
\b\w+\.[-0-9a-z]+\.elb\.amazonaws\.com\b
|
|
||||||
# AWS SNS
|
|
||||||
\bsns\.[-0-9a-z]+.amazonaws\.com/[-\w/&#%_?:=]*
|
|
||||||
|
|
||||||
# While you could try to match `http://` and `https://` by using `s?` in `https?://`, sometimes there
|
|
||||||
# YouTube url
|
|
||||||
\b(?:(?:www\.|)youtube\.com|youtu.be)/(?:channel/|embed/|user/|playlist\?list=|watch\?v=|v/|)[-a-zA-Z0-9?&=_%]*
|
|
||||||
# YouTube music
|
|
||||||
\bmusic\.youtube\.com/youtubei/v1/browse(?:[?&]\w+=[-a-zA-Z0-9?&=_]*)
|
|
||||||
# YouTube tag
|
|
||||||
<\s*youtube\s+id=['"][-a-zA-Z0-9?_]*['"]
|
|
||||||
# YouTube image
|
|
||||||
\bimg\.youtube\.com/vi/[-a-zA-Z0-9?&=_]*
|
|
||||||
# Google Accounts
|
|
||||||
\baccounts.google.com/[-_/?=.:;+%&0-9a-zA-Z]*
|
|
||||||
# Google Analytics
|
|
||||||
\bgoogle-analytics\.com/collect.[-0-9a-zA-Z?%=&_.~]*
|
|
||||||
# Google APIs
|
|
||||||
\bgoogleapis\.(?:com|dev)/[a-z]+/(?:v\d+/|)[a-z]+/[-@:./?=\w]+
|
|
||||||
# Google Storage
|
|
||||||
\b[-a-zA-Z0-9.]*\bstorage\d*\.googleapis\.com(?:/\S*|)
|
|
||||||
# Google Calendar
|
|
||||||
\bcalendar\.google\.com/calendar(?:/u/\d+|)/embed\?src=[@./?=\w&%]+
|
|
||||||
\w+\@group\.calendar\.google\.com\b
|
|
||||||
# Google DataStudio
|
|
||||||
\bdatastudio\.google\.com/(?:(?:c/|)u/\d+/|)(?:embed/|)(?:open|reporting|datasources|s)/[-0-9a-zA-Z]+(?:/page/[-0-9a-zA-Z]+|)
|
|
||||||
# The leading `/` here is as opposed to the `\b` above
|
|
||||||
# ... a short way to match `https://` or `http://` since most urls have one of those prefixes
|
|
||||||
# Google Docs
|
|
||||||
/docs\.google\.com/[a-z]+/(?:ccc\?key=\w+|(?:u/\d+|d/(?:e/|)[0-9a-zA-Z_-]+/)?(?:edit\?[-\w=#.]*|/\?[\w=&]*|))
|
|
||||||
# Google Drive
|
|
||||||
\bdrive\.google\.com/(?:file/d/|open)[-0-9a-zA-Z_?=]*
|
|
||||||
# Google Groups
|
|
||||||
\bgroups\.google\.com/(?:(?:forum/#!|d/)(?:msg|topics?|searchin)|a)/[^/\s"]+/[-a-zA-Z0-9$]+(?:/[-a-zA-Z0-9]+)*
|
|
||||||
# Google Maps
|
|
||||||
\bmaps\.google\.com/maps\?[\w&;=]*
|
|
||||||
# Google themes
|
|
||||||
themes\.googleusercontent\.com/static/fonts/[^/\s"]+/v\d+/[^.]+.
|
|
||||||
# Google CDN
|
|
||||||
\bclients2\.google(?:usercontent|)\.com[-0-9a-zA-Z/.]*
|
|
||||||
# Goo.gl
|
|
||||||
/goo\.gl/[a-zA-Z0-9]+
|
|
||||||
# Google Chrome Store
|
|
||||||
\bchrome\.google\.com/webstore/detail/[-\w]*(?:/\w*|)
|
|
||||||
# Google Books
|
|
||||||
\bgoogle\.(?:\w{2,4})/books(?:/\w+)*\?[-\w\d=&#.]*
|
|
||||||
# Google Fonts
|
|
||||||
\bfonts\.(?:googleapis|gstatic)\.com/[-/?=:;+&0-9a-zA-Z]*
|
|
||||||
# Google Forms
|
|
||||||
\bforms\.gle/\w+
|
|
||||||
# Google Scholar
|
|
||||||
\bscholar\.google\.com/citations\?user=[A-Za-z0-9_]+
|
|
||||||
# Google Colab Research Drive
|
|
||||||
\bcolab\.research\.google\.com/drive/[-0-9a-zA-Z_?=]*
|
|
||||||
|
|
||||||
# GitHub SHAs (api)
|
|
||||||
\bapi.github\.com/repos(?:/[^/\s"]+){3}/[0-9a-f]+\b
|
|
||||||
# GitHub SHAs (markdown)
|
|
||||||
(?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|)
|
|
||||||
# GitHub SHAs
|
|
||||||
\bgithub\.com(?:/[^/\s"]+){2}[@#][0-9a-f]+\b
|
|
||||||
# GitHub wiki
|
|
||||||
\bgithub\.com/(?:[^/]+/){2}wiki/(?:(?:[^/]+/|)_history|[^/]+(?:/_compare|)/[0-9a-f.]{40,})\b
|
|
||||||
# githubusercontent
|
|
||||||
/[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]*
|
|
||||||
# githubassets
|
|
||||||
\bgithubassets.com/[0-9a-f]+(?:[-/\w.]+)
|
|
||||||
# gist github
|
|
||||||
\bgist\.github\.com/[^/\s"]+/[0-9a-f]+
|
|
||||||
# git.io
|
|
||||||
\bgit\.io/[0-9a-zA-Z]+
|
|
||||||
# GitHub JSON
|
|
||||||
"node_id": "[-a-zA-Z=;:/0-9+]*"
|
|
||||||
# Contributor
|
|
||||||
\[[^\]]+\]\(https://github\.com/[^/\s"]+\)
|
|
||||||
# GHSA
|
|
||||||
GHSA(?:-[0-9a-z]{4}){3}
|
|
||||||
|
|
||||||
# GitLab commit
|
|
||||||
\bgitlab\.[^/\s"]*/\S+/\S+/commit/[0-9a-f]{7,16}#[0-9a-f]{40}\b
|
|
||||||
# GitLab merge requests
|
|
||||||
\bgitlab\.[^/\s"]*/\S+/\S+/-/merge_requests/\d+/diffs#[0-9a-f]{40}\b
|
|
||||||
# GitLab uploads
|
|
||||||
\bgitlab\.[^/\s"]*/uploads/[-a-zA-Z=;:/0-9+]*
|
|
||||||
# GitLab commits
|
|
||||||
\bgitlab\.[^/\s"]*/(?:[^/\s"]+/){2}commits?/[0-9a-f]+\b
|
|
||||||
|
|
||||||
# binanace
|
|
||||||
accounts.binance.com/[a-z/]*oauth/authorize\?[-0-9a-zA-Z&%]*
|
|
||||||
|
|
||||||
# bitbucket diff
|
|
||||||
\bapi\.bitbucket\.org/\d+\.\d+/repositories/(?:[^/\s"]+/){2}diff(?:stat|)(?:/[^/\s"]+){2}:[0-9a-f]+
|
|
||||||
# bitbucket repositories commits
|
|
||||||
\bapi\.bitbucket\.org/\d+\.\d+/repositories/(?:[^/\s"]+/){2}commits?/[0-9a-f]+
|
|
||||||
# bitbucket commits
|
|
||||||
\bbitbucket\.org/(?:[^/\s"]+/){2}commits?/[0-9a-f]+
|
|
||||||
|
|
||||||
# bit.ly
|
|
||||||
\bbit\.ly/\w+
|
|
||||||
|
|
||||||
# bitrise
|
|
||||||
\bapp\.bitrise\.io/app/[0-9a-f]*/[\w.?=&]*
|
|
||||||
|
|
||||||
# bootstrapcdn.com
|
|
||||||
\bbootstrapcdn\.com/[-./\w]+
|
|
||||||
|
|
||||||
# cdn.cloudflare.com
|
|
||||||
\bcdnjs\.cloudflare\.com/[./\w]+
|
|
||||||
|
|
||||||
# circleci
|
|
||||||
\bcircleci\.com/gh(?:/[^/\s"]+){1,5}.[a-z]+\?[-0-9a-zA-Z=&]+
|
|
||||||
|
|
||||||
# gitter
|
|
||||||
\bgitter\.im(?:/[^/\s"]+){2}\?at=[0-9a-f]+
|
|
||||||
|
|
||||||
# gravatar
|
|
||||||
\bgravatar\.com/avatar/[0-9a-f]+
|
|
||||||
|
|
||||||
# ibm
|
|
||||||
[a-z.]*ibm\.com/[-_#=:%!?~.\\/\d\w]*
|
|
||||||
|
|
||||||
# imgur
|
|
||||||
\bimgur\.com/[^.]+
|
|
||||||
|
|
||||||
# Internet Archive
|
|
||||||
\barchive\.org/web/\d+/(?:[-\w.?,'/\\+&%$#_:]*)
|
|
||||||
|
|
||||||
# discord
|
|
||||||
/discord(?:app\.com|\.gg)/(?:invite/)?[a-zA-Z0-9]{7,}
|
|
||||||
|
|
||||||
# Disqus
|
|
||||||
\bdisqus\.com/[-\w/%.()!?&=_]*
|
|
||||||
|
|
||||||
# medium link
|
|
||||||
\blink\.medium\.com/[a-zA-Z0-9]+
|
|
||||||
# medium
|
|
||||||
\bmedium\.com/\@?[^/\s"]+/[-\w]+
|
|
||||||
|
|
||||||
# microsoft
|
|
||||||
\b(?:https?://|)(?:(?:download\.visualstudio|docs|msdn2?|research)\.microsoft|blogs\.msdn)\.com/[-_a-zA-Z0-9()=./%]*
|
|
||||||
# powerbi
|
|
||||||
\bapp\.powerbi\.com/reportEmbed/[^"' ]*
|
|
||||||
# vs devops
|
|
||||||
\bvisualstudio.com(?::443|)/[-\w/?=%&.]*
|
|
||||||
|
|
||||||
# mvnrepository.com
|
|
||||||
\bmvnrepository\.com/[-0-9a-z./]+
|
|
||||||
|
|
||||||
# now.sh
|
|
||||||
/[0-9a-z-.]+\.now\.sh\b
|
|
||||||
|
|
||||||
# oracle
|
|
||||||
\bdocs\.oracle\.com/[-0-9a-zA-Z./_?#&=]*
|
|
||||||
|
|
||||||
# chromatic.com
|
|
||||||
/\S+.chromatic.com\S*[")]
|
|
||||||
|
|
||||||
# codacy
|
|
||||||
\bapi\.codacy\.com/project/badge/Grade/[0-9a-f]+
|
|
||||||
|
|
||||||
# compai
|
|
||||||
\bcompai\.pub/v1/png/[0-9a-f]+
|
|
||||||
|
|
||||||
# mailgun api
|
|
||||||
\.api\.mailgun\.net/v3/domains/[0-9a-z]+\.mailgun.org/messages/[0-9a-zA-Z=@]*
|
|
||||||
# mailgun
|
|
||||||
\b[0-9a-z]+.mailgun.org
|
|
||||||
|
|
||||||
# /message-id/
|
|
||||||
/message-id/[-\w@./%]+
|
|
||||||
|
|
||||||
# Reddit
|
|
||||||
\breddit\.com/r/[/\w_]*
|
|
||||||
|
|
||||||
# requestb.in
|
|
||||||
\brequestb\.in/[0-9a-z]+
|
|
||||||
|
|
||||||
# sched
|
|
||||||
\b[a-z0-9]+\.sched\.com\b
|
|
||||||
|
|
||||||
# Slack url
|
|
||||||
slack://[a-zA-Z0-9?&=]+
|
|
||||||
# Slack
|
|
||||||
\bslack\.com/[-0-9a-zA-Z/_~?&=.]*
|
|
||||||
# Slack edge
|
|
||||||
\bslack-edge\.com/[-a-zA-Z0-9?&=%./]+
|
|
||||||
# Slack images
|
|
||||||
\bslack-imgs\.com/[-a-zA-Z0-9?&=%.]+
|
|
||||||
|
|
||||||
# shields.io
|
|
||||||
\bshields\.io/[-\w/%?=&.:+;,]*
|
|
||||||
|
|
||||||
# stackexchange -- https://stackexchange.com/feeds/sites
|
|
||||||
\b(?:askubuntu|serverfault|stack(?:exchange|overflow)|superuser).com/(?:questions/\w+/[-\w]+|a/)
|
|
||||||
|
|
||||||
# Sentry
|
|
||||||
[0-9a-f]{32}\@o\d+\.ingest\.sentry\.io\b
|
|
||||||
|
|
||||||
# Twitter markdown
|
|
||||||
\[\@[^[/\]:]*?\]\(https://twitter.com/[^/\s"')]*(?:/status/\d+(?:\?[-_0-9a-zA-Z&=]*|)|)\)
|
|
||||||
# Twitter hashtag
|
|
||||||
\btwitter\.com/hashtag/[\w?_=&]*
|
|
||||||
# Twitter status
|
|
||||||
\btwitter\.com/[^/\s"')]*(?:/status/\d+(?:\?[-_0-9a-zA-Z&=]*|)|)
|
|
||||||
# Twitter profile images
|
|
||||||
\btwimg\.com/profile_images/[_\w./]*
|
|
||||||
# Twitter media
|
|
||||||
\btwimg\.com/media/[-_\w./?=]*
|
|
||||||
# Twitter link shortened
|
|
||||||
\bt\.co/\w+
|
|
||||||
|
|
||||||
# facebook
|
|
||||||
\bfburl\.com/[0-9a-z_]+
|
|
||||||
# facebook CDN
|
|
||||||
\bfbcdn\.net/[\w/.,]*
|
|
||||||
# facebook watch
|
|
||||||
\bfb\.watch/[0-9A-Za-z]+
|
|
||||||
|
|
||||||
# dropbox
|
|
||||||
\bdropbox\.com/s/[^/\s"]+/[-0-9A-Za-z_.%]+
|
|
||||||
|
|
||||||
# ipfs protocol
|
|
||||||
ipfs://[0-9a-z]*
|
|
||||||
# ipfs url
|
|
||||||
/ipfs/[0-9a-z]*
|
|
||||||
|
|
||||||
# w3
|
|
||||||
\bw3\.org/[-0-9a-zA-Z/#.]+
|
|
||||||
|
|
||||||
# loom
|
|
||||||
\bloom\.com/embed/[0-9a-f]+
|
|
||||||
|
|
||||||
# regex101
|
|
||||||
\bregex101\.com/r/[^/\s"]+/\d+
|
|
||||||
|
|
||||||
# figma
|
|
||||||
\bfigma\.com/file(?:/[0-9a-zA-Z]+/)+
|
|
||||||
|
|
||||||
# freecodecamp.org
|
|
||||||
\bfreecodecamp\.org/[-\w/.]+
|
|
||||||
|
|
||||||
# image.tmdb.org
|
|
||||||
\bimage\.tmdb\.org/[/\w.]+
|
|
||||||
|
|
||||||
# mermaid
|
|
||||||
\bmermaid\.ink/img/[-\w]+|\bmermaid-js\.github\.io/mermaid-live-editor/#/edit/[-\w]+
|
|
||||||
|
|
||||||
# gitweb
|
|
||||||
[^"\s]+/gitweb/\S+;h=[0-9a-f]+
|
|
||||||
|
|
||||||
# HyperKitty lists
|
|
||||||
/archives/list/[^@/]+\@[^/\s"]*/message/[^/\s"]*/
|
|
||||||
|
|
||||||
# lists
|
|
||||||
/thread\.html/[^"\s]+
|
|
||||||
|
|
||||||
# list-management
|
|
||||||
\blist-manage\.com/subscribe(?:[?&](?:u|id)=[0-9a-f]+)+
|
|
||||||
|
|
||||||
# kubectl.kubernetes.io/last-applied-configuration
|
|
||||||
"kubectl.kubernetes.io/last-applied-configuration": ".*"
|
|
||||||
|
|
||||||
# pgp
|
|
||||||
\bgnupg\.net/pks/lookup[?&=0-9a-zA-Z]*
|
|
||||||
|
|
||||||
# Spotify
|
|
||||||
\bopen\.spotify\.com/embed/playlist/\w+
|
|
||||||
|
|
||||||
# mastodon.social
|
|
||||||
\bmastodon\.social/(?:media/|\@)[?&=0-9a-zA-Z]*
|
|
||||||
|
|
||||||
# scastie
|
|
||||||
\bscastie\.scala-lang\.org/[^/]+/\w+
|
|
||||||
|
|
||||||
# images.unsplash.com
|
|
||||||
\bimages\.unsplash\.com/(?:(?:flagged|reserve)/|)[-\w./%?=%&.;]+
|
|
||||||
|
|
||||||
# pastebin
|
|
||||||
\bpastebin\.com/[\w/]+
|
|
||||||
|
|
||||||
# ANSI color codes
|
|
||||||
(?:\\(?:u00|x)1b|\x1b)\[\d+(?:;\d+|)m
|
|
||||||
|
|
||||||
# URL escaped characters
|
|
||||||
\%[0-9A-F][A-F]
|
|
||||||
# IPv6
|
|
||||||
\b(?:[0-9a-fA-F]{0,4}:){3,7}[0-9a-fA-F]{0,4}\b
|
|
||||||
# c99 hex digits (not the full format, just one I've seen)
|
|
||||||
0x[0-9a-fA-F](?:\.[0-9a-fA-F]*|)[pP]
|
|
||||||
# Punycode
|
|
||||||
\bxn--[-0-9a-z]+
|
|
||||||
# sha
|
|
||||||
sha\d+:[0-9]*[a-f]{3,}[0-9a-f]*
|
|
||||||
# sha-... -- uses a fancy capture
|
|
||||||
(['"]|")[0-9a-f]{40,}\g{-1}
|
|
||||||
# hex runs
|
|
||||||
\b[0-9a-fA-F]{16,}\b
|
|
||||||
# hex in url queries
|
|
||||||
=[0-9a-fA-F]*?(?:[A-F]{3,}|[a-f]{3,})[0-9a-fA-F]*?&
|
|
||||||
# ssh
|
|
||||||
(?:ssh-\S+|-nistp256) [-a-zA-Z=;:/0-9+]{12,}
|
|
||||||
# PGP
|
|
||||||
\b(?:[0-9A-F]{4} ){9}[0-9A-F]{4}\b
|
|
||||||
# uuid:
|
|
||||||
\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b
|
|
||||||
# hex digits including css/html color classes:
|
|
||||||
(?:[\\0][xX]|\\u|[uU]\+|#x?|\%23)[0-9_]*[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|u\d+)\b
|
|
||||||
# integrity
|
|
||||||
integrity="sha\d+-[-a-zA-Z=;:/0-9+]{40,}"
|
|
||||||
|
|
||||||
# https://www.gnu.org/software/groff/manual/groff.html
|
|
||||||
# man troff content
|
|
||||||
\\f[BCIPR]
|
|
||||||
# '
|
|
||||||
\\\(aq
|
|
||||||
|
|
||||||
# .desktop mime types
|
|
||||||
^MimeTypes?=.*$
|
|
||||||
# .desktop localized entries
|
|
||||||
^[A-Z][a-z]+\[[a-z]+\]=.*$
|
|
||||||
|
|
||||||
# IServiceProvider
|
|
||||||
\bI(?=(?:[A-Z][a-z]{2,})+\b)
|
|
||||||
|
|
||||||
# crypt
|
|
||||||
"\$2[ayb]\$.{56}"
|
|
||||||
|
|
||||||
# Input to GitHub JSON
|
|
||||||
content: "[-a-zA-Z=;:/0-9+]*="
|
|
||||||
|
|
||||||
# Python stringprefix / binaryprefix
|
|
||||||
# Note that there's a high false positive rate, remove the `?=` and search for the regex to see if the matches seem like reasonable strings
|
|
||||||
(?<!')\b(?:B|BR|Br|F|FR|Fr|R|RB|RF|Rb|Rf|U|UR|Ur|b|bR|br|f|fR|fr|r|rB|rF|rb|rf|u|uR|ur)'(?:[A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})
|
|
||||||
|
|
||||||
# Regular expressions for (P|p)assword
|
|
||||||
\([A-Z]\|[a-z]\)[a-z]+
|
|
||||||
|
|
||||||
# JavaScript regular expressions
|
|
||||||
/.*/[gim]*\.test\(
|
|
||||||
\.replace\(/[^/\s"]*/[gim]*\s*,
|
|
||||||
|
|
||||||
# Go regular expressions
|
|
||||||
regexp?\.MustCompile\(`[^`]*`\)
|
|
||||||
|
|
||||||
# sed regular expressions
|
|
||||||
sed 's/(?:[^/]*?[a-zA-Z]{3,}[^/]*?/){2}
|
|
||||||
|
|
||||||
# kubernetes pod status lists
|
|
||||||
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
|
|
||||||
\w+(?:-\w+)+\s+\d+/\d+\s+(?:Running|Pending|Succeeded|Failed|Unknown)\s+
|
|
||||||
|
|
||||||
# kubectl - pods in CrashLoopBackOff
|
|
||||||
\w+-[0-9a-f]+-\w+\s+\d+/\d+\s+CrashLoopBackOff\s+
|
|
||||||
|
|
||||||
# kubernetes object suffix
|
|
||||||
-[0-9a-f]{10}-\w{5}\s
|
|
||||||
|
|
||||||
# posthog secrets
|
|
||||||
posthog\.init\((['"])phc_[^"',]+\g{-1},
|
|
||||||
|
|
||||||
# Update Lorem based on your content (requires `ge` and `w` from https://github.com/jsoref/spelling; and `review` from https://github.com/check-spelling/check-spelling/wiki/Looking-for-items-locally )
|
|
||||||
# grep '^[^#].*lorem' .github/actions/spelling/patterns.txt|perl -pne 's/.*i..\?://;s/\).*//' |tr '|' "\n"|sort -f |xargs -n1 ge|perl -pne 's/^[^:]*://'|sort -u|w|sed -e 's/ .*//'|w|review -
|
|
||||||
# Warning, while `(?i)` is very neat and fancy, if you have some binary files that aren't proper unicode, you might run into:
|
|
||||||
## Operation "substitution (s///)" returns its argument for non-Unicode code point 0x1C19AE (the code point will vary).
|
|
||||||
## You could manually change `(?i)X...` to use `[Xx]...`
|
|
||||||
## or you could add the files to your `excludes` file (a version after 0.0.19 should identify the file path)
|
|
||||||
# Lorem
|
|
||||||
(?:\w|\s|[,.])*\b(?i)(?:amet|consectetur|cursus|dolor|eros|ipsum|lacus|libero|ligula|lorem|magna|neque|nulla|suscipit|tempus)\b(?:\w|\s|[,.])*
|
|
||||||
|
|
||||||
# Non-English
|
|
||||||
[a-zA-Z]*[ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź][a-zA-Z]{3}[a-zA-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿĀāŁłŃńŅņŒœŚśŠšŜŝŸŽžź]*
|
|
||||||
|
|
||||||
# French
|
|
||||||
# This corpus only had capital letters, but you probably want lowercase ones as well.
|
|
||||||
\b[LN]'+[a-z]+\b
|
|
||||||
|
|
||||||
# latex
|
|
||||||
\\(?:n(?:ew|ormal)|r(?:enew)|t(?:able(?:of|)|he|itle))(?=[a-z]+)
|
|
||||||
|
|
||||||
# the negative lookahead here is to allow catching 'templatesz' as a misspelling
|
|
||||||
# but to otherwise recognize a Windows path with \templates\foo.template or similar:
|
|
||||||
\\(?:necessary|r(?:eport|esolve[dr]?|esult)|t(?:arget|emplates?))(?![a-z])
|
|
||||||
# ignore long runs of a single character:
|
|
||||||
\b([A-Za-z])\g{-1}{3,}\b
|
|
||||||
# Note that the next example is no longer necessary if you are using
|
|
||||||
# to match a string starting with a `#`, use a character-class:
|
|
||||||
[#]backwards
|
|
||||||
# version suffix <word>v#
|
|
||||||
(?:(?<=[A-Z]{2})V|(?<=[a-z]{2}|[A-Z]{2})v)\d+(?:\b|(?=[a-zA-Z_]))
|
|
||||||
# Compiler flags (Scala)
|
|
||||||
(?:^|[\t ,>"'`=(])-J-[DPWXY](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,})
|
|
||||||
# Compiler flags
|
|
||||||
(?:^|[\t ,"'`=(])-[DPWXYLlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,})
|
|
||||||
# Compiler flags (linker)
|
|
||||||
,-B
|
|
||||||
# curl arguments
|
|
||||||
\b(?:\\n|)curl(?:\s+-[a-zA-Z]{1,2}\b)*(?:\s+-[a-zA-Z]{3,})(?:\s+-[a-zA-Z]+)*
|
|
||||||
# set arguments
|
|
||||||
\bset(?:\s+-[abefimouxE]{1,2})*\s+-[abefimouxE]{3,}(?:\s+-[abefimouxE]+)*
|
|
||||||
# tar arguments
|
|
||||||
\b(?:\\n|)g?tar(?:\.exe|)(?:(?:\s+--[-a-zA-Z]+|\s+-[a-zA-Z]+|\s[ABGJMOPRSUWZacdfh-pr-xz]+\b)(?:=[^ ]*|))+
|
|
||||||
# tput arguments -- https://man7.org/linux/man-pages/man5/terminfo.5.html -- technically they can be more than 5 chars long...
|
|
||||||
\btput\s+(?:(?:-[SV]|-T\s*\w+)\s+)*\w{3,5}\b
|
|
||||||
# macOS temp folders
|
|
||||||
/var/folders/\w\w/[+\w]+/(?:T|-Caches-)/
|
|
42
.github/actions/spelling/excludes.txt
vendored
42
.github/actions/spelling/excludes.txt
vendored
@ -1,59 +1,23 @@
|
|||||||
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
|
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
|
||||||
(?:^|/)(?i)COPYRIGHT
|
(?:^|/)(?i)COPYRIGHT
|
||||||
(?:^|/)(?i)LICEN[CS]E
|
(?:^|/)(?i)LICEN[CS]E
|
||||||
(?:^|/)go\.sum$
|
|
||||||
(?:^|/)package(?:-lock|)\.json$
|
(?:^|/)package(?:-lock|)\.json$
|
||||||
(?:^|/)vendor/
|
(?:^|/)vendor/
|
||||||
ignore$
|
ignore$
|
||||||
\.a$
|
|
||||||
\.ai$
|
|
||||||
\.avi$
|
\.avi$
|
||||||
\.bmp$
|
|
||||||
\.bz2$
|
|
||||||
\.crt$
|
|
||||||
\.dll$
|
|
||||||
\.docx?$
|
|
||||||
\.drawio$
|
|
||||||
\.DS_Store$
|
|
||||||
\.eot$
|
|
||||||
\.exe$
|
|
||||||
\.gif$
|
|
||||||
\.gitattributes$
|
|
||||||
\.graffle$
|
|
||||||
\.gz$
|
|
||||||
\.html$
|
|
||||||
\.icns$
|
|
||||||
\.ico$
|
\.ico$
|
||||||
\.jar$
|
|
||||||
\.jks$
|
|
||||||
\.jpe?g$
|
\.jpe?g$
|
||||||
\.js$
|
\.js$
|
||||||
\.key$
|
|
||||||
\.lib$
|
|
||||||
\.lock$
|
\.lock$
|
||||||
\.map$
|
\.map$
|
||||||
\.min\..
|
\.min\.
|
||||||
\.mod$
|
\.mod$
|
||||||
\.mp[34]$
|
\.mp[34]$
|
||||||
\.nav$
|
|
||||||
\.o$
|
|
||||||
\.ocf$
|
|
||||||
\.otf$
|
|
||||||
\.pdf$
|
|
||||||
\.pem$
|
|
||||||
\.png$
|
\.png$
|
||||||
\.styl$
|
\.styl$
|
||||||
\.psd$
|
|
||||||
\.s$
|
|
||||||
\.svg$
|
\.svg$
|
||||||
\.tar$
|
|
||||||
\.tiff?$
|
|
||||||
\.ttf$
|
|
||||||
\.uve$
|
\.uve$
|
||||||
\.wav$
|
\.wav$
|
||||||
\.webm$
|
\.html$
|
||||||
\.webp$
|
\.nav$
|
||||||
\.woff2?$
|
|
||||||
\.zip$
|
|
||||||
^\.github/
|
^\.github/
|
||||||
^\Q.github/workflows/spelling.yml\E$
|
|
||||||
|
1
.github/actions/spelling/expect.txt
vendored
1
.github/actions/spelling/expect.txt
vendored
@ -7,6 +7,7 @@ DLUAJIT
|
|||||||
exe
|
exe
|
||||||
flv
|
flv
|
||||||
gcc
|
gcc
|
||||||
|
github
|
||||||
gmail
|
gmail
|
||||||
gunzip
|
gunzip
|
||||||
gzip
|
gzip
|
||||||
|
56
.github/actions/spelling/line_forbidden.patterns
vendored
56
.github/actions/spelling/line_forbidden.patterns
vendored
@ -1,56 +0,0 @@
|
|||||||
# reject `m_data` as there's a certain OS which has evil defines that break things if it's used elsewhere
|
|
||||||
# \bm_data\b
|
|
||||||
|
|
||||||
# If you have a framework that uses `it()` for testing and `fit()` for debugging a specific test,
|
|
||||||
# you might not want to check in code where you were debugging w/ `fit()`, in which case, you might want
|
|
||||||
# to use this:
|
|
||||||
#\bfit\(
|
|
||||||
|
|
||||||
# s.b. GitHub
|
|
||||||
\bGithub\b
|
|
||||||
|
|
||||||
# s.b. GitLab
|
|
||||||
\bGitlab\b
|
|
||||||
|
|
||||||
# s.b. JavaScript
|
|
||||||
\bJavascript\b
|
|
||||||
|
|
||||||
# s.b. Microsoft
|
|
||||||
\bMicroSoft\b
|
|
||||||
|
|
||||||
# s.b. another
|
|
||||||
\ban[- ]other\b
|
|
||||||
|
|
||||||
# s.b. greater than
|
|
||||||
\bgreater then\b
|
|
||||||
|
|
||||||
# s.b. into
|
|
||||||
\bin to\b
|
|
||||||
|
|
||||||
# s.b. less than
|
|
||||||
\bless then\b
|
|
||||||
|
|
||||||
# s.b. otherwise
|
|
||||||
\bother[- ]wise\b
|
|
||||||
|
|
||||||
# s.b. nonexistent
|
|
||||||
\bnon existing\b
|
|
||||||
\b[Nn]o[nt][- ]existent\b
|
|
||||||
|
|
||||||
# s.b. preexisting
|
|
||||||
[Pp]re-existing
|
|
||||||
|
|
||||||
# s.b. preempt
|
|
||||||
[Pp]re-empt\b
|
|
||||||
|
|
||||||
# s.b. preemptively
|
|
||||||
[Pp]re-emptively
|
|
||||||
|
|
||||||
# s.b. reentrancy
|
|
||||||
[Rr]e-entrancy
|
|
||||||
|
|
||||||
# s.b. reentrant
|
|
||||||
[Rr]e-entrant
|
|
||||||
|
|
||||||
# Reject duplicate words
|
|
||||||
\s([A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})\s\g{-1}\s
|
|
14
.github/actions/spelling/patterns.txt
vendored
14
.github/actions/spelling/patterns.txt
vendored
@ -1,18 +1,4 @@
|
|||||||
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
||||||
|
|
||||||
# acceptable duplicates
|
|
||||||
# ls directory listings
|
|
||||||
[-bcdlpsw](?:[-r][-w][-sx]){3}\s+\d+\s+(\S+)\s+\g{-1}\s+\d+\s+
|
|
||||||
# C types
|
|
||||||
\s(long|LONG) \g{-1}\s
|
|
||||||
# javadoc / .net
|
|
||||||
(?:[\\@](?:groupname|param)|(?:public|private)(?:\s+static|\s+readonly)*)\s+(\w+)\s+\g{-1}\s
|
|
||||||
|
|
||||||
# Commit message -- Signed-off-by and friends
|
|
||||||
^\s*(?:(?:Based-on-patch|Co-authored|Helped|Mentored|Reported|Reviewed|Signed-off)-by|Thanks-to): (?:[^<]*<[^>]*>|[^<]*)\s*$
|
|
||||||
|
|
||||||
# Autogenerated revert commit message
|
|
||||||
^This reverts commit [0-9a-f]{40}\.$
|
|
||||||
|
|
||||||
# ignore long runs of a single character:
|
# ignore long runs of a single character:
|
||||||
\b([A-Za-z])\g{-1}{3,}\b
|
\b([A-Za-z])\g{-1}{3,}\b
|
||||||
|
10
.github/actions/spelling/reject.txt
vendored
10
.github/actions/spelling/reject.txt
vendored
@ -1,10 +0,0 @@
|
|||||||
^attache$
|
|
||||||
benefitting
|
|
||||||
occurences?
|
|
||||||
^dependan.*
|
|
||||||
^oer$
|
|
||||||
Sorce
|
|
||||||
^[Ss]pae.*
|
|
||||||
^untill$
|
|
||||||
^untilling$
|
|
||||||
^wether.*
|
|
||||||
|
97
.github/workflows/spelling.yml
vendored
97
.github/workflows/spelling.yml
vendored
@ -1,96 +1,31 @@
|
|||||||
name: Spell checking
|
name: Spell checking
|
||||||
|
|
||||||
# Updating pull request branches is managed via comment handling.
|
|
||||||
# For details, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-expect-list
|
|
||||||
#
|
|
||||||
# These elements work together to make it happen:
|
|
||||||
#
|
|
||||||
# `on.issue_comment`
|
|
||||||
# This event listens to comments by users asking to update the metadata.
|
|
||||||
#
|
|
||||||
# `jobs.update`
|
|
||||||
# This job runs in response to an issue_comment and will push a new commit
|
|
||||||
# to update the spelling metadata.
|
|
||||||
#
|
|
||||||
# `with.experimental_apply_changes_via_bot`
|
|
||||||
# Tells the action to support and generate messages that enable it
|
|
||||||
# to make a commit to update the spelling metadata.
|
|
||||||
#
|
|
||||||
# `with.ssh_key`
|
|
||||||
# In order to trigger workflows when the commit is made, you can provide a
|
|
||||||
# secret (typically, a write-enabled github deploy key).
|
|
||||||
#
|
|
||||||
# For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: ["**"]
|
|
||||||
tags-ignore: ["**"]
|
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
push:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
spelling:
|
spelling:
|
||||||
name: Spell checking
|
name: Spell checking
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: read
|
|
||||||
actions: read
|
|
||||||
outputs:
|
|
||||||
followup: ${{ steps.spelling.outputs.followup }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'"
|
|
||||||
concurrency:
|
|
||||||
group: spelling-${{ github.event.pull_request.number || github.ref }}
|
|
||||||
# note: If you use only_check_changed_files, you do not want cancel-in-progress
|
|
||||||
cancel-in-progress: true
|
|
||||||
steps:
|
steps:
|
||||||
- name: check-spelling
|
- name: checkout-merge
|
||||||
id: spelling
|
if: "contains(github.event_name, 'pull_request')"
|
||||||
uses: check-spelling/check-spelling@main
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
suppress_push_for_open_pull_request: 1
|
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
||||||
checkout: true
|
- name: checkout
|
||||||
post_comment: 0
|
if: ${{ github.event_name == 'push' ||
|
||||||
experimental_apply_changes_via_bot: 1
|
(
|
||||||
extra_dictionaries:
|
|
||||||
cspell:filetypes/filetypes.txt
|
|
||||||
|
|
||||||
comment:
|
|
||||||
name: Report
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: spelling
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
if: (success() || failure()) && needs.spelling.outputs.followup
|
|
||||||
steps:
|
|
||||||
- name: comment
|
|
||||||
uses: check-spelling/check-spelling@main
|
|
||||||
with:
|
|
||||||
checkout: true
|
|
||||||
task: ${{ needs.spelling.outputs.followup }}
|
|
||||||
experimental_apply_changes_via_bot: 1
|
|
||||||
|
|
||||||
update:
|
|
||||||
name: Update PR
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{
|
|
||||||
github.event_name == 'issue_comment' &&
|
|
||||||
github.event.issue.pull_request &&
|
|
||||||
contains(github.event.comment.body, '@check-spelling-bot apply')
|
contains(github.event.comment.body, '@check-spelling-bot apply')
|
||||||
}}
|
) }}
|
||||||
concurrency:
|
uses: actions/checkout@v2
|
||||||
group: spelling-update-${{ github.event.issue.number }}
|
- uses: check-spelling/check-spelling@main
|
||||||
cancel-in-progress: false
|
id: spelling
|
||||||
steps:
|
if: ${{ github.event_name != 'issue_comment' ||
|
||||||
- name: apply spelling updates
|
(
|
||||||
uses: check-spelling/check-spelling@main
|
contains(github.event.comment.body, '@check-spelling-bot apply')
|
||||||
|
) }}
|
||||||
with:
|
with:
|
||||||
experimental_apply_changes_via_bot: 1
|
experimental_apply_changes_via_bot: 1
|
||||||
checkout: true
|
|
||||||
ssh_key: "${{ secrets.CHECK_SPELLING }}"
|
|
||||||
|
15
.travis.yml
15
.travis.yml
@ -12,6 +12,7 @@ addons:
|
|||||||
packages:
|
packages:
|
||||||
- axel
|
- axel
|
||||||
- dos2unix
|
- dos2unix
|
||||||
|
- cpanminus
|
||||||
- libgd-dev
|
- libgd-dev
|
||||||
|
|
||||||
_linux-s390x: &linux-s390x
|
_linux-s390x: &linux-s390x
|
||||||
@ -25,15 +26,14 @@ _linux-s390x: &linux-s390x
|
|||||||
packages:
|
packages:
|
||||||
- axel
|
- axel
|
||||||
- dos2unix
|
- dos2unix
|
||||||
|
- cpanminus
|
||||||
- libgd-dev
|
- libgd-dev
|
||||||
- libpcre3
|
- libpcre3
|
||||||
- libpcre3-dev
|
- libpcre3-dev
|
||||||
- mercurial
|
- mercurial
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
before_install:
|
|
||||||
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
|
||||||
install:
|
install:
|
||||||
- cpanm --sudo --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)
|
- sudo cpanm --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)
|
||||||
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
|
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
|
||||||
- tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz
|
- tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz
|
||||||
- cd openssl-$OPENSSL_VER/
|
- cd openssl-$OPENSSL_VER/
|
||||||
@ -66,13 +66,14 @@ _linux-ppc64le: &linux-ppc64le
|
|||||||
packages:
|
packages:
|
||||||
- axel
|
- axel
|
||||||
- dos2unix
|
- dos2unix
|
||||||
|
- cpanminus
|
||||||
- libgd-dev
|
- libgd-dev
|
||||||
- libpcre3
|
- libpcre3
|
||||||
- libpcre3-dev
|
- libpcre3-dev
|
||||||
- mercurial
|
- mercurial
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
install:
|
install:
|
||||||
- cpanm --sudo --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)
|
- sudo cpanm --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)
|
||||||
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
|
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
|
||||||
- tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz
|
- tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz
|
||||||
- cd openssl-$OPENSSL_VER/
|
- cd openssl-$OPENSSL_VER/
|
||||||
@ -110,7 +111,7 @@ env:
|
|||||||
- OPENRESTY_PREFIX=/opt/openresty
|
- OPENRESTY_PREFIX=/opt/openresty
|
||||||
jobs:
|
jobs:
|
||||||
- OPENSSL_VER=1.1.0l OPENSSL_PATCH_VER=1.1.0d
|
- OPENSSL_VER=1.1.0l OPENSSL_PATCH_VER=1.1.0d
|
||||||
- OPENSSL_VER=1.1.1s OPENSSL_PATCH_VER=1.1.1f
|
- OPENSSL_VER=1.1.1p OPENSSL_PATCH_VER=1.1.1f
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
@ -119,10 +120,10 @@ jobs:
|
|||||||
- <<: *linux-s390x
|
- <<: *linux-s390x
|
||||||
env: OPENSSL_VER=1.1.1l OPENSSL_PATCH_VER=1.1.1f
|
env: OPENSSL_VER=1.1.1l OPENSSL_PATCH_VER=1.1.1f
|
||||||
- <<: *linux-ppc64le
|
- <<: *linux-ppc64le
|
||||||
env: OPENSSL_VER=1.1.1s OPENSSL_PATCH_VER=1.1.1f
|
env: OPENSSL_VER=1.1.1p OPENSSL_PATCH_VER=1.1.1f
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cpanm --sudo --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)
|
- sudo cpanm --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)
|
||||||
- if [ ! -f download-cache/pcre-$PCRE_VER.tar.gz ]; then wget -P download-cache https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VER}/pcre-${PCRE_VER}.tar.gz; fi
|
- if [ ! -f download-cache/pcre-$PCRE_VER.tar.gz ]; then wget -P download-cache https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VER}/pcre-${PCRE_VER}.tar.gz; fi
|
||||||
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
|
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
|
||||||
- tar zxf download-cache/pcre-$PCRE_VER.tar.gz
|
- tar zxf download-cache/pcre-$PCRE_VER.tar.gz
|
||||||
|
175
html/50x.html
175
html/50x.html
File diff suppressed because one or more lines are too long
179
html/index.html
179
html/index.html
File diff suppressed because one or more lines are too long
2688
t/000-sanity.t
2688
t/000-sanity.t
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PCRE=pcre-8.45
|
PCRE=pcre-8.44
|
||||||
ZLIB=zlib-1.2.13
|
ZLIB=zlib-1.2.12
|
||||||
OPENSSL=openssl-1.1.1t
|
OPENSSL=openssl-1.1.1p
|
||||||
JOBS=12
|
JOBS=12
|
||||||
|
|
||||||
# wget https://www.openssl.org/source/openssl-1.1.1p.tar.gz
|
# wget https://www.openssl.org/source/openssl-1.1.1p.tar.gz
|
||||||
|
@ -533,7 +533,7 @@ rm -rf no-pool-nginx-$ver
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.63
|
ver=0.62
|
||||||
$root/util/get-tarball "https://github.com/openresty/echo-nginx-module/tarball/v$ver" -O echo-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/echo-nginx-module/tarball/v$ver" -O echo-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf echo-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf echo-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-echo-nginx-module-* echo-nginx-module-$ver || exit 1
|
mv openresty-echo-nginx-module-* echo-nginx-module-$ver || exit 1
|
||||||
@ -547,7 +547,7 @@ mv openresty-xss-nginx-module-* xss-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.3.2
|
ver=0.3.1
|
||||||
$root/util/get-tarball "https://github.com/simplresty/ngx_devel_kit/tarball/v$ver" -O ngx_devel_kit-$ver.tar.gz
|
$root/util/get-tarball "https://github.com/simplresty/ngx_devel_kit/tarball/v$ver" -O ngx_devel_kit-$ver.tar.gz
|
||||||
tar -xzf ngx_devel_kit-$ver.tar.gz || exit 1
|
tar -xzf ngx_devel_kit-$ver.tar.gz || exit 1
|
||||||
mv vision5-ngx_devel_kit-* ngx_devel_kit-$ver || exit 1
|
mv vision5-ngx_devel_kit-* ngx_devel_kit-$ver || exit 1
|
||||||
@ -561,7 +561,7 @@ mv openresty-set-misc-nginx-module-* set-misc-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.16
|
ver=0.15
|
||||||
$root/util/get-tarball "https://github.com/openresty/rds-json-nginx-module/tarball/v$ver" -O rds-json-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/rds-json-nginx-module/tarball/v$ver" -O rds-json-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf rds-json-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf rds-json-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-rds-json-nginx-module-* rds-json-nginx-module-$ver || exit 1
|
mv openresty-rds-json-nginx-module-* rds-json-nginx-module-$ver || exit 1
|
||||||
@ -575,21 +575,21 @@ mv openresty-rds-csv-nginx-module-* rds-csv-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.34
|
ver=0.33
|
||||||
$root/util/get-tarball "https://github.com/openresty/headers-more-nginx-module/tarball/v$ver" -O headers-more-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/headers-more-nginx-module/tarball/v$ver" -O headers-more-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf headers-more-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf headers-more-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-headers-more-nginx-module-* headers-more-nginx-module-$ver || exit 1
|
mv openresty-headers-more-nginx-module-* headers-more-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.1.12
|
ver=0.1.11
|
||||||
$root/util/get-tarball "https://github.com/openresty/drizzle-nginx-module/tarball/v$ver" -O drizzle-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/drizzle-nginx-module/tarball/v$ver" -O drizzle-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf drizzle-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf drizzle-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
|
mv openresty-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.10.25
|
ver=0.10.22
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-nginx-module/archive/v$ver.tar.gz" -O lua-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-nginx-module/archive/v$ver.tar.gz" -O lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv lua-nginx-module-$ver ngx_lua-$ver || exit 1
|
mv lua-nginx-module-$ver ngx_lua-$ver || exit 1
|
||||||
@ -603,14 +603,14 @@ mv openresty-lua-upstream-nginx-module-* ngx_lua_upstream-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.0.13
|
ver=0.0.11
|
||||||
$root/util/get-tarball "https://github.com/openresty/stream-lua-nginx-module/tarball/v$ver" -O stream-lua-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/stream-lua-nginx-module/tarball/v$ver" -O stream-lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf stream-lua-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf stream-lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-stream-lua-nginx-module-* ngx_stream_lua-$ver || exit 1
|
mv openresty-stream-lua-nginx-module-* ngx_stream_lua-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.06
|
ver=0.05
|
||||||
$root/util/get-tarball "https://github.com/openresty/array-var-nginx-module/tarball/v$ver" -O array-var-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/array-var-nginx-module/tarball/v$ver" -O array-var-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf array-var-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf array-var-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-array-var-nginx-module-* array-var-nginx-module-$ver || exit 1
|
mv openresty-array-var-nginx-module-* array-var-nginx-module-$ver || exit 1
|
||||||
@ -624,7 +624,7 @@ mv openresty-memc-nginx-module-* memc-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.33
|
ver=0.32
|
||||||
$root/util/get-tarball "https://github.com/openresty/srcache-nginx-module/tarball/v$ver" -O srcache-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/srcache-nginx-module/tarball/v$ver" -O srcache-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf srcache-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf srcache-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv openresty-srcache-nginx-module-* srcache-nginx-module-$ver || exit 1
|
mv openresty-srcache-nginx-module-* srcache-nginx-module-$ver || exit 1
|
||||||
@ -699,7 +699,7 @@ mv openresty-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.29
|
ver=0.28
|
||||||
$root/util/get-tarball "https://github.com/openresty/resty-cli/tarball/v$ver" -O resty-cli-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/resty-cli/tarball/v$ver" -O resty-cli-$ver.tar.gz || exit 1
|
||||||
tar -xzf resty-cli-$ver.tar.gz || exit 1
|
tar -xzf resty-cli-$ver.tar.gz || exit 1
|
||||||
mv openresty-resty-cli-* resty-cli-$ver || exit 1
|
mv openresty-resty-cli-* resty-cli-$ver || exit 1
|
||||||
@ -707,14 +707,14 @@ resty_cli=resty-cli-$ver
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.0.7
|
ver=0.0.6
|
||||||
$root/util/get-tarball "https://github.com/openresty/opm/tarball/v$ver" -O opm-$ver.tar.gz || exit 1
|
$root/util/get-tarball "https://github.com/openresty/opm/tarball/v$ver" -O opm-$ver.tar.gz || exit 1
|
||||||
tar -xzf opm-$ver.tar.gz || exit 1
|
tar -xzf opm-$ver.tar.gz || exit 1
|
||||||
mv openresty-opm-* opm-$ver || exit 1
|
mv openresty-opm-* opm-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=2.1-20230410
|
ver=2.1-20220915
|
||||||
$root/util/get-tarball "https://github.com/openresty/luajit2/archive/v$ver.tar.gz" -O "LuaJIT-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/luajit2/archive/v$ver.tar.gz" -O "LuaJIT-$ver.tar.gz" || exit 1
|
||||||
tar -xzf LuaJIT-$ver.tar.gz || exit 1
|
tar -xzf LuaJIT-$ver.tar.gz || exit 1
|
||||||
mv luajit2-* LuaJIT-$ver || exit 1
|
mv luajit2-* LuaJIT-$ver || exit 1
|
||||||
@ -727,7 +727,7 @@ cd .. || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=2.1.0.11
|
ver=2.1.0.10
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-cjson/archive/$ver.tar.gz" -O "lua-cjson-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-cjson/archive/$ver.tar.gz" -O "lua-cjson-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-cjson-$ver.tar.gz || exit 1
|
tar -xzf lua-cjson-$ver.tar.gz || exit 1
|
||||||
|
|
||||||
@ -761,7 +761,7 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.17
|
ver=0.16
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-memcached/tarball/v$ver" -O "lua-resty-memcached-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-memcached/tarball/v$ver" -O "lua-resty-memcached-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-memcached-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-memcached-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-memcached-* lua-resty-memcached-$ver || exit 1
|
mv openresty-lua-resty-memcached-* lua-resty-memcached-$ver || exit 1
|
||||||
@ -779,7 +779,7 @@ mv openresty-lua-resty-redis-* lua-resty-redis-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.26
|
ver=0.25
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-mysql/tarball/v$ver" -O "lua-resty-mysql-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-mysql/tarball/v$ver" -O "lua-resty-mysql-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-mysql-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-mysql-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-mysql-* lua-resty-mysql-$ver || exit 1
|
mv openresty-lua-resty-mysql-* lua-resty-mysql-$ver || exit 1
|
||||||
@ -801,7 +801,7 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.11
|
ver=0.10
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-upload/tarball/v$ver" -O "lua-resty-upload-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-upload/tarball/v$ver" -O "lua-resty-upload-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-upload-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-upload-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-upload-* lua-resty-upload-$ver || exit 1
|
mv openresty-lua-resty-upload-* lua-resty-upload-$ver || exit 1
|
||||||
@ -823,7 +823,7 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.10
|
ver=0.09
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-websocket/tarball/v$ver" -O "lua-resty-websocket-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-websocket/tarball/v$ver" -O "lua-resty-websocket-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-websocket-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-websocket-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-websocket-* lua-resty-websocket-$ver || exit 1
|
mv openresty-lua-resty-websocket-* lua-resty-websocket-$ver || exit 1
|
||||||
@ -834,7 +834,7 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.09
|
ver=0.08
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-lock/tarball/v$ver" -O "lua-resty-lock-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-lock/tarball/v$ver" -O "lua-resty-lock-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-lock-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-lock-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-lock-* lua-resty-lock-$ver || exit 1
|
mv openresty-lua-resty-lock-* lua-resty-lock-$ver || exit 1
|
||||||
@ -845,7 +845,7 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.13
|
ver=0.11
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-lrucache/tarball/v$ver" -O "lua-resty-lrucache-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-lrucache/tarball/v$ver" -O "lua-resty-lrucache-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-lrucache-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-lrucache-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-lrucache-* lua-resty-lrucache-$ver || exit 1
|
mv openresty-lua-resty-lrucache-* lua-resty-lrucache-$ver || exit 1
|
||||||
@ -856,14 +856,14 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.1.27
|
ver=0.1.24
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-core/tarball/v$ver" -O "lua-resty-core-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-core/tarball/v$ver" -O "lua-resty-core-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-core-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-core-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-core-* lua-resty-core-$ver || exit 1
|
mv openresty-lua-resty-core-* lua-resty-core-$ver || exit 1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.08
|
ver=0.06
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-upstream-healthcheck/tarball/v$ver" -O "lua-resty-upstream-healthcheck-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-upstream-healthcheck/tarball/v$ver" -O "lua-resty-upstream-healthcheck-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-upstream-healthcheck-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-upstream-healthcheck-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-upstream-healthcheck-* lua-resty-upstream-healthcheck-$ver || exit 1
|
mv openresty-lua-resty-upstream-healthcheck-* lua-resty-upstream-healthcheck-$ver || exit 1
|
||||||
|
Reference in New Issue
Block a user