Commit graph

251 commits

Author SHA1 Message Date
Yorhel
b531f71ab0 Index available Alpine Linux repositories 2021-12-11 18:08:46 +01:00
Yorhel
82a626b7d4 indexer+www: Support Alpine Linux repos 2021-12-11 16:18:07 +01:00
Yorhel
c9e81a8922 indexer: More crate updates + warning fixes + 2018 edition 2021-12-11 14:56:22 +01:00
Yorhel
c48feedc85 indexer: Switch to ureq + debloat stuff a bit
And stop using the "url" crate directly, its API is too unstable for it
to be worth using.

...that applies to several other crates as well, but meh.
2021-12-11 12:26:57 +01:00
Yorhel
4588e67b64 Make the Rust garbage compile again 2021-12-11 11:53:26 +01:00
Yorhel
b8dca570a0 Add CentOS 8.5
It's still supported? I thought they dropped it early in favor of CentOS
Stream or something.
2021-12-11 11:49:36 +01:00
Yorhel
f6a8d5c134 Add Ubuntu 21.10 2021-10-17 09:56:28 +02:00
Yorhel
29a6f784f5 wwww: Fix escape_like() to also escape backslash 2021-10-12 13:53:01 +02:00
Yorhel
e69850d100 CentOS 8.4 2021-09-15 10:39:49 +02:00
Yorhel
67b703636b Some repo updates + Debian bookworm 2021-08-17 11:29:41 +02:00
Yorhel
d0896806c1 Add Debian testing + prefer that instead of Ubuntu 2021-06-10 09:33:32 +02:00
Yorhel
a96aeb6310 Fix /man/* redirects
Forgot to update these functions in the rewrite.
2021-06-09 16:56:43 +02:00
Yorhel
98e4f014ba Rewrite Perl web backend to modern TUWF style
Lots of churn for no real benefit. \o/
2021-06-09 13:43:42 +02:00
Yorhel
1572f6cedf Add Fedora 34 2021-04-29 07:06:27 +02:00
Yorhel
61965f23f6 Add Ubuntu 21.04 + stop syncing a few old distros 2021-04-23 11:48:59 +02:00
Yorhel
c7f85a5685 Workaround issue with spawning child processes in TUWF debug mode
I had applied the same workaround to VNDB's code some time ago. Really
need to figure out why this happens...
2021-04-19 07:45:15 +02:00
Yorhel
212fc725ba Update man page selection algortihm to bias Ubuntu
Should really be Debian, but we only index Debian stable at the moment
and it tends to lag behind Ubuntu a bit. This extra bias is intended to
solve (part of) the issue with distro-specific tooling like 'ifup'.

This really should be updated to have a generic preference order for all
distros, but that's not as easy to implement.

Fixes #1.
2021-04-19 07:39:27 +02:00
Yorhel
89fc82f391 Handle version-indepentend distro man-page redirects
E.g. /man/debian/ncdu
As proposed in issue #1.
2021-04-19 07:26:04 +02:00
Yorhel
12f88c0b6f Add FreeBSD 12.2 & 13.0 2021-04-17 19:52:04 +02:00
Yorhel
7b791561aa Add CentOS 7.9 & 8.3
Just lazy maintenance. I need to figure out what to do with CentOS now
that they've switched to a different release model.
2021-04-17 11:13:25 +02:00
Yorhel
92bc63bbde Typo fix on about page 2021-04-17 10:20:08 +02:00
Yorhel
4093dc1911 Fix external link to Arch man pages site 2021-04-14 09:01:06 +02:00
Yorhel
fb3f1f8af4 Add Fedora 33
Had to switch to a different mirror as the previous one hadn't synced
yet.
2020-10-28 07:42:22 +01:00
Yorhel
648dbe025f Add Ubuntu 20.10 2020-10-23 11:15:37 +02:00
Yorhel
91b43d220b Fix attempts to resolve man pages without name
A bot triggered 'GET /.env', resulting in a lookup on section='env' but
no name. Slow and useless...
2020-10-16 12:49:49 +02:00
Yorhel
eecc8e798c Workaround grog using -ms for pod2man generated sources
When I have time I'll do a search for man pages that actually *need*
-ms, as I'm getting the impression that it's never used for man pages
and all of grog's guesses for it are wrong.
2020-10-16 12:23:41 +02:00
Yorhel
2ee9a5b6b0 Add FreeBSD 11.4 2020-10-14 15:38:08 +02:00
Yorhel
81874c5d3f Add Fedora 32 2020-10-14 15:33:08 +02:00
Yorhel
777dd37e1b Add CentOS 8.2 2020-10-14 15:22:46 +02:00
Yorhel
faa1cd6e55 Add CentOS 7.7 2020-10-14 15:10:54 +02:00
Yorhel
bd573a4412 ManUtils: Add groff instructions after running grog
Those instructions may sometimes confuse grog and cause it to autodetect
the wrong macro package.
2020-08-07 10:23:40 +02:00
Yorhel
bf3c97f981 index.pl: Serve static files when in direct HTTP server mode
Makes it easier to setup a quick development server.
2020-08-07 10:23:40 +02:00
Yorhel
cf52cd2825 Add Ubuntu 20.04 2020-04-23 15:44:36 +02:00
Yorhel
1260cdf766 Add FreeBSD 12.1 2020-03-15 14:13:19 +01:00
Yorhel
18f792b443 Add Fedora 31 2020-03-14 10:57:20 +01:00
Yorhel
1d8490dde9 Add CentOS 8.1 2020-03-14 10:34:21 +01:00
Yorhel
cf5c16241f Add CentOS 8.0 2019-10-22 21:10:44 +02:00
Yorhel
6fe905f7c9 Add CentOS 7.7 2019-10-22 20:18:01 +02:00
Yorhel
ea0a7a4b71 Link updates 2019-10-22 17:17:05 +02:00
Yorhel
67252c1b81 Add Ubuntu 19.10 2019-10-22 14:37:04 +02:00
Yorhel
a6f0f9eb14 Add FreeBSD 11.3 2019-07-20 15:50:17 +02:00
Yorhel
d2e7719b3f Add Fedora 30 2019-07-20 09:42:23 +02:00
Yorhel
69cbd77729 Add Debian Buster 2019-07-19 20:58:05 +02:00
Yorhel
1ce29f7c3f Fix dbManPref(name => "0")
Fixes a timeout and eventual 500 error on https://manned.org/0
2019-06-25 18:54:43 +02:00
Yorhel
ce38ff885f indexer: Don't overwrite man page contents when hash already exist
Performance improvement. The ON CONFLICT DO UPDATE was primarily to make
sure that old man pages would get fixed when the indexer did a better
job at detecting the encoding, but there haven't been any relevant fixes
to the indexer lately so this forced-update won't do much now.
2019-05-25 08:47:21 +02:00
Yorhel
2974ee929e Rust: hyper -> reqwest for the indexer
Since Hyper doesn't provide a synchronous API anymore.
2019-05-25 08:44:45 +02:00
Yorhel
f0df5092c3 Rust dep updates 2019-05-25 08:27:23 +02:00
Yorhel
fbd7b71d73 Only update SQL caches on Mondays 2019-05-09 13:11:15 +02:00
Yorhel
e926f89838 Add Ubuntu 19.04 2019-04-18 18:54:20 +02:00
Yorhel
df33c43a9c Fedora 27 is not updated anymore 2019-04-05 10:23:04 +02:00