luarocks / luarocks/luarocks-site
fix broken files in the root manifest/git mirror
Nobody has claimed this yet.
- Dominant language
- MoonScript
- Stars
- 201
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
The root manifest/git mirror contains files that are not valid LuaRocks artifacts and should be cleaned up or refetched.
Audit result: 72 invalid or suspicious root-level files.
Summary:
- 10 `http_error_body`: server error responses saved as `.rockspec` or `.rock` files (could be bug with mirror script)
- 42 `rock_bad_magic`: `.rock` files that are probably not zip files
- 1 `rock_zip_error`: starts like a ZIP but cannot be opened as one
- 19 `rock_zip_missing_rockspec`: ZIP opens but contains no `.rockspec` entry, malformed rock files that were probably manually created incorrectly
Full file list:
## http_error_body (10)
```text
awestore-0.3.0-1.src.rock size=160 kind=html sha256_16=7ec401ac5ab07ce0
hotfix-gen-0.0.2-1.src.rock size=160 kind=html sha256_16=7ec401ac5ab07ce0
kong-lua-sandbox-1.0.0-1.rockspec size=160 kind=html sha256_16=7ec401ac5ab07ce0
kong-plugin-reroute-around-1.0.0-0.rockspec size=160 kind=html sha256_16=7ec401ac5ab07ce0
kong-plugin-wsse-4.1.1-1.rockspec size=160 kind=html sha256_16=7ec401ac5ab07ce0
lester-0.1.2-1.src.rock size=160 kind=html sha256_16=7ec401ac5ab07ce0
luaflac-1.0.1-1.rockspec size=160 kind=html sha256_16=7ec401ac5ab07ce0
luaipfs-0.1.0-1.rockspec size=160 kind=html sha256_16=7ec401ac5ab07ce0
web-0.1-3.src.rock size=19 kind=plain_service_unavailable sha256_16=f6fc3c777e463ecb
yuescript-0.7.2-1.rockspec size=160 kind=html sha256_16=7ec401ac5ab07ce0
```
## rock_bad_magic (42)
```text
adjustbox-1.3-1.src.rock size=849268 kind=7z sha256_16=033b52366e205161
beamer-3.72-1.src.rock size=3245979 kind=7z sha256_16=0e34c33518560abb
cm-tfm-0.0.1-1.src.rock size=64734 kind=7z sha256_16=6ef00e7c01733928
code-stats.nvim-0.0.1-1.src.rock size=23975 kind=7z sha256_16=f8ba98be8cc5e856
collectbox-0.4-3.src.rock size=175138 kind=7z sha256_16=0fd37d87fd30efef
colyseus-0.1.2-6.src.rock size=3311 kind=gzip sha256_16=e21ccc7e73aa56b0
currfile-1.0-1.src.rock size=194262 kind=7z sha256_16=901856da02eca43c
etex-2.1-1.src.rock size=18619 kind=7z sha256_16=2b4a87596fecba72
filecontents-1.5-1.src.rock size=291509 kind=7z sha256_16=fb6373e9c3d59eac
filehook-0.8-2.src.rock size=334254 kind=7z sha256_16=7e7031401039f4ec
fontspec-2.9-5.src.rock size=1365533 kind=7z sha256_16=9e9a3f7a58c44b91
graphics-cfg-0.0.1-1.src.rock size=2946 kind=7z sha256_16=d710547fff38c319
graphics-def-2022.09.23-1.src.rock size=25168 kind=7z sha256_16=7126c611988d3d95
ifoddpage-1.2-1.src.rock size=150855 kind=7z sha256_16=e4118528483a611a
knuth-lib-2021.02.05-1.src.rock size=78476 kind=7z sha256_16=8c062d5da216d52c
l3backend-2025.01.18-1.src.rock size=945473 kind=7z sha256_16=a7936a60d920466b
l3build-2024.10.16-1.src.rock size=831339 kind=7z sha256_16=e4a389393dabefd5
l3kernel-2025.01.18-1.src.rock size=14316248 kind=7z sha256_16=d67a5a5963edf3eb
l3packages-2025.01.18-1.src.rock size=1754007 kind=7z sha256_16=fea4fb876c5f9e92
latex-amsmath-2024.11.01-2.src.rock size=2792238 kind=7z sha256_16=bbd45834bf848280
latex-cyrillic-2024.11.01-2.src.rock size=1308442 kind=7z sha256_16=a1ef30389471eb30
latex-fonts-0.0.1-1.src.rock size=42087 kind=7z sha256_16=9063d317007c948f
latex-graphics-2024.11.01-2.src.rock size=3081024 kind=7z sha256_16=f317b624a87f505f
latex-tools-2024.11.01-2.src.rock size=8198914 kind=7z sha256_16=f6c92c427348ad9c
latex-url-3.4-1.src.rock size=272221 kind=7z sha256_16=5ca07ec43f9a8fd8
lpeg-0.10-1.win32-x86.rock size=18779 kind=7z sha256_16=b4e5a275297cab37
lua-uni-algos-0.4-1.src.rock size=363216 kind=7z sha256_16=b2d844f3bce5a40f
luafindfont-0.16-1.src.rock size=102572 kind=7z sha256_16=033d548f688c2228
lualatex-0.0.1-1.src.rock size=247550 kind=7z sha256_16=ad6b7899e2345394
lualibs-2.76-1.src.rock size=213780 kind=7z sha256_16=50f42f7cf40dfd93
luaotfload-3.28-1.src.rock size=1873247 kind=7z sha256_16=d5ada2ef3ee9180b
luatex-0.0.1-1.src.rock size=900661 kind=7z sha256_16=8311cb8625051007
luatexinfo-0.0.1-1.src.rock size=945 kind=7z sha256_16=bb9f79d783a4f716
manual-0.0.1-1.src.rock size=61910 kind=7z sha256_16=c44a1270454f4eee
my_module-1.0.0-1.src.rock size=1591 kind=rar sha256_16=21df179758652606
newverbs-1.6-1.src.rock size=239637 kind=7z sha256_16=ca9099a2c62dc7c6
pdfcolmk-2019.11.24-1.src.rock size=8589 kind=7z sha256_16=848fc62fa0df6f55
pgf-3.1.10-1.src.rock size=2775749 kind=7z sha256_16=752cdff8508eb37d
standalone-1.3-2.src.rock size=339353 kind=7z sha256_16=1b68974d6f164c80
tex-ini-files-2025.02.09-1.src.rock size=8442 kind=7z sha256_16=27e6038bda62be62
texdoc-4.1.1-1.src.rock size=105936 kind=7z sha256_16=27c6311090c3a5fe
unicode-data-1.18-1.src.rock size=590407 kind=7z sha256_16=16a9be3e8c46d778
```
## rock_zip_error (1)
```text
binaryheap-0.2-1.src.rock size=333 kind=zip_magic sha256_16=254134d1fc4a2fe7
```
## rock_zip_missing_rockspec (19)
```text
civ-0.1.0-1.src.rock size=57743 kind=zip_magic sha256_16=39f4b05218c83eed
ele-0.1-4.src.rock size=38629 kind=zip_magic sha256_16=f7fff9b661b0d34a
ele-0.1.0-1.src.rock size=34607 kind=zip_magic sha256_16=18dd880d0441c0c7
ele-0.1.0-2.src.rock size=34617 kind=zip_magic sha256_16=0699679506bb1898
krpc-0.2.1-0.src.rock size=46939 kind=zip_magic sha256_16=f9c7205f8a36c6b8
krpc-0.2.2-0.src.rock size=45895 kind=zip_magic sha256_16=7f977998e71c6b77
krpc-0.2.3-0.src.rock size=45747 kind=zip_magic sha256_16=bf75eed639b5398c
krpc-0.3.0-0.src.rock size=45747 kind=zip_magic sha256_16=4cda00757c818af8
krpc-0.3.1-0.src.rock size=45747 kind=zip_magic sha256_16=c0e76a74442b8ead
krpc-0.3.2-0.src.rock size=45747 kind=zip_magic sha256_16=9b2f9b73173c0e31
luabenchmark-0.9.0-1.src.rock size=7295 kind=zip_magic sha256_16=02c65d7f6d518748
luabenchmark-0.9.0-2.src.rock size=15783 kind=zip_magic sha256_16=59ddb8fb4a6a4016
luaconfig-0.1.5-0.src.rock size=5993 kind=zip_magic sha256_16=5d0e4a8bb56bfc01
luaconfig-0.1.7-0.src.rock size=7842 kind=zip_magic sha256_16=d3a03ca562456544
luacov-console-1.0-1.src.rock size=6790 kind=zip_magic sha256_16=5051e5cbfdf4d3af
luacov-console-1.0-2.src.rock size=5851 kind=zip_magic sha256_16=36203d2bbd05405d
luafudge-1.0-0.src.rock size=15771 kind=zip_magic sha256_16=7e07f3a45ae70231
luaxpath-1.2-1.src.rock size=20765 kind=zip_magic sha256_16=8fc3025789f8d9df
nginx-lua-prometheus-0.20171117-2.src.rock size=12523 kind=zip_magic sha256_16=b459a25269e3d561
```
Notes:
- The 504 files contain an nginx `504 Gateway Time-out` HTML body instead of the expected artifact.
- `web-0.1-3.src.rock` contains plain `Service Unavailable`.
- The SHA-256 values above are prefixes from the local audit, included only to identify the exact bad payloads.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the root-level artifacts listed in the audit and the mirror script implicated by the HTTP-error note. Remove or refetch the invalid payloads, then rerun the audit to confirm the 72 listed files are valid LuaRocks artifacts.
Written by the indexing model from the issue text.
Assessment
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100