all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: jgart <jgart@dismail.de>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Should a Guix package include documentation dependencies to be considered complete?
Date: Thu, 08 Dec 2022 02:57:41 +0000	[thread overview]
Message-ID: <8BmdmAq5fLisa0AW_iOVfatVPxy8WWctbNc2wEikKTV_0d0GyvhFv8yCDbKh-PGYpZWgvCuIeLFLItXt6cXLn9fNF6We4EpT9m3jTiVssiM=@lendvai.name> (raw)
In-Reply-To: <20221207191711.GB847@dismail.de>

> We currently include all the dependencies to run the tests, why not do
> the same for documentation building?
> 
> Should we make it a requirement or goal to always package a given package's "documentation-inputs"?


i also lack guidance on this.

and i somewhat miss a "test-inputs" field to explicitly mark the dependencies that are only needed to run the tests. this often doubles the native-inputs dependencies of python packages.

then the infrastructure could be smartened up to not require those dependencies when the tests are disabled for a package. it could serve as a temporary bandaid to fix/upgrade a package while there are some issues with the dependencies needed to run the tests.

i guess same applies to documentation.

some brainstorm follows: but what should be the way to control this for documentation? package arguments, like #:tests? #f for tests? or some way to mark some of the outputs as optional, and a way to request the optional outputs? how would the latter apply to tests, that have no package output? is the anomaly justified?

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“To every man is given the key to the gates of heaven; the same key opens the gates of hell.

And so it is with science.”
	— Richard Feynman (1918–1988)



  reply	other threads:[~2022-12-08  2:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08  1:17 Should a Guix package include documentation dependencies to be considered complete? jgart
2022-12-08  2:57 ` Attila Lendvai [this message]
2022-12-08  4:31 ` Akib Azmain Turja
2022-12-08  5:45 ` Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8BmdmAq5fLisa0AW_iOVfatVPxy8WWctbNc2wEikKTV_0d0GyvhFv8yCDbKh-PGYpZWgvCuIeLFLItXt6cXLn9fNF6We4EpT9m3jTiVssiM=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.