all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Ryan Prior <rprior@protonmail.com>, Guix Devel <guix-devel@gnu.org>
Subject: Re: Fetching sources using Guix (re: Building a software toolchain that works)
Date: Sat, 19 Mar 2022 10:00:33 +0100	[thread overview]
Message-ID: <bc5cfe54c9813a99f1634fb8cd6fcf879fe18271.camel@telenet.be> (raw)
In-Reply-To: <hCBN01bbOBShmzxDlhLmHZO3T8iSbghKyTQYBqPbuQU7AVwSmxzkFbU2rgaPtj1l8907w8evCRgaCrIVkyTijcaOIstSpEpsoS5G3VZdPd4=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]

Ryan Prior schreef op za 19-03-2022 om 00:08 [+0000]:
> Would it be feasible or desirable to create a set of "reason"
> symbols, similar to our "licenses," and attach a reason (or unknown?)
> to each snippet and patch? Then we can expose meaningful data to the
> end-user about patches & snippets that are available, enabling an
> informed choice about whether to apply them when fetching sources.
> 
> This could also be useful in our own record-keeping, so that we can
> track the usage of patches and snippets for different reasons. It
> would be nice, for example, to see a downward trend in the number of
> patches for build systems that won't work at all without them, either
> because we improve the logic in our build steps or because we
> contribute changes upstream to make software easier to build.

FWIW, when reviewing, I try to make sure that the reason is documented
in a comment:

  (origin
    (snippet
      #~(begin
          ;; Remove bundled libraries
          (delete-file-recursively "vendor")
          ;; Remove non-free extension
          (delete-file-recursively "foobar"))))

Additionally, patch files should contain a description what they are
for and a link to the upstream record.

So in theory, what you are describing is already being done, except it
is done as comments and not some machine-readable tagging system.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2022-03-19  9:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19  0:08 Fetching sources using Guix (re: Building a software toolchain that works) Ryan Prior
2022-03-19  9:00 ` Maxime Devos [this message]
2022-03-19 10:35 ` Jonathan McHugh

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=bc5cfe54c9813a99f1634fb8cd6fcf879fe18271.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=rprior@protonmail.com \
    /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.