Commit Graph

59700 Commits

Author SHA1 Message Date
Weijia Wang
12913e0f46
Merge pull request #206644 from r-ryantm/auto-update/snabb
snabb: 2022.10 -> 2022.12
2023-02-08 18:42:28 +01:00
Weijia Wang
e7ee36d0b2
Merge pull request #215299 from anthonyroussel/yubico-piv-tool_2_3_1
yubico-piv-tool: 2.3.0 -> 2.3.1
2023-02-08 16:40:39 +01:00
pennae
702e1fc743 nixos-render-docs: add all-features manpage renderer test
now that the renderer produces the output we want to keep for the future
we can add a test that checks all of its features. this test notably
does not include markdown headings since we don't want to have those in
manpages (at least right now), but tests for other converters may add
headings for themselves.
2023-02-08 15:23:34 +01:00
pennae
78052a22cb nixos-render-docs: track links in manpages
for the longest time we completely dropped link targets in
configuration.nix.5.  let's stop doing this now and instead provide a
footnote for each link in a given option, numbered locally per option.

we will currently duplicate the link for <labelless-links> because it
makes it easier to get the collection of all links in a given option.
this may not be useful enough, so over time we might decide to drop the
footnotes for such links.
2023-02-08 15:23:34 +01:00
pennae
3c7fd940ba nixos-render-docs: indent and embolden list item heads in manpages
this matches what html outputs do more closely, and feels like it'll be
easier to read because it looks less like just another paragraph.
2023-02-08 15:23:34 +01:00
pennae
f47adfcb6f nixos-render-docs: make manpage deflists a little nicer
indent the entire list by 4, just like each definition is already
indented by 4. this matches rendering in html, which indents terms once
and indents definitions twice.
2023-02-08 15:23:34 +01:00
pennae
1e4bafdbc5 nixos-render-docs: style file literals in manpages
similar to inline code these were indistinguishale from other text.
render then in italic font instead, like mdoc .Pa does.
2023-02-08 15:23:34 +01:00
pennae
29252d1477 nixos-render-docs: add quotes to inline code in manpages
other output types already have markings for inline code, manpages do
not. this can be somewhat confusing, so we'll do the least intrusive
thing: surrounding inline code blocks in ‘’. doing so separates inline
code from the rest of the text and is unlikely to collide with the
quoted contents. it's also what mdoc does with its Ql macro.
2023-02-08 15:23:34 +01:00
pennae
f33e360f67 nixos-render-docs: remove the ... escape in manpages
this is a holdover from docbook stylesheets. not really sure why they
did that.
2023-02-08 15:23:34 +01:00
pennae
3a3274231e nixos-render-docs: always render links bold in manpages
no reason to differentiate between links by source of their label. this
feature seems to be mostly used to change labels of links to other
options, but this should ultimately be done by auto-linking from
{option}`...`. at some point we may want to introduce a warning when
this pattern is encountered, but there's a lot to work out still before
we can do that.
2023-02-08 15:23:34 +01:00
pennae
5c5dadd382 nixos-render-docs: support compact lists in manpages
most of the lists in option docs are actually compact, but docbook to
manpage processing always rendered them as non-compact. compactifying
these lists improves readability somewhat since most lists and their
contents are pretty short.
2023-02-08 15:23:34 +01:00
pennae
10a4f0daca nixos-render-docs: add options manpage converter
mdoc is just too slow to render on groff, and semantic markup doesn't
help us any for generated pages.

this produces a lot of changes to configuration.nix.5, but only few
rendering changes. most of those seem to be place losing a space where
docbook emitted roff code that did not faithfully represent the input
text, though a few places also gained space where docbook dropped them.
notably we also don't need the compatibility code docbook-xsl emitted
because that problem was fixed over a decade ago.

this will handle block quotes, which the docbook stylesheets turned into
a mess of roff requests that ended up showing up in the output instead
of being processed.
2023-02-08 15:23:34 +01:00
pennae
56f1d99b16 nixos-render-docs: factor out sorting of options list 2023-02-08 15:23:34 +01:00
pennae
b2a5b4d789 nixos-render-docs: move list-is-compact attr to meta
Token.attr is a dict[str, str | int | float], meta has no restriction on
the value type. attrs is ostensibly meant for html attributes, meta for
any information whatsoever.
2023-02-08 15:23:34 +01:00
pennae
09411102f6 nixos-render-docs: add option block separators
this will be necessary for manpages, which separate option declarations
not with external tags but by interspersing mandoc spacing instructions.
2023-02-08 15:23:34 +01:00
pennae
32136b1b01 nixos-render-docs: don't render empty descriptions at all 2023-02-08 15:23:34 +01:00
pennae
11daebd2d9 nixos-render-docs: add block and inline joiners
these work together with render and renderInline to produce an output
from either of the two. rendering manpages will need both: to join
blocks with newlines, and to run some postprocessing and the rendered inlines.
2023-02-08 15:23:34 +01:00
pennae
5a5255983b nixos-render-docs: calculate list end indices
that'll be useful to calculate the width of list item heads, which we'll
ned to render manpages.
2023-02-08 15:23:34 +01:00
pennae
edccae739a nixos-render-docs: add a test for running mypy
pulling mypy into the build closure is unfortunately not reasonable, the
closure for mypy is rather large and takes a long time to build. if we
have the type checks hooked into CI we'll get most of the benefit though.
2023-02-08 15:23:34 +01:00
K900
6bf8f2bf1f
Merge pull request #215307 from K900/kio-admin
kio-admin: add meta
2023-02-08 17:13:39 +03:00
Weijia Wang
2d31960dab
Merge pull request #215302 from r-ryantm/auto-update/exploitdb
exploitdb: 2022-11-22 -> 2023-02-03
2023-02-08 15:04:26 +01:00
K900
85dac16ffb kio-admin: add meta 2023-02-08 16:37:47 +03:00
K900
666ae72408
Merge pull request #215276 from K900/kio-admin
kio-admin: init at 1.0.0
2023-02-08 16:34:53 +03:00
R. Ryantm
b4b4d8db8d exploitdb: 2022-11-22 -> 2023-02-03 2023-02-08 12:49:53 +00:00
Weijia Wang
37daaa1b73
Merge pull request #215293 from r-ryantm/auto-update/fend
fend: 1.1.4 -> 1.1.5
2023-02-08 13:38:41 +01:00
Anthony Roussel
84d8894b2b
yubico-piv-tool: 2.3.0 -> 2.3.1 2023-02-08 13:33:29 +01:00
R. Ryantm
4db65d131e fend: 1.1.4 -> 1.1.5 2023-02-08 11:47:14 +00:00
Nick Cao
8ffd453164
Merge pull request #215271 from austinbutler/yubikey-manager-501
yubikey-manager: 5.0.0 -> 5.0.1
2023-02-08 18:35:35 +08:00
Damien Cassou
ba1f0de694
borgmatic: 1.7.2 -> 1.7.6 2023-02-08 10:40:21 +01:00
K900
fe585e3988 kio-admin: init at 1.0.0 2023-02-08 12:35:13 +03:00
Austin Butler
99682c8588 yubikey-manager: 5.0.0 -> 5.0.1 2023-02-07 23:59:39 -08:00
oluceps
0de24eafa9
hysteria: 1.3.2 -> 1.3.3 2023-02-08 15:00:05 +08:00
Weijia Wang
478ff49c00
Merge pull request #215245 from r-ryantm/auto-update/kube-bench
kube-bench: 0.6.10 -> 0.6.11
2023-02-08 06:48:13 +01:00
R. Ryantm
9ef3416184 kube-bench: 0.6.10 -> 0.6.11 2023-02-08 04:11:45 +00:00
Nick Cao
3ff199384a
Merge pull request #215206 from mweinelt/babeld-1.12.2
babeld: 1.12.1 -> 1.12.2
2023-02-08 10:58:50 +08:00
Nick Cao
8bbd7e0665
Merge pull request #215203 from Grumbel/fix-dduper-btrfs-prog
dduper: Update btrfs-progs patch to v6.1
2023-02-08 10:13:35 +08:00
Nick Cao
9969d7cea8
Merge pull request #215215 from superherointj/pkg-flexoptix-app-5.13.4
flexoptix-app: 5.13.3 -> 5.13.4
2023-02-08 09:21:30 +08:00
superherointj
87fc6ea219 flexoptix-app: 5.13.3 -> 5.13.4 2023-02-07 21:50:12 -03:00
Nick Cao
e0c2ea5846
Merge pull request #214727 from OPNA2608/fix/haguichi_updatescript
haguichi: Add passthru.updateScript
2023-02-08 08:48:04 +08:00
Martin Weinelt
60ebc035de
babeld: 1.12.1 -> 1.12.2
https://www.mail-archive.com/babel-users@alioth-lists.debian.net/msg00960.html
2023-02-08 01:14:16 +01:00
Ingo Ruhnke
48cb3498fa dduper: Update btrfs-progs patch to v6.1 2023-02-08 00:55:30 +01:00
John Ericson
96b00e5685
Merge pull request #215056 from obsidiansystems/more-meta-pkg-config-modules
treewide: Add `meta.pkgConfigModules` to a few packages
2023-02-07 16:58:10 -05:00
Sandro
13ed718489
Merge pull request #212306 from laalsaas/handbrake
Fixes https://github.com/NixOS/nixpkgs/issues/211297
2023-02-07 22:22:43 +01:00
laalsaas
c774708a05
svt-av1: unbreak on linux-aarch64 2023-02-07 21:04:43 +01:00
John Ericson
18a0b82750 bzip2: Add meta.pkgConfigModules and test 2023-02-07 12:15:36 -05:00
OPNA2608
a2093d3ff9 haguichi: Add passthru.updateScript
The upstream repo has regular releases and elementaryOS-specific releases.
We only want the regular releases, so filter out the elementaryOS ones in a
custom updateScript.
2023-02-07 17:36:53 +01:00
Weijia Wang
e1e2a8f671
Merge pull request #214972 from jfly/issue-211415-disable-failing-mycli-test
mycli: skip broken test
2023-02-07 17:16:43 +01:00
Weijia Wang
20818fe1f2
Merge pull request #215134 from chvp/bump-udp2raw
udp2raw: 20200818.0 -> 20230206.0
2023-02-07 16:30:11 +01:00
Weijia Wang
779c6b7a5c
Merge pull request #215127 from r-ryantm/auto-update/vtm
vtm: 0.9.8q -> 0.9.8r
2023-02-07 15:35:27 +01:00
Charlotte Van Petegem
7c23fd294b
udp2raw: 20200818.0 -> 20230206.0 2023-02-07 15:12:52 +01:00