patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 882a0d5cdaa97ef16d61be82f0b693c22f3f357c 465 bytes (raw)
name: release/checks/doc-links.nix 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Unikie

import ../../lib/call-package.nix (
{ callSpectrumPackage, runCommand, bozohttpd, wget }:

runCommand "spectrum-doc-links" {
  doc = callSpectrumPackage ../../Documentation {};
  nativeBuildInputs = [ bozohttpd wget ];
} ''
  mkdir root
  ln -s $doc root/doc
  httpd -bI 4000 root
  wget -r -nv --delete-after --no-parent --retry-connrefused http://localhost:4000/doc/
  touch $out
''
) (_: {})

debug log:

solving 882a0d5 ...
found 882a0d5 in https://spectrum-os.org/git/spectrum

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).